vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/showthread.php?t=71992)

sv1cec 01-01-2005 09:42 AM

Quote:

Originally Posted by nubian
when i tried going running the 3.0.2 on my REAL LIVE forum i got this error when running the install_warn.php

Database error in vBulletin 3.0.3:

Invalid SQL: ALTER TABLE `vb3_userban`
add `reason` mediumtext;
mysql error: Duplicate column name 'reason'

mysql error number: 1060

Nubian,

Please do not say that the install script does not work, just because it didn't work in your case. I just installed vB 3.0.3 on my test site, from scratch, and did the hack installation. The install script did everything it is supposed to do.

I would appreciate if you can tell me what your problems were, so that I can assist you.

As for your issue with the 'reason' column in the userban table, it just means it is already there. Maybe it was added by another hack, or by your installation attempts, but that column is not there in a new database, and it should be created by the hack.

If you loaded 2.3.5, and want to use 3.0.2 you have to do all the steps described in UpgradeToLatestVersion.txt, from 2.3.5 to 3.0 then to 3.0.1 then to 3.0.2.

Rgds

sv1cec 01-01-2005 09:46 AM

Quote:

Originally Posted by bahawolf
How would I go about that if the user doesn't have any warning points, it'd appear as "0" for the value because a div in my postbit is being unused when their not warned and it looks bad.

If this is something you have changed from the standard hack code, I can't help unless I know what you have changed. Also, typically in the postbit templates the things which show the points and the bans should not appear if there are no points in the user's account.

This is accomplished by the:

HTML Code:

<if condition="$post[warning_level]>0">
statement, which allows the warning points to be viewable only if they exist.

Show me that part of your template and I'll try to adapt it to your needs.

Rgds and HAPPY NEW YEAR to all

bahawolf 01-01-2005 03:19 PM

Quote:

<-- Points System -->
<if condition="$bbuserinfo['usergroupid'] == '6'"><div class="info"><a href="ushop.php?do=a&shortname=admindonate&userid= $post[userid]" target="_blank">$vbphrase[ucs_points]</a><else />$vbphrase[ucs_points]</if>: $points (<a href="ushop.php?do=a&shortname=donate&userid=$post[userid]" target="_blank">Donate</a>)
< / -- Points System -- \ >

<div class="info"><if condition="$viewoption=='All'">
<if condition="$post[warning_level]>0">
<font color="#ff0000">
<BR>Warnings Level: $post[warning_level]
<font color="#000000">
</if>
<if condition="$post[warning_bans]>0">
<font color="#ff0000">
<BR>Number of bans: $post[warning_bans]
<font color="#000000">
</if>
</if>

<if condition="$viewoption=='Mgm' AND $hierarchical=='Yes'">
<if condition="($bbuserinfo[usergroupid]!=7 AND $bbuserinfo[usergroupid]!=6 AND $bbuserinfo[usergroupid]!=5 AND $post[userid]==$bbuserinfo[userid])
OR
($bbuserinfo[usergroupid]==7 AND $post[userid]==$bbuserinfo[userid])
OR
($bbuserinfo[usergroupid]==5 AND $post[userid]==$bbuserinfo[userid])
OR
($bbuserinfo[usergroupid]==7 AND $post[usergroupid]!=6 AND $post[usergroupid]!=5 AND $post[usergroupid]!=7)
OR
($bbuserinfo[usergroupid]==5 AND $post[usergroupid]!=6 AND $post[usergroupid]!=5)
OR
($bbuserinfo[usergroupid]==6)
">
<if condition="$post[warning_level]>0">
<font color="#ff0000">
<BR>Warnings Level: $post[warning_level]
<font color="#000000">
</if>
<if condition="$post[warning_bans]>0">
<font color="#ff0000">
<BR>Number of bans: $post[warning_bans]
<font color="#000000">
</if>
</if>
</if>

<if condition="$viewoption=='Mgm' AND $hierarchical=='No' AND
(($bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==5 OR
$bbuserinfo[usergroupid]==6) OR ($bbuserinfo[usergroupid]!=7 AND $bbuserinfo[usergroupid]!=6 AND $bbuserinfo[usergroupid]!=5 AND $post[userid]==$bbuserinfo[userid]))">
<if condition="$post[warning_level]>0">
<font color="#ff0000">
<BR>Warnings Level: $post[warning_level]
<font color="#000000">
</if>
<if condition="$post[warning_bans]>0">
<font color="#ff0000">
<BR>Number of bans: $post[warning_bans]
<font color="#000000">
</if>
</if></div>
Here it is.. I didn't have reputation display, so I put that as the points value is the last in the postbit.

sv1cec 01-01-2005 03:36 PM

Quote:

Originally Posted by bahawolf
Here it is.. I didn't have reputation display, so I put that as the points value is the last in the postbit.

The only thing I can see missing is an </if> right after < / -- Points System -- \ >

The code for AWS is OK, so it shouldn't display any info if the user has no warning points.

Rgds

bahawolf 01-01-2005 03:42 PM

Do you know of any way I could go about fixing this..? Even giving you AdminCP access?

sv1cec 01-01-2005 04:10 PM

E-mail me with the details of your forum, I want to see what it's doing. Because, as it is in the code you posted above, it should NOT show anything for users with no warning points.

Rgds

bahawolf 01-01-2005 04:13 PM

Oh I think you've taken my question wrong..

Say a user is warned with 1 point and it says:
Warning Points: 1

I want it so if they have none, it says:
Warning Points: 0

nubian 01-01-2005 04:16 PM

Quote:

Originally Posted by sv1cec
Nubian,

Please do not say that the install script does not work, just because it didn't work in your case. I just installed vB 3.0.3 on my test site, from scratch, and did the hack installation. The install script did everything it is supposed to do.

I would appreciate if you can tell me what your problems were, so that I can assist you.

As for your issue with the 'reason' column in the userban table, it just means it is already there. Maybe it was added by another hack, or by your installation attempts, but that column is not there in a new database, and it should be created by the hack.

If you loaded 2.3.5, and want to use 3.0.2 you have to do all the steps described in UpgradeToLatestVersion.txt, from 2.3.5 to 3.0 then to 3.0.1 then to 3.0.2.

Rgds

i'm deeply sorry.
i didn't want it to come out like that.
it was the new years liquor talking. :)
i'm not saying this out of frustration.

i have one hack installed on my board and that's a portal.
the portal did altered a few tables in the db.
if i were to reload a db that i have backed up and run the install_warn.php file it gives me this after the 2nd step:

Database error in vBulletin 3.0.3:

Invalid SQL: INSERT INTO `vb3_warning_options` values ('1','3.0', 'Yes', 'Yes','No','Yes','','0','7','10','8','6','6','8',' 0','Yes','3','0','All','Yes','Yes','No','Yes','Yes ','Yes','15')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

prior to running your install_warn.php script there was never a vb3_warning_options table. :ermm:

sv1cec 01-01-2005 05:59 PM

Quote:

Originally Posted by nubian
i'm deeply sorry.
i didn't want it to come out like that.
it was the new years liquor talking. :)
i'm not saying this out of frustration.

i have one hack installed on my board and that's a portal.
the portal did altered a few tables in the db.
if i were to reload a db that i have backed up and run the install_warn.php file it gives me this after the 2nd step:

Database error in vBulletin 3.0.3:

Invalid SQL: INSERT INTO `vb3_warning_options` values ('1','3.0', 'Yes', 'Yes','No','Yes','','0','7','10','8','6','6','8',' 0','Yes','3','0','All','Yes','Yes','No','Yes','Yes ','Yes','15')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

prior to running your install_warn.php script there was never a vb3_warning_options table. :ermm:

Please download the latest zip file. Run the uninstaller, and then re-install from scratch.

I tried it this morning and it works fine.

Rgds

nubian 01-01-2005 07:17 PM

weird....
that one works just fine.
thanks!

jonnerd154 01-01-2005 09:48 PM

I need a little help. I followed the install directions perfectly (I think, I may have made a mistake.) Everything LOOKS ok in the mod and admincp's and the warn [user] links are at the top of all posts, etc. When I click on the Ban [user] links I am directed to (EG) http://mahplace.com/forums/Warn.php?...28&post=769427 but the output of that page is just <html><body></body></html>

Any ideas why the page is not parsing?

EDIT: Note that I am using an installer package I downloaded yesterday.

mojo8850 01-01-2005 11:20 PM

Ok.. Here's Wat I've Done.. :ermm:

I Installed The Warning HACK 1.0 Then Upgraded To 1.5.
And Then Installed The AWS v3.0.2.!

Now When I Click On Warning Systems > View Ban User's I Get Database Error..!

Quote:

Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT user.userid, user.username, user.usergroupid AS busergroupid,
userban.usergroupid AS ousergroupid, userban.reason AS reason,
IF(userban.displaygroupid = 0, userban.usergroupid, userban.displaygroupid) AS odisplaygroupid,
bandate, liftdate,
adminuser.userid AS adminid, adminuser.username AS adminname
FROM user AS user
LEFT JOIN userban AS userban ON(userban.userid = user.userid)
LEFT JOIN user AS adminuser ON(adminuser.userid = userban.adminid)
WHERE user.usergroupid IN(8)
ORDER BY userban.liftdate ASC, user.username

mysql error: Unknown column 'userban.reason' in 'field list'

mysql error number: 1054

Date: Sunday 02nd of January 2005 02:14:47 AM
Can Some One Help Me Please..! :tired: :tired: :tired:

Delphiprogrammi 01-02-2005 04:45 AM

hi ,

yeah we can help you there is a column missing in your userban database table goto PhpMyAdmin or whatever you use to run SQL queries and run
Code:

ALTER TABLE `".TABLE_PREFIX."userban` ADD COLUMN `reason` mediumtext
drop the TABELE_PRFIX part if MySQL complains about it (give your table name instead then)

sv1cec 01-02-2005 06:19 AM

Quote:

Originally Posted by jonnerd154
I need a little help. I followed the install directions perfectly (I think, I may have made a mistake.) Everything LOOKS ok in the mod and admincp's and the warn [user] links are at the top of all posts, etc. When I click on the Ban [user] links I am directed to (EG) http://mahplace.com/forums/Warn.php?...28&post=769427 but the output of that page is just <html><body></body></html>

Any ideas why the page is not parsing?

EDIT: Note that I am using an installer package I downloaded yesterday.

Ban User links??? There should be no "Ban User" links. Where are these links found?

sv1cec 01-02-2005 06:23 AM

Bahawolf,

Find the following code

HTML Code:

<if condition="$post[warning_level]>0">
<font color="#ff0000">
<BR>Warnings Level: $post[warning_level]
<font color="#000000">
</if>

Replace that with:

HTML Code:

<if condition="$post[warning_level]=='' OR $post[warning_level]=='0'">
<BR>Warning Level: 0
<else />
<font color="#ff0000">
<BR>Warnings Level: $post[warning_level]
<font color="#000000">
</if>

Careful that code exists twice in postbit. Replace both instances.

Rgds

Delphiprogrammi 01-02-2005 06:33 AM

hi sv1cec ,

i run into a little problem with the latest version installed.if you choose "view banned users" (and you don't have any) that page is redirected to a blank page after a while just a blank white browser window it must be in admin_warn.php but i'm to scared to screw up

jonnerd154 01-02-2005 07:46 AM

Quote:

Originally Posted by sv1cec
Ban User links??? There should be no "Ban User" links. Where are these links found?

Ack, sorry...I meant Warn User links.

bold 01-03-2005 05:07 AM

hey i'm getting a error when i try to send a pm.

Code:

Database error in vBulletin 3.0.3:

Invalid SQL: select username from vb3_user where userid=
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

Date: Monday 03rd of January 2005 01:06:50 AM
Script: http://www.xxxxx.com/forums/private.php
Referer: http://www.xxxxx.com/forums/private.php?do=newpm&u=122
Username: bold
IP Address: 172.137.2.235

any ideas?

sv1cec 01-03-2005 05:51 AM

Quote:

Originally Posted by Delphiprogrammi
hi sv1cec ,

i run into a little problem with the latest version installed.if you choose "view banned users" (and you don't have any) that page is redirected to a blank page after a while just a blank white browser window it must be in admin_warn.php but i'm to scared to screw up

This issue has been dealt with. Please download the latest zip and upload admin_warn.php to your server.

Rgds

sv1cec 01-03-2005 05:52 AM

Quote:

Originally Posted by bold
hey i'm getting a error when i try to send a pm.

Code:

Database error in vBulletin 3.0.3:

Invalid SQL: select username from vb3_user where userid=
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

Date: Monday 03rd of January 2005 01:06:50 AM
Script: http://www.xxxxx.com/forums/private.php
Referer: http://www.xxxxx.com/forums/private.php?do=newpm&u=122
Username: bold
IP Address: 172.137.2.235

any ideas?

Check your modifications in private.php, you must have missed something.

Rgds

sv1cec 01-03-2005 05:54 AM

Quote:

Originally Posted by jonnerd154
I need a little help. I followed the install directions perfectly (I think, I may have made a mistake.) Everything LOOKS ok in the mod and admincp's and the warn [user] links are at the top of all posts, etc. When I click on the Ban [user] links I am directed to (EG) http://mahplace.com/forums/Warn.php?...28&post=769427 but the output of that page is just <html><body></body></html>

Any ideas why the page is not parsing?

EDIT: Note that I am using an installer package I downloaded yesterday.

Check that you have the template warn_addwarn. What does it contain?

Rgds

jonnerd154 01-03-2005 06:18 AM

Quote:

Originally Posted by sv1cec
Check that you have the template warn_addwarn. What does it contain?

Rgds

oh crap, I'm the one at fault here. I am also creating a new layout at the moment and I did not have the new layout (the one I view my forum in) selected as the default when I ran the install script. I defaulted it and ran it again, now it is working!

Thanks, sorry to bother you with a non-existant problem!

*clicks Install*

jonnerd154 01-03-2005 06:21 AM

++++, cancel the above. Now everything is parcing but when I try to search for users in the admincp I get the PHP error "Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /usr/local/apache/dev/forums/admincp/user.php on line 643" is that another one of my mistakes? If so, any pointers?

jonnerd154 01-03-2005 06:30 AM

Nevermind....I lost a comma in the update. Sorry. You have a great hack here and it's just my stupidity that kept it from working. Thanks!

bold 01-03-2005 06:51 AM

Quote:

Originally Posted by sv1cec
Check your modifications in private.php, you must have missed something.

Rgds

i've re-checked many times over. does my error message give you any idea where i could've made a mistake?

sv1cec 01-03-2005 07:51 AM

Quote:

Originally Posted by bold
i've re-checked many times over. does my error message give you any idea where i could've made a mistake?

Can you please tell me when you get that error message? I think I've found a problem, but I need to be sure from you.

Rgds

sv1cec 01-03-2005 08:17 AM

Quote:

Originally Posted by bold
i've re-checked many times over. does my error message give you any idea where i could've made a mistake?

Bold,

Try this and let me know if it works. In file private.php, as you have already changed it, find:

PHP Code:

        $w=$warn_opts['automatic_warner'];
        
$autowarner=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
        
$autowarner=vbstrtolower($autowarner['username']);
        
        
$w=$warn_opts['warner'];
        
$warner=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
        
$warner=vbstrtolower($warner['username']);
        
        
$w=$warn_opts['collector'];
        
$collector=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
        
$collector=vbstrtolower($collector['username']); 

Replace that with:

PHP Code:

        if (!$warn_opts['collector']=='' OR !$warn_opts['collector']=='0')
        {
            if (!
$warn_opts['automatic_warner']=='')
            {
                
$w=$warn_opts['automatic_warner'];
                
$autowarner=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
                
$autowarner=vbstrtolower($autowarner['username']);
            }
            if (!
$warn_opts['warner']=='')
            {
                
$w=$warn_opts['warner'];
                
$warner=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
                
$warner=vbstrtolower($warner['username']);
            }
            
$w=$warn_opts['collector'];
            
$collector=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
            
$collector=vbstrtolower($collector['username']);
        } 

I assume that your problem arises, because you have not defined a collector or an automatic warner or a hidden warner, and the program does not check for their existence. Unfortunatelly, I have these defined in my system, and the program didn't complained when I was checking it.

Please let me know if it works.

Rgds

bold 01-03-2005 04:09 PM

Quote:

Originally Posted by sv1cec
Bold,

Try this and let me know if it works. In file private.php, as you have already changed it, find:

PHP Code:

        $w=$warn_opts['automatic_warner'];
        
$autowarner=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
        
$autowarner=vbstrtolower($autowarner['username']);
        
        
$w=$warn_opts['warner'];
        
$warner=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
        
$warner=vbstrtolower($warner['username']);
        
        
$w=$warn_opts['collector'];
        
$collector=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
        
$collector=vbstrtolower($collector['username']); 

Replace that with:

PHP Code:

        if (!$warn_opts['collector']=='' OR !$warn_opts['collector']=='0')
        {
            if (!
$warn_opts['automatic_warner']=='')
            {
                
$w=$warn_opts['automatic_warner'];
                
$autowarner=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
                
$autowarner=vbstrtolower($autowarner['username']);
            }
            if (!
$warn_opts['warner']=='')
            {
                
$w=$warn_opts['warner'];
                
$warner=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
                
$warner=vbstrtolower($warner['username']);
            }
            
$w=$warn_opts['collector'];
            
$collector=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
            
$collector=vbstrtolower($collector['username']);
        } 

I assume that your problem arises, because you have not defined a collector or an automatic warner or a hidden warner, and the program does not check for their existence. Unfortunatelly, I have these defined in my system, and the program didn't complained when I was checking it.

Please let me know if it works.

Rgds

Hey that worked! Thanks for taking the time to work on my problem. Thanks!

sv1cec 01-03-2005 05:21 PM

Quote:

Originally Posted by bold
Hey that worked! Thanks for taking the time to work on my problem. Thanks!

It was not your problem Sir, it was a problem with my hack, so I had to fix it.

I'll release a new version tonight, after I put the twins to bed and get something to eat.

Rgds

mojo8850 01-03-2005 11:27 PM

Hey Is This A Complete Different Package..

I Mean Do I Have To Install The Warning Hack 1.0 Then Upgrade 1.5 Then Install This..

Or Can I Install This As It's Own..!

bahawolf 01-04-2005 12:17 AM

Would it be possible to have it so you could warn someone directly from the AdminCP with their username?

Torqued 01-04-2005 12:27 AM

Quote:

Originally Posted by mojo8850
Hey Is This A Complete Different Package..

I Mean Do I Have To Install The Warning Hack 1.0 Then Upgrade 1.5 Then Install This..

Or Can I Install This As It's Own..!

If you do not have any previous versions of the this hack installed, you can just install v3.0.2 on its own.

sv1cec 01-04-2005 05:07 AM

Quote:

Originally Posted by mojo8850
Hey Is This A Complete Different Package..

I Mean Do I Have To Install The Warning Hack 1.0 Then Upgrade 1.5 Then Install This..

Or Can I Install This As It's Own..!

No, Zero Tolerance's hack is not required. But if you have it installed, you have to have version 1.5 of that hack, in order to upgrade to this one. Or you may just uninstall that hack and install this one directly.

Rgds

sv1cec 01-04-2005 05:12 AM

Quote:

Originally Posted by bahawolf
Would it be possible to have it so you could warn someone directly from the AdminCP with their username?

Yeap, and this is something I am working on. But the bug found a few posts back, made me go back and test everything again, so that you guys do not have problems. To test, I had to backup my database and download it to my Sun at home, where I discovered that the postindex table is creating problems with phpMyAdmin backup file. This of course, was discovered after it has corrupted my database in the Sun a couple of times. I now have a relatively stable system on the Sun, on which I'll do the tests.

Hopefully, you 'll have a bug fix release (the fix is already shown a few posts back), and my comments on upgrading to vBulletin 3.0.4.

Rgds

sv1cec 01-04-2005 11:52 AM

Version 3.0.3 is out. It fixes the bug noticed a few posts back in the private.php file. If you haven't declared any Hidden Warner or any Automatic Warner, the program crashed because of an SQL statement.

Please apply the upgrade instructions found in the UpgradeToLatestVersion.txt file.

Rgds and apologies for any inconvenience.

----------

John

sv1cec 01-04-2005 11:58 AM

Compatibility with vBulletin 3.0.4

It looks as if there are no compatibility issues with this hack and vBulletin 3.0.4 released a couple of days ago.

Of course, the installation of the new vB release, will overwrite any changes you have made to the php files, so I would suggest that you use some file comparison utility (like Beyond Compare) to edit the new files according to your old ones.

The only other issue that I've noticed (and for the name of God, I can't understand why it happens) is that the "Message Tag" that I've used in the settings, is not preserved. In other words, the new release makes this setting disappear. All you have to do, is to run the following query manually, after you have upgraded everything, to make this setting re-appear (I remind you that this setting is found in vBulletin Options, Site Name/URL/Contact Details, and it is used by AWS when sending e-mails to users, in the subject line. You may want to note the contents of this settings, before you start the upgrade, so that you can then restore its value.

If you have any questions, please don't hesitate to ask.

Rgds

T3MEDIA 01-04-2005 01:57 PM

Does beyond compare work?

Guy G 01-04-2005 02:37 PM

Getting MySQL error when going into the admin panel...
something is wrong with table prefix not working...
PHP Code:

Database error in vBulletin 3.0.3:

Invalid SQLselect from vb3_ warning_options where oid='1'
mysql errorTable '*DataBase Name*_vbulletin.vb3_' doesn't exist

mysql error number: 1146

Date: Tuesday 04th of January 2005 10:29:14 AM
Script: http://forum.ex-zone.com/admincp/index.php? 


Guy G 01-04-2005 02:41 PM

Quote:

Originally Posted by Zorobz
Getting MySQL error when going into the admin panel...
something is wrong with table prefix not working...
PHP Code:

Database error in vBulletin 3.0.3:

Invalid SQLselect from vb3_ warning_options where oid='1'
mysql errorTable '*DataBase Name*_vbulletin.vb3_' doesn't exist

mysql error number: 1146

Date: Tuesday 04th of January 2005 10:29:14 AM
Script: http://forum.ex-zone.com/admincp/index.php? 


ok solved...
this
PHP Code:

else
{
    
$DB_site->reporterror 1;
    
$warn_opts=$DB_site->query_first("select * from ".TABLE_PREFIX." warning_options where oid='1'");
    
$aws='1';


became to this and its solved...
PHP Code:

else
{
    
$DB_site->reporterror 1;
    
$warn_opts=$DB_site->query_first("select * from ".TABLE_PREFIX."warning_options where oid='1'");
    
$aws='1';



sv1cec 01-04-2005 03:02 PM

Quote:

Originally Posted by Zorobz
ok solved...
this
PHP Code:

else
{
    
$DB_site->reporterror 1;
    
$warn_opts=$DB_site->query_first("select * from ".TABLE_PREFIX." warning_options where oid='1'");
    
$aws='1';


became to this and its solved...
PHP Code:

else
{
    
$DB_site->reporterror 1;
    
$warn_opts=$DB_site->query_first("select * from ".TABLE_PREFIX."warning_options where oid='1'");
    
$aws='1';



Thanks for catching that space, I might have spend a day and not find it.

Rgds


All times are GMT. The time now is 01:46 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02226 seconds
  • Memory Usage 1,958KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_html_printable
  • (10)bbcode_php_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete