vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Quick Reply Flasher (https://vborg.vbsupport.ru/showthread.php?t=83249)

Qualia 06-19-2005 09:22 PM

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.

FD929 06-19-2005 11:49 PM

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 = '';       
                }
        }
 }


Chris M 06-20-2005 10:41 AM

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

MrNase 06-20-2005 08:24 PM

Working fine here.. It's a bit slow but I can modify it ;)

Wordplay 08-19-2005 05:14 AM

does it work for rc2 just as well? thanks alot i'll install it later today.

GilbertZ 08-28-2005 11:20 PM

Quote:

Originally Posted by MarcoH64
Well a lot of teh current vB developers have been active as hackers first.

Like Freddie.

Brinnie 09-21-2005 08:00 AM

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?


All times are GMT. The time now is 11:26 PM.

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.01016 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)bbcode_code_printable
  • (2)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
  • (7)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