The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi There,
I would like to display the user's ID in a post, something like : Hello there, you are user number : $userid - e.g it would display for whichever user is reading the post in question. I'm told there's a mod that enables me to do this but I just can't find it despite searching quite a bit here Can anyone please help? Cheers, Paul. |
#2
|
|||
|
|||
![]()
I think you will have to do the whole mod yourself, because I haven't seen one but i know that its possible to make one.
|
#3
|
|||
|
|||
![]()
From a response I had on the vbulletin.com forum there is a mod out there, I've also seen it working on a site. Digging some more into my other responses I think this is the mod being used:
https://vborg.vbsupport.ru/showthread.php?t=97073 Now i'm just trying to figure out how I can change the hook location or details to get it working. No joy so far, but i have a dynamic announcement under the navbar working, just not in a post. In the response to my thread on vbulletin.com, someone has posted an example of their site doing it : http://www.vbulletin.com/forum/showthread.php?t=229461 |
#4
|
||||
|
||||
![]()
Put $bbuserinfo[userid] where you want the id to display.
|
#5
|
|||
|
|||
![]()
Hi,
This just gets echoed back in the body of the post as $bbuserinfo[userid] and not replaced with the userid unfortunately, must be something I am not doing or an option I have not enabled but for the life of me I can't find it. Cheers, Paul. |
#6
|
||||
|
||||
![]()
Can you post up your template?
|
#7
|
|||
|
|||
![]()
Apologies, I display my ignorance here. I installed the Dynamic annoucnement mod which I believe gave me this functionality.
( https://vborg.vbsupport.ru/showthrea...hlight=dynamic ) I then tried to point the hook location to vbulletin:show post : show_post so it would display the variables. I haven't actually modified any templates. Cheers, Paul. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|