The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Removal of IMG tag upon quoting
I think i've seen this on some vb 2.x.x boards, but forget. Anywho, what I'd like is that when someone quotes a post that has images, it removes the IMG tags and just puts up a link instead. This way if people quote a post 5 times you won't have to keep scrolling through the image, it'll just be a link in the quote.
|
#2
|
||||
|
||||
try that one:
open newreply.php find: PHP Code:
PHP Code:
|
#3
|
|||
|
|||
OK, just tested again... It removes the IMG completely if I'm quoting a quote. I'd like this to change the IMG to a URL from the original post.
Edit: I brainfarted for a second... of course the IMG will be removed from the second quote..... so in short that code didn't work... Thank you for helping me with this. |
#4
|
||||
|
||||
well, removing nested quotes is vb's standard behaviour.
you have to remove the strip_quotes part to allow that. |
#5
|
|||
|
|||
YEah, I wsa kinda confusing myself yesterday so my apologies for confusing you as well. The code that you provided didn't work.... Instead of replacing the code how would I get it to just drop the IMG tags and keep the link? I realize that the board is set to autoparse URL's so, I think it will do this by default if there is no IMG tag around it.
|
#6
|
|||
|
|||
Any other suggestions?
|
#7
|
|||
|
|||
Any other ideas?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|