vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Advanced Warning System 3.6.7 (https://vborg.vbsupport.ru/showthread.php?t=124477)

DiMoNd21 03-08-2007 09:46 AM

I installed this product but it seems there is a problem.

I get this error:

An error has occured, the following message has been left below: :

You have no permissions to enter Notes for a user

and this:

An error has occured, the following message has been left below: :

you do not have permissions to issue non post related warnings

Why is this happening?

Delphiprogrammi 03-08-2007 04:36 PM

Quote:

Originally Posted by DiMoNd21 (Post 1198646)
I installed this product but it seems there is a problem.

I get this error:

An error has occured, the following message has been left below: :

You have no permissions to enter Notes for a user

and this:

An error has occured, the following message has been left below: :

you do not have permissions to issue non post related warnings

Why is this happening?

wel wel "you do not have permissions" what could that mean ? hint (admincp => usergroups => edit -> aws permissions)

Delphiprogrammi 03-08-2007 04:43 PM

hi folks,

I whas ready to bring out a new release while i discoverd a new problem with the system.Users of the premium hack called "hide hack expanded edition" from visionscripts are affected (possible other ones to and also the free version of the hide hack)The problem is when aws is installed a plugin from the aws system is causing the vBulletin function "quickedit" to bring up a white blank page" (when you hit "edit post" in a thread and then in the next page click advanced you'll get a white screen)I have identified which plugin in the system is causing the problem but that code looks correct to me so more research (and delays in new releases) will be needed

Let's make it clear this is not a problem with the visionscripts product.The problem is caused by an aws plugin

NFLfbJunkie 03-31-2007 04:39 PM

When I click on the 'YES' from the 'Alert Comment' column on the "ViewMyWarnings' page, I get the following:

PHP Code:

Fatal errorCannot use object of type mysqli_result as array in /home/fantasyf/public_html/gforums/showcomment.php(22) : eval()'d code on line 35 

Is there a way to fix this?

Delphiprogrammi 04-07-2007 04:42 PM

Quote:

Originally Posted by Junkie (Post 1216934)
When I click on the 'YES' from the 'Alert Comment' column on the "ViewMyWarnings' page, I get the following:

PHP Code:

Fatal errorCannot use object of type mysqli_result as array in /home/fantasyf/public_html/gforums/showcomment.php(22) : eval()'d code on line 35 

Is there a way to fix this?

lemme guess ? you are running on PHP5 that's not supported ... if you are not running on PHP5 but on 4.4.6 and get a MySQLI error you should set that varible in /includes/config.php to use MySQL not MySQLI.PHP 5 is not supported because i do not have it availible to see if it works.And no i won't upgrade before PHP5 is the officially supported release on www.php.net

NFLfbJunkie 04-13-2007 03:09 PM

Will changing MySqli to MySql in the config.php file affect anything else, since I edited the file to mysqli prior to installing vBulletin? I did make the change already, and the error message does not show. Now when I click on the Alert Comment link, a box opens up displaying:

"If you do not like to use this predefined comment, you may type your own, in the Moderator Comments field of the previous form."

Is this what's supposed to show, or should the pre-defined comment that I entered in the advanced warning system control panel for the warning show up? I noticed that there is empty space above the above statement, which is probably where the pre-defined comment displays. Maybe I have my settings incorrect, but I still can't figure it out.

sv1cec 04-14-2007 05:56 AM

No, the predefined comment is not shown, but it will be used if you do not enter anything in that field there. If you do enter a comment yourself, then the predefined one is not send, the one you enter will be send instead.

DoSe 04-17-2007 06:00 AM

after readin all this nobody ran into my problem. My problem is i have the system set to make a post after a warn but it dont say the user being warned or the reason they were warned. This is all that comes up in the post

Warning: User: - Warner: googang - Date: 04-16-2007 at 07:45 PM

--------------------------------------------------------------------------------

User received the following Warning/Alert by googang on 04-16-2007 at 07:45 PM :

Delphiprogrammi 04-17-2007 07:36 AM

Quote:

Originally Posted by DoSe (Post 1229498)
after readin all this nobody ran into my problem. My problem is i have the system set to make a post after a warn but it dont say the user being warned or the reason they were warned. This is all that comes up in the post

Warning: User: - Warner: googang - Date: 04-16-2007 at 07:45 PM

--------------------------------------------------------------------------------

User received the following Warning/Alert by googang on 04-16-2007 at 07:45 PM :

For that to work you must have one of the notifications methods enabled either email or pm on warn will do.That thing is made to have a "complete" copy of the warning given but i have found before if you disable pm and email (so no notification method is availible) it does what you describe

DoSe 04-17-2007 02:05 PM

thank you thats what it was

Burley 04-21-2007 05:52 PM

Thanks for this great hack!

It works great, allthough during the install there were several times that the code in the template wasn't the same as the one in the manual, mostly span and div tags.

And also I was wondering, why you didn'add the vbphrases for the "quick links" user menu but decided to put in the actual words in the code?

But, like I said; GREAT HACK >> clicks install

sv1cec 04-22-2007 12:03 PM

Well, the lack of phrases is not Delphi's mistake. When I started writing this hack, a couple of years ago (for vB 3.0.xx), I was not very good at php or at the way vB worked. Actually, it wasn't even me who started this hack. I got the core of the code from another programmer here, Zero Tolerance. As it usually happens, there were several issues with Zero's hack, which were not exactly to my liking, so I decided to study the code to make it more suitable for my site. In reality I learned php by studying vB's code. Evidently some of the initial code was not ... according to vB standards, hence no phrases etc.

I thought I should clarify that, since it was not Delphi's bad coding, but mine.

Burley 04-22-2007 06:38 PM

Thanks for clearing that up. But really I wasn't trying to put the blame on anyone.

I was just wondering why, with a hack which has that much effort put in, something as small as that wasn't in there (these were the only 2 I could find) and perhaps the creator could put it in there when updating it (if nescesary) the next time.

sv1cec 04-23-2007 07:42 AM

That's up to Delphi to decide. I no longer work on this version of the hack.

vB 3.5 and 3.6 is too complicated for me to bother.

:D :)

Burley 05-08-2007 12:48 PM

Ok, so my next question go's out to Delphi then ;)

I was reading about disabling the infraction system wit the <!-- -->, I edited the postbit_legacy as you instructed.

BUT then there is the memberinfo template, did I comment out the right code?

PHP Code:

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

<!-- main info avatarprofilepic etc. -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">

<!-- 
Advanced Warning System -->

  <
tr>
    <
td class="tcat">
 <!-- 
checks for warning system -->
   <
span class="smallfont" style="float:$stylevar[right]">
   <if 
condition="THIS_SCRIPT=='member' AND $vboptions[warn_allowoffpost]==1 AND $buttons=='Text'">
   <if 
condition="$showwarnlink==1">
   <if 
condition="$vboptions['warn_allownotes']==1">
   <
a href='Warn.php?do=NoteUser&id=$post[userid]&post=0'><phrase 1="$userinfo[username]">$vbphrase[aws_addnote_profile_link]</phrase></a>&nbsp;</if> 
    <
a href='Warn.php?do=WarnUserNoPost&id=$userinfo[userid]'><phrase 1="$userinfo[username]">$vbphrase[aws_addwarn_profile_link]</phrase></a>&nbsp;<a href='Warn.php?do=ViewWarnings&id=$userinfo[userid]'><phrase 1="$userinfo[username]">$vbphrase[aws_view_warnings_profile]</phrase></a>
   </if>
   <if 
condition="$showviewyourslink==1">
         <
a href='Warn.php?do=ViewMyWarnings'>$vbphrase[aws_view_your_warnings_profile]</a>
   </if>
   </if>

   <if 
condition="THIS_SCRIPT=='member' AND $vboptions[warn_allowoffpost]==1 AND $buttons=='Buttons'">
   <if 
condition="$showwarnlink==1">
   <if 
condition="$vboptions['warn_allownotes']==1">
   <
a href='Warn.php?do=NoteUser&id=$post[userid]&post=0'><input type="button" name="warn" value="<phrase 1='$post[username]'>$vbphrase[aws_addnote_profile]</phrase>" accesskey="n" onClick="window.location='Warn.php?do=NoteUser&id=$post[userid]&post=0'"class="button"></a> &nbsp;
   </if>
<
a href='Warn.php?do=WarnUserNoPost&id=$userinfo[userid]'><input type="button" name="warn" value="<phrase 1='$post[username]'>$vbphrase[aws_addwarn_profile]</phrase>" accesskey="w" class="button" onClick="window.location='Warn.php?do=WarnUserNoPost&id=$userinfo[userid]'"></a>&nbsp;<a href='Warn.php?do=ViewWarnings&id=$userinfo[userid]'><input type="button" class="button" name="warn" value="View $post[username]'s Warnings" accesskey="v" onClick="window.location='Warn.php?do=ViewWarnings&id=$userinfo[userid]'"></a>
</if>
<if 
condition="$showviewyourslink==1">
<
a href='Warn.php?do=ViewMyWarnings'><input type="button" class="button" name="warn" value="View Your Warnings" accesskey="v" onClick="window.location='Warn.php?do=ViewMyWarnings'"></a
   </if>
   </if>
   </
span>
   <!-- 
end of warning system -->

<!-- 
Advanced Warning System -->


<
tr>
    <
td class="alt2">
        <
table cellpadding="0" cellspacing="0" border="0" width="100%">
        <
tr>
            <
td style="border-bottom:1px solid $stylevar[tborder_bgcolor]width="100%" colspan="2">            
                <if 
condition="$userinfo['rank'] OR $userinfo['reputationdisplay']">
                    <
div style="float:$stylevar[right]; padding:4px">
                        <if 
condition="$userinfo['rank']"><div align="center">$userinfo[rank]</div></if>
                        <if 
condition="$userinfo['reputationdisplay']"><div align="center">$userinfo[reputationdisplay]</div></if>
                    </
div>
                </if>            
                <
div class="bigusername">$userinfo[musername$userinfo[onlinestatus]</div>
                <if 
condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
            </
td>

<!-- 
Advanced Warning System -->

   <
td style="border-bottom:1px solid $stylevar[tborder_bgcolor]align="$stylevar[right]nowrap="nowrap">
   <
div class="smallfont">
   <
b>User ID :</b$userinfo[userid]<br />
   <if 
condition="$showpoints==1">
   <if 
condition="$userinfo[alerts]>0">
   <
font color="#ff0000">
   <
phrase 1="$userinfo[alerts]">$vbphrase[aws_alerts_member_profile]</phrase><BR>
   <
font color="#000000">
   </if>
   <if 
condition="$userinfo[warns]>0">
   <
font color="#ff0000">
   <
phrase 1="$userinfo[warns]">$vbphrase[aws_warnings_member_profile]</phrase><BR>
   <
font color="#000000">
   </if>
   <if 
condition="$userinfo[warning_level]>0">
   <
font color="#ff0000">
   <
phrase 1="$userinfo[warning_level]">$vbphrase[aws_warninglevel_member_profile]</phrase><BR>
   <
font color="#000000">
   </if>
   <if 
condition="$userinfo[warning_bans]>0">
   <
font color="#ff0000">
   <
phrase 1="$userinfo[warning_bans]">$vbphrase[aws_warningbans_member_profile]</phrase><BR>
   <
font color="#000000">
   </if>
   </if>
   </
td>

<!-- 
Advanced Warning System -->

<!-- 
Advanced Warning System -->
             <if 
condition="$show['profilepic'] AND (($vboptions[warn_pic_thresshold]<0 AND $userinfo[warning_level]<=$vboptions[warn_pic_thresshold]) OR $vboptions[warn_pic_thresshold] == 0)">

<!-- 
Advanced Warning System -->

            <
td valign="top" align="$stylevar[right]rowspan="2">
                <
img src="$userinfo[profilepicurl]$userinfo[profilepicsizealt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" />
            </
td>
            </if>
        </
tr>
        <
tr valign="top">

<!-- 
Advanced Warning System -->

        <if 
condition="$show['avatar'] AND (($vboptions[warn_avatar_thresshold]<0 AND $userinfo[warning_level]<=$vboptions[warn_avatar_thresshold]) OR $vboptions[warn_avatar_thresshold] == 0)">
    
<!-- 
Advanced Warning System -->

                <
td><img src="$userinfo[avatarurl]$userinfo[avatarsizealt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td>
            <else />
                <
td>&nbsp;</td>
            </if>
            <
td class="smallfont" valign="bottom" align="$stylevar[right]">
                <if 
condition="$show['lastactivity']">
                    <
div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span>&nbsp;</div>
                </if>
                <if 
condition="$show['currentlocation']">
                    <
div>$userinfo[action$userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time]&nbsp;</div>
                </if>
            </
td>
        </
tr>
        </
table>
    </
td>
</
tr>
</
table>
<!-- / 
main info avatarprofilepic etc. -->

<!-- 
button row -->
<if 
condition="$show['profilelinks']">
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<
tr align="center">
    <if 
condition="$userinfo['showvcard']">
        <
td class="vbmenu_control"><a href="member.php?$session[sessionurl]do=vcard&amp;u=$userinfo[userid]rel="nofollow">$vbphrase[download_vcard]</a></td>
    </if>
    <if 
condition="$show['member']">
    <
td class="vbmenu_control">
        <if 
condition="$show['addbuddylist']">
        <
a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_buddy_list]</phrase></a>
        <else />
        <
a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_buddylist]</phrase></a>
        </if>
    </
td>
    <
td class="vbmenu_control">
        <if 
condition="$show['addignorelist']">
        <
a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a>
        <else />
        <
a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_ignorelist]</phrase></a>
        </if>
    </
td>
    </if>
    <if 
condition="can_moderate()">
        <
td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
    </if>
    <!--<if 
condition="$show['giveinfraction']">
       <
td class="vbmenu_control"><a href="infraction.php?$session[sessionurl]do=report&amp;u=$userinfo[userid]">$vbphrase[give_infraction]</a></td>
    </if>-->
</
tr>
</
table>
</if>
<!-- / 
button row -->

<
br />

<!-- 
infractions row 
<if condition="$show['infractions']">

<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="tcat" colspan="$colspan"><span style="float:$stylevar[right]class="smallfont"><phrase 1="$userinfo[ipoints]">$vbphrase[x_points_total]</phrase>&nbsp; &nbsp;</span>$vbphrase[infractions]</td>
</
tr>
<
tr>
    <
td class="thead" colspan="2">&nbsp; &nbsp;$vbphrase[post]</td>
    <
td class="thead">$vbphrase[date]</td>
    <
td class="thead">$vbphrase[expires]</td>
    <
td class="thead">$vbphrase[points]</td>
    <
td class="thead">$vbphrase[reason]</td>
    <
td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
    <if 
condition="$show['reverse']"><td class="thead">$vbphrase[details]</td></if>
</
tr>
$infractionbits
</table>
<if 
condition="$pagenav">
<
table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<
tr valign="bottom">
    <
td align="$stylevar[right]">$pagenav</td>
</
tr>
</
table>
</if>

<
br />
</if>
 / 
infractions row -->

<!-- 
Advanced Warning System -->

  <if 
condition="$pnotes!='' AND $vboptions['warn_allownotes']==1">

   <
table border="1" width="100%" align="center" class="alt2">
   <
tr>
   <
td align="center" class="thead" colspan="5">
   <
div class="smallfont">$vbphrase[aws_noteslist_profile]</div>
   </
td>
   </
tr>
   <
tr>
   <
td align="center" class="smallfont" width="10%"
   
$vbphrase[aws_noteslist_profile_moderator]
   </
td>
   <
td align="center" class="smallfont" width="15%"
   
$vbphrase[aws_noteslist_profile_time]
   </
td>
   <
td align="center" class="smallfont">
   
$vbphrase[aws_noteslist_profile_moderator_note]
   </
td>
   <
td align="center" class="smallfont" width="5%">
   
$vbphrase[aws_noteslist_profile_post]
   </
td>
   <
td width="5%" class='smallfont' align='center'>
   
$vbphrase[aws_noteslist_profile_remove]
   </
td>
   </
tr>
   
$pnotes
   
</table>
   <
br>
   </if>

<!-- 
Advanced Warning System -->

<!-- 
Advanced Warning System -->
<if 
condition="$show['signature'] AND (($vboptions[warn_sig_thresshold]<0 AND $userinfo[warning_level]>=$vboptions[warn_sig_thresshold]) OR $vboptions[warn_sig_thresshold]==0)">

<!-- 
Advanced Warning System -->

<!-- 
signature row -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="thead">$vbphrase[signature]</td>
</
tr>
<
tr>
    <
td class="alt1" title="$vbphrase[signature]">$userinfo[signature]</td>
</
tr>
</
table>
<!-- / 
signature row -->
<
br />
</if>


<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="tcat" width="50%">$vbphrase[forum_info]</td>
    <
td class="tcat" width="50%">$vbphrase[contact_info]</td>
</
tr>
<
tr valign="top">

    <
td class="panelsurround" align="center">
    <
div class="panel">
        <
div align="$stylevar[left]">
        
            <
div class="fieldset">
                <
div style="padding:$stylevar[formspacer]px">
                    
$vbphrase[join_date]: <strong>$userinfo[datejoined]</strong>
                </
div>
            </
div>
            
            <
fieldset class="fieldset">
                <
legend>$vbphrase[posts]</legend>
                <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                <
tr>
                    <
td>
                        
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
                    </
td>
                </
tr>
                <if 
condition="$vboptions['profilelastpost']">
                <
tr>
                    <
td>
                            
$vbphrase[last_post]:<br />
                            <
a href="$userinfo[lastposturl]">$userinfo[lastposttitle]</a><br />
                            
$userinfo[lastpostdate] <span class="time">$userinfo[lastposttime]</span>
                    </
td>
                </
tr>
                </if>
                <
tr>
                    <
td><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td>
                </
tr>
                <
tr>
                    <
td><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$userinfo[urlusername]rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
                </
tr>
                </
table>
            </
fieldset>
            
            <if 
condition="$vboptions['usereferrer']">
            <
div class="fieldset">
                <
div style="padding:$stylevar[formspacer]px">
                    
$vbphrase[referrals]: <strong>$referrals</strong>
                </
div>
            </
div>
            </if>
            
<!-- 
SR Classified light -->

             <if 
condition="$vboptions[sr_classifieds_active] == '1'">
            <
fieldset class="smallfont"><legend>$vbphrase[sr_classifieds]</legend>
            <
div><b>$vbphrase[sr_classifieds_feedscore]:</b$userinfo[sr_classifieds_score]</div>
            <
div><b>$vbphrase[sr_classifieds_posfeed]:</b$userinfo[sr_classifieds_pcnt]</div>
            </
fieldset>
            </if>

<!-- 
SR Classified light -->



            <if 
condition="$show['usernotes']">
            <
div class="fieldset">
                <
div style="padding:$stylevar[formspacer]px">
                    
$vbphrase[user_notes]:
                    <if 
condition="$show['usernoteview']">
                        <
strong>$usernote[total]</strong> [<a href="usernote.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[view]</a>]
                    </if>
                    <if 
condition="$show['usernotepost']">
                        [<
a href="usernote.php?$session[sessionurl]do=newnote&amp;u=$userinfo[userid]">$vbphrase[post_user_note]</a>]
                    </if>
                    <if 
condition="$show['usernoteview']">
                        <
br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
                    </if>
                </
div>
            </
div>
            </if>
        
        </
div>
    </
div>
    </
td>
    
    <
td class="panelsurround" align="center">
    <
div class="panel">
        <
div align="$stylevar[left]">
        
            <
div class="fieldset">
                <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                <if 
condition="!$show['contactlinks']">
                <
tr>
                    <
td><strong><phrase 1="$userinfo[username]">$vbphrase[x_has_no_contact_info]</phrase></strong></td>
                </
tr>                
                </if>
                <if 
condition="$show['homepage']">
                <
tr>
                    <
td>
                        
$vbphrase[home_page]:<br />
                        <
a href="$userinfo[homepage]target="_blank" dir="ltr">$userinfo[homepage]</a>
                    </
td>
                </
tr>
                </if>
                <if 
condition="$show['email']">
                <
tr>
                    <
td>
                        
$vbphrase[email]:<br />
                        <
a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_message_via_email_to_x]</phrase></a>
                    </
td>
                </
tr>
                </if>
                <if 
condition="$show['pm']">
                <
tr>
                    <
td>
                        
$vbphrase[private_message]:<br />
                        <
a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a>
                    </
td>
                </
tr>
                </if>
                </
table>
            </
div>
            
            <if 
condition="$show['hasimicons']">
            <
fieldset class="fieldset">
                <
legend>$vbphrase[instant_messaging]</legend>
                <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                <if 
condition="$show['textimicons']">
                    <if 
condition="$userinfo['showicq']">
                    <
tr>
                        <
td>$vbphrase[icq]</td>
                        <
td>$userinfo[icq]</td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showaim']">
                    <
tr>
                        <
td>$vbphrase[aim]</td>
                        <
td>$userinfo[aim]</td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showmsn']">
                    <
tr>
                        <
td>$vbphrase[msn]</td>
                        <
td>$userinfo[msn]</td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showyahoo']">
                    <
tr>
                        <
td>$vbphrase[yahoo]</td>
                        <
td>$userinfo[yahoo]</td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['skype']">
                    <
tr>
                        <
td>$vbphrase[skype]</td>
                        <
td>$userinfo[skype]</td>
                    </
tr>
                    </if>
                <else />
                    <if 
condition="$userinfo['showicq']">
                    <
tr>
                        <
td>$userinfo[icqicon]</td>
                        <
td><a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showaim']">
                    <
tr>
                        <
td>$userinfo[aimicon]</td>
                        <
td><a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showmsn']">
                    <
tr>
                        <
td>$userinfo[msnicon]</td>
                        <
td><a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showyahoo']">
                    <
tr>
                        <
td>$userinfo[yahooicon]</td>
                        <
td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
                    </
tr>
                    </if>
                    <if 
condition="$userinfo['showskype']">
                    <
tr>
                        <
td>$userinfo[skypeicon]</td>
                        <
td><a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 285); return false;">$userinfo[skype]</a></td>
                    </
tr>
                    </if>
                </if>
                </
table>
            </
fieldset>
            </if>
            
        
        </
div>
    </
div>
    </
td>
    
</
tr>
<
tr>
    <
td class="tcat" width="50%">$vbphrase[additional_information]</td>
    <
td class="tcat" width="50%">$vbphrase[group_memberships]</td>
</
tr>
<
tr valign="top">

    <
td class="panelsurround" align="center">
    <
div class="panel">
        <
div align="$stylevar[left]">
        
        <
div class="fieldset">
            <if 
condition="$show['extrainfo']">
                <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                <if 
condition="$show['birthday']">
                <
tr>
                    <
td>
                        <
strong>$vbphrase[birth_date]</strong>:<br />
                        
$userinfo[birthday]
                    </
td>
                </
tr>
                </if>
                <if 
condition="$show['age']">
                <
tr>
                    <
td>
                        <
strong>$vbphrase[age]</strong>:<br />
                        
$userinfo[age]
                    </
td>
                </
tr>
                </if>
                
$customfields
                
</table>
            <else />
                <
em>$vbphrase[n_a]</em>
            </if>
        </
div>
        
        </
div>
    </
div>
    </
td>
    
    <
td class="panelsurround" align="center">
    <
div class="panel">
        <
div align="$stylevar[left]">
        
            <
div class="fieldset">
                <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                <
tr>
                    <if 
condition="$show['membergroups']">
                    <
td></td>
                    <else />
                    <
td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td>
                    </if>
                </
tr>
                
$membergroupbits
                
</table>
            </
div>
        
        </
div>
    </
div>
    </
td>

</
tr>
</
table>

$footer

</body>
</
html


Delphiprogrammi 05-08-2007 01:19 PM

looks good did you get an error when from the vb templateparser ? i must admit i am not "that busy" to this anymore then i use to

Burley 05-08-2007 02:08 PM

No, not a single error.
I guess that means I did fine? ;)

Mrdby 05-13-2007 12:07 PM

3.6.6?

Delphiprogrammi 05-16-2007 03:34 PM

Quote:

Originally Posted by Mrdby (Post 1246767)
3.6.6?

yes it will run fine as long as you meet the requirements including the new 3.6.7

Quarantine 05-23-2007 03:15 AM

Hi, I recently installed this mod. Everything works fine except for the occasional MySQL errors that I obtain via e-mail. One of them is as the following:

Quote:

Invalid SQL:

INSERT INTO vbulletin_pmtext_warned
(fromuserid, fromusername, title, before_title, message, before_message, touserarray, dateline)
VALUES
(,
'',
'',
'<i>The user did not enter a title</i>',
'',
'CHO ANIKI!?\n\nDo you KNOW what Cho Aniki is???\n\nhttp://upload.wikimedia.org/wikipedi...bakaretsu5.gif\n\n<i><u>homo</u></i> erotic men ftw.',
'',
1179889958);

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 '
'',
'',
'<i>The user did not enter a title</i>',
'',
'CHO A' at line 4
Any ideas how I can correct this? It seems that the SQL syntax is wrong, of which I'm not familiar with. Thanks in advance!

Delphiprogrammi 05-23-2007 12:26 PM

Quote:

Originally Posted by Quarantine (Post 1253070)
Hi, I recently installed this mod. Everything works fine except for the occasional MySQL errors that I obtain via e-mail. One of them is as the following:



Any ideas how I can correct this? It seems that the SQL syntax is wrong, of which I'm not familiar with. Thanks in advance!

that is caused by the featured called "automatic warnings" some user at your board is being caught to use words you have defined to be censored in either a thread or a private message you can get around by turning that feature of in the system settings

sv1cec 05-23-2007 01:20 PM

Yes, but look at the SQL error. There is no user id, or user name. And why did that insert statement produced an error? It doesn't seem to be anything wrong with it, except the fact that there is no userid and username. Maybe the userid is a required field? I do not remember.

Quarantine 05-23-2007 01:28 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1253223)
that is caused by the featured called "automatic warnings" some user at your board is being caught to use words you have defined to be censored in either a thread or a private message you can get around by turning that feature of in the system settings

Thanks! I don't think there is a need for that feature for me anyway, so I'll disable it right away.

Delphiprogrammi 05-24-2007 06:02 PM

Quote:

Originally Posted by sv1cec (Post 1253239)
Yes, but look at the SQL error. There is no user id, or user name. And why did that insert statement produced an error? It doesn't seem to be anything wrong with it, except the fact that there is no userid and username. Maybe the userid is a required field? I do not remember.

Yeah i did mean turn it of until i had a look into it.I'm trying to move stuff to the vb datamanagers.The savecopy option (that creates a thread in the predefined forum) is moved to the datamanager and working.The pm datamanager is giving me errors.I will try to dig them out

Celtkin 05-26-2007 01:30 PM

I got the following errors when I imported the XML file to upgrade from 3.6.4:

The following dependencies were not met:

1. This product is not compatible with version 5.2.1-pl3-gentoo of PHP. (Compatible starting with 4.4.7 / Incompatible with 5.0.0 Beta 1 and greater)


Do I just need to remove the following from the XML;


Quote:

<dependency dependencytype="php" minversion="4.4.7" maxversion="5.0.0 Beta 1" />

Delphiprogrammi 05-26-2007 01:43 PM

Quote:

Originally Posted by Celtkin (Post 1254960)
I got the following errors when I imported the XML file to upgrade from 3.6.4:

The following dependencies were not met:

1. This product is not compatible with version 5.2.1-pl3-gentoo of PHP. (Compatible starting with 4.4.7 / Incompatible with 5.0.0 Beta 1 and greater)


Do I just need to remove the following from the XML;


Yeah but PHP 5 is not supported at the moment.I really should think about upgrading my server.I wanted to wait until php.net stopped with PHP 4 so php 5 whas the only supported release.

Celtkin 05-26-2007 01:47 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1254966)
Yeah but PHP 5 is not supported at the moment.I really should think about upgrading my server.I wanted to wait until php.net stopped with PHP 4 so php 5 whas the only supported release.

I thought so. Thanks Erik. I imported the product and my AWS is still showing as 3.6.1 and I am still getting this error when I try to add a new user

Quote:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/user.php(464) : eval()'d code on line 9

Delphiprogrammi 05-26-2007 04:13 PM

Quote:

Originally Posted by Celtkin (Post 1254968)
I thought so. Thanks Erik. I imported the product and my AWS is still showing as 3.6.1 and I am still getting this error when I try to add a new user

this happens when you use admincp => users => add a new user ? i just tested that on my testboard and it whas working without errors so that is 95% sure a PHP 5 problem hmmmz that version should update maybe i forgot something always possible

I will upgrade my Cpanel server to PHP5 and see if get that error or catch other ones

Celtkin 05-26-2007 07:48 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1255036)
this happens when you use admincp => users => add a new user ? i just tested that on my testboard and it whas working without errors so that is 95% sure a PHP 5 problem hmmmz that version should update maybe i forgot something always possible

I will upgrade my Cpanel server to PHP5 and see if get that error or catch other ones

Thanks Erik :)

The hack also interfered with posting. I got the following errors after modifying and loading the product file:

Quote:

Parse error: syntax error, unexpected ')' in includes/class_dm_threadpost.php(772) : eval()'d code on line 2

Fatal error: Field vbbux is not defined in $validfields in class vB_DataManager_Post in /includes/class_dm.php on line 485

Delphiprogrammi 05-27-2007 08:53 AM

Quote:

Originally Posted by Celtkin (Post 1255154)
Thanks Erik :)

The hack also interfered with posting. I got the following errors after modifying and loading the product file:

the second error message seems to be caused by another hack (vbucks)

this one

Quote:

Parse error: syntax error, unexpected ')' in includes/class_dm_threadpost.php(772) : eval()'d code on line 2
It's possible this is coming from aws as the system uses the datamanager but those functions are working normally at my board.The only suggestion i can make here is turn off anything else then aws if those errors are stil there then you can be *sure* they are caused by this hack.I upgraded my Server to PHP5 and the system is working fine so far

Delphiprogrammi 05-27-2007 08:08 PM

pm datamanager is working on my testboard and all fields updating as they should update :D.The newly added check for the "receivepm" permission does seem to cause an array_merge error under PHP5 with pm's sended from admin_warn.php.I will see what i can do about it

evanoo 05-31-2007 02:48 AM

hey bro delphi u forgot to put the warn.gif in the folder of hack lol:p can i have that gif

Bravo 05-31-2007 04:21 AM

My hosting is still using 4.4.4 and the hack checks for minium of 4.4.7

I bypassed it but there a error everytime you reply to a post. Is there another way to fix it for 4.4.4, or should I wait to see if my host ever upgrades to 4.4.7?

Delphiprogrammi 05-31-2007 06:36 AM

Quote:

Originally Posted by evanoo (Post 1258101)
hey bro delphi u forgot to put the warn.gif in the folder of hack lol:p can i have that gif

the package has been updated with the missing images i knew i forgot something now i know what

Delphiprogrammi 05-31-2007 06:40 AM

Quote:

Originally Posted by Bravo2007 (Post 1258138)
My hosting is still using 4.4.4 and the hack checks for minium of 4.4.7

I bypassed it but there a error everytime you reply to a post. Is there another way to fix it for 4.4.4, or should I wait to see if my host ever upgrades to 4.4.7?

You could post the error message maybe you're lucky and we know a solution ....Your host should however upgrade to at least 4.4.7 because anything below that including 4.4.4 has security holes in it there might be a reason why your host does not upgrade you would have to ask them

Bravo 05-31-2007 09:43 AM

Quote:

Originally Posted by Delphiprogrammi (Post 1258176)
You could post the error message maybe you're lucky and we know a solution ....Your host should however upgrade to at least 4.4.7 because anything below that including 4.4.4 has security holes in it there might be a reason why your host does not upgrade you would have to ask them

It's really weird but mainly when someone replys to a post, it comes up with this

"The following errors occurred when this message was submitted

Okay "

and make it seem like it never posted, but if you reload the page the post is there. it only fixes when I disable AWS :(

EDIT: my host said they only run that version, but that I could change my config and have it use php 5.0+

Delphiprogrammi 05-31-2007 05:06 PM

Quote:

Originally Posted by Bravo2007 (Post 1258237)
It's really weird but mainly when someone replys to a post, it comes up with this

"The following errors occurred when this message was submitted

Okay "

and make it seem like it never posted, but if you reload the page the post is there. it only fixes when I disable AWS :(

EDIT: my host said they only run that version, but that I could change my config and have it use php 5.0+

that is indeed weird only that text "ok" hmmmz then it won't matter if you use PHP 4 or PHP 5 that looks like you have a modification somewhere that messes things up.Create a new style (choose no parent) that will force it to use the default templates then upload all original vBulletin files no other idea :(

Bravo 05-31-2007 07:44 PM

the thing is, it was working fine, untill I installed the new AWS 3.6.1 then after that, this started happening.

Even on the default skin it does it, and the default skin has no modifications.

everything only fixes when I disable AWS

evanoo 06-01-2007 01:31 AM

somethin is messing up i also got the same error while opening the thread and whitle posting i jus got error like Bravo2007 The following errors occurred when this message was submitted

while opening a thread
Quote:

Parse error: parse error, unexpected ')' in ***\httpdocs\forum\includes\class_dm_threadpost.ph p(772) : eval()'d code on line 4

Fatal error: Field vbbux is not defined in $validfields in class vB_DataManager_Post in \includes\class_dm.php on line 485
every thing works fine when i disable AWS

i think AWS is messing with Vbux system somewhere

is this error can be bcz of php 5 ?

look into it bro delphi

Delphiprogrammi 06-01-2007 12:23 PM

Quote:

Originally Posted by evanoo (Post 1258697)
somethin is messing up i also got the same error while opening the thread and whitle posting i jus got error like Bravo2007 The following errors occurred when this message was submitted

while opening a thread


every thing works fine when i disable AWS

i think AWS is messing with Vbux system somewhere

is this error can be bcz of php 5 ?

look into it bro delphi

vbux is known to have security holes in it ..... That hack is even removed from here because of the holes in it and the author not being active to fix them the only thing i can suggest is get rid of vbux


All times are GMT. The time now is 12:39 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.02214 seconds
  • Memory Usage 2,242KB
  • 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_php_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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