The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Coding help (fetch userids)
Hi
I'm trying to add some additional mod options when you click on username in postbit. First I made template postbit_modtools Code:
<li class="left"><a href="modcp/user.php?do=avatar&userid={vb:raw memberinfo.userid}"><img src="{vb:stylevar imgdir_siteicons}/settings.png" alt="" /> {vb:rawphrase editavatar}</a></li> PHP Code:
Any ideas? |
#2
|
||||
|
||||
no one?
|
#3
|
|||
|
|||
The code you need in your first bit is:
{vb:raw bbuserinfo.userid} in place of {vb:raw memberinfo.userid} Hope that helps |
#4
|
||||
|
||||
If I do that will get my own ID's
Not other's members ID |
#5
|
||||
|
||||
hmmm....
So many coders here and noone wants to help... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|