vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   [SOLVED] i want get forumid on memberaction_dropdown (https://vborg.vbsupport.ru/showthread.php?t=312094)

omardealo 06-12-2014 06:18 PM

[SOLVED] i want get forumid on memberaction_dropdown
 
Hello ,

i add new link on memberaction_dropdown template

by this code

PHP Code:

<li class="left">
<
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

Quote:

Originally Posted by Dave (Post 2501790)
Try using $GLOBALS['forumid'].

Thnx , But it's not work too

Dave 06-13-2014 04:19 PM

Quote:

Originally Posted by omardealo (Post 2501792)
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

Quote:

Originally Posted by Dave (Post 2501801)
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:


All times are GMT. The time now is 09:39 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
  • Page Generation 0.01047 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete