![]() |
Why do you want and else when the else has nothing in it? Just leave it out if you aren't going to do a thing. (Also, please post code in code tags, it's too hard to read otherwise.)
|
it is not working! also not working with with global start and showtheard start....
can you test it please >.> PHP Code:
|
help pls!!???? i have ti get it work!
|
If that is all you have in your plugin, then you will get an error since your parenthesis don't add up (you are missing an ending parenthesis).
|
ok with the end parenthesis } it still not replacing the http://example.com link -.-
can you please test it ? :( PHP Code:
|
No, I can't test it. I have no idea where it is supposed to get $buffer from. Exactly what are you trying to do? Just replace a link in a post for one userid? Why a function? Why aren't you just using str_replace for the $post['message']?
|
Quote:
in other words: its searching the whole site for "http://example.com" and replace replace it with nothing! how you would do that using str_replace for the $post['message']? please show me your code. what i need is to replace all "http://example.com" to nothing in all posts if the user is logged in! |
WHY it isnt working???
|
Are you caching the posts? It could be you have caching on and so it isn't working for those cached posts.
|
nope it still isnt working , ive deleted the postcache..
|
All times are GMT. The time now is 10:40 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:
|