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)

Freddie Bingham 06-16-2005 10:00 PM

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

mholtum 06-16-2005 10:46 PM

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.

Freddie Bingham 06-16-2005 10:50 PM

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 isn't a requirement that you find it useful. Personally, I find the postbit popping on the screen to be be nicer with the flash.

mholtum 06-16-2005 10:53 PM

I wasnt trying to be a jerk. I am honestly curious. No offense meant.

Kirk Y 06-17-2005 04:41 AM

What's the Beta 1 and Beta 2? I just checked on vBulletin.com, there's no vBulletin secondary Beta release for 3.5.0. Also, you may want to add that the vbulletin_quickreply.js file is located in the clientscript folder. By the way, nice mod. :)

kall 06-17-2005 05:05 AM

Oh wow...candy! :)

Installed and working perfectly.

Marco van Herwaarden 06-17-2005 06:18 AM

Quote:

Originally Posted by acidburn0520
What's the Beta 1 and Beta 2? I just checked on vBulletin.com, there's no vBulletin secondary Beta release for 3.5.0. Also, you may want to add that the vbulletin_quickreply.js file is located in the clientscript folder. By the way, nice mod. :)

Beta 2 is now running on vbulletin.com
It is not available to download for public testing yet

Logikos 06-17-2005 10:34 AM

Nice work Freddie! Works Perfect!

/me Clicks Install!

Freddie Bingham 06-17-2005 02:03 PM

Quote:

Originally Posted by acidburn0520
What's the Beta 1 and Beta 2? I just checked on vBulletin.com, there's no vBulletin secondary Beta release for 3.5.0. Also, you may want to add that the vbulletin_quickreply.js file is located in the clientscript folder. By the way, nice mod. :)

I just gave the instructions for beta 2 to save having to do it later. Remember, I do have access to it ;)

Kirk Y 06-18-2005 02:18 AM

Oh that's right, you're a developer. lol, sorry about that... I missed the user title! :p

Erwin 06-18-2005 07:29 AM

Wow... a hack released by a vB developer... ! A rarity indeed...

sabret00the 06-18-2005 07:57 AM

Quote:

Originally Posted by Erwin
Wow... a hack released by a vB developer... ! A rarity indeed...

i wanted to post that, but i held my tongue lol.

thanks freddie :)

Chris M 06-18-2005 11:46 AM

Nice mod freddie ;)

This should come as standard in vB3.5 *hint hint* ;)

Satan

Megatekno 06-18-2005 03:38 PM

Thanks Freddie

Kirk Y 06-18-2005 05:51 PM

Quote:

Originally Posted by Erwin
Wow... a hack released by a vB developer... ! A rarity indeed...

Hardee har har, your sarcasm overwhelms me...:ninja:

Marco van Herwaarden 06-18-2005 08:45 PM

Well a lot of teh current vB developers have been active as hackers first.

Kirk Y 06-19-2005 03:01 AM

Yeah, by the way... any word on when Beta 2 will be released to the public?

Edit: Nevermind, just looked on vBulletin.com and it's already been released. God... I love vBulletin. :mad:

New Question: Any idea when the stable release of vB 3.5.0 will be out? :squareeyed:

StarBuG 06-19-2005 08:33 AM

Hi

I installed this because I have no Idea what this should do and I still don“t.
There is nothing happening.
I used the quickreply (after a hard refresh) and nothing happens except normal post of the quickreply.

I use the standart editor.
What should happen?

StarBuG

Kirk Y 06-19-2005 10:08 AM

After your press Submit, the page will refresh and the new post being added will flash a yellowish color. It's pretty obvious what it does, so if you're not seeing it, I'd say you did something wrong.

StarBuG 06-19-2005 10:13 AM

my mistake :D
Missed the change to beta2 ;)

StarBuG

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 03:05 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.01254 seconds
  • Memory Usage 1,777KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete