PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   How Do I? - vBulletin 3.6x (http://www.photopost.com/forum/how-do-i-vbulletin-3-6x/)
-   -   How to enable to show images on your FORUMHOME (http://www.photopost.com/forum/how-do-i-vbulletin-3-6x/128772-how-enable-show-images-your-forumhome.html)

jarosciak November 17th, 2006 11:44 PM

How to enable to show images on your FORUMHOME
 
"Enable to show images on your FORUMHOME" is checked and it still won't show my pictures on the main page.
I am not sure why not. This used to work.
Then I did the 3.6.3 update and my random pictures are gone from the main page.
This seems like a bug to me.
I even tried to use vbgallery installation again and update/restore templates, but it still doesn't work.
Can someone help?
Joe

KW802 November 18th, 2006 12:50 PM

After the upgrade you have to re-apply the change to your /includes/init.php file; that should take care of it for you.

jarosciak November 18th, 2006 02:06 PM

Now you lost me. Why should update to vbulletin 3.6.3 confuse settings of vbgallery so much. I don't think this is very well designed. It should detect somehow that the settings are not correctly working, no?
Joe

Zachariah November 18th, 2006 02:30 PM

When you did the vbulletin update, you replaced the file that had the needed edit for the gallery to operate fully.

- Edit:
forums/includes/init.php

- Find:
Code:

Content visible to verified customers only.
- Below Add:
Code:

Content visible to verified customers only.
- Upload this file to /forums/includes

jarosciak November 19th, 2006 09:29 AM

Hi, thank you so much for your help. It worked like a charm. You can now close this topic as resolved.
Thanks once again.
Joe

bugzy November 20th, 2006 05:55 PM

Quote:

Originally Posted by Zachariah (Post 1180388)
When you did the vbulletin update, you replaced the file that had the needed edit for the gallery to operate fully.

- Edit:
forums/includes/init.php

- Find:
Code:

Content visible to verified customers only.
- Below Add:
Code:

Content visible to verified customers only.
- Upload this file to /forums/includes

i have this edit for the init.php and my randomgallery.php code for the front page is not working now

bugzy November 20th, 2006 06:03 PM

Found my problem, here's a link to the answer for those that had issue when they upgraded their 3.5.x VB to 3.6.x and had to re-upgrade vbGallery 2.1

they renamed the SQL tables

http://www.photopost.com/forum/showthread.php?t=127479

KW802 November 20th, 2006 09:37 PM

Quote:

Originally Posted by bugzy (Post 1180673)
Found my problem, here's a link to the answer for those that had issue when they upgraded their 3.5.x VB to 3.6.x and had to re-upgrade vbGallery 2.1

they renamed the SQL tables

http://www.photopost.com/forum/showthread.php?t=127479

That would apply for people who were/are running hacks to show images on the forum home. In this case I believe that jarosciak is talking about the new feature that comes with vBGallery to show images on forum home; that feature won't work if the edit to /init.php is not done.

sunnycher November 29th, 2006 01:10 PM

When I edit my init.php file and upload it, I go to my site and it has an error,

Parse error: syntax error, unexpected T_IF in /home/lgpphoto/public_html/forum/includes/init.php on line 1

So I reuploaded my init.php file from my vbulletin files and the site is back up, the gallery shows it's running 2.1 and I've activated my show on forumhome but it doesn't work.

If I edit the init.php file, it will just give me the error again, not sure why or what is going on?

any help?

jarosciak December 3rd, 2006 09:26 AM

I find this very badly designed. Why should I have to manually change my php files after every vbulletin upgrade?
And lately vbulletin is releasing a new upgrade like every other week. So this is quite annoying, as I have to always dig up this thread to find out once again how to go about fixing this issue.
Joe

Zachariah December 3rd, 2006 09:58 AM

Quote:

Originally Posted by jarosciak (Post 1182354)
I find this very badly designed. Why should I have to manually change my php files after every vbulletin upgrade?
And lately vbulletin is releasing a new upgrade like every other week. So this is quite annoying, as I have to always dig up this thread to find out once again how to go about fixing this issue.
Joe

Back in Jul 9th 2005, 1:56pm
- There was talk about "Add Datastore Support for Plugins"
by: Andreas vBulletin Developer

On - Sep 13.05, 20:13
- there was a hack issued to some web developers on vb.org

03.29.06, 18:32
I bumped the post

I'll prod them again. I did find some info on how to add the needed file edit in the forum's config.php file, that usaly does not get replaced on updates. I'll take a look :).

TRR December 20th, 2006 05:42 AM

I deleted a user from my forum, and vbgallery started creating errors everywhere his photos were. So I tried to remove them and then it jacked up my forum style. So I tried to uninstall vbgallery, and it brought the whole forum down with error after error after error.

So, I reinstalled the forum and just for the heck of it I tried to turn on the add-on and it now works, when it didn't before (kind of like what the users above are saying).

I tried going custom with a left sidebar on FORUMHOME and it doesn't work. If I put the string $vbgallery in the template FORUMHOME it works, but I have a template under FORUMHOME called forumhome_sidecolumn_left and the string doesn't work in there. Is there any more information that I can add into the forumhome_sidecolumn_left template that will allow it to use the $vbgallery string correctly?

Zachariah December 20th, 2006 01:20 PM

Before you uninstall vbGallery you need to remove the file edit
"forums/includes/init.php" or it will error correct.

The reason your forumhome_sidecolumn_left does not work with $vbgallery is because the hack that shows the side collumn is ran before forumhome hook.

AdminCP => Plugins & Products => Plugin Manager
Product : PhotoPost vBGallery
- PhotoPost vBGallery Forumhome
-- Edit Plugin

Change Hook Location:
- global_start

This will now allow you to make the forumhome hack of the gallery show on the side bar.

If your sidebar is only on the forumhome and not all pages of the forum.

Edit "PhotoPost vBGallery Forumhome" plugin.

Replaced:
Code:

Content visible to verified customers only.
With:
Code:

Content visible to verified customers only.

TRR December 22nd, 2006 03:29 AM

That worked like a champ; thanks!


All times are GMT -5. The time now is 02:10 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97