![]() |
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? |
no one?
|
The code you need in your first bit is:
{vb:raw bbuserinfo.userid} in place of {vb:raw memberinfo.userid} Hope that helps :) |
If I do that will get my own ID's :)
Not other's members ID |
hmmm....
So many coders here and noone wants to help... |
All times are GMT. The time now is 11:43 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|