vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - vB Screensaver (https://vborg.vbsupport.ru/showthread.php?t=186400)

Coroner 07-25-2008 10:00 PM

vB Screensaver
 
Maybe unusefull ... but funny.

What does it do.
This Mod will check the Users inactivity and after ... Seconds a Screensaver will start.
To retrun to the previews Page, simply click into the Screensaver Window.

Options:
After install, simply set the Userrights in each Usergroup to allow the Screensaver (Guests won't work - see Note).
Then under "vbulletin Options" serach for the Screensaver and set it to ON.
(I used 300 Seconds and the Standard Session-Timeout is 900).

Tested:
Tested under IE, Opera, Mozilla3 and Safari. I think WIO (Who is Online) doesn't work with the Standard Setting and what happend with a PopUP ??? Try it - don't know.

History:
v1.2
Tested and fixed the "Guest" Bug.
Better Location gets (*sorry* - what should I say ?)

v1.1
Added a "scriptchecker". You can now disable the Screensaver on some scripts.

v1.0
Works stable

Note:
I didn't test Guests, so I disabled them into the Plugin.
If you want to change it, simply modify the Product.
Search for:
PHP Code:

if (($permissions['screenspermissions'] & $vbulletin->bf_ugp_screenspermissions['canusescreensaver']) AND $vbulletin->userinfo['userid'] AND $vbulletin->options['screensaver_onoff'] AND $screens_go

And change into:
PHP Code:

if (($permissions['screenspermissions'] & $vbulletin->bf_ugp_screenspermissions['canusescreensaver']) AND $vbulletin->options['screensaver_onoff'] AND $screens_go


Screensaver and Product:
There are only 2 Templates. The 1st one extends the Headinclude. And the 2nd is the Screensaver. I'll wrote a little Javascript to set a TABLE on the whole Screen (1st I get the Width and Height of the Screen). The actually Time will shown in the Window on random Places. So, feel free to modify the Template as you like.

P.S. deutschen Support gibt es auch bei your-vb

TimberFloorAu 07-26-2008 04:21 AM

LOL bloody funny , for a NSFW screensaver for members using forum at work, and a bloody big screensaver appears !

Good work

dreads 07-26-2008 04:31 AM

lol i must see this :D

Q-v-n-s-Q 07-26-2008 04:31 AM

nice, thanks

tekram 07-26-2008 04:58 AM

Not working for me on vb 3.7.1

Coroner 07-26-2008 05:07 AM

Do you set the Userrights and the Screensaver to ON ?
Is you Screensaver-time lower than your Session-Timeout ?
I'am using it in a vB 3.7.2 and also in vB 3.7.1 - no Problems.

TheInsaneManiac 07-26-2008 05:52 AM

Lol, pretty cool. I like it, but not enough to keep it installed as some users may be like, what the heck?

transparent 07-26-2008 06:02 AM

How about a demo page? I don't wanna install it on my live board until I see what It looks like.

Thank you! Very creative idea =)

ShawneyJ 07-26-2008 06:26 AM

wtf lol this sounds cool......DEMO?? ;)

TheInsaneManiac 07-26-2008 06:47 AM

Quote:

Originally Posted by transparent (Post 1584443)
How about a demo page? I don't wanna install it on my live board until I see what It looks like.

Thank you! Very creative idea =)

It's just a black page where the time displays and changes position on the page every couple of seconds. Then if you click anywhere on the page the screensaver disappears.


All times are GMT. The time now is 07:59 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.01845 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_php_printable
  • (1)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