Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show/Hide Forum Sidebar On User Group Per User Group Basis Details »»
Show/Hide Forum Sidebar On User Group Per User Group Basis
Version: 1.00, by borbole borbole is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.0.4 Rating:
Released: 06-04-2010 Last Update: Never Installs: 31
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

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 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.

Download Now

File Type: zip sidebar_gids.zip (1.5 KB, 214 views)

Screenshots

File Type: png Admin Control Panel_1275775549754.png (19.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
l0l4s0

Comments
  #2  
Old 06-06-2010, 02:45 AM
PjDaBadMan PjDaBadMan is offline
 
Join Date: Jan 2010
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 06-06-2010, 10:36 AM
voglermc's Avatar
voglermc voglermc is offline
 
Join Date: Oct 2006
Location: Piedmont Triad, NC, USA
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

or hide after a certain number of posts
Reply With Quote
  #4  
Old 06-06-2010, 11:14 AM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PjDaBadMan View Post
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.
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 View Post
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.
Reply With Quote
  #5  
Old 06-30-2010, 03:16 AM
Zombo Zombo is offline
 
Join Date: Jun 2010
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 06-30-2010, 06:57 AM
funmasti's Avatar
funmasti funmasti is offline
 
Join Date: Aug 2009
Location: World Wide Web
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any demo.. plz
Reply With Quote
  #7  
Old 07-01-2010, 01:44 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zombo View Post
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 View Post
any demo.. plz
Have a look at the attached screenshot.
Reply With Quote
  #8  
Old 07-13-2010, 11:33 AM
demonfatal demonfatal is offline
 
Join Date: Mar 2009
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please update for 4.0.4 needed.
Reply With Quote
  #9  
Old 07-13-2010, 12:11 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by demonfatal View Post
Please update for 4.0.4 needed.
It works with 4.0.4 as well.
Reply With Quote
  #10  
Old 07-15-2010, 10:10 AM
demonfatal demonfatal is offline
 
Join Date: Mar 2009
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not for me, any advice?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:11 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04759 seconds
  • Memory Usage 2,323KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete