The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Profile Tabs - Get UserID/Threads
I've followed the instructions here: https://vborg.vbsupport.ru/showthrea...t=profile+tabs
To create a new tab on my users' profiles - However I'm struggling with the content. I originally wanted it to list all the threads started by that user in a specific forum but would also settle for just being able to show a link containing their ID - But for the life of me I'm not too clued up on web coding and I can't find a way to 'grab' the userID - Does it need to be done in the template via HTML or in the plugin via PHP and what exactly do I need to do? Something like this (in the tab): www.forum.com/forums/randompage.php?"userid of the persons' profile your viewing" Would be a godsend right about now, well any help at all would be greatly appreciated right about now :up: Thanks, Worldcraft |
#2
|
||||
|
||||
I'm guessing the variable for the user who's profile you are viewing would be userinfo.userid ($userinfo['userid']). It would help if you actually posted the code you have written for your new tab though.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|