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

What radmoose said, that's why I wrote the mod. If you're ok with everyone seeing annoying "you don't have permission" messages, no content and potentially an unskinned CMS (like in my case, it's getting done last), go right ahead and use the out of the box stuff.

If you don't want them to even know about the CMS or if they have a link to it, to then auto redirect to your forums, well... this mod does the trick for that.
Reply With Quote
  #23  
Old 12-21-2009, 07:54 AM
radmoose's Avatar
radmoose radmoose is offline
 
Join Date: Jul 2006
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trek =)

I installed this Mod and it does work as mentioned for the most part (see question below.)

Two suggestions:

1. Set the Product URL to this thread.

2. Setup the Version Check URL as well.

One question:

Is it possible to have it just redirect to the forum automatically without posting the "Access to this page is restricted, redirecting you to our forums." message when someone clicks on the "HOME" tab? (I think this is a limitation of vB, but I wasn't sure.)

Because of these I rated it 4 stars, but I would probably re-rate it 5 once the two suggestions are implemented.
Reply With Quote
  #24  
Old 12-21-2009, 02:02 PM
PPUS PPUS is offline
 
Join Date: Mar 2009
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work! Thank you for sharing it. I have a ton of things to do on the cms side and this eliminates one of the massive headaches that I was planning. Will mark installed once I get the Gold.
Reply With Quote
  #25  
Old 12-21-2009, 08:39 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by radmoose View Post
Two suggestions:

1. Set the Product URL to this thread.

2. Setup the Version Check URL as well.

One question:

Is it possible to have it just redirect to the forum automatically without posting the "Access to this page is restricted, redirecting you to our forums." message when someone clicks on the "HOME" tab? (I think this is a limitation of vB, but I wasn't sure.)
I can do steps 1 and 2 for sure (never did the version check, but I remember seeing an article on it a while back, I'll reread that soon).

The redirect I'm not sure about, I tried to fool around with redirecting and such without the internal VB functions, but you run into things like headers already being sent and such.

Ideally, people won't even be hitting that URL because they won't have it cached in their browser history and such (assuming you start Vb4 with this installed and CMS off). I'll check into it again, but no promises on this one. =)
Reply With Quote
  #26  
Old 12-22-2009, 02:01 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanxx man

I"ll try it

installed

transleted to arabic if you gev me promition i "ll add as attach here

weting you
________
MEDICAL MARIJUANA
Reply With Quote
  #27  
Old 12-22-2009, 05:06 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.osamA View Post
thanxx man

I"ll try it

installed

transleted to arabic if you gev me promition i "ll add as attach here

weting you
No problem at all, post it! Thanks!
Reply With Quote
  #28  
Old 12-27-2009, 11:30 PM
Axel Foley's Avatar
Axel Foley Axel Foley is offline
 
Join Date: Nov 2001
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't need the CMS for my forum (not yet), so I simply did this:

1. Edited index.php in the forum root, commenting require('content.php'); and uncommenting require('forum.php');

2. Went to ACP->Plugins & Products->Manage Products and disabled the vBulletin CMS product.

Now the CMS disappeared, the button on the navbar too.

Hope it helps someone else with my same need. I'll tag this mod and see how it evolves.
Reply With Quote
  #29  
Old 12-28-2009, 03:07 AM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Axel Foley View Post
I don't need the CMS for my forum (not yet), so I simply did this:

1. Edited index.php in the forum root, commenting require('content.php'); and uncommenting require('forum.php');

2. Went to ACP->Plugins & Products->Manage Products and disabled the vBulletin CMS product.

Now the CMS disappeared, the button on the navbar too.

Hope it helps someone else with my same need. I'll tag this mod and see how it evolves.
That works, but that also prevents you from working on the CMS in the meantime. What my mod does is allows you to keep it running for those you want to access it and those you don't... don't know it exists, even if they happened to know the URL it'll redirect them to your forums.

Granted, not everyone needs this mod and just wants the CMS gone, etc... but for those that want it enabled, but limited in access, this'll do that.
Reply With Quote
  #30  
Old 12-28-2009, 04:34 AM
Replicators's Avatar
Replicators Replicators is offline
 
Join Date: Jul 2005
Location: Jamestown, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are so many Vb users so arrogant, that they actually have to try and find what they "think" to be a better method than what the mod is trying to achieve? I read through this all, and it seems to me trek has brought you guy's something useful and specifically handles something that should be in vbulletin by default. Show some appreciation for the effort people, cause it's attitude which makes modders come and go!
Reply With Quote
  #31  
Old 12-28-2009, 06:42 PM
Axel Foley's Avatar
Axel Foley Axel Foley is offline
 
Join Date: Nov 2001
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First of all, let me start by saying that I really appreciate Trek's effort in making this mod.

I was looking for a way to completely disable the CMS and I stumbled into this mod, but it was not exactly what I was looking for because my needs are different.

I thought other users could be in my same situation so I thought it was helpful to post what I found out in order to disable the CMS without any hack/mod, that's it.

Replicator, if this is arrogance from your point of view then we have a different way of defining it.

Thanks again Trek, and keep up the great job.
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:19 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.08746 seconds
  • Memory Usage 2,340KB
  • 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
  • (4)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