![]() |
CMS Disabler
1 Attachment(s)
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
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. |
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. |
Ouch, 1 star... what's wrong with it? heh
Is it not working or something? |
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
|
Quote:
Not really a big deal, I wrote it for myself as I find it useful, but... a 1 star... OUCH! heh |
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 :) |
I like the mod as it makes it easier to disable then going into the plugins and sort through them to disable it manually.
|
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.
|
Quote:
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. |
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. |
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 |
Quote:
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. |
Default setting of CMS had a permision setting to do that. Didn't need this mod!
|
Quote:
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.. :D Have a really wonderful Christmas my forums friend. All the best from Sebaldus.:up: |
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 |
Quote:
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 :D 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.. |
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. |
Trek, Thank you for taking the time to make this addon. Works great!
*installed* |
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. |
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.) |
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. |
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. |
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.
|
Quote:
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. =) |
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 |
Quote:
|
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. |
Quote:
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. |
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!
|
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. :D |
Trek this is exactly what I'm looking for. I want my forums to load first when my Vb4 is accessed, I want only the admins to see the CMS and I want the Home button removed from the Navbar so that non-admins don't / can't find their way to the CMS until I'm ready to let them.
This is a great mod and I shall be installing it forthwith! Thanks Man for working this out and thanks for posting it. Saved me from having to re-invent the wheel or even teach myself to code VB... I have enough to do right now without learning something new! Rgds Pete |
Sounds like just what we need to test. Thanks for providing this.
|
I'm an admin on my server and I set up the groups allowed and it told me I didn't have access to the content.php .... ?
|
Quote:
Try just changing it to usergroup 6 (assuming you're in that group as normal). See if it works then. If so, there's a problem with the multiple group checking and I'll look into it. |
Quote:
|
Trek
Your mod seems to being working as you say, but I had one issue with it. When I turn it off and turn privileges on for all my groups, the Home button will not appear back on the navbar for the user groups who have been approved to view the CMS page. |
Quote:
|
Thanks for this handy product! It works like a charm!
|
Excellent mod! Just what I needed.
|
Great, thanks soooo much!
|
All times are GMT. The time now is 12:53 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|