View Full Version : using simple text for posts
Mazinger
09-13-2008, 11:05 PM
in archive pages there's
$post[pagetext_simp]
I want to use it in postbit instead of
$post[message]
replacing it doesn't work. :(
clarifation: I want to strip BBCode from all posts.
Lynne
09-13-2008, 11:33 PM
That variable is only defined in /archive/index.php. You'd have to copy the lines of code for it in order to get it to work outside of the /archive folder.
Mazinger
09-13-2008, 11:36 PM
And put it in which file? showthread.php or function_showthread.php or global.php?
Lynne
09-14-2008, 02:14 AM
I'd try to put it into a plugin. I don't know which hook I'd use though. I think you need to look to see where it is in the archives and find the similar spot/code in showthread.
Mazinger
09-15-2008, 07:46 PM
Have you made it yet? :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.