Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #2  
Old 12-18-2009, 09:39 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a simple mod, but I figured maybe someone else could use it. Please let me know if you have any issues with it or suggestions. I'm a rookie at this so polite suggestions are welcome. =)

Added a quick update, no functionality changes, just made the settings pages look a little cleaner/understandable.
Reply With Quote
  #3  
Old 12-18-2009, 10:43 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ouch, 1 star... what's wrong with it? heh

Is it not working or something?
Reply With Quote
  #4  
Old 12-18-2009, 11:04 PM
cosy cosy is offline
 
Join Date: Jul 2007
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i dont know if is needed because u can have a forum section for that and then when the content is ready just copy+paste
Reply With Quote
  #5  
Old 12-18-2009, 11:11 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cosy View Post
i dont know if is needed because u can have a forum section for that and then when the content is ready just copy+paste
Right, but this way the entire CMS doesn't show up, ever, for those without access to it. So you can skin it, etc all behind the scenes.

Not really a big deal, I wrote it for myself as I find it useful, but... a 1 star... OUCH! heh
Reply With Quote
  #6  
Old 12-18-2009, 11:31 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haven't really looked around 4.0 that much.
I didn't know you can't disable/close CMS while the forum is open.. if that is the case then by all means, this is a needed mod.. I will install... Thanks


Don't worry,, be happy !!! you got 2 now
Reply With Quote
  #7  
Old 12-19-2009, 12:05 AM
halkum halkum is offline
 
Join Date: Feb 2006
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like the mod as it makes it easier to disable then going into the plugins and sort through them to disable it manually.
Reply With Quote
  #8  
Old 12-19-2009, 01:12 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its actually pretty strange that you cant disable the CMS. What if you only want to run forum, groups and blog? I think this mod is a great idea.
Reply With Quote
  #9  
Old 12-19-2009, 02:41 AM
sebaldus sebaldus is offline
 
Join Date: May 2008
Location: Halden - Norway
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Its actually pretty strange that you cant disable the CMS. What if you only want to run forum, groups and blog? I think this mod is a great idea.
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.

Otherwise is it a great mod, to disable the CMS only.

That's for sure.


I will also install it, so I easy can disable only the CMS.

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

It's only one problems and I was shore that you could turn of the CMS using this mods.

But I can't turn it of using this mods.

Have I misunderstand something?

Regards from
Sebaldus.
Reply With Quote
Reply

Thread Tools

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 05:02 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.06843 seconds
  • Memory Usage 2,318KB
  • 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
  • (2)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (3)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
  • (1)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_postinfo_query
  • fetch_postinfo
  • 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