Rusnak PHP Scripts Support Forums

Full Version: Forum Listing Legend v1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
About:

This script allows you to change colors of the Registering dates in the Forum List in the Admin Panel. This is useful because you can change the suspended, expired and normal forums prefix and suffix. For example you make the suspended forums show up black with strikethrough (<s></s>)
and forums that arent activated for X days show up red, but normal forums that are fine with no problems are green.

[Image: tamnua.png]

[Image: 2vci8t3.png]

Features:
+Make forum groups look different from each other

Installation:

NOTE: IF YOU USE THE ANTI-PRUNE MOD THEN YOU DON'T NEED THIS, BUT ANTI-PRUNE MOD v1.2.5 OR ANY HIGHER VERSION


1. Download the .RAR with the link below, extract and upload the files to create > adm

http://www.rusnakweb.com/forum/showthread.php?tid=1148 (Now included with the Auto Prune Mod!)

2. Open create > adm > home.php

Find:

Code:
include ("../mconfig.php");

Add after:

Code:
include ("color.conf.php");
$auto_prune_date = 15; //The amount of days the user has to activate

You can change the 15 in $auto_prune_date to whatever amount of days you like.

Find:
Code:
$fname=mysql_result($result,$i,"fname");
$email1=mysql_result($result,$i,"email");
$regdate=mysql_result($result,$i,"regdate");
$ip=mysql_result($result,$i,"regip");
$email2="mailto:".$email1;
$furl = "http://www.".$fname.".".$dname;

Add after:

Code:
    $regdatenew = legendUse($regdate , $fname, $auto_prune_date, $expired[0], $expired[1], $suspended[0], $suspended[1], $normal[0], $normal[1]);

Find:
Code:
    <td><div align='center'>$regdate</div></td>

Replace with:

Code:
    <td><div align='center'>$regdatenew</div></td>

Save and re-upload.

3. Open create > adm > linksbar.php

Find:

Code:
<p align='left'><b><u><font color = '#52F3FF'>#> Standard Features:</font></u></b></p>

Add after:

Code:
<p align='left'><a href='forumlegend.php' target='main'>Edit Forum Listing Legend</a></p>

Also if you want more features with this, get the Anti-Prune Mod v1.2.5 or higher not this. This is only for the myBB multiforum installations without that mod.

Enjoy and rep Big Grin
Can you fix the link please.
Well, I am having problem downloading the RAR file. I think the file doesn’t exist anymore. You should try uploading it once again. What steps should I do in order to proceed with the Anti-prune method so that I could do the installation without this RAR file? Please do reply!
Reference URL's