PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   How Do I? - vBulletin 3.5.X (http://www.photopost.com/forum/how-do-i-vbulletin-3-5-x/)
-   -   how to call userid? (http://www.photopost.com/forum/how-do-i-vbulletin-3-5-x/126327-how-call-userid.html)

futuredood July 29th, 2006 06:31 PM

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.

Zachariah July 30th, 2006 12:23 AM

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 ?

Sychev_S July 30th, 2006 01:19 PM

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?

Zachariah July 30th, 2006 01:24 PM

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.

futuredood July 31st, 2006 07:02 AM

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 August 1st, 2006 09:51 PM

anybody??

Zachariah August 2nd, 2006 07:34 PM

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

futuredood August 3rd, 2006 08:28 AM

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.


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

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