PDA

View Full Version : Toggle Visibility


Boothby
06-04-2006, 10:00 PM
Description
As suggested here (http://www.vbulletin.com/forum/showthread.php?t=187059), this product brings your members a simple way to switch their visibility on board.

To install this mod, import the product-file and upload clientscript/toggle_visibility.js from the upload-folder to your forum-space.

History:
06/05/2006 -- Version 1.0.0 (initial release)
06/07/2006 -- Version 1.1.0 Added usergroup permissions
06/10/2006 -- Version 1.2.0 Added visibility status

melefire
06-05-2006, 09:17 PM
Nice job looks good, nice and simple

wizardan
06-05-2006, 10:57 PM
Works well.
Installed.

rice
06-06-2006, 02:48 AM
ooops....got this.
Parse error: parse error, unexpected '<' in /home/pressfor/public_html/ajax.php(52) : eval()'d code on line 1

and

if i get it working, is there a way to make it only available to admin or moderator??

thx,

rice

utw-Mephisto
06-06-2006, 09:23 AM
Since it is java script, does it work on FF and IE ?

Snake
06-06-2006, 10:29 AM
Nice little feature! ;)

Boothby
06-06-2006, 03:18 PM
ooops....got this.
Parse error: parse error, unexpected '<' in /home/pressfor/public_html/ajax.php(52) : eval()'d code on line 1



Hmm, this error is in the hook ajax_start. Have you more Plugins / Products installed, that use this hook?



if i get it working, is there a way to make it only available to admin or moderator??


I'll try to implement this. ;)

Since it is java script, does it work on FF and IE ?

I'm only using these 2 browsers and so I tested with them. And it works well. :)

bashy
06-06-2006, 03:32 PM
Hi...

I too would like this for Admin only please?
Perhaps an option in the admincp to choose what group can see this?

rice
06-07-2006, 05:37 PM
[QUOTE][Hmm, this error is in the hook ajax_start. Have you more Plugins / Products installed, that use this hook?/QUOTE]

Not sure about this...am running vbshout, vbchat, vbpoints, moods.

Any help is appreciated.

Thankx

Boothby
06-07-2006, 07:53 PM
I added new files.

Now you can specify the usergroups whose are allowed to toggle their visibility.

@rice, I dont know much about these modifications you have listed. :(
Could you look into the plugin manager if there are hooks using ajax_start.

rice
06-07-2006, 09:36 PM
Boothby,

Thank you much, yes found it...it is pm preview hack. not sure if they can co-exist but love both of them

rice

Boothby
06-08-2006, 03:29 PM
Help me, please. I cant find this hack. :( I found this (https://vborg.vbsupport.ru/showthread.php?t=94954), but there is no ajax_start hook.

bashy
06-08-2006, 03:38 PM
Excellent, will try this now, thank you so much for implementing this :)

I added new files.

Now you can specify the usergroups whose are allowed to toggle their visibility.

@rice, I dont know much about these modifications you have listed. :(
Could you look into the plugin manager if there are hooks using ajax_start.

Boothby
06-09-2006, 10:04 PM
I added a new option, that users can see the status icon but not click on it even if they cannot toggle visibility.

rice
06-10-2006, 01:19 AM
Help me, please. I cant find this hack. I found this, but there is no ajax_start hook.

i think that is the one i was using...let me get back to you on this.
thx

TotalTorque.net
04-26-2007, 04:08 PM
Installed! Found this whilst browsing older posts today - and what a simple and brilliant little feature.

MDK-Indy
08-11-2007, 09:16 AM
Installed on vBulletin 3.6.7 PL1, works fine...

greetings Indy

JohnBee
10-27-2007, 05:10 PM
Installed on vBulletin 3.6.7 PL1, works fine...

greetings Indy
Working on 3.6.8 PL1 also.
BTW. I love this MOD and think it is well deserving of being posted in the 3.6.x ADDON Section. :up:

rnixon
11-16-2008, 02:51 PM
Just what I was looking for, couldn't be better, many thanks!

(3.6.8)