PDA

View Full Version : Profile Tabs - Get UserID/Threads


WorldCraft
07-26-2011, 11:40 AM
I've followed the instructions here: https://vborg.vbsupport.ru/showthread.php?t=265971&highlight=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

Lynne
07-26-2011, 04:12 PM
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.