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)

TRStealth 12-16-2004 02:52 AM

Quote:

Originally Posted by sv1cec
Because the database and the code are not of matching versions. In other words, your table hasn't all the columns required by the code. Go create the 'automaticpm' column in your table, by running the following query:

alter table `warning_options` add `automaticpm` char(3) after automatic

But, still you do not have all the columns in the table. What I see missing is the 'version` column.

Folks, please download and install always the latest version. Or, make sure you always upgrade to the latest version, or else it is very difficult for me to support you.

Rgds

Even though it was a clean install of the latest zip you have up?

k.

sv1cec 12-16-2004 04:57 AM

Quote:

Originally Posted by TRStealth
Even though it was a clean install of the latest zip you have up?

k.

Well, sometimes, even the best intentions fail :-)

However, keep in mind, that the automaticpm was added in version 2.0 while the version was added in 2.3. And neither of them was in your table.

Rgds

nubian 12-16-2004 01:36 PM

Quote:

Originally Posted by SamirDarji
I still can't find out why the warning options aren't appearing the member profile. I checked the template and member.php and they're both correct. This is the only thing I have left to test before I install on the live server (which will go much smoother since that setup is cleaner). Any assistance appreciated.

bump this question....i don't see this as well

SamirDarji 12-16-2004 01:49 PM

Quote:

Originally Posted by nubian
bump this question....i don't see this as well

I know someone had this problem in the past, but I searched the thread up and down and can't find where it was posted and if there was a solution.

sv1cec 12-16-2004 02:32 PM

Quote:

Originally Posted by SamirDarji
I know someone had this problem in the past, but I searched the thread up and down and can't find where it was posted and if there was a solution.

In order to see those links, you should have activate the "Allow Non-Post-related" warnings. If that is not set to "Yes", there are no links in the UserCP.

Please tell me if you have set that to yes, or not, so that I can see what your problem is.

Rgds

nubian 12-16-2004 02:42 PM

Quote:

Originally Posted by sv1cec
In order to see those links, you should have activate the "Allow Non-Post-related" warnings. If that is not set to "Yes", there are no links in the UserCP.

Please tell me if you have set that to yes, or not, so that I can see what your problem is.

Rgds

if you mean where it says under the admincp > manage warning options:
Quote:

Allow Off-Post Warnings? If set to Yes, warnings can also be issued from the user profile, when you want to warn a user for a non-post related offence.
that option is set to yes and i still don't see the option to warn in the members public profile

because i don't see this, "Allow Non-Post-related" option

sv1cec 12-16-2004 03:09 PM

Quote:

Originally Posted by nubian
if you mean where it says under the admincp > manage warning options:
that option is set to yes and i still don't see the option to warn in the members public profile

because i don't see this, "Allow Non-Post-related" option

Yeah, these are the same thing, I just changed the wording to better express the meaning, in the latest version.

IF that is set to yes and you can't see the links, two things can happen:

1. your template is not edited properly.
2. the user is not authorised to issue warnings. Assuming that the user is authorised, I would suggest that you check your template.

One more question, if the user you are checking his CP has warning points, do you see his points?

Here is what my memberinfo template looks like:

HTML Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
$headinclude
</head>
<body>
$header
$navbar
$sponsorspanel

<!-- main info - avatar, profilepic etc. -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
        <td class="thead">$vbphrase[view_profile]<span class="normal">: $userinfo[username]</span></td>
<!-- checks for warning system -->
<td  class="thead" align="right">
<div class="smallfont" style="float:$stylevar[right]">
<if condition="THIS_SCRIPT=='member' AND $warn_opts[allowoffpost]=='Yes'">
        <if condition="$hierarchical=='No'">
                <if condition="($bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==5) AND $userinfo[usergroupid]!=6 AND $userinfo[usergroupid]!=5 AND $userinfo[usergroupid]!=7">
                        <a href='Warn.php?do=WarnUserNoPost&id=$userid'>Warn $userinfo[username] (non-post related)</a> ? <a href='Warn.php?do=ViewWarnings&id=$userinfo[userid]'>View $userinfo[username]'s Warnings</a>
            </if>
                <if condition="$userinfo[userid]==$bbuserinfo[userid] AND $userinfo[usergroupid]!=6 AND $userinfo[usergroupid]!=7 AND $userinfo[usergroupid]!=5 AND $userinfo[warning_level]>0">
                        <a href='Warn.php?do=ViewMyWarnings'>View your Warnings</a>
                </if>
        </if>
        <if condition="$hierarchical=='Yes'">
                <if condition="($userinfo[usergroupid]!=6 AND $userinfo[usergroupid]!=5 AND $userinfo[usergroupid]!=7 AND ($bbuserinfo[usergroupid]==5 OR $bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==7)) OR ($userinfo[usergroupid]==7  AND $bbuserinfo[usergroupid]==5) OR ($bbuserinfo[usergroupid]==6 AND $userinfo[usergroupid]!=6)">
                        <a href='Warn.php?do=WarnUserNoPost&id=$userid'>Warn $userinfo[username] (non-post related)</a> ? <a href='Warn.php?do=ViewWarnings&id=$userinfo[userid]'>View $userinfo[username]'s Warnings</a>
                </if>
                <if condition="$userinfo[userid]==$bbuserinfo[userid] AND $userinfo[usergroupid]!=6 AND $userinfo[warning_level]>0">
                                <a href='Warn.php?do=ViewMyWarnings'>View your Warnings</a>
                </if>
        </if>
</if>
<!-- end of warning system -->       
</div>
</td>
</tr>
</table>

rgds

T3MEDIA 12-16-2004 05:50 PM

has all the bugs in this hack been cleared out?

since its a long hack I want to ask first.

nubian 12-16-2004 06:59 PM

Quote:

Originally Posted by sv1cec
Yeah, these are the same thing, I just changed the wording to better express the meaning, in the latest version.

IF that is set to yes and you can't see the links, two things can happen:

1. your template is not edited properly.
2. the user is not authorised to issue warnings. Assuming that the user is authorised, I would suggest that you check your template.

One more question, if the user you are checking his CP has warning points, do you see his points?

Here is what my memberinfo template looks like:

HTML Code:

$stylevar[htmldoctype]
 <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
 <head>
 <title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
 $headinclude
 </head>
 <body>
 $header
 $navbar
 $sponsorspanel
 
 <!-- main info - avatar, profilepic etc. -->
 <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
 <tr>
 <td class="thead">
 <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
 <tr>
        <td class="thead">$vbphrase[view_profile]<span class="normal">: $userinfo[username]</span></td>
 <!-- checks for warning system -->
 <td  class="thead" align="right">
 <div class="smallfont" style="float:$stylevar[right]">
 <if condition="THIS_SCRIPT=='member' AND $warn_opts[allowoffpost]=='Yes'">
        <if condition="$hierarchical=='No'">
                <if condition="($bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==5) AND $userinfo[usergroupid]!=6 AND $userinfo[usergroupid]!=5 AND $userinfo[usergroupid]!=7">
                        <a href='Warn.php?do=WarnUserNoPost&id=$userid'>Warn $userinfo[username] (non-post related)</a> ? <a href='Warn.php?do=ViewWarnings&id=$userinfo[userid]'>View $userinfo[username]'s Warnings</a>
            </if>
                <if condition="$userinfo[userid]==$bbuserinfo[userid] AND $userinfo[usergroupid]!=6 AND $userinfo[usergroupid]!=7 AND $userinfo[usergroupid]!=5 AND $userinfo[warning_level]>0">
                        <a href='Warn.php?do=ViewMyWarnings'>View your Warnings</a>
                </if>
        </if>
        <if condition="$hierarchical=='Yes'">
                <if condition="($userinfo[usergroupid]!=6 AND $userinfo[usergroupid]!=5 AND $userinfo[usergroupid]!=7 AND ($bbuserinfo[usergroupid]==5 OR $bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==7)) OR ($userinfo[usergroupid]==7 AND $bbuserinfo[usergroupid]==5) OR ($bbuserinfo[usergroupid]==6 AND $userinfo[usergroupid]!=6)">
                        <a href='Warn.php?do=WarnUserNoPost&id=$userid'>Warn $userinfo[username] (non-post related)</a> ? <a href='Warn.php?do=ViewWarnings&id=$userinfo[userid]'>View $userinfo[username]'s Warnings</a>
                </if>
                <if condition="$userinfo[userid]==$bbuserinfo[userid] AND $userinfo[usergroupid]!=6 AND $userinfo[warning_level]>0">
                                <a href='Warn.php?do=ViewMyWarnings'>View your Warnings</a>
                </if>
        </if>
 </if>
 <!-- end of warning system -->       
 </div>
 </td>
 </tr>
 </table>

rgds

i have the WarningSystem_v2_3_2
i have no idea what updates you've done since .4 and .5
am i missing something here?
because the necessary coding that i do have are correct from the 2.3.2.
please help

i'm not saying hot to do your updates but there should be

sv1cec 12-16-2004 07:02 PM

Quote:

Originally Posted by nubian
i have the WarningSystem_v2_3_2
i have no idea what updates you've done since .4 and .5
am i missing something here?
because the necessary coding that i do have are correct from the 2.3.2.
please help

i'm not saying hot to do your updates but there should be

In the zip file, there is a file called "UpdateToLatestVersion.txt". In that file, if you scroll down a little, you will find a heading saying "Upgrade from 2.3.2 to 2.3.3. Do that, then go back up and find the update from 2.3.3. to 2.3.4, apply the changes etc. until you are at the last version.

Rgds


All times are GMT. The time now is 03:27 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.02191 seconds
  • Memory Usage 1,802KB
  • 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
  • (2)bbcode_html_printable
  • (10)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