vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Moderators Functions - Easy Mod Tools (https://vborg.vbsupport.ru/showthread.php?t=238189)

zippokid 01-10-2012 02:09 AM

Quote:

Originally Posted by Boofo (Post 2285781)
Where? the profile or the postbit?

just the postbit. using 4.0.7 btw, sorry

Boofo 01-10-2012 02:14 AM

Does that happen on all of the links for this in the postbit?

zippokid 01-10-2012 02:16 AM

yes, well each link that is associated with the easy mod tools. the links in the postbit dropdown that are present with a clean install have the userid populated.

EDIT: i changed to postbit_display_complete as my hook location from member_action_dropdown and added the global statement and it worked.

Boofo 01-10-2012 02:41 AM

Yes, and it also works on the forumhome and forumdisplay now, too. ;)

thr45h3r 01-10-2012 04:37 AM

Quote:

Originally Posted by masterross (Post 2284791)
Thx mate.

Updated!

Thanks for your support :up:

exyuteam 01-16-2012 01:57 PM

Quote:

Originally Posted by zippokid (Post 2285779)
When i try this hack. it shows up and the options show up, but the userid doesn't populate so it will link to, for instance http://blahblah.com/forum/modcp/user...ditsig&userid=

any suggestions?

Same for me:
on postbit: EDIT USER PROFILE: hxxp://DOMAIN/moderator.php?do=useroptions&u=
and ALL others links don't have userID!

On profile, this is OK... I use latest ver of VB - 4.1.10

ANd now I read about adding or editing hock location... Can you fix this problem, or add option for this? I don't know how I can change this, but I try it now.... Anyway, I think that you need do something about this. We just need to install this great plugin, set desired option, and GO... :)

exyuteam 01-16-2012 02:10 PM

No, it's still not works... :(
Quote:

Originally Posted by Boofo (Post 2284778)
Another tip for you guys. Change the hook from "postbit_template_complete" to "memeberaction_dropdown" and you don't have to add "global $vbulletin;", plus the links will be available on the forumhome in the dropdown just like they are in the postbit.

I check this, and this is already on "memeberaction_dropdown", but still I don't have userid's in links!?

Boofo 01-16-2012 07:22 PM

See if it shows {vb:raw memberinfo.userid} for that link in the template.

dorans 01-16-2012 09:01 PM

memberinfo_modtools template

Quote:

<li><a href="{vb:raw admincp}/user.php?do=editaccess&u={vb:raw userinfo.userid}"><img src="{vb:stylevar imgdir_siteicons}/settings.png" alt="" /> {vb:rawphrase modtools_edituser}</a></li>

Boofo 01-16-2012 09:11 PM

Change this:

HTML Code:

userinfo.userid

to this:

HTML Code:

memberinfo.userid

When the hook was changed, the variable has to be changed to work with it. userinfo needs to becomes memberinfo in that hook.


All times are GMT. The time now is 05:55 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.01216 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete