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 > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 18th, 2007, 01:31 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2006
Posts: 48
Code needed for # of photos in user's gallery

I need the code to call up the amount of photos in a person's personal member gallery in the database. This code will go into the postbit_legacy of the vbulletin template and needs to be inside parentheses, so that the number of photos shows in my postbit on each post.

Ex: Gallery: (123) With the 123 being the number of photos in my personal member gallery.

I already have the link that the postbit can link to to take someone directly to a members gallery, I just need the code to give the number of photos in the members gallery who has posted.
Finster is offline   Reply With Quote
Old June 18th, 2007, 08:36 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
I suppose your asking about a vbulletin modification here. Well simply put you need to open whatever vb file your dealing with and issue a mysql query for each and every poster to grab there number of photos.

Not a good idea as thats on average 15 more queries a page
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 18th, 2007, 09:29 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2006
Posts: 48
There are plenty of forums that have a user Gallery link in their profile info that resides in a square box under their avatars that contains a link to their PhotoPost Gallery and the # of images in their user Gallery and I haven't heard of problems.

I wonder how they are doing it.....

Last edited by Finster; June 18th, 2007 at 09:36 AM.
Finster is offline   Reply With Quote
Old June 18th, 2007, 09:46 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
pretty much like I said and not something I recommend since it adds queries but if thats what you wanna do you can do it.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Gallery index Recent Photos: Where is the thumbs code? bugman Photopost Pro How Do I...? 3 March 5th, 2006 05:39 PM
User's Gallery Link Ablistical Installs and Upgrade - vBulletin 3.0.X 4 February 7th, 2005 07:59 AM


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

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