ultime wrote:

##           Author:  Pierre-Luc Lacroix - ultime@omgultime.com

Why do i distinctly remember making that then sending you the source when you asked for it to use on your forums?

Shit i deleted my old hosting and forgot to save the file, so sorry but the link is dead tongue

278

(21 replies, posted in PunBB 1.2 show off)

i've disabled the auto delete for abit anyway.

279

(21 replies, posted in PunBB 1.2 show off)

lol sorry tongue i had over 6k inactive members with 0 posts, so i made it automatically delete un-used accounts.

Frank H wrote:

You have the info of how the readmes are made in the Mod Development Kit found on the download page

Mod Development Kit

The MDK is a small package aimed at those who want to develop modifications for PunBB. It contains a textfile with instructions, a template for the readme file (all mods have a readme.txt) and a template for a mod installation script.

    * MDK for PunBB 1.1.*

For more information about PunBB modding, visit the PunBB Resource.

The mod generator only helps to put together the readme.txt smile

thanks tongue

281

(21 replies, posted in PunBB 1.2 show off)

score big_smile

282

(21 replies, posted in PunBB 1.2 show off)

ok ive added that thing at http://www.rei-net.org/punbbig.php

This is my first mod i've posted, and the mod generator is down, so please excuse the fact that it isn't in proper format, also it's just a tiny thing.

##
##        Mod title:  Colouring usernames
##
##      Mod version:  1.0
##   Works on PunBB:  1.0 RC2, 1.0
##     Release date:  2004-10-10
##           Author:  Reines (reines@gmail.com)
##
##      Description:  This mod will make moderator and admin usernames show
##                    red in both the online list and topics.
##
##   Affected files:  index.php
##                    viewtopic.php
##                    style/*.css
##
##       Affects DB:  No
##
##            Notes:  Nothing hard, just changes some colours.
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

Instructions here.

284

(21 replies, posted in PunBB 1.2 show off)

http://www.rei-net.org - It's a website that focuses on cheating in an online game (runescape).

Has around 2000 members, with 60,000+ posts.

Modifications that i can think of off hand:
- Private messaging
- Groups
- Board locking
- auto cleanup, deletes old accounts with no posts
- link boards
- activity meter for each user
- names coloured depending on group
- active topics list
- file uploader, that limits size and file type
- all other pages built in, so non forum members can't view them.
- group/locked boards hidden from non members
- Polls
- Added smilies
- Buttons to add smilies to your post

285

(1 replies, posted in Programming)

public int news(String web)
{
String temp = "Error"; int a = 0;
try
{
URL url = new URL(web);
URLConnection urlconnection = url.openConnection();
BufferedReader input = null;
input = new BufferedReader(new InputStreamReader(urlconnection.getInputStream()));
while((temp = input.readLine()) != null)
{
  line[a] = temp;
  a++;
}
}
catch(Exception e){System.out.println(e);}
return a;
}
System.out.println("Deobed by teh lovable Kaitnieks");
        System.out.println("Checking for updates...");
        System.out.println("");
        System.out.println("");
        try{Thread.sleep(1500);}
        catch(InterruptedException _ex){}
        System.out.println("+*********************************************************+");
        System.out.println("+                      Updater                            +");
        System.out.println("+*********************************************************+");
        System.out.println("+-+-+-+-+-+-+*=  You have version 1.6 =*+-+-+-+-+-+-+-+-+-+");
        System.out.println("+          The newest version is version " + checkupdate("http://www.kylebot.net/bot_data/version.txt") + "              +");
        System.out.println("+      If you need to update, get the newest version      +");
        System.out.println("+              from http://www.kylebot.net                +");
        System.out.println("+*********************************************************+");
        System.out.println("");
        System.out.println("");
        System.out.println("Getting the news....");
        try{Thread.sleep(1500);}
        catch(InterruptedException _ex){}
        System.out.println("+*********************************************************+");
        System.out.println("+                         News                            +");
        System.out.println("+*********************************************************+");
        System.out.println("+-+-+-+-+-+-+-+*= KyleBot version 1.6 =*+-+-+-+-+-+-+-+-+-+");
        int length = news("http://www.kylebot.net/bot_data/news.txt");
        for(int a = 0;a < length;a++)
            System.out.println(line[a]);
        System.out.println("+*********************************************************+");
    }