Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
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 |
| ||
(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.="< $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 | | | |