![]() |
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!
|
Code:
$text=eregi_replace("\\[img\\]([^\\[]*)\\[/img\\]","(image)",$text); |
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. :confused: |
Any further suggestions?
|
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! :)
|
All times are GMT. The time now is 10:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|