The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
scan for bbcodes within posts
ok, this is what i'd like to do:
i've got a nice 'media' forum, containing many [media][/media] bbcode tags for stuff i'd like to show in the homepage... at the moment i'm working on making the 'upcoming' module read all the posts in some forums, find the ones containing 'my' bbcode and strip it and put it in a variable... this is my code so far: PHP Code:
may anyone help in building this thing up? |
#2
|
||||
|
||||
Use preg instead of ereg. It's faster.
|
#3
|
|||
|
|||
mmmmmmmh... trying with
PHP Code:
thanks |
#4
|
||||
|
||||
Have you had a look at how vBulletin does it?
|
#5
|
|||
|
|||
ok, will try later when back from work
thanks ok, made it work like this PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|