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)

hello 11-24-2004 05:30 AM

ok i have fixed it lol finally, i had to make all the templates because i have 2 skins and it only put the templates on 1 of them, that is how you fix it :)

DS MrSinister 11-24-2004 05:30 AM

ok i delete this out of the database lol..

Code:

`warned_user` int(15) NOT NULL default '0',

I need to know the code to add this to my database.. I am new to this stuff don't know much coding.

looks like the only thing i am missing....

sv1cec 11-24-2004 07:27 AM

Quote:

Originally Posted by DS MrSinister
ok i delete this out of the database lol..

Code:

`warned_user` int(15) NOT NULL default '0',

I need to know the code to add this to my database.. I am new to this stuff don't know much coding.

looks like the only thing i am missing....

Run the following query:

ALTER TABLE `warnings` ADD `warned_user` int(15) NOT NULL default '0'

And now that you have it right, download the latest zip and upload the files to your web server again. Did some more changes this morning.

Files you need to download, are shown at the bottom of the hack's description, at the top of every page.

Rgds

sv1cec 11-24-2004 07:32 AM

Quote:

Originally Posted by hello
ok i have fixed it lol finally, i had to make all the templates because i have 2 skins and it only put the templates on 1 of them, that is how you fix it :)

Glad you have it OK now.

I have only the default skin in my forums, so I have no idea how to work with more than that. It's been discussed somewhere before, in this thread, and another member has come up with a solution, which I'll try to include in the installation script, but I can't promise anything.

Rgds
---------
John

hello 11-24-2004 07:51 AM

ok i have found another problem, when you go to modcp it says
"Parse error: parse error, unexpected T_STRING in /home/volution/public_html/forums/modcp/index.php on line 348" and on that line is "print_nav_panel();"

Robert Basil 11-24-2004 07:59 AM

I'm running 1.2.2 and it works great! What exactly does 1.2.3 offer over 1.2.2?

What do you mean by "better operation"?

P.S. Thanks for the great hack!

sv1cec 11-24-2004 09:07 AM

Quote:

Originally Posted by Sportbikeworld
I'm running 1.2.2 and it works great! What exactly does 1.2.3 offer over 1.2.2?

What do you mean by "better operation"?

P.S. Thanks for the great hack!

Take my word for it, it offers you better operation. Like, really sending a PM/e-mail when a warning is deleted by cron. It also reports that it was cron which deleted the warning, in your admin cp or modcp lists.

Just download the zip and upload the three files.

--------
John

sv1cec 11-24-2004 09:09 AM

Quote:

Originally Posted by hello
ok i have found another problem, when you go to modcp it says
"Parse error: parse error, unexpected T_STRING in /home/volution/public_html/forums/modcp/index.php on line 348" and on that line is "print_nav_panel();"

Right above that line, you should have the followings:

PHP Code:

    $printhr true ;
    
construct_nav_option 'View Issued Warnings''mod_warn.php''<br />' ) ;
    
construct_nav_group 'Warning System''<hr />' ) ; 

Maybe you have copied this part, wrong? A missing semi-colon or a missing quote? It works for me.

saininja 11-24-2004 11:25 AM

Quote:

Originally Posted by sv1cec
Right above that line, you should have the followings:

PHP Code:

    $printhr true ;
    
construct_nav_option 'View Issued Warnings''mod_warn.php''<br />' ) ;
    
construct_nav_group 'Warning System''<hr />' ) ; 

Maybe you have copied this part, wrong? A missing semi-colon or a missing quote? It works for me.








I have there same problem also, if I into the Mod CP go comes the following error message:
Code:

Parse error: parse error, unexpected T_STRING in /home/www/xxx/html/xxx/modcp/index.php on line 359

$printhr = true ;
construct_nav_option ( 'View Issued Warnings', 'mod_warn.php', '<br />' ) ;
construct_nav_group ( 'Warning System', '<hr />'


Jenny

sv1cec 11-24-2004 11:45 AM

Quote:

Originally Posted by saininja
I have there same problem also, if I into the Mod CP go comes the following error message:
Code:

Parse error: parse error, unexpected T_STRING in /home/www/xxx/html/xxx/modcp/index.php on line 359

$printhr = true ;
construct_nav_option ( 'View Issued Warnings', 'mod_warn.php', '<br />' ) ;
construct_nav_group ( 'Warning System', '<hr />'


Jenny

Jenny and hello,

You are both right, there is a cut off line in the instructions. Please go into your modcp/index.php file and replace that line which starts with construct_nav_group, with the line below:

PHP Code:

construct_nav_group 'Warning System''<hr />'); 

Sorry for the problem.

Rgds
-----------
John


All times are GMT. The time now is 02:09 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.02345 seconds
  • Memory Usage 1,754KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_php_printable
  • (6)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
  • (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