vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - View Forum Leaders Based On Usergroup Permissions (https://vborg.vbsupport.ru/showthread.php?t=169945)

-=Leb=- 08-28-2008 03:34 PM

Excellent work and thx for the update. :)

Mosh 08-29-2008 02:07 AM

Update: v3.7.004
-- Fixed: Usergroup permission checkboxes not working with vBulletin v 3.6.x

Brad Jones 09-02-2008 01:51 AM

Mosh,

I have no idea how possible this idea is, but could you add the option of not showing the link at all, unless they're a member of the allowed groups? I find that much more intelligent than allowing them to click a link and then reprimanding them for clicking said link.

TilkiBey 09-03-2008 09:06 AM

can we use it for staff.php page?

Mosh 09-03-2008 12:22 PM

Update: v3.7.005
-- Added: New plugin, to remove the View Forum Leaders link on the forumhome page if no usergroup permissions

Mosh 09-03-2008 12:23 PM

Quote:

Originally Posted by Brad Jones (Post 1612437)
Mosh,

I have no idea how possible this idea is, but could you add the option of not showing the link at all, unless they're a member of the allowed groups? I find that much more intelligent than allowing them to click a link and then reprimanding them for clicking said link.

Well, it does now :)

Thanks for the suggestion :)

Mosh 09-03-2008 12:26 PM

Quote:

Originally Posted by TilkiBey (Post 1613433)
can we use it for staff.php page?

It will only work if staff.php contains the following line at the start of the main script:
PHP Code:

($hook vBulletinHook::fetch_hook('showgroups_start')) ? eval($hook) : false

As it is this hook that this hack relies on.

Brad Jones 09-03-2008 09:31 PM

Quote:

Originally Posted by Mosh (Post 1613540)
Well, it does now :)

Thanks for the suggestion :)

Thank you for the implementation!

Mosh 01-08-2009 07:00 AM

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored. You can now check out the 3.8.x version of this hack, as it also works with v3.7.5, v3.6.12 (and maybe even earlier versions).


All times are GMT. The time now is 01:16 PM.

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.01158 seconds
  • Memory Usage 1,730KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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