Welcome, Guest. Please Login or Register.
April 27, 2025, 08:07:54 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [DONE 1.4.0] Mute users mod v1.3 « previous next »
Pages: 1 2 3 [4] 5 6 Reply Ignore Print
Author Topic: [DONE 1.4.0] Mute users mod v1.3  (Read 12423 times)
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[DONE] Mute users mod
« Reply #45 on: April 30, 2002, 02:34:17 PM »
Reply with quote

Glad to hear it!
Thanks for the compliment, I'll make that update when I get home tonight to tell them that their muted around their PMs
Logged
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[DONE] Mute users mod
« Reply #46 on: April 30, 2002, 08:14:00 PM »
Reply with quote

There we go, uninstall the mod, and apply the new one (re-download from link.)
Just add in a <yabb mute> wherever (in your template) (don't put a <BR> in front of it though, that'd make a mess  when their not muted.


Or of course if  you don't want them to be directly told that their muted, just don't put in <yabb mute>
« Last Edit: April 30, 2002, 08:23:53 PM by Anonymous Jedi » Logged
Lonestar
Jr. Member
**
Posts: 87


SchwartzMaster

ICQ - 57595208 WWW
Re:[DONE] Mute users mod
« Reply #47 on: May 01, 2002, 01:30:41 AM »
Reply with quote

Wow thats great. But after installing it on 3 boards, i think ill hang on to this one mod and in a few days apply the new one.
Logged

Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[DONE] Mute users mod
« Reply #48 on: May 01, 2002, 10:23:17 AM »
Reply with quote

It's completley optional, no bug fixes in it ;)
Logged
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[DONE][UPDATED][YSE1.4] Mute users mod
« Reply #49 on: June 08, 2002, 11:11:26 AM »
Reply with quote

Please see first post for update. It now works with YaBBSE 1.4 and includes 1 bug fix.
Logged
KenTeamBG
Jr. Member
**
Posts: 74


TeamBG rules!!!

WWW
Re:[DONE][UPDATED][YSE1.4] Mute users mod
« Reply #50 on: June 28, 2002, 10:58:07 PM »
Reply with quote

Uhhh...I dunno if everyone is having probs or not...but the link in post #1 of this topic has the WRONG LINK!

hehe

---UPDATE---

Thanks for fixing that link, Jedi~!!

 :P  ;D

« Last Edit: June 29, 2002, 07:41:38 AM by KenTeamBG » Logged

Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[DONE][UPDATED][YSE1.4] Mute users mod
« Reply #51 on: June 29, 2002, 03:16:39 AM »
Reply with quote

Oops  :-[ :P
Logged
Behr
Noobie
*
Posts: 43


Re:[DONE][UPDATED][YSE1.4] Mute users mod
« Reply #52 on: July 02, 2002, 01:19:34 AM »
Reply with quote

i applied the mod manually n php admin for dbmod ...
 ??? but i get this error ...

Parse error: parse  error     /httpdocs/yabb/Sources/MessageIndex.php on line 41

Messageindex.php
------------------------

$messageindexplver="YaBB SE 1.4.0";


function MessageIndex (){
   global $view,$maxdisplay,$showmarkread,$img,$maxmessagedisplay,$menusep,$currentboard,$realNames;
   global $imagesdir,$censored,$username,$user,$pageindex,$mbname,$txt,$ShowBDescrip,$color,$scripturl;
   global $curposlinks,$cgi,$yytitle,$settings,$start,$modSettings,$viewResults,$ID_MEMBER,$db_prefix;
   global $mutetxt, $muteduser, $muteuser;
        $muteresult = mysql_query("SELECT muteduser FROM {$db_prefix}members WHERE (memberName = '$username')");
   $muteuser = mysql_fetch_row($muteresult)
   
   // Get the board and category information
line 41 =    $result = mysql_query("SELECT b.name,b.description,b.moderators,c.name,b.ID_CAT,c.memberGroups,b.isAnnouncement FROM {$db_prefix}boards as b,{$db_prefix}categories as c WHERE (b.ID_BOARD=$currentboard && b.ID_CAT=c.ID_CAT)");


where am i going wrong?
 :-X ... oops that is so stupid .... thank you dude
« Last Edit: July 03, 2002, 12:59:43 AM by Behr » Logged
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[DONE][UPDATED][YSE1.4] Mute users mod
« Reply #53 on: July 02, 2002, 04:23:47 AM »
Reply with quote

$muteuser = mysql_fetch_row($muteresult)
Should be:
$muteuser = mysql_fetch_row($muteresult);
Logged
-Tom-
Noobie
*
Posts: 40


YaBB loves me !

ICQ - 55606046tom@verboon.net
Re:[DONE][UPDATED][YSE1.4] Mute users mod
« Reply #54 on: July 04, 2002, 12:23:14 PM »
Reply with quote

I got this error:
I installed it manually with boardmod because otherwise he couldn't find a string  >:(
could you tell me where i made a fault ???

2: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
(/home3/cldforum/public_html/cgi-bin/yabbse/Sources/Profile.php ln 42)

Can you also give me the database string to add, because i can't open the dbmod.php...
« Last Edit: July 04, 2002, 02:26:18 PM by -Tom- » Logged

Greetz,
Tom

--Nederlander in hart en nieren!---
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[DONE][UPDATED][YSE1.4] Mute users mod
« Reply #55 on: July 04, 2002, 04:14:37 PM »
Reply with quote

Your fault is not running the query which would be:
ALTER TABLE {$db_prefix}members ADD muteduser TINYINT(4) DEFAULT '0' NOT NULL;[quote][/quote]

Replace {$db_prefix} with the db prefix you used to install.
Logged
-Tom-
Noobie
*
Posts: 40


YaBB loves me !

ICQ - 55606046tom@verboon.net
Re:[DONE][UPDATED][YSE1.4] Mute users mod
« Reply #56 on: July 04, 2002, 05:13:41 PM »
Reply with quote

Thanks...  but now i have one more problem  ::) that's this error:
Parse error: parse error, unexpected '}' in /XXXXXXXX/Display.php on line 672
Do you know this problem??
Ask it, when you need the Display.php file  8)
Logged

Greetz,
Tom

--Nederlander in hart en nieren!---
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[DONE][UPDATED][YSE1.4] Mute users mod
« Reply #57 on: July 05, 2002, 02:15:01 AM »
Reply with quote

Give me that line and about 7 lines above and below it plz.
Logged
-Tom-
Noobie
*
Posts: 40


YaBB loves me !

ICQ - 55606046tom@verboon.net
Re:[DONE][UPDATED][YSE1.4] Mute users mod
« Reply #58 on: July 05, 2002, 08:01:19 AM »
Reply with quote

Here you can find the whole file:
http://home.kabelfoon.nl/~anhetoda/Display.txt
Logged

Greetz,
Tom

--Nederlander in hart en nieren!---
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:[DONE][UPDATED][YSE1.4] Mute users mod
« Reply #59 on: July 06, 2002, 02:11:46 AM »
Reply with quote

Thanks, that's really what I asked, I'm sure I want to spend my time counting 670 lines down.

Considering your Display.php is only 680 lines, I'd say you forgot a ", }, or a ) somewhere, there is no way to tell what you forgot, what version of boardmod couldn't find a new string? I hate 2.5.1, please use 2.5 and tell what string it couldn't find.
« Last Edit: July 06, 2002, 02:12:35 AM by Jedi~ » Logged
Pages: 1 2 3 [4] 5 6 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [DONE 1.4.0] Mute users mod v1.3 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.030 seconds with 16 queries.