vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Advanced Warning System (Beta Version) (https://vborg.vbsupport.ru/showthread.php?t=95921)

Milchi 11-15-2005 06:11 PM

Quote:

Originally Posted by King Kovifor
I get this error:

Code:

Database error in vBulletin 3.5.1:

Invalid SQL:

                                INSERT INTO setting
                                (varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
                                VALUES
                                (
                                        'warn_version',
                                        'version',
                                        '3.4.14',
                                        '3.5.0',
                                        'free',
                                        '',
                                        1,
                                        0,
                                        1,
                                        'aws'
        );

MySQL Error  : Duplicate entry 'warn_version' for key 1
Error Number : 1062
Date        : Saturday, November 12th 2005 @ 11:20:37 AM
Script      : http://www.vbrenegades.com/admincp/plugin.php
Referrer    : http://www.vbrenegades.com/admincp/plugin.php?do=productadd
IP Address  : 24.3.102.42
Username    : King Kovifor
Classname    : vb_database

I had it installed on vB 3.0.7. Is that the problem? And if so does it keep warnings, bans, and settings?

Yes, this is cause u had installed the 3.0.7 version. Just kill the Settings and u can install but u have to reenter all configuration options for AWS.

CRITICAL BUG FOUND

The cron Job for remove Warnings doesn't reduce the warning points as it should! How could i resetup all Accounts with the warnings they should have? And make sure this didn't happen again?

King Kovifor 11-15-2005 06:26 PM

OK So how do I fix it, Is that the LAST step, is it "installed" without them? Thanks for the reply too. :)

sv1cec 11-15-2005 08:31 PM

As far as I can tell, the kill_warn.php script should work OK with 3.5.

However, I am not sure, I am not familiar with all the changes 3.5 brought, so Andreas should check that out. Did you fill in a bug report?

Hornstar 11-18-2005 07:22 AM

I got this major error just at the end of doing the product, anyone else get this, or know how to fix this, thanks Because my whole site has got a database error right now, im about to restore the old file class_core.php hopefully that works, but then this hack wont have installed, can anyone help

Warning: Invalid argument supplied for foreach() in /includes/class_core.php on line 2727

Unable to add cookies, header already sent.
File: /home/gamerzne/public_html/forums/includes/class_core.php
Line: 2948

Line 2948 is this

2948 - echo "<br /><strong>Warning</strong>: $errstr in
2949 - <strong>$errfile</strong> on line <strong>$errline</strong><br />";
2950 - break;

sv1cec 11-18-2005 07:25 AM

When does this error comes up? I've seen it before, when some echo command was left in places it shouldn't have been.

Hornstar 11-18-2005 07:35 AM

It is coming up on my whole site, it only occured once the product had finished, then the page came up white with that error my site is http://www.gamerzneeds.net/forums

thanks

Hornstar 11-18-2005 09:05 AM

Well this is what i got from vbulletin support staff

Hi

We can't offer official support for code modifications or for forums running modified code. Please ask for help with this from the author of the plugin.

Best Regards,
Colin Frei
vBulletin Support Team

So they were no help, couldnt even try and help me to get the forums back to the way they were.

Anyone know how to atleast get my forums working again, without having to restore my whole database and forums?

I already totally replaced most files, still no good tho, looking for any help right now, thanks

sv1cec 11-18-2005 10:33 AM

You got me wrong, the problem is not with vBulletin, the problem is caused possibly by the hack, but I can't help you if you are using vBulletin 3.5.

Try turning the plugins off. And see which one is causing this problem.

DS MrSinister 11-18-2005 01:31 PM

not sure if you have tried this yet might want to give it a shot http://www.vbulletin.com/forum/showp...91&postcount=8

i know its a diffrent error you getting but never know might be the ticket.

Hornstar 11-18-2005 08:56 PM

The problem is not actually in the files, because I uploaded the original 3.5.1 files in ascii mode, it must be in the database, i must need to delete parts in the aws.

Also I can't access any part of my site, that includes the admincp because everwhere I go I get the same error as you all get at www.gamerzneeds.net/forums

any ideas which parts of the database i need to delete/edit?

puertoblack2003 11-18-2005 09:00 PM

Quote:

Originally Posted by hornstar1337
The problem is not actually in the files, because I uploaded the original 3.5.1 files in ascii mode, it must be in the database, i must need to delete parts in the aws.

Also I can't access any part of my site, that includes the admincp because everwhere I go I get the same error as you all get at www.gamerzneeds.net/forums

any ideas which parts of the database i need to delete/edit?

try going through ftp and reup the core.php and that should go back into your site that happens to me when i made a mistake in the scripts so i had to back up files and see where i went wrong :ermm:

sv1cec 11-19-2005 11:00 AM

Try uploading the distribution files again, ftp them to your server. That should at least allow you access to your admincp.

Milchi 11-19-2005 11:17 AM

Why u don't just disable the Plugins systems?

Problems with not correctly deleting alerts and warnings isn't gone. The Warnings/Alerts disappear corretly but the points aren't reduced...

Hornstar 11-20-2005 04:26 AM

Try uploading the distribution files again, ftp them to your server. That should at least allow you access to your admincp.

Did that, it didnt work, and

Why u don't just disable the Plugins systems?

I tried this
To get them working again, you need to disable the plugins.

Edit your config.php and add this on a new line:

define('DISABLE_HOOKS', true);

Save and upload your config.php file.

But that just gave me errors, I still cant access my site or admincp to disable anything in their, so I think that is all my options pretty much.

I'm now uploading my last saved database, which was 16 hours old, so I have lost a fair bit of info, but thats my fault from not doing a complete save b4 doing this, but last time I installed this on 3.0.x it went fine, guess some of these ports have not been finished that well for 3.5.1

Anyway thanks for everyone who tried to help, looks like i will just have to realise that my last few days have now been lost :/

Exernon 11-21-2005 03:52 PM

Any update for 3.5.1?

Acido 11-21-2005 06:24 PM

Hi sv1cec

What i want is allow guest to see the users warnings. What i need change to let all the visitors (registered or not) see the users warning?

Exernon 11-22-2005 10:21 AM

*bump*

TJFweb 11-23-2005 05:04 AM

Quote:

Originally Posted by Exernon
Any update for 3.5.1?

I'm using it in 3.5.1 on a big board with no problems.

sv1cec 11-24-2005 05:55 AM

Quote:

Originally Posted by Acido
Hi sv1cec

What i want is allow guest to see the users warnings. What i need change to let all the visitors (registered or not) see the users warning?

Go to your AdminCP/Warning System/Edit Options and set the one saying "Who can see the warning points etc" to All.

Sorry, I misread that! Guests? You want guests to be ab;e to see the user warnings?

You mean just in the postbit, or you want guests to be able to click on the "View Warnings" button and see the warnings of a user?

manguish 11-24-2005 06:31 PM

Daft Q - how do i edit the drop down box for warning selection types?

manguish 11-24-2005 06:43 PM

Ignore me - i figured it out - little bit complicated though to get the options to show :/

manguish 11-26-2005 04:10 PM

What does NPR mean on the warning log screen under Warned Post?

akanevsky 11-26-2005 04:42 PM

Screenshots please

manguish 11-26-2005 04:54 PM

Quote:

Originally Posted by Psionic Vision
Screenshots please

As below.

jluerken 11-27-2005 07:05 AM

When will you release a fully phrased version?

vampireus 11-30-2005 02:18 PM

Hi,

How do I remove everything as if I have never used it on my board? I uninstalled the product, deteled php file, redo template changes, then reinstalled the hack. The log is gone but warning levels, warning point still remain.

ShadowOne 11-30-2005 02:54 PM

Quote:

Originally Posted by vampireus
Hi,

How do I remove everything as if I have never used it on my board? I uninstalled the product, deteled php file, redo template changes, then reinstalled the hack. The log is gone but warning levels, warning point still remain.


Then You Didnt Redo All Of Your Templates...If Im Not Mistaken Which I Might Be, Check Both Your Postbits And Maybe Your Member Info? Not Sure...

bonjurkes 11-30-2005 10:52 PM

installed it.. it is working great...

but i couldnt find the phrases that i must edit for understanding other ppl too :D

sv1cec 12-01-2005 08:40 AM

Quote:

Originally Posted by manguish
What does NPR mean on the warning log screen under Warned Post?

Non-Post-Related. Warnings or alerts that are not related to a particular post. Those issued from the Public Profile.

wcbryant 12-03-2005 04:18 AM

I've been having some users complain of random subscriptions to threads around the site. AWS and post-award are the only two hacks I have (as I sit here and think about it) that play with showthread.php, which is the file Steve at vb.org suggested would be the area of concern.

Can anyone think of any reason AWS, under any circumstances, might be causing such a problem in limited cases? Just trying to narrow down my field of search, and hopefully remedy the problem.

And as long as I have the mic, has there been any discussion or consideration of the option (for those who use the 'three strikes, you're out' method) of making it so that only an admin can place the final warning that would result in a permaban?

I'd also be interested in figuring out a way where there's a limit to the number of active points a single mod can place on a user. As much for their own protection as the users, as one mod dealing all the damage can sometimes lend the appearance of a grudge.

sv1cec 12-03-2005 04:25 AM

AWS does NOT in anyway alters that information. At least not my code of AWS, so I would suggest you look elsewhere.

wcbryant 12-03-2005 04:35 AM

Quote:

Originally Posted by sv1cec
AWS does NOT in anyway alters that information. At least not my code of AWS, so I would suggest you look elsewhere.

Nothing personal, John. Frankly, even if it did somehow cause it, I wouldn't be removing AWS, can't live without it now.

Any thoughts on those other two questions/suggestions/requests?

sv1cec 12-03-2005 05:27 AM

I missed the other two all together, that's what happens when I answer messages early in the morning.

Good points those two, but they require coding. And coding in the new environment (vBulletin 3.5) is not something I fancy. As I explained before, I've lost interest in this whole thing. My board is heavily hacked, both with hacks from here, and other patches I've done myself. I have to patch about 20 files every time a new vB release was coming out. Since there is no guarantee that all these hacks will be available for 3.5 and since I have no wish to recode everything to match the new vB standard, I know that my board will remain in vB 3.0.xx, probably for ever. So adding features to this version of AWS is not (how to say) my priority. Maybe Andreas could do that, although now with his new role, I do not know if he has the time for it.

I'll have a look at the code and see if you first idea can be easily implemented, somehow I believe it will not be that hard.

Well, I had a look and I do not even want to think about making those changes. Maybe some day, when I feel like doing this to my board, I'll post the code differences here. Don't hold your breath though.

jluerken 12-05-2005 12:30 PM

Quote:

Originally Posted by Andreas
Does show up for me
http://img360.imageshack.us/img360/7071/postbit7jn.png

Check your Template Edits.

I don't have an option in the AWS settings to enable those Notes.
Where can I do this?

Also in the User Manager there is no WARN USER link. In the Memberinfo I can do it but not directly in the ACP User Manager :-(

sv1cec 12-05-2005 02:14 PM

To enable the Notes, you go to your AdminCP and in the Warning System Menu, Manage Warning Options.

What I see missing from your postbit_legacy is the number of Warnings, warning points etc, the member has. Check your postbit_legacy template for that.

Finally In the User Manager, at the bottom of the first column, there should be a small table with the Warning Information of the member. At the bottom of that table, there should be two buttons, Warn XYZ and View XYZ's Warnings. If not, check your edits in admincp/user.php.

Xplorer4x4 12-05-2005 02:16 PM

Quote:

Originally Posted by jluerken
I don't have an option in the AWS settings to enable those Notes.
Where can I do this?

Go to the vbulletin options and pull up the settings for the user notes. HOWEVER, I don't think the feature was ever completley finished so you have to change it to whatever the string for the stock vb user notes string is.

Quote:

Also in the User Manager there is no WARN USER link. In the Memberinfo I can do it but not directly in the ACP User Manager :-(
1)Did you do the member info template edits? On a side not, for me it kinda spaced all the text at the right top of the page away from the actual border like it should be.

2) I don't think the warn user feature in user manager actually works.

jluerken 12-05-2005 02:22 PM

Quote:

Originally Posted by Xplorer4x4
Go to the vbulletin options and pull up the settings for the user notes. HOWEVER, I don't think the feature was ever completley finished so you have to change it to whatever the string for the stock vb user notes string is.

I activated this now but when I click on it there is no page coming up where I can enter notes.
Its simply a page with forum header, navbar, footer and thats it :D

sv1cec 12-05-2005 02:26 PM

Sorry folks, I answered those questions without noticing where they were posted. Notes are not implemented in AWS 3.5.x. They were added after the code was ported to the new environment, so only the changes in templates were mentioned, the code is not there to support the Notes. I can provide you the code if you so want, but it is not vB 3.5 compliant.

KBV 12-06-2005 05:52 PM

Great mod, I've used it on my old board. Just curious, when is this going to be updated? I don't use it, and told all my staff to stop using it yesterday when we found out that it banned people after only getting 2 warning points, when it was set to 10 before temp ban and 10 more for perm ban.

Any ideas as to why this happens? Cheers ^^

sv1cec 12-06-2005 06:09 PM

Have you checked your settings? I find it hard to believe that this hasn't been noticed by anyone else so far.


All times are GMT. The time now is 02:05 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.02079 seconds
  • Memory Usage 1,841KB
  • 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
  • (1)bbcode_code_printable
  • (12)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