![]() |
How can I parse this easily? (vb 2.3)
I have this code:
PHP Code:
As you can tell, its my pagetext. This appears on a non-vb page. What is the best way for this echo to adhere to vB codes, smilies, etc? Is there a function I should include from elsewhere? I'm already including global.php in this code, so any help additionally would be greatly appreciated and shared. Thanks in advance! |
I believe you need to look into the bbcodeparse and bbcodeparse2 functions :)
|
Using the bbcodeparse2 function directly works fine.
|
Quote:
Now, how would I edit the echo to parse it? Thanks Mist, you seem to answer everyones' issues in this section! :) |
Quote:
|
I've altered my code as such;
PHP Code:
Can anyone throw me a bone so that I can work this out? I think we should post this as a hack as well, since there seem to be alot of people who have requested this, but nobody ever finishes it up. |
PHP Code:
The numbers after the variable is, allowhtml,allowsmilies,allowimages and allowbbcode :) |
Quote:
Now, I got bbcode parsing (I had to add an echo to the beginning, but that is neither here nor there). The only problem I am having now, is that my htmlcode within posts is not registering now...is there a way to fix this issue, or am I going to have make due with just vbcode only? |
Here is what my HTML is outputting as:
PHP Code:
PHP Code:
|
Quote:
grr. |
All times are GMT. The time now is 08:15 PM. |
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:
|