Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Innovative On Top Display Window Details »»
Innovative On Top Display Window
Version: 0.0.1, by TheLastSuperman (Senior Member) TheLastSuperman is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.x Rating:
Released: 05-20-2009 Last Update: Never Installs: 4
Supported Template Edits
Additional Files Translations Is in Beta Stage  

Innovative On Top Display Window

Mod Version: 0.0.1
Compatible vB version: 3.5.x, 3.6.x , 3.7.x , 3.8.x (All versions even pre 3.5 etc)

DESCRIPTION:
Description: "Emphasize" and make particular content on your page stand out by keeping them always visible on the visitor's browser screen, using this script. The script uses CSS's "fixed" positioning to accomplish this in modern browsers, while for older browsers that don't support "fixed" (such as IE6), switches to "absolute" positioning to simulate the effect. But the script doesn't just keep an element fixated on the screen, it lets you manage their display frequency to make the whole affair sensible and user friendly. Here's what you can do with the script:

FEATURES:
  • Keep an element always visible on the page relative to one of the four corners of the user's browser window.
  • The element can either be one that's physically defined on the page, or inside an external file and dynamically added to the page using Ajax.
  • The floating element can be set to disappear after x seconds.
  • Control how often (frequency) the floating element is shown at all each time the page loads. The current options are: randomly based on x percentage (1-100%), once per browser session, or once every x days.
  • Control the fade effect that's added when the element is shown and hidden, respectively.

Special thanks to my Dynamic Drive for allowing me to use this script! ).

This hack is in the BETA stages and can be customized several ways and works with many forms of html and VB code. The code is stable and works quite well, I cannot however give permissions to re-use the code as I normally do - sorry but it would break Dynamic Drives Terms of Use and as I mentioned, I did obtain permission before posting for use!

Please notice there are two different ways to display, use both to experiment with different forms of code to achieve the desired effect. Additionally you can include some vbulletin codes into it for more ways to customize and use to your advantage/enjoyment! If by any means you are unsure if this will suit your needs please POST your curious query below as I support my mods and will do my best to find a solution for you and more importantly please post any new ways YOU the installers find to customize this for forum usage like custom login boxes (add more time lol) or user albums displayed, special announcements, etc etc!!

Please Click Here for the Demo.

Link to full details and usage information by Dynamic Drive --> Click Here

Also I have decided post mods on vb.org by password protecting the .zip, please view the code while logged-in, below.

Code:
Hopefully you users will not be too harsh on me! The .zip is password protected, and the password displayed within a "code" bbcode so at least the users have to be logged in to obtain the password. 

The Zip's password is: vbdotorg
*Attention* Please view the first page as the 2nd and 3rd post were reserved and contain additional information.

TheLastSuperman
http://www.innovationbyinstinct.com


For VBulletin.org Forum Support:
  • Click above in the right menu "Mark as Installed".
  • Post your question/problem in the thread including screenshots.
  • PM me if I do not reply in a timely manner.

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 05-21-2009, 07:18 PM
soundbarrierpro soundbarrierpro is offline
 
Join Date: Nov 2007
Posts: 767
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, if i understand this correctly......

The box with the information will appear whenever anybody hits the index? It's able to be configured to dissolve after xxx seconds?

Is it only the index or every single page?

Thank you. This looks neat.
Reply With Quote
  #3  
Old 05-21-2009, 07:20 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated w/ screenshot
Reply With Quote
  #4  
Old 05-21-2009, 07:23 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by soundbarrierpro View Post
So, if i understand this correctly......

The box with the information will appear whenever anybody hits the index? It's able to be configured to dissolve after xxx seconds?

Is it only the index or every single page?

Thank you. This looks neat.
Ahh

It depends on what template you paste the code... (And yes, configurable via time limit/colors/images/all content)

Templates:
  • Header - Always appears even when refreshed (some might find this irritating).
  • Forum Display - Only when they click on a Category that displays the forums within .
  • Forum Home - Will only appear on forum home but each time it is refreshed.

Future Update to possibly include:
  • Displays only once per browser session.
  • Details for various content which can be used within.
Reply With Quote
  #5  
Old 05-21-2009, 07:25 PM
soundbarrierpro soundbarrierpro is offline
 
Join Date: Nov 2007
Posts: 767
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome! I've been trying to figure out some way to add a popup and this seems to be what I'm looking for. Will try it this weekend.

Thank you for the cool work.
Reply With Quote
  #6  
Old 05-21-2009, 07:31 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by soundbarrierpro View Post
Awesome! I've been trying to figure out some way to add a popup and this seems to be what I'm looking for. Will try it this weekend.

Thank you for the cool work.
No problem

Now if this is not exactly what you wanted please use the link to Dynamic Drive in my post as there are some more popup window codes available there, ANYONE can find great scripts/codes on there to use both personal or commercial. (The only snag is you cannot package it for sale i.e. you must use the code on the site your working on not part of your software etc and if you want to release a mod using their codes simply visit their forums (vb forums of course ) and ask, they are quite nice especially ddadmin )
Reply With Quote
  #7  
Old 05-22-2009, 12:02 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And another screenshot, I used the code to display within the template instead of external for vb code to work, if you use the external file it will not work until I alter/update the mod. Using the internal code you can also use phrases - I have embedded a divx video in the popup and simply changed the timer to 60000 for 60 seconds as the video was 0:55 long.

See attachment

Now what can you place inside to get amazing results??? Check it out
Reply With Quote
  #8  
Old 05-22-2009, 09:49 AM
soundbarrierpro soundbarrierpro is offline
 
Join Date: Nov 2007
Posts: 767
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So here's what I did.

I added the .js script to the "Clientscript" directory at my host

I edited the "Head" of the "FORUMHOME" template with the code it says to add

I edited the "Body" of the "FORUMHOME" template with the code it says to add (to test)

After doing this, a white box shows up with the sample text in the left hand corner of my forumhome.

Problems:

The head expands to compensate for the text box making the area in the head huge.

The text box never disappears after 15 seconds. It just stays there.

Why is the box white and not taking on the default color of my forum home?

I guess I should also add, I want to use exactly the type of thing you are using in your example.

Thank you
Reply With Quote
  #9  
Old 05-24-2009, 11:42 AM
soundbarrierpro soundbarrierpro is offline
 
Join Date: Nov 2007
Posts: 767
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working. Figured it out. Thanks for this. It's awesome
Reply With Quote
  #10  
Old 05-24-2009, 02:49 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by soundbarrierpro View Post
So here's what I did.

I added the .js script to the "Clientscript" directory at my host

I edited the "Head" of the "FORUMHOME" template with the code it says to add

I edited the "Body" of the "FORUMHOME" template with the code it says to add (to test)

After doing this, a white box shows up with the sample text in the left hand corner of my forumhome.

Problems:

The head expands to compensate for the text box making the area in the head huge.

The text box never disappears after 15 seconds. It just stays there.

Why is the box white and not taking on the default color of my forum home?

I guess I should also add, I want to use exactly the type of thing you are using in your example.

Thank you
Just remember some codes if you change the location of the contents i.e. the .js file you need to change the link within the code your pasting to /clientscript/filename.js

And sometimes you might if your stumped need to check the .js file for any links to files it calls on, always remember to check the small things before you freak everyone .

Quote:
Originally Posted by soundbarrierpro View Post
Working. Figured it out. Thanks for this. It's awesome
Yes it is, depending on how you figure out it's usefullness

I'm always surprised others do not make an effort to investigate the mods I release, especially the ones where I say your imagination is pretty much the limit. I'm rarely short or tactless w/ the replies in my mods lol but I can only hold so many hands and no I do not mind just saying I cannot be everyones Superman, apparently that is . Tinker members and maybe you'll become a coder one day! Long story short you can create a child of a style then test all these mods that simply call files or use pasted codes and tinker w/ it there! If you mess it up just delete the child style and repeat not very hard and you can learn that way so if your reading don't shake your head ask for help and the nice ones will find you eventually or figure it out yourself like soundbarrier did, nothing more rewarding IMO!

S-MAN

Edit: Ohh and Soundbarrierpro, if you use the internal one like I said you can use phrases and other vbcode snippets but if you call the external file it will not work unless you call the correct global files etc etc which like I said will be later on. Additionally if you want to have the "Click Here" to hide it now on the one that does not include that code, simply copy the code and rename the id examplediv instead of ajaxdiv and now it will hide it PLUS you can use the <if> tags and find the usergroup id and only show to certain usergroups i.e. if you wanted to place short video on why they should register to your forums OR something new like a service or product and please check back soon as I do plan to add the option ito display once per browser session as some do not mind this on forumhome and some hate it upon refresh even though a hide link is included!
Reply With Quote
Reply


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 01:52 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.04667 seconds
  • Memory Usage 2,311KB
  • Queries Executed 24 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete