vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Allow usergroups to view disabled board (https://vborg.vbsupport.ru/showthread.php?t=114783)

Mephisteus 05-03-2006 10:00 PM

Allow usergroups to view disabled board
 
Hack name: Allow usergroups to view disabled board
Version: 1.0.0
Author: Mephisteus (DarkSSJ3)

Steps:
1 file edit
1 product import

Info:
Allow members of specified usergroups (and administrators) to view the board while its disabled (AKA, bypass the disabled screen).

Tested on:
3.5.0 - OK
3.5.3 - OK
3.5.4 - OK
Note: This should work on every 3.5.x due to the nature of the file edit.

Features
- Administrators can always view the board, also if they are not in a specified usergroup
- Specify multiple usergroups
- Works on both primary and additional usergroups
- Members of specified usergroups also receive the warning you do

MAKE A BACKUP
I will not be held responsible for any damage this hack causes to your forum.
This hack is NOT supported. If you get support, consider yourself lucky.
I reserve the right to REMOVE the hack at any time without prior notice.

Please keep any bug reports in this thread.

History
1.0.0 - Rerelease (05/05/06 12:37 GMT)
Correct global.php edit is in the readme.txt
1.0.0
Initial release

kurtbarker 05-04-2006 09:44 PM

nice one mate...

be perfect for my 'forum testers' when make big changes

thankyou :D

Snake 05-04-2006 10:42 PM

Awesome! I have been waiting for this! :D

[high]* Snake clicks on install[/high]

moonclamp 05-04-2006 11:41 PM

Thanks for this ... however, something went wrong and even guests could see the "board offline" message at the top and still access the forums.

Could it be because I am still on 3.5.0 and using php5?

Barakat 05-04-2006 11:48 PM

i love it soooo much thanks man >

Atakan KOC 05-05-2006 05:11 AM

Nice. Thanks.

Mephisteus 05-05-2006 10:41 AM

Quote:

Originally Posted by moonclamp
Thanks for this ... however, something went wrong and even guests could see the "board offline" message at the top and still access the forums.

Could it be because I am still on 3.5.0 and using php5?

Fixed

moonclamp 05-05-2006 10:43 AM

Thank You. I will test it later tonight when the forum goes to sleep again :)

Snake 05-05-2006 04:04 PM

Seems to work fine now. Thanks again! :)

Floris 05-05-2006 10:42 PM

Yet another great resource, tnx for sharing! i clicked install.

moonclamp 05-05-2006 11:13 PM

Works fine now. Thank you very much. :)

Nathan2006 05-06-2006 06:42 PM

Working really well :D

Thank You Mephisteus

Install:cool:

CypherSTL 08-01-2006 07:12 AM

Posiable for this to be ported to 3.6 (RC3 or gold)?

I have it on my 3.5.4 board and my staff loves it, going to be upgradeing to 3.6 here as soon as gold in released and still want to keep it.

psypix 08-17-2006 02:24 PM

does not work on 3.6
just tested it and i get a database error when trying to import the xml

would love to have this on 3.6 :)

aveon 08-20-2006 04:35 PM

it doesntwotk on vb 3.6.0 i tried to import the produck but it dave me an error can you update it please??

aveon 09-17-2006 08:46 PM

Quote:

Datenbankfehler in vBulletin 3.6.0:

Invalid SQL:
INSERT INTO `setting` VALUES ('viewdisabledboard', 'onoff', '', '', '', 30, 0, 0, 'free', 'viewdisabledboard');;

MySQL-Fehler : Column count doesn't match value count at row 1
i get this error can you update the product

Stoebi 09-18-2006 05:08 AM

Hi

Only for vBulletin 3.6.0 and 3.6.1

Regards, Stoebi

aveon 09-18-2006 10:44 AM

hey stoebi i get thi error when i imported the product

Parse error: parse error, unexpected '}' in /kunden/137092_81737/www.e-paylas.de/forum/includes/adminfunctions_options.php(324) : runtime-created function on line 1

Fatal error: Call to undefined function: () in /kunden/137092_81737/www.e-paylas.de/forum/includes/adminfunctions_options.php on line 325

Snake 09-18-2006 11:43 AM

Same here...

Stoebi 09-18-2006 12:54 PM

Hi,

i've uploaded 2 new archives with a little different in the readme.txt for 3.6.0,
but i can't reproduce your errors.

Which vBulletin version you use?
Please attach your global.php, if this error persists.

These archives are not working with vBulletin 3.5.x

Regards, Stoebi

aveon 09-18-2006 07:23 PM

im usin version 3.6.0

and here is the error i get

http://img151.imageshack.us/img151/1412/uuuet5.gif

Stoebi 09-18-2006 10:47 PM

Hi

can't reproduce this with your global.php. I did the necessary changes to work with this addon.

It seems, another plugin doesn't work correctly.
Please send me your file adminfunctions_options.php from your includes folder. Will look into it.

Regards, Stoebi

andrefedalto 09-27-2006 01:06 PM

Hey punks ;) i did some improvement to this hack, since i was having some errors when using it to vB 3.6.1, even with the updates stoebi posted...

So i decided to rewrite the code using the perfect vBulletin settings. Now its query-free. Just import this attached xml and make the changes in global.php that are listed in the original pack and you are done.

Its working like a charm in my vB 3.6.1

All the best.

aveon 09-29-2006 09:40 PM

Quote:

Originally Posted by andrefedalto
Hey punks ;) i did some improvement to this hack, since i was having some errors when using it to vB 3.6.1, even with the updates stoebi posted...

So i decided to rewrite the code using the perfect vBulletin settings. Now its query-free. Just import this attached xml and make the changes in global.php that are listed in the original pack and you are done.

Its working like a charm in my vB 3.6.1

All the best.


thnx man wors like a charm

Luggruff 10-23-2006 09:43 PM

Quote:

Originally Posted by andrefedalto
Hey punks ;) i did some improvement to this hack, since i was having some errors when using it to vB 3.6.1, even with the updates stoebi posted...

So i decided to rewrite the code using the perfect vBulletin settings. Now its query-free. Just import this attached xml and make the changes in global.php that are listed in the original pack and you are done.

Its working like a charm in my vB 3.6.1

All the best.

3.6.2?

bp323 10-23-2006 10:15 PM

Quote:

would love to have this on 3.6.2
X3....

Miles_Binck 10-23-2006 10:23 PM

This installed fine on my 3.6.2 board.

AMG021 11-28-2006 11:08 PM

Quote:

Originally Posted by andrefedalto (Post 1084590)
Hey punks ;) i did some improvement to this hack, since i was having some errors when using it to vB 3.6.1, even with the updates stoebi posted...

So i decided to rewrite the code using the perfect vBulletin settings. Now its query-free. Just import this attached xml and make the changes in global.php that are listed in the original pack and you are done.

Its working like a charm in my vB 3.6.1

All the best.

thanks soo much

redspider 11-28-2006 11:34 PM

any chance to get this to work with 3.6.4 ?

thanks

Cybershaolin 12-03-2006 03:13 AM

Same here. Does it work with 3.6.4?

andrefedalto 12-08-2006 08:56 PM

have you tried this?
https://vborg.vbsupport.ru/showpost....0&postcount=23

For me its working

Cybershaolin 12-08-2006 09:55 PM

I'll try it. Thanks.

Cybershaolin 12-09-2006 12:33 AM

Well the product is importing without any problem but when I want to change the code in global.php, the code asked to find is different than whaat I have in 3.6.4.

So what did you do with that code and what would be the right code to change it for in global.php with 3.6.4?

stamos2003 12-11-2006 03:31 PM

hmm it's not showing up to me on 3.5.5 ?!

PoetJA-1975 01-22-2007 09:47 AM

Quote:

Originally Posted by andrefedalto (Post 1084590)
Hey punks ;) i did some improvement to this hack, since i was having some errors when using it to vB 3.6.1, even with the updates stoebi posted...

So i decided to rewrite the code using the perfect vBulletin settings. Now its query-free. Just import this attached xml and make the changes in global.php that are listed in the original pack and you are done.

Its working like a charm in my vB 3.6.1

All the best.

Thanx for the share - but here's a better version: https://vborg.vbsupport.ru/showthrea...disabled+board

Jacquii.

Cybershaolin 03-20-2007 01:08 AM

Templates are not cached... how to cache them?

dtv100 08-06-2007 11:40 PM

I need to unistall this manulay from my board can someone post how to remove change to sql ?

dtv100 08-08-2007 01:26 PM

anybody know a query I can run to remove this from my DB?

thanks for any help I having problem when trying to close forum.

redspider 08-11-2007 06:37 AM

Quote:

Originally Posted by dtv100 (Post 1312667)
anybody know a query I can run to remove this from my DB?

thanks for any help I having problem when trying to close forum.

try this :


Code:

DELETE FROM `setting` WHERE `varname` = 'viewdisabledboard'
if you are using a table prefix add it before setting

dtv100 08-13-2007 09:13 AM

thanks that work


All times are GMT. The time now is 05:23 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.01567 seconds
  • Memory Usage 1,806KB
  • 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
  • (1)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete