Thread: Mini Mods - Innovative On Top Display Window
View Single Post
  #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
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01081 seconds
  • Memory Usage 1,779KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete