The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Display Member Number In Postbit
I would like to display the member number of a member in the postbit, I have it displaying, however, I do not want it to show my member number I want it to show theirs.
Any idea how I can do that? Thanks in advance! |
#2
|
|||
|
|||
I think you'd want to use $post[userid].
|
#3
|
||||
|
||||
Thanks I will give it a try!
--------------- Added [DATE]1300209436[/DATE] at [TIME]1300209436[/TIME] --------------- Thanks a lot that worked... Maybe you can answer this. Instead of editing the template, I was going to just do it by creating a plugin. I see this hook listed in the template, however, do not see it as an hook location when creating a plugin? Code:
{vb:raw template_hook.postbit_userinfo_right_after_posts} Thanks in advance! |
#4
|
||||
|
||||
There are template hooks and there are php hooks. In your plugin manager you can attach php code to php hooks.
Template hooks work different, you have to use php code in a plugin to add HTML code to the template hook. However this is different between VB3 and VB4, and you're code you posted is from VB4 and this is the VB3 section. If you want more info best to search or post in the VB4 section. There's also an article in the VB4 articles section dealing with templates and registering variables that should be of help. But in the end the best way to do this is by a template edit. Also $post[userid] won't work in VB4, I believe in a VB4 template it would be {vb raw post.userid}. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|