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
CMS Disabler Details »»
CMS Disabler
Version: 2.00, by Trek Trek is offline
Developer Last Online: May 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.2.x Rating:
Released: 12-17-2009 Last Update: 07-24-2012 Installs: 70
Uses Plugins
Re-useable Code Translations  
No support by the author.

Reason why I wrote this mod

When vB4 gold comes out, I'd like to switch to it, get my forums working first and foremost. While that work is going on, I have content authors that need to create content, but I don't want this done on a live site where my users can see them working. I also need to skin the CMS, etc.

Once things are skinned, content is written, all of that. I want to simply "turn it on" and everything is live and ready to go.

What this mod does
  • Allows you to set usergroups that can access your CMS.
  • If a user is not of this usergroup, they are forwarded to the forums.php page.
  • It will not display the "Home" button on the tabnav if the user is not in the allowed usergroups list as well.
Notes

Thanks


BirdOPrey5, for updating the mod to work with vb 4.2 as well as fixing some other issues. I'm no longer supporting the mod and the code is reusable and I've updated the download to reflect his code/changes.

To Lynne for telling me what I needed to do when I asked the question, but not specifically telling me how to do it (doing it for me). Learning is fun, sometimes.


Installation:

Install the XML as you would any other vB mod.

Download Now

File Type: xml product-cmsdisabler_BOP5.xml (2.6 KB, 33 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
BirdOPrey5, Jamzyb, Zero13

Comments
  #12  
Old 12-19-2009, 03:05 AM
sebaldus sebaldus is offline
 
Join Date: May 2008
Location: Halden - Norway
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edited of me, because I can't get the the mod works as I thought it would?

Still can still access CMS, without double click.

So I must had misunderstand it totally.
Sebaldus
Reply With Quote
  #13  
Old 12-19-2009, 03:44 AM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sebaldus View Post
Edited of me, because I can't get the the mod works as I thought it would?

Still can still access CMS, without double click.

So I must had misunderstand it totally.
Sebaldus
Sebaldus, how are you attempting to access the CMS page?

By default I've set the mod to allow admins (usergroup 6), so unless you change that, you'll be able to get in by default.
Reply With Quote
  #14  
Old 12-19-2009, 05:33 AM
buontaiviem buontaiviem is offline
 
Join Date: Nov 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Default setting of CMS had a permision setting to do that. Didn't need this mod!
Reply With Quote
  #15  
Old 12-19-2009, 05:53 AM
sebaldus sebaldus is offline
 
Join Date: May 2008
Location: Halden - Norway
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trek View Post
Sebaldus, how are you attempting to access the CMS page?

By default I've set the mod to allow admins (usergroup 6), so unless you change that, you'll be able to get in by default.
Hi
I use Admin who are user group 6 as default.

So if U are Admin, you don't have to double click for getting access?

Maybe I shall send U a PM little later and let you get access to my forum so U can see if there maybe are other mod who make problems with this?

I have fellow your instruction total and are driving a Norwegian support forums for install, support, design and such things.

This are the first mod as I have had problems with or really don't understand.

So it's enough me who not understand the meaning of this mod..

Have a really wonderful Christmas my forums friend.

All the best from Sebaldus.:up:
Reply With Quote
  #16  
Old 12-19-2009, 05:55 AM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As I said before, I haven't looked around 4.0 much so I didn't know if you could or not

I did check the permission and yes you can use permissions to close CMS indeed
Reply With Quote
  #17  
Old 12-19-2009, 10:39 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sebaldus View Post
Yes you can do that in the Config.php script.

Maybe a great mod, but when you are upgrade to Gold you shall remember to disable the Config.php script using: define('DISABLE_HOOKS', true);

And then you are sure that all mods are disabled when upgrade.

Thanks.
Sebaldus.
Disable hooks does not disable this, cause by editing the .php files.
So your hardcodeing it.

Trek, in mod settings remove the "template edit" templates are editied through admincp,
cant remember if there is a file edit selection

but if your upgrading, you are "overwriting" this mod, so if you want to use it
after a upgrade, remember to change the require again..
Reply With Quote
  #18  
Old 12-19-2009, 06:15 PM
SillyAlien SillyAlien is offline
 
Join Date: Oct 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If they haven't sorted something like this out natively by the time Gold comes out, I'm sold on this mod. Thanks!

To a couple of the previous posters... yes you can "close" the CMS to groups, in the sense that they can't read articles, they'll just see a "No content" notice. What this mod does is prevent anyone unauthorised from accessing the CMS page at all. This gives you all the time you need to work on it behind curtains, modifying content, layout, themes, whatever.
Reply With Quote
  #19  
Old 12-19-2009, 06:21 PM
TalkVirginia's Avatar
TalkVirginia TalkVirginia is offline
 
Join Date: Oct 2008
Location: Virginia
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trek, Thank you for taking the time to make this addon. Works great!

*installed*
Reply With Quote
  #20  
Old 12-21-2009, 06:11 AM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have voted one star because you can do this in the ACP - disable the entire plugin or using permissions make it only that your staff/contributors can see it for everyone else it doesn't show.

A nice mod but it's already part of out of the box vb publishing suite.
Reply With Quote
  #21  
Old 12-21-2009, 06:49 AM
radmoose's Avatar
radmoose radmoose is offline
 
Join Date: Jul 2006
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If it is in the ADMIN CP, can someone specifically say what needs to be done?

When I disable all the sections for everyone but Admin, when someone who is not logged in shows up, they see "There is no content in this section" on the "Front Page" instead of not seeing the CMS at all.

I want everyone except admins and moderators to go directly to forums and not see the CMS at all.

It sounds like this mod does this while the Admin CP doesn't (unless I am missing something.)
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 11:23 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.05595 seconds
  • Memory Usage 2,336KB
  • Queries Executed 27 (?)
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
  • (3)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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