The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
CMS article preview text - reformat
Hi all,
i'm currently looking for a way to clean up the article preview text without hacking vbulletin php files. I want to remove all BB Tags, including color, bold, size, quote, line breaks from the preview text so it does look clean? I do not want to edit the normal article pagetext manually since i want to keep the bb codes there, but in the preview i think it does look horrible. Does anyone has an idea how to do that, or can point me in the direction which hook i could use to catch the article previewtext and manipulate it via php-code? Thanks for your help. |
#2
|
||||
|
||||
vbcms_article_populate_end?
Unfortunately, there's no hook in the function where the content is generated, so you'll likely have to go in and strip the tags out of the actual content after it's been generated. Something like this will likely work (untested!) PHP Code:
|
Благодарность от: | ||
Mooff |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|