The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#222
|
|||
|
|||
![]() Quote:
I see the templates in Style Manager of Admincp. What puzzles me where the link ought to be? Shouldn't I have to edit the Forumhome templates? Also in Admincp there's isn't any Warning system link, so it seems v.1.0 installer (found in Warning_System.zip) doesn't install everything correctly? I thank antecipately any help. |
#223
|
||||
|
||||
![]()
It's a great hack..... But the fact that the 'warn (user)' and 'view (user)'s warnings' links are visible for anyone (instead of only the ones that are allowed to warn) makes it a bit messy.
I would also welcome it when you could select in the control panel what usergroups in what forums can warn users. |
#224
|
|||
|
|||
![]() Quote:
![]() |
#225
|
||||
|
||||
![]()
You're welcome Tayeb.
Make sure you read the other posts TCB especially sv1cec, it's not as easy as just running an installer, but it's not hard to do. I'm not a coder at all, but just reading and experimenting will give you the result you want. This post seems to be the most important one for you. It did help me a lot https://vborg.vbsupport.ru/showpost....&postcount=192 His code only allows moderators to warn user in their own forum, and admins being global mods in all forums. Not really my business, but I think you want to give this only to moderators/supmods. You risk a civil war on your site when people who are not staffmembers can warn. If you need it, just edit the code from sv1cec: HTML Code:
<if condition="$post[usergroupid]!=6 AND $post[usergroupid]!=7 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])"><a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[username]</a> ? </if> HTML Code:
<if condition="$post[usergroupid]!=6 AND $post[usergroupid]!=7 AND ($bbuserinfo[userid]== 10 OR can_moderate($forum[forumid], '', $bbuserinfo[userid]))"><a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[username]</a> ? </if> |
#226
|
||||
|
||||
![]()
Tayeb, upgrade 1.5 has extra install instructions too. Need to update the SQL database by running a query and have to edit a file.
|
#227
|
||||
|
||||
![]()
And a suggestion for v2.0 of this great hack.
It forces sending a PM, very good thinking here. But it's possible that the user disabled (accidentely or not) the message system. It's luck if he sees the message then. It would be nice if it did also forcefully sent an e-mail. sv1cec's code -^ will allow staff and warned members to check their status which also includes the PM. I added a flag in the forumview that will notify staff and warned members instantly: In Postbit (or legacy) find: HTML Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div> HTML Code:
<if condition="$post[warning_level]>=3 OR $bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==6 OR ($post[userid]==$bbuserinfo[userid] AND $post[warning_level]>0)"><BR>Warn Level: $post[warning_level]</if> HTML Code:
<if condition="$post[warning_level]>=3 OR (($bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==6 OR $post[userid]==$bbuserinfo[userid]) AND $post[warning_level]>0)"><BR>Warn Level: $post[warning_level]</if> I also updated the moderator comments in Warn_AddWarn template to get a larger box for composing the PM: HTML Code:
Moderator Comments:</td> <td class="alt2"><textarea name="comment" rows=10 cols=50 class="bginput"> </textarea> </td> </tr> ![]() |
#228
|
|||
|
|||
![]() Quote:
![]() |
#229
|
||||
|
||||
![]()
Just posting here so Ill get an update when V2 is out... Will wait for it before I install.
![]() |
#230
|
|||
|
|||
![]()
Database error in vBulletin 3.0.1:
Invalid SQL: CREATE TABLE `warnings` ( `wid` int(15) NOT NULL auto_increment, `warned_user` int(15) NOT NULL default '0', `warned_by` int(15) NOT NULL default '0', `warned_time` int(15) NOT NULL default '0', `warned_reason` text NOT NULL, `warned_post` int(15) NOT NULL default '0', `warned_warning_id` int(15) NOT NULL default '0', PRIMARY KEY (`wid`) ) TYPE=MyISAM; mysql error: Table 'warnings' already exists mysql error number: 1050 Date: Sunday 05th of September 2004 10:55:20 AM Script: http://xxxxx/forum/admincp/install_warn.php Referer: http://xxxxx/forum/admincp/install_warn.php Username: Blaminator IP Address: xxxxxxxx help |
#231
|
||||
|
||||
![]()
Zero Tolerance I have one problem with the hack, maybe you or another member can help
OK the hack is GREAT but lets say the member DOES NOT post but just sends a PM, there is no way you can add a warning for them ![]() Is there a way we can include this? Thanks for any help on this. Snowy |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|