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-07-2005 04:27 PM

Quote:

Originally Posted by Andreas
This code is correct, yours isn't (it's generating a mySQL result resource, while the needed data in $to and $from are arrays with the values :)).

I Know that there a still some query_first and query_read errors, i didn't fixed all until know, but this code is working for me , yours isn't, pls don't ask me why ;-)

I didn't convert the mod, i just tried to get it working, nothing more *g*

CaitSith4343 11-07-2005 11:02 PM

First of all, this is great, thanks for porting it over.

Now to my minor problem:

Everything went fine up until one of the last edits on the navbar template. I was supposed to find:
PHP Code:

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr

but when I search I cant find it anywhere.

So, I dont know where to put:

PHP Code:

tr><td class="thead">Warnings</td></tr>
   <
tr><td class="vbmenu_option"><a href="Warn.php?$session[sessionurl]do=ViewMyWarnings">View Your Warnings</a></td></tr

I dont really know anything about coding, but I tried to put it in the right places and I dont think it worked. Its not supposed to be under the main navbar in a little row of its own is it?

Anyways, everything except this has gone fine and Im not getting any errors, but I'm pretty sure without this part members cant view their warnings, or at least not easily, correct?

Anyway, I know its probably hard to tell from the info given but any help would be appreciated.

sv1cec 11-08-2005 03:56 AM

The place where that piece of code goes, is inside a drop-down menu called "Quick Links", on the Navbar. The code I provide adds a new line to that menu.

Try finding the word Miscellaneous in the Navbar template.

Rgds

MThornback 11-08-2005 12:39 PM

Something for all you people having issues with errors between functions_warning and other hacks....

Follow the adivce mentioned above about checking to make sure they are the same...and if you can delete them, do so, but if you CAN'T try adding a "2" to the end of the function name and all instances and you may atleast be able to use it till a work around till the problem is fixed :)

*Only if your confident you understand the code....don't dabble where you shouldn't*

CaitSith4343 11-08-2005 06:30 PM

Quote:

Originally Posted by sv1cec
The place where that piece of code goes, is inside a drop-down menu called "Quick Links", on the Navbar. The code I provide adds a new line to that menu.

Try finding the word Miscellaneous in the Navbar template.

Rgds

Yeah, thats what the problem is. The skin I have right now doesnt have quick links section in the navbar. I should probably have one added anyway because it is quite convenient, but for now, are there any other locations where memebers can view their warnings?

jluerken 11-09-2005 07:01 AM

Current version is now running fine but its not fully phrased.
When will this version be updated so that everywhere phrases are used and we can start translating?

sv1cec 11-09-2005 01:17 PM

Quote:

Originally Posted by CaitSith4343
Yeah, thats what the problem is. The skin I have right now doesnt have quick links section in the navbar. I should probably have one added anyway because it is quite convenient, but for now, are there any other locations where memebers can view their warnings?

Sure and they can, in each and every post they have posted, there is a button saying "View Your Warnings". Also in the User CP, there is a similar button.

PrinzII 11-11-2005 01:45 AM

Will this work with 3.51?

Xplorer4x4 11-11-2005 01:53 AM

^yes.

And Sv1, it seems that when I issued an alert the <!-- BEGIN TEMPLATE: warn_pm_alert --> tags weere PMed as well.

King Kovifor 11-12-2005 02:24 PM

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?


All times are GMT. The time now is 02:30 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
  • Page Generation 0.03096 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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