PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old January 10th, 2007, 08:45 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2006
Posts: 35
vbgallery dispaly

I would like to use $vbgallery in my forumdisplay template and not just my forumhome templete.

$vbgallery does not yet exist when in the forumdisplay template must I have an include somewhere that will define it.

The goal here is to display on each individual subforum of home forum the same row of imamges displayed on homeforum as defined in admin cp section of VBGallery - Modify addons

Thanks in Advance for your help.
TomC18 is offline   Reply With Quote
Old January 11th, 2007, 06:40 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Location: az
Posts: 182
Send a message via ICQ to Delw
would this work or are you trying to get a pic gallery above each forum section?

http://www.vbulletin.org/forum/showt...=111868&page=3
Delw is offline   Reply With Quote
Old January 11th, 2007, 08:33 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2006
Posts: 35
I am using VB 3.6.4 so I am not sure that will work.
TomC18 is offline   Reply With Quote
Old January 11th, 2007, 10:39 PM   #4 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Quote:
Originally Posted by TomC18 View Post
I would like to use $vbgallery in my forumdisplay template and not just my forumhome templete.

$vbgallery does not yet exist when in the forumdisplay template must I have an include somewhere that will define it.

The goal here is to display on each individual subforum of home forum the same row of imamges displayed on homeforum as defined in admin cp section of VBGallery - Modify addons

Thanks in Advance for your help.
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 anywhere.

Edit "PhotoPost vBGallery Forumhome" plugin.

Replace:
Code:
Content visible to verified customers only.
With:
Code:
Content visible to verified customers only.



Edit: forums/includes/vbgallery/cache_templates.php

Replace:
Code:
Content visible to verified customers only.
With:
Code:
Content visible to verified customers only.
This will will use the same setting on both pages.


-------------------------------------------------

Quote:
Originally Posted by Delw View Post
would this work or are you trying to get a pic gallery above each forum section?

http://www.vbulletin.org/forum/showt...=111868&page=3
I am working on this as a default option.
* reason I have not updated it yet.
Zachariah is offline   Reply With Quote
Old January 12th, 2007, 07:17 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2006
Posts: 35
Quote:
Originally Posted by Zachariah View Post
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 anywhere.

Edit "PhotoPost vBGallery Forumhome" plugin.

Replace:
Code:
Content visible to verified customers only.
With:
Code:
Content visible to verified customers only.



Edit: forums/includes/vbgallery/cache_templates.php

Replace:
Code:
Content visible to verified customers only.
With:
Code:
Content visible to verified customers only.
This will will use the same setting on both pages.


-------------------------------------------------



I am working on this as a default option.
* reason I have not updated it yet.
So I'm confused are you saying that the first part will not work by just changing the hook to global_start and that you also have to add the rest of the coding quoted.

Or

No none of this will not work at all?
TomC18 is offline   Reply With Quote
Old January 12th, 2007, 08:17 AM   #6 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Ok if you move the plugin to "global_start" AS-IS it will run the code on all pages of the forum.

- each thread, pm, portal, and any other VB powered page.

To limit the pages this code is ran on:

Code:
Content visible to verified customers only.
- by placeing the code in a IF statment, we can controle what php page of vBulletin the code shows on.
-----------------------------------------------
The 2nd plugin you need to edit:
includes/vbgallery/cache_templates.php

This regulates what templates to cache in order not to add more querries to the mysql question.

Default:
Code:
Content visible to verified customers only.
To make sure the template work also on the FORMDISPLAY we need to include a bit of code to tell vBulletin we need to use that set of template on FORMDISPLAY as well as forum index page.

To limit the page this code is ran on:

EX:
Code:
Content visible to verified customers only.
Zachariah is offline   Reply With Quote
Old January 12th, 2007, 12:01 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2006
Posts: 35
Great Thanks Zach.
TomC18 is offline   Reply With Quote
Old January 24th, 2007, 10:12 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Dec 2006
Posts: 35
Zack ever since making this change the gallery categories do not show up on the gallery home page.....Help???


************** Never Mind ---------- It was stupid me.

Last edited by TomC18; January 24th, 2007 at 10:17 AM. Reason: I forgot to turn the view backon
TomC18 is offline   Reply With Quote
Old February 10th, 2007, 05:18 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Posts: 106
Does anyone know of a vb ver. 3.6.4 board with these changes made that I could view?
edprush is offline   Reply With Quote
Old February 10th, 2007, 06:53 PM   #10 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Not yet, I have the last bits to clear up. I'll see what I can do Sunday.
Zachariah is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hey new vBGallery users: How long did it take you to install vBGallery? edprush Installs and Upgrade - vBulletin 3.6x 11 January 29th, 2007 02:08 AM
vBGallery 2.0.1? Exilera Installs and Upgrade - vBulletin 3.6x 8 October 16th, 2006 11:25 AM
is vBGallery for me? wildo69 Before You Buy 9 January 17th, 2006 09:26 PM
VbGallery rrokdoka Before You Buy 2 September 20th, 2005 05:46 PM


All times are GMT -5. The time now is 08:44 AM.

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