PDA

View Full Version : Allow usergroups to see board while offline


Zachery
01-11-2004, 10:00 PM
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/showthread.php?s=&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
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
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
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
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.

* Frozen Dreams klicks install

Mephisteus
01-13-2004, 01:04 PM
Nice hack!

https://vborg.vbsupport.ru/showthread.php?s=&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
Nice hack!

https://vborg.vbsupport.ru/showthread.php?s=&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
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
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
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
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
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 ...

Database error in vBulletin 3.0.5:

Invalid SQL: INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('cansee', 'onoff', '', '', '', '15', '0', '0')
mysql error: Duplicate 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
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
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?