Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
vB Screensaver Details »»
vB Screensaver
Version: 1.2, by Coroner Coroner is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.2 Rating:
Released: 07-25-2008 Last Update: 07-26-2008 Installs: 24
Uses Plugins
Additional Files  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 07-26-2008, 10:56 PM
GaiLoan GaiLoan is offline
 
Join Date: Dec 2007
Location: California,US
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah demo as a link plz ?
Reply With Quote
  #23  
Old 07-27-2008, 06:00 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What would be kewl if you could edit the text that shows or even add a preselected image to show instead of just a black screen.

You could then put a big DONATE button to show as the screen saver LOL

Jacquii.

ps - Kewl idea = Thanx for the sharing.
Reply With Quote
  #24  
Old 07-27-2008, 06:23 AM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PoetJA-1975 View Post
What would be kewl if you could edit the text that shows or even add a preselected image to show instead of just a black screen.
.
thats exactly that i was thinking i hope to put a image that will make to download and installing i will follow this mod congrats
Reply With Quote
  #25  
Old 07-27-2008, 06:45 AM
Coroner Coroner is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 797
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Need an Image instead of the time ? So, were's the prob ?
Simply modify the template "screensaver".

You can try this - only an example:
Replace the Template "screensaver" with this content
Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title>$vbphrase[screensaver_title]</title>
</head>
<body>

<script type="text/javascript">
<!--
var myWidth = 0;
var myHeight = 0;
if (typeof (window.innerWidth) == 'number')
{
 myWidth = window.innerWidth;
 myHeight = window.innerHeight;
}
else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight))
{
 myWidth = document.documentElement.clientWidth;
 myHeight = document.documentElement.clientHeight;
}
else if (document.body && (document.body.clientWidth || document.body.clientHeight))
{
 myWidth = document.body.clientWidth;
 myHeight = document.body.clientHeight;
}
// -->
</script>

<table onclick="ScreenieBack();" cellpadding="0" cellspacing="0" border="0" style="width:100%">
 <tr valign="middle">
<script type="text/javascript">
<!--
document.write ("<td style=\"width:100%; height:" + myHeight + "px\">");
// -->
</script>
<center><a href="to_my_donation.php"><img src="myimage.gif" border="0" /></a></center>
  </td>
 </tr>
</table>

<script type="text/javascript">
<!--
var scount = 0;
var screens_url = '$screens_url';

function ScreenieBack ()
{
 window.location.href = screens_url;
}
// -->
</script>

</body>
</html>
Regards
Coroner
Reply With Quote
  #26  
Old 07-27-2008, 07:23 AM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats what i was talking about
thanks Coroner congrats
download and install
Reply With Quote
  #27  
Old 07-27-2008, 08:27 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Aha! I haven't downloaded yet to peek at the code :P
Looks interesting though - Thanx again for the share.

Jacquii.
Reply With Quote
  #28  
Old 07-27-2008, 08:38 AM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol ......................... novelty value is quite high and yes not a bad thing to keep the 3 'Ms' (member mouse moving)
Reply With Quote
  #29  
Old 07-27-2008, 09:41 AM
Andyrew Andyrew is offline
 
Join Date: Aug 2005
Location: UK
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just get a blank white screen.
Reply With Quote
  #30  
Old 07-27-2008, 10:06 AM
Coroner Coroner is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 797
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

U sure, that your template is correct installed ?

You can always test the screensaver when you add
?scs=1 or &scs=1 at your browsers forums link.
Reply With Quote
  #31  
Old 07-27-2008, 10:18 AM
Andyrew Andyrew is offline
 
Join Date: Aug 2005
Location: UK
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coroner View Post
U sure, that your template is correct installed ?

You can always test the screensaver when you add
?scs=1 or &scs=1 at your browsers forums link.
When the screensaver starts the domain turns to /forumsindex.php?scs=1
If i delete the word forums it works.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05146 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete