The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
title says it all relly
|
|
#2
|
||||
|
||||
|
In newreply.php, add this:
Code:
$pagetext = preg_replace("/(\[quote])(.*)(\[\/quote])/siU", "", $pagetext);
Code:
$pagetext = preg_replace("/(\[img])(.*)(\[\/img])/siU", "", $pagetext);
Let me know.
|
|
#3
|
|||
|
|||
|
works like a treat
![]() huge thanks.
|
|
#4
|
||||
|
||||
|
I don't have this line
Code:
$pagetext = preg_replace("/(\[img])(.*)(\[\/img])/siU", "", $pagetext);
My version of VB is 2.0.3 Can you give me another line to look for? Thanks in advance. :up: |
|
#5
|
||||
|
||||
|
Using 2.0.3 as well and I would like to use this as well.
|
|
#6
|
||||
|
||||
|
I guess Palmer already did this .... cause its already in our board. lol
anway ,... do a search for $pagetext You should see something like this: Quote:
[quote] // strip IMG tags from quotes $pagetext = preg_replace("/(\[img])(.*)(\[\/img])/siU", "", $pagetext); $pagetext = preg_replace("/(\ Quote:
now to make this strip out glow! |
|
#7
|
||||
|
||||
|
All I have is this:
PHP Code:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|