Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Quick Reply Flasher Details »»
Quick Reply Flasher
Version: 1.00, by Freddie Bingham Freddie Bingham is offline
Developer Last Online: Aug 2016 Show Printable Version Email this Page

Version: 3.5.0 Beta 1 Rating:
Released: 06-16-2005 Last Update: Never Installs: 14
Code Changes  
No support by the author.

This little mod will "flash" the quick reply postbit upon posting of the user message.

Show Your Support

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

Comments
  #22  
Old 06-19-2005, 09:22 PM
Qualia Qualia is offline
 
Join Date: Jan 2003
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed it, awww...ooooo....purdy.

One thing though, my test buddy and I noticed the post count for all previous posts don't refresh until we reload the page. Not a problem, I don't keep track of mine, but it's something we noticed.
Reply With Quote
  #23  
Old 06-19-2005, 11:49 PM
FD929's Avatar
FD929 FD929 is offline
 
Join Date: Feb 2005
Location: California
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's the bottom code for a dark grey fade in.

Thanks for the mod freddie.

Code:
 var color = new Array('#EEEEEE', '#DDDDDD', '#CCCCCC', '#BBBBBB', '#AAAAAA', '#999999', '#888888', '#777777', '#666666', '#555555', '#444444', '#333333', '#222222');
 function highlightpost(index, style)
 {
	 // style = 1 yellow fade -- add more colors to the color array above to increase the color range
	 // style = 2 alternate alt 1 / alt 2 change this 4 below to an even number to increase the flashes
	 index = (index == -1) ? (style == 1 ? color.length : 8) : index;
	 obj = fetch_object('qrpost');
	 if (obj)
	 {
		tds = fetch_tags(obj, 'td');
		cells = new Array();
		for (var i = 0; i < tds.length; i++)
		{
		      cell = tds[i];
		      if (cell.className == 'alt1' || cell.className == 'alt2')
		      {
			   cells[cells.length] = tds[i];
		      }
		}

		index -= 1;
		if (cells.length > 0 && index >= 0)
		{
		      for (var i = 0; i < cells.length; i++)
		      {
			   if (style == 1)
			   {
			       cells[i].style.backgroundColor = color[index];
			   }
			   else
			   {
			       cells[i].className = (cells[i].className == 'alt1') ? 'alt2' : 'alt1';
			   }
		      }       

		      // increase 200 to lengthen the color change cycle
		      setTimeout('highlightpost(' + index + ', ' + style + ')', 75);
		}
		else
		{
		      if (cells.length > 0 && style == 1)
		      {
			   for (var i = 0; i < cells.length; i++)
			   {
			       cells[i].style.backgroundColor = '';       
			   }
		      }
		      obj.id = '';         
		}
	 }
 }
Reply With Quote
  #24  
Old 06-20-2005, 10:41 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well this did work for me in Beta 1, and I'm sure that I am able to follow a simple find and add after instruction...

This simply will not fade the post once it has been submitted - Either that or it's doing it at breakneck speed...

Yes, I'm running Beta 2 - Yes all the templates have been updated to Beta 2, and Yes, I have edited vbulletin_quick_reply.js, added the specified code, uploaded it and hard-refreshed just to be sure...

Any explanations?

Satan
Reply With Quote
  #25  
Old 06-20-2005, 08:24 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working fine here.. It's a bit slow but I can modify it
Reply With Quote
  #26  
Old 08-19-2005, 05:14 AM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does it work for rc2 just as well? thanks alot i'll install it later today.
Reply With Quote
  #27  
Old 08-28-2005, 11:20 PM
GilbertZ GilbertZ is offline
 
Join Date: Nov 2004
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcoH64
Well a lot of teh current vB developers have been active as hackers first.
Like Freddie.
Reply With Quote
  #28  
Old 09-21-2005, 08:00 AM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mholtum
I checked this out and it flashes the reply after you post. Whats the point of that? Now if it would flash the Quick Reply button before it is clicked, that might be worth something.
it should flash as it's being posted, no?
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 03:21 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.04588 seconds
  • Memory Usage 2,276KB
  • 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
  • (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
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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