The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
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.)
|
#12
|
|||
|
|||
![]()
it is not working! also not working with with global start and showtheard start....
can you test it please >.> PHP Code:
|
#13
|
|||
|
|||
![]()
help pls!!???? i have ti get it work!
|
#14
|
||||
|
||||
![]()
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).
|
#15
|
|||
|
|||
![]()
ok with the end parenthesis } it still not replacing the http://example.com link -.-
can you please test it ? ![]() PHP Code:
|
#16
|
||||
|
||||
![]()
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']?
|
#17
|
|||
|
|||
![]() 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! |
#18
|
|||
|
|||
![]()
WHY it isnt working???
|
#19
|
||||
|
||||
![]()
Are you caching the posts? It could be you have caching on and so it isn't working for those cached posts.
|
#20
|
|||
|
|||
![]()
nope it still isnt working , ive deleted the postcache..
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|