The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi everyone !
i'm looking for a mod ( may this mod will never use for everyone ) I dont know what code do i have to add on temprate and show up member's ID number Eg: admin sign in and show up that ID is #1 follow register ID number... can anyone help me this problem ? thank you ! |
#2
|
||||
|
||||
![]()
If you are just talking about putting it in the postbit (or postbit_legacy) template, then the variable name for the user who posted would be $post[userid]
|
#3
|
|||
|
|||
![]()
hmmm ! i mean , i want to show this ID on nav or next to User CP , welcome message !!... somewhere like that ! so , can i do that
thank for helping |
#4
|
||||
|
||||
![]()
So, show the user who is viewing the page their own userid number? If it is for the user viewing the page, you would just use $bbuserinfo[userid]
|
#5
|
|||
|
|||
![]()
so , if i want to add this USER # on these welcome meassge !
************************************* Welcome, vuive360. You have 0 unread messages; Total 0. You last visited: Today at 04:46; You Have 4,799 Unread Posts. ************************************** which template could i add ? thanks again ! |
#6
|
||||
|
||||
![]()
That is probably the navbar template. To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.
|
#7
|
|||
|
|||
![]()
^^ wooot ^^! it worked ..... thanks lynne for helping !
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|