Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Acmlmboard support?.
Acmlm's Board - I2 Archive - Acmlmboard support? - how to fix the local mod problem on index.php | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
ExKeeper

Bullet Bill
Level: 31

Posts: 509/512
EXP: 180084
For next: 5279

Since: 03-05-05
From: Riiight ^

Since last post: 1 day
Last activity: 6 hours
Posted on 10-17-05 04:19 PM Link | Quote
(I hope this wasn't posted before)
Some people may have noticed that not all their local moderators show up on index.php, I figured out how to fix it, here is how:

in index.php, find if($cat=='' or $cat==$category[id])

add under it:


$md=0;
$lmodlst="";
$localmodq=mysql_query("SELECT * FROM forummods WHERE forum=$forum[id]");
while($forummod=mysql_fetch_array($localmodq)){
$lmoduser=mysql_fetch_array(mysql_query("SELECT * FROM users WHERE id=$forummod[user]"));
$lmodnc=getnamecolor($lmoduser[sex],$lmoduser[powerlevel]);
if($md) $lmodlst.=", ";
$lmodlst.="<a href=profile.php?id=$lmoduser[id]><font $lmodnc>$lmoduser[name]</font></a>";
$md=1;
}
if($lmodlst) $modlist="(Moderated by: $lmodlst)";


[EDIT]I had an error with that one, update it now if you already used it
[EDIT2]ANOTHER ERROR, FIXED


(edited by smwedit on 10-18-05 07:27 AM)
(edited by smwedit on 10-18-05 07:28 AM)
(edited by smwedit on 10-18-05 07:28 AM)
(edited by smwedit on 10-18-05 07:29 AM)
(edited by smwedit on 10-18-05 07:26 PM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Acmlmboard support? - how to fix the local mod problem on index.php | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.007 seconds.