The Arcive of vBulletin Modifications Site. |
|
Yet Another Multi-Quote Hack Details »»
|
|||||||||||||||||||||||||
This particular hack allows users to multi-quote directly from the newreply page instead of in the thread itself. A "quote" link is placed in each post in the thread review, allowing for quck, efficient multi-quoting without the need to plan posts in advance.
Only two file edits and a template tweak, nothing major. Suggestions/bug reports (and fixes) are welcome... this is my first hack so be nice. XD Thanks to Snow for pointing out WYSIWYG incompatibility problem and fixing my javascript. ![]() *INSTALLATION* In newreply.php: FIND: PHP Code:
PHP Code:
at the end, ADD: Code:
function do_quote_hack(quotestring,is_ie)
{
if (document.getElementById('htmlbox'))
{
if (is_moz)
{
moz_insert_smilie('<br>'+quotestring+'<br>');
}
else
{
document.getElementById('htmlbox').innerHTML += quotestring;
}
}
else
{
document.vbform.message.value += quotestring;
}
}
FIND: HTML Code:
<td class="alt1" width="125" align="center">$username</td> HTML Code:
<td class="alt1" width="125" align="center"><p align=center>$username</p> <script language=javascript> var quotestring$post[postid] = '$poststep5'; </script> <p align=center><a href=# onClick="do_quote_hack(quotestring$post[postid],is_ie);"><img src="$stylevar[imgdir_button]/quote.gif" border=0></a></p></td> Screenshot is of the Thread Review section in newreply. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
screenshots?
|
|
#3
|
|||
|
|||
|
Not much visual in this hack, but okay.
|
|
#4
|
|||
|
|||
|
nice hack that going to save me alot of quoting time. i trust you when you said that you tried it and it's fully working with no errors.
thanks again. :smoke: |
|
#5
|
||||
|
||||
|
It doesn't work for me
When I click on the multi-quote (when posting a new reply), nothing happens other than adding a # to the end of the url.
|
|
#6
|
|||
|
|||
|
Quote:
EDIT: Er... I just visited your forums and it works for me. :ermm: What browser are you using? |
|
#7
|
||||
|
||||
|
Quote:
Quote:
Firefox 1.0 |
|
#8
|
|||
|
|||
|
Yeesh, I tried firefox 1.0 and it still worked. :speechless:
Maybe you should try polling your users to see if they're having problems. :ermm: |
|
#9
|
||||
|
||||
|
Quote:
|
|
#10
|
|||
|
|||
|
Yeah, you got it.
how n00bish of me. I'll get right to fixing that...
|
![]() |
|
|