PDA

View Full Version : [SOLVED] i want get forumid on memberaction_dropdown


omardealo
06-12-2014, 06:18 PM
Hello ,

i add new link on memberaction_dropdown template

by this code

<li class="left">
<a class="siteicon_blog" rel="nofollow" href="misc.php?do=grant_award&username={vb:raw memberinfo.username}&userid={vb:raw memberinfo.userid}&forumid={vb:raw foruminfo.forumid}" target="_self">My Link</a>
</li>

every var (userid,username) are working , only {vb:raw row.forumid} did not work
how i get forumid on my link ?

Dave
06-13-2014, 03:39 PM
Try using $GLOBALS['forumid'].

omardealo
06-13-2014, 03:47 PM
Try using $GLOBALS['forumid'].

Thnx , But it's not work too

Dave
06-13-2014, 04:19 PM
Thnx , But it's not work too

You're using it as {vb:raw $GLOBALS['forumid']} right?
This works perfectly fine on my vBulletin forum 4.1.12.

omardealo
06-13-2014, 04:25 PM
You're using it as {vb:raw $GLOBALS['forumid']} right?
This works perfectly fine on my vBulletin forum 4.1.12.

Sorry it's my mistake , i used it as $GLOBALS['forumid'] :o
Now it's working perfectly good {vb:raw $GLOBALS['forumid']}
Thnx my brother :up: