View Full Version : Quick Reply Flasher
Freddie Bingham
06-16-2005, 10:00 PM
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
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. :)
Oh wow...candy! :)
Installed and working perfectly.
Marco van Herwaarden
06-17-2005, 06:18 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. :)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
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
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
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. :)
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
Well a lot of teh current vB developers have been active as hackers first.
Like Freddie.
Brinnie
09-21-2005, 08:00 AM
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?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.