The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
My bad coding.
I guess I need sleep... This code looks right to me, but PHP isn't liking it.
Note: The list I'm altering is SPACE delimited. List looks like this: Code:
1 15 51 68 91 |
#2
|
||||
|
||||
What the problem you are receiving?
|
#3
|
||||
|
||||
instead of:
PHP Code:
PHP Code:
|
#4
|
||||
|
||||
Thanks, Xenon, but the first and last ID won't be surrounded by spaces, will this be able to use those too?
Plus -- My queries aren't working. Returning: Code:
Fatal error: Call to a member function on a non-object in /forums/includes/functions_vbevents.php on line 17 |
#5
|
||||
|
||||
Nevermind... Forgot to global $DB_site.
|
#6
|
||||
|
||||
Yes, as you can see i added spaces around the $data in the replace function, so it will work
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|