PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old July 29th, 2006, 06:31 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 10
how to call userid?

I'm trying to do some custom coding for the template, and I can't seem to call the $userinfo[userid] anywhere in the template. I've tried $cats[userid], $post[userid], etc. but can't seem to get it.

Does anyone know how to call it? Thanks in advance.
futuredood is offline   Reply With Quote
Old July 30th, 2006, 12:23 AM   #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
Quote:
Originally Posted by futuredood
I'm trying to do some custom coding for the template, and I can't seem to call the $userinfo[userid] anywhere in the template. I've tried $cats[userid], $post[userid], etc. but can't seem to get it.

Does anyone know how to call it? Thanks in advance.
What templates did you have in mind ?
Zachariah is offline   Reply With Quote
Old July 30th, 2006, 01:19 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 29
Quote:
Originally Posted by Zachariah
What templates did you have in mind ?
I have the same quesiton, I need it for Memberinfo template. Any idea?
Sychev_S is offline   Reply With Quote
Old July 30th, 2006, 01:24 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 Sychev_S
I have the same quesiton, I need it for Memberinfo template. Any idea?
$userinfo[userid]


If you look @ this hack

Add vBGallery count to Profile.
http://www.photopost.com/forum/showthread.php?t=124655

Take a look @ the BOLD

Template code:
Code:
Content visible to verified customers only.
PHP code:
Code:
Content visible to verified customers only.
Zachariah is offline   Reply With Quote
Old July 31st, 2006, 07:02 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 10
Quote:
Originally Posted by Zachariah
$userinfo[userid]


If you look @ this hack

Add vBGallery count to Profile.
http://www.photopost.com/forum/showthread.php?t=124655

Take a look @ the BOLD

Template code:
Code:
Content visible to verified customers only.
PHP code:
Code:
Content visible to verified customers only.
Thanks for replying. I'm trying to call it in any VBGallery Template, primarily browseimage and showimage. I've tried everything and just can't get the darn thing to work.
futuredood is offline   Reply With Quote
Old August 1st, 2006, 09:51 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 10
anybody??
futuredood is offline   Reply With Quote
Old August 2nd, 2006, 07:34 PM   #7 (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
What user ID do you want ?
What values are you trying to get ?

- image poster ID
- post poster ID
- person looking @ the image

$imageuserid
$userid
Zachariah is offline   Reply With Quote
Old August 3rd, 2006, 08:28 AM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 10
I'm trying to call this anywhere in the browseimage template. The reason is, I'm trying to convert the drop down list "Sort By" into clickable links. I'd do that by copying the destination URL of each link, and replacing the userid with u=$userid. Yet, I can't seem to call the userid.

If theirs any alternative route to turn drop down links into clickable links, that'd be easier. I'd still be interested in the $userid function though.
futuredood 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
Where is the uploads/ userid directory creatingpages Photopost Pro How Do I...? 1 April 27th, 2005 08:20 PM
Question about userid -Chef- How Do I? - vBulletin 3.0.X 6 February 28th, 2005 12:18 AM


All times are GMT -5. The time now is 09:05 PM.

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