The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Is this possible?
Ok im looking to add something to my quick reply box based off some perl code but im having tourble converting it.
What im basicly trying to do it code some php and stick it somehwere in functions.php that will grab the contents of the post (just $post[message]) and surrond it with the [quote] and [b] tags (trying to simulater the effect you get when you hit this quote button). this would also pull the browser to the quick reply box with the quoted text in there. I want to do this via a link somehow. Im really at a lose here. any ideas? |
#2
|
||||
|
||||
Well i had a think about this and the best thing to do would be create a variable in showthread.php related to the 'post[message]' variable in functions.php somehow..
This is the code taken from functions.php for that: PHP Code:
Then i'm officially baffled hehe |
#3
|
||||
|
||||
Couldn't you just change the default Value of the replybox using some JS, so that it automatically adds "
Quote:
Satan |
#4
|
|||
|
|||
Satan: Im trying to do something simlar to vB3's quick reply box. Adding a "quick quote" button to the postbit so you dont have to leave the thread.
Still at a lose here. anyone? |
#5
|
||||
|
||||
Hmmm...
Does it have to automatically put the quote into the post? You could make it like vB3 have it (which probably would be easier), where you click it, and it has a tickbox saying "Quote this Post?" or something Satan |
#6
|
||||
|
||||
Yea you could convert xiphoid/firefly's hack over with a little bit of javascript
- miSt |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|