![]() |
The error isn't in misc.php it's in one of your plugin's, misc.php is called when one of yourplugins doesn't give a result.
|
I know it's not in misc.php and the only plugin is the mod I'm working on. What I don't understand about the error is ... what exactly is it looking for?
I mean there are no ` in the mod, so is it looking for ]' or ']' or ']'' or ] ? --------------- Added [DATE]1346177661[/DATE] at [TIME]1346177661[/TIME] --------------- Found the elusive missing ] :D |
Good man :), i know what it's like, you look so hard for so long you get code blind and can't see the nose in front of you!
|
Well it's my own fault. I had two copies of the xml, one was the master copy and the other was used to work on. I accidentally deleted the master copy instead of the borked working copy :D
So now I'm still using the borked working copy (for some reason it keeps giving me the error that I'm already unsubscribed even though I'm not), but once I get it unborked it will become the new master. |
I'm still stuck on the existing subscribe threads. I'm unable to get a working loop done. Just wanted to update those that are following this, it's not forgotten it's just stalled :D
|
I need a fresh set of eyes to help me find out why this code is returning a parse error (or tell me how screwed up the code itself is as I'm just not getting this stupid loop thing :( ) Since the rest of the queries start with $unsubscribe does this one have to use it as well? I was understanding that the loop variable should be different but as I said before I'm obviously not getting it :D
Another related question, in order to get around the email error being returned with this query, would I use another JOIN statement to add the email to the insert query? If so which one? Code:
if ($vbulletin->options['advanced_unsubscribe_link_thread_sub_backup']) |
Quote:
Code:
if ($vbulletin->options['advanced_unsubscribe_link_thread_sub_backup']) |
Oh my .... how silly of me :D Thanks nerbet :)
|
Ok so I'm still having trouble with the stupid looping through the subscribethread table and decided that I needed to exclude the mods, supermods, and admins from having their subscriptions or usergroups (that code isn't shown here) changed.
However I'm a bit confused on how to do this. I need to LEFT JOIN the usergroupid from the user table, but the following code spits out a syntax error and I'm not seeing it. Code:
// If you selected to backup existing thread subscriptions this code will be executed. |
Other than spacings around TABLE_PREFIX it seems fine (altough i haven't checked the tables...etc it calls)
PHP Code:
This should help with your syntax (remember to only use the query part rather than the whole php :)) http://developer.mimer.com/validator...dex.tml#parser |
All times are GMT. The time now is 06:02 PM. |
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:
|