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)
-   -   Administrative and Maintenance Tools - Show/Hide Forum Sidebar On User Group Per User Group Basis (https://vborg.vbsupport.ru/showthread.php?t=244019)

borbole 06-04-2010 10:00 PM

Show/Hide Forum Sidebar On User Group Per User Group Basis
 
1 Attachment(s)
This is another mod that I just coded for my own forum where some love the forum sidebars and some hate it. What you gonna do, you can''t please everyone, right :D So I came up with this solution that it will allow you to show or hide the forum sidebar on a usergroup per usergroup basis.

Installation: upload the includes folder to your forum root folder and then import the link_gids.xml file inside the mod package to Plugins&Products in the Acp of your forum.

After you install it, go to your Acp->Usergroups->Usergroup Manager->{ Chose the group that you want to show or hide the forum sidebar from->Click Edit Usergroup} and under Forum Viewing Permissions, you will see a new setting that says: Hide Forum Sidebar, and set that accordingly. By default it is et to No.

For more information, please have a look at the attached screenshot below.

PjDaBadMan 06-06-2010 02:45 AM

This a very nice mod, Thanks!

One thing for the future though might be, a setting that is like this one but sets usergroups to view a certain block from the sidebar. In other words, setting the permission so that a certain usergroup cant see a block on the sidebar.

Just a thought. :D

voglermc 06-06-2010 10:36 AM

or hide after a certain number of posts

borbole 06-06-2010 11:14 AM

Quote:

Originally Posted by PjDaBadMan (Post 2049068)
This a very nice mod, Thanks!

One thing for the future though might be, a setting that is like this one but sets usergroups to view a certain block from the sidebar. In other words, setting the permission so that a certain usergroup cant see a block on the sidebar.

Just a thought. :D

I see what you mean. But atm I don''t plan to expand it as it will require some work and I am tight on free time.

Quote:

Originally Posted by voglermc (Post 2049210)
or hide after a certain number of posts

You can do that by creating a post count based custom group and then hide the sidebar for them at their permissions.

Zombo 06-30-2010 03:16 AM

this mod doesn't work on 4.0.4

error when installing:

Warning: Invalid argument supplied for foreach() in [path]/includes/class_block.php on line 943

funmasti 06-30-2010 06:57 AM

any demo.. plz

borbole 07-01-2010 01:44 PM

Quote:

Originally Posted by Zombo (Post 2062049)
this mod doesn't work on 4.0.4

error when installing:

Warning: Invalid argument supplied for foreach() in [path]/includes/class_block.php on line 943

I haven''t tested it yet on a vb .4.0.4. forum, but as soon as I will have some free time I will
Quote:

Originally Posted by funmasti (Post 2062111)
any demo.. plz

Have a look at the attached screenshot.

demonfatal 07-13-2010 11:33 AM

Please update for 4.0.4 needed.

borbole 07-13-2010 12:11 PM

Quote:

Originally Posted by demonfatal (Post 2068503)
Please update for 4.0.4 needed.

It works with 4.0.4 as well.

demonfatal 07-15-2010 10:10 AM

Not for me, any advice?


All times are GMT. The time now is 09:57 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.01022 seconds
  • Memory Usage 1,735KB
  • 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
  • (5)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
  • (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