The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello
I want to take some of the posts from one of my vbulletin threads and output it onto one of my webpages. The problem if I do this is that the BBCode tags are outputted with the rest of the tags. I would like to either get rid of the bbcode all together or somehow evaluate it so that it is presentable on my page. Does anyone know any functions that can help me deal with the bbcode in either way? Thanks Roy |
#2
|
||||
|
||||
![]()
strip_bbcode() or parse_bbcode() depends on if you want to parse it or strip it
![]() |
#3
|
|||
|
|||
![]() Quote:
(haha, I did mean 'strip' by the way, thanks for the correction) |
#4
|
||||
|
||||
![]()
No, they are built into vBulletin
![]() |
#5
|
|||
|
|||
![]()
Hmm I see what you mean.
I wanted to do a database query and output the information directly. Vbulletin functions aside, can someone suggest a function or a way to strip or evaluate the bbcode? Or is there a way I can integrate the vbulletin function into my page? |
#6
|
||||
|
||||
![]()
Ok this may be dumb but try including your vbulletin global.php or functions_bbcode.php
![]() ![]() |
#7
|
||||
|
||||
![]() Quote:
|
#8
|
|||
|
|||
![]()
colicab, I like your idea. If I can find the strip_bbcode function, I will gladly copy and paste it over to my page.
I checked globals.php and functions_bbcode.php but could not find that function though. Any idea where it might be? |
#9
|
|||
|
|||
![]()
Ah ha, I found it in functions.php.
PHP Code:
Roy |
#10
|
|||
|
|||
![]()
I would like to be able to parse instead of strip the bbcode, could someone help me with this?
When I try to include global.php I get: Fatal error: Call to a member function on a non-object in /www/forums/includes/functions_bbcodeparse.php on line 384 |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|