The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[SOLVED] standard_error on foreach loop
Hello ,
i make a plugin [stop new thread if That it contains Banned words] every thing is okay , but when i try print all Banned words Written by User , but Do not print all the words, only the last word . i Used the code in a php file with ECHO to print and working good , but in plugin i have problem with standard_error Do not print, but only the last value . so Where the problem ? PHP Code:
|
#2
|
|||
|
|||
Because the standard_error stops anything else once it's called, it will only loop once through the foreach loop.
Try something like this instead: PHP Code:
|
Благодарность от: | ||
omardealo |
#3
|
||||
|
||||
Quote:
Well, I understand Now The result is shown like that : Code:
Banned Words :
Code:
Banned Words :
|
#4
|
|||
|
|||
Then change
PHP Code:
PHP Code:
|
#5
|
||||
|
||||
Quote:
thanxs brother :up: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|