The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
OK, remember how you helped me with that issue of replacing the URL tags and the URL in them in the activetopics hack? Well, can I get you to do the same thing, only for image tags? I don't understand what you did good enough to rewrite it myself. I just need the opening and closing img tags, plus the URL in between them, replaced with (image), like with (hyperlink) before (only this time it doesn't need to actually be a hyperlink). Thanks!
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Code:
$text=eregi_replace("\\[img\\]([^\\[]*)\\[/img\\]","(image)",$text);
|
|
#3
|
|||
|
|||
|
Actually, it doesn't seem to work
![]() (Yes, I replaced both instances of $text with the actual variable name this time, too!) I tried it both above and below your other part for the URLs, it didn't work either way.
|
|
#4
|
|||
|
|||
|
Any further suggestions?
|
|
#5
|
|||
|
|||
|
Nevermind, it seems to be working now...Very odd. It didn't work when I tested it, but several days after I (thought) I restored the original, it seems to be working. Oh well... nevermind!
|
![]() |
|
|