vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Allow usergroups to see board while offline (https://vborg.vbsupport.ru/showthread.php?t=60125)

Zachery 01-11-2004 10:00 PM

Allow usergroups to see board while offline
 
What this does: Allows you to specificy which usergroups can see the board while offline BESIDES just the admins :)

it only works with full usergroups NOT additinal usergroups.

install time: 5m~

once the install is complete login to your ACP and check the vB Options, there is a new one right above the message to display :)

always remember to backup before installing any hack :)

Credits:
Xenon for helping me, this was my first hack :)
DarkSSJ3 for the original Author, however i didnt look at his code ^^''
https://vborg.vbsupport.ru/showthrea...threadid=50468

anyone who already downloaded and got a 404 rename the install file
cansee_install.php or redownload the zip :)

NTLDR 01-12-2004 08:26 PM

Would have been better to have used a bitfield in the usergroups permissions. Still a good hack none the less :)

Zachery 01-12-2004 08:32 PM

Quote:

Originally Posted by NTLDR
Would have been better to have used a bitfield in the usergroups permissions. Still a good hack none the less :)

thanks :) i havent played around with the bitfield yet and im not the best with the mysql end yet :)

MindTrix 01-12-2004 08:46 PM

Keep them comming mate :) Certainly earning the post count now huh (I'll be there soon lol)

Cant wait too see some big hacks from you soon, no doubt your getting there.

Zachery 01-12-2004 09:32 PM

Quote:

Originally Posted by MindTrix
Keep them comming mate :) Certainly earning the post count now huh (I'll be there soon lol)

Cant wait too see some big hacks from you soon, no doubt your getting there.

i might start a journal thing but im not sure, as id rather use Kuras >.< plus im not that good with mysql stuffs yet :)

Boofo 01-12-2004 09:39 PM

Can we get a txt file for the install?

Zachery 01-12-2004 11:09 PM

Quote:

Originally Posted by Boofo
Can we get a txt file for the install?

any reason? that script only inserts one option.

and the only other way i understand how to do it would be to just enable debug mode for a few min.

neocorteqz 01-13-2004 08:10 AM

where do i run this from? admincp?

if so i get a 404 after clicking install

cansee_install.php?step=dosettings is the addy.

Frozen Dreams 01-13-2004 10:40 AM

Quote:

Originally Posted by neocorteqz
where do i run this from? admincp?
if so i get a 404 after clicking install
cansee_install.php?step=dosettings is the addy.

Yeah same happens to me ... upload the file, open it in IE - click on link and get a 404 :(

ETA: there's an error in the coding, I had someone fix it for me (no clue what he did though) and it worked...
thanks for releasing this so quickly.

[high]* Frozen Dreams klicks install[/high]

Mephisteus 01-13-2004 01:04 PM

Nice hack!

https://vborg.vbsupport.ru/showthrea...threadid=50468 :P

PS
I've send an update with a link to this hack saying it was ported. Because mine was first :p (even though for vB2)

Zachery 01-13-2004 03:35 PM

Quote:

Originally Posted by DarkSSJ3
Nice hack!

https://vborg.vbsupport.ru/showthrea...threadid=50468 :P

PS
I've send an update with a link to this hack saying it was ported. Because mine was first :p (even though for vB2)

anyone whos having a problem - ill look at the installer, i use it for everything so theres always a chance

Darkssj3 - im not one to steal code :) i actually saw your mod on a board(didnt know it was your mod) i took over as an admin for. and i liked it so you can see at vbulletin.nl i started developemnt of it and then i stoped and waited for RC :)

Alchemyst 01-13-2004 08:50 PM

Quote:

Originally Posted by Faranth
anyone whos having a problem - ill look at the installer, i use it for everything so theres always a chance


It's just a really simple typo in the code. You have it, in the PHP, linked to "cansee_install.php?=dosettings" whereas it should be "cansee_installer.php?=dosettings" (or whatever it is).

Great hack, BTW.

Zachery 01-13-2004 08:52 PM

Quote:

Originally Posted by Alchemyst
It's just a really simple typo in the code. You have it, in the PHP, linked to "cansee_install.php?=dosettings" whereas it should be "cansee_installer.php?=dosettings" (or whatever it is).

Great hack, BTW.

yea i already figured that out :) and the zip should reflect it :)

Ryan Ashbrook 01-13-2004 09:26 PM

Nice hack, Faranth, although I won't be using it, niec job. :)

Zachery 01-13-2004 09:26 PM

Quote:

Originally Posted by Ryan Ashbrook
Nice hack, Faranth, although I won't be using it, niec job. :)

thanks :) i originaly developed this for a board i was working on but i had to push work off on that board.... but it will be starting up again soon hopefully :)

StarBuG 01-14-2004 07:03 AM

For me it only would be interesting if I could define an added usergroup to see the offline forum.

Any chance that this will be featured someday?

Greetings

Star

Zachery 01-14-2004 02:51 PM

Quote:

Originally Posted by StarBuG
For me it only would be interesting if I could define an added usergroup to see the offline forum.

Any chance that this will be featured someday?

Greetings

Star

ill see about adding it in, you can manully do it :P

gmarik 01-14-2004 07:45 PM

sounds promissing

Ryan Ashbrook 02-15-2004 10:41 PM

Looks like I am gonna do it after all. :p

deathemperor 03-30-2004 11:07 AM

well, it's really useful for dial up users ^^
/me installed

alkahf 05-17-2004 02:22 AM

Hello
Any one installed this hack with vB3.0.1?

Zachery 05-17-2004 02:23 AM

it will work with 3.0.1

alkahf 05-17-2004 02:53 AM

Quote:

Originally Posted by Zachery
it will work with 3.0.1

Thank you
Installed!

alkahf

theArchitect 09-18-2004 10:59 AM

Very cool. Simple yet very useful.

And I love the install file. Well done Tigga.

montda 01-11-2005 02:26 AM

Help me ...

PHP Code:

Database error in vBulletin 3.0.5:

Invalid SQLINSERT INTO setting (varnamegrouptitlevaluedefaultvalueoptioncodedisplayorderadvancedvolatileVALUES ('cansee''onoff''''''''15''0''0')
mysql errorDuplicate entry 'cansee' for key 1

mysql error number
1062 


these wat i've got when i install from cansee_install.php

neocorteqz 02-07-2005 11:54 AM

installer worked for me, vBull 3.0.6

Clb 02-08-2005 08:28 PM

usefull hack ;)

installed :D

Primal Rage 10-10-2005 07:54 PM

Can someone port this over to VB3.5 ? I really need this.

Zachery 10-10-2005 09:59 PM

Quote:

Originally Posted by Primal Rage
Can someone port this over to VB3.5 ? I really need this.

I'll see what I can do but I'm not sure if there is a hook point to properly accomplish this.

Primal Rage 10-10-2005 10:03 PM

Quote:

Originally Posted by Zachery
I'll see what I can do but I'm not sure if there is a hook point to properly accomplish this.

yeah i know that you mean, I got it to work by manually changing the files with appropiate changes and what not, but i would've liked to have it as a plugin/hook

Thank you

RoryF 11-12-2005 07:09 AM

Can this hack be introduced in vBulletin 3.5?


All times are GMT. The time now is 05:21 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.02392 seconds
  • Memory Usage 1,780KB
  • 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_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)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