![]() |
Filtering a string
Lets say I have the following string:
Quote:
Quote:
|
Code:
function stripos($haystack, $needle, $offset=0) { |
Quote:
Anyway, that works... However I am currently working on something that will add quote functionality into vBulletin social group discussions (why this wasn't added is a mystery to me). The reason for the question is that I need to strip out quotes within the quoted post. This is something that occurs when a forum post is quoted so I am guessing that this filtering functionality already exists somewhere in the VB framework, but I will be damned if I can find it. Does anybody know where it might be, as using the substr etc complicates things as the code will have to cater for all imaginable scenarios. |
look for the functions in postreply.php or whatever it's called? I don't know specifically
|
strip_bbcode()
strip_quotes() I think you're looking for those. |
All times are GMT. The time now is 03:28 AM. |
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:
|