PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > vBGallery Support > vBGallery How Do I...?

vBGallery How Do I...? Need help figuring out how to do something with PhotoPost vBGallery? Post here to get help.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 7th, 2007, 12:18 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2007
Posts: 94
Adding a link to User Gallery on User CP Menu

Hi,

I'm in the USERCP_SHELL template and am trying to add a link to the user's gallery. I'm not an expert in PHP, but I do know programming fairly well and this seems like it would be a fairly easy task if I just knew PHP and the vBulletin structure a bit more.

Basically (pseudo):

If - User has Gallery in Member's Category
Then - Display link to that user's gallery

Can anyone help me out with the code for this?
trBotHead is offline   Reply With Quote
Old November 9th, 2007, 01:17 PM   #2 (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
planned for 2.4 of the gallery.
- ill get back to you with some temp code.
Zachariah is offline   Reply With Quote
Old November 9th, 2007, 04:34 PM   #3 (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
This is crude but will do what your looking for I think.
- If there are uploads by the user "My Images" link appears.

This is a plugin.
- before install edit the file and place your gallery URL.
Code:
Content visible to verified customers only.
The link will shoot the user to a page where all of their images and categories will be shown.

If you have a Category setup as a "Member's Category" where all images uploaded is placed in their username.

Code:
Content visible to verified customers only.
Where
Code:
Content visible to verified customers only.
Is the category ID of the "Member's Category".
Attached Files
File Type: xml vbulletin-plugins.xml (550 Bytes, 6 views)
Zachariah is offline   Reply With Quote
Old November 12th, 2007, 12:46 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 22
Im lost... can someone detial out how I can install this in my forums. I have never installed a plugin, only products.
rc1320 is offline   Reply With Quote
Old November 12th, 2007, 12:49 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Nov 2007
Posts: 94
are you talking about what Zach posted here or Photopost itself?
trBotHead is offline   Reply With Quote
Old November 12th, 2007, 01:54 PM   #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
Quote:
Originally Posted by rc1320 View Post
Im lost... can someone detial out how I can install this in my forums. I have never installed a plugin, only products.
AdminCP => Plugins & Products => Download / Upload Plugins
- Import Plugin Definitions XML File (At very bottom)

It will add the plugin to your vBGallery Product.
Zachariah is offline   Reply With Quote
Old November 12th, 2007, 07:38 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 22
Huh.. I have uploaded this plugin but nothing yet. Is there anything I need to add to the postbit_legacy template?

Last edited by rc1320; November 12th, 2007 at 07:44 PM.
rc1320 is offline   Reply With Quote
Old November 12th, 2007, 09:03 PM   #8 (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 rc1320 View Post
Huh.. I have uploaded this plugin but nothing yet. Is there anything I need to add to the postbit_legacy template?
This makes a link in the Navbar of the USERCP
- /forums/usercp.php
Zachariah is offline   Reply With Quote
Old November 13th, 2007, 11:50 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Nov 2007
Posts: 94
hmm... It's probably my lack of PHP skills, but I tried to edit USERCP_SHELL with the added code highlighted in red:

Code:
Content visible to verified customers only.
And then I uploaded the XML file via AdminCP => Plugins & Products => Download / Upload Plugins, but nothing happened. I checked out the source on the UserCP page and this is what it shows for the code that I added:

Code:
Content visible to verified customers only.
trBotHead 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
Link User Name to Gallery Profile bugman Photopost Pro How Do I...? 6 March 4th, 2006 12:26 PM
[VB 3.5.0] Link to user gallery in profile? blizzedout Photopost Pro Installation & Upgrades 13 October 27th, 2005 06:26 PM


All times are GMT -5. The time now is 04:54 AM.

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