The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
The new WHERE clause produces this error, oddly enough
Parse error: parse error in /server path here... on line 223 Fatal error: Call to undefined function: msc_portal_events() in /server path here... on line 10 msc_portal_events is the name of the function that contains this query. When I remove the WHERE clause or use a different clause, the function is defined again. Something is fubar with your last WHERE clause. I appreciate your help with this problem. Re: your thread I just checked the mod forum and there is already a thread about your problem posted in there. Hopefully Firefly will get to it soon. |
#12
|
|||
|
|||
That's weird. When I run it through a MySQL command line it works OK. Let me play around with it a bit and I'll see if I can come up with a fix...
|
#13
|
|||
|
|||
I can run this query on my vBulletin table:
PHP Code:
I'm not sure what would be producing an error, since those are all valid MySQL expressions. |
#14
|
|||
|
|||
Oh.
I just figured it out, I think. I failed to comprehend that the error you were getting was a parse error. Make sure to escape the quotes inside the query. So in vBulletin code, for example, it would look something like: PHP Code:
|
#15
|
||||
|
||||
It's working now. And it also considers the time offset of the logged in user.
Here is the final code: PHP Code:
|
#16
|
|||
|
|||
Cool, glad it works!
|
#17
|
||||
|
||||
The final product... http://www.mscclan.com/ (events in the left column)
It was part of my event signup system I have been making. |
#18
|
|||
|
|||
Cool, looks good.
Makes me want to bust out Diablo II again. Haven't played it for like a year! haha |
#19
|
||||
|
||||
I have a level 99 tank, mf, dueling sorceress.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|