vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - CMS Disabler (https://vborg.vbsupport.ru/showthread.php?t=230503)

Trek 12-17-2009 10:00 PM

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

Trek 12-18-2009 09:39 PM

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.

Trek 12-18-2009 10:43 PM

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

Is it not working or something?

cosy 12-18-2009 11:04 PM

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

Trek 12-18-2009 11:11 PM

Quote:

Originally Posted by cosy (Post 1933186)
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

Merjawy 12-18-2009 11:31 PM

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 :)

halkum 12-19-2009 12:05 AM

I like the mod as it makes it easier to disable then going into the plugins and sort through them to disable it manually.

Alfa1 12-19-2009 01:12 AM

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.

sebaldus 12-19-2009 02:41 AM

Quote:

Originally Posted by Alfa1 (Post 1933231)
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.

sebaldus 12-19-2009 03:02 AM

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.


All times are GMT. The time now is 10: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.01086 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete