vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Moderators Functions - User Management in Postbit and Profile v2 (https://vborg.vbsupport.ru/showthread.php?t=140398)

UltimateOreo! 03-02-2007 11:03 PM

I like what you did with it, user management has a LOT of possibilities. Im working on a hack that basically crams all of the user management features vbulletin has onto one page.

(Crap, not a good idea posting it. NO-ONE TAKE THE IDEA!! I call shotgun on it already!)

HMBeaty 03-03-2007 12:29 AM

Quote:

Originally Posted by UltimateOreo! (Post 1194486)
I like what you did with it, user management has a LOT of possibilities. Im working on a hack that basically crams all of the user management features vbulletin has onto one page.

Thank you, and looking forward to your next mod :)

Skavenger 03-03-2007 05:18 AM

I tried to change the code from this
Code:

<span onmouseover="this.style.cursor='hand';" onClick="window.open('/forum/modcp/banning.php?do=banuser&userid=$post[userid]','ban','width=500,height=375,scrollbars=yes')">Ban $post[username]</span>
to this

Code:

<a href="/forum/modcp/banning.php?do=banuser&userid=$post[userid]">Ban $post[username]</span>
And I get 404 error :S

Losha 03-03-2007 02:02 PM

Thank you,

A simple modification !
FIND:
PHP Code:

<if condition="is_member_of($bbuserinfo, 5,6,7)"

Replaced:

PHP Code:

<if condition="$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])"

Why use a clause </if> emergence of you and not for all

rjmjr69 03-04-2007 08:23 AM

This is not working in 3.6.5 upgraded and lost the feature. Redid the code and still nothing click usernames brings you to the profile

UltimateOreo! 03-04-2007 12:24 PM

Scavenger, the reason that it's not working because HTML sees the link you are creating as a direct link, so basically, all your doing is pointing your browser directly to that, it won't work. If you would like, I could Re-work my hack to make it point directly to that page, and not a pop-up.

Skavenger 03-04-2007 02:58 PM

Quote:

Originally Posted by UltimateOreo! (Post 1195436)
Scavenger, the reason that it's not working because HTML sees the link you are creating as a direct link, so basically, all your doing is pointing your browser directly to that, it won't work. If you would like, I could Re-work my hack to make it point directly to that page, and not a pop-up.

Yes, please. I need that, but not in the same window, you could use 'target="_blank"'

Thank you!

PS: you could use phrases too :)

HMBeaty 03-04-2007 08:13 PM

Quote:

Originally Posted by rjmjr69 (Post 1195352)
This is not working in 3.6.5 upgraded and lost the feature. Redid the code and still nothing click usernames brings you to the profile

I just upgraded to 3.6.5 as well and its working on my site. Are you using a custom style or the vbulletin default style?

HMBeaty 03-05-2007 12:29 AM

You should also make sure if you're having this problem, that you have

Use 'vBMenu' DHTML Popup Menus?

Set to Yes in your vBulletin Options in your admincp under style and language settings

Black Tiger 03-10-2007 06:41 PM

Did not install it yet, but I found this in the code:
Code:

onClick="window.open('/forum/moderator.php?
I presume this has to be set to whereever your forum resides in? So if it's in /board/ you have to change this to /board/moderator.php, am I correct?

If yes, maybe you could put such notice in the installation manual.


All times are GMT. The time now is 10:03 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.01083 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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