276

(9 replies, posted in Feature requests)

http://validator.w3.org doesn't have any problems with it

277

(6 replies, posted in PunBB 1.2 bug reports)

Ataxy wrote:

no the time zone is set right

if the server is hosted in england the admin timezone you want is england, just incase you set the admin timezone to your own

278

(9 replies, posted in Feature requests)

open include/parser.php

line 275:

return '<a href="'.$full_url.'">'.$link.'</a>';

change to

return '<a href="'.$full_url.'" target="_blank">'.$link.'</a>';

line 286:

$img_tag = '<a href="'.$url.'"><'.$lang_common['Image link'].'></a>';

change to

$img_tag = '<a href="'.$url.'" target="_blank"><'.$lang_common['Image link'].'></a>';

279

(10 replies, posted in PunBB 1.2 troubleshooting)

I used to have that problem whenever i hit 50 connections, i switched to a new host and now i never get it smile

280

(3 replies, posted in General discussion)

Hits per Day: 340576
Bandwidth per Day: 1.8GB
Both are averages.

281

(2 replies, posted in PunBB 1.2 bug reports)

Looking at moderate.php now, yea it does look like it should be ok... Always gave me a bad request doing it that way though :\

282

(2 replies, posted in PunBB 1.2 bug reports)

The Ip link in viewtopic.php is wrong, currently it is

moderate.php?get_host='.$cur_post['id'].'

but should be

moderate.php?get_host='.$cur_post['poster_ip'].'

tongue

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

285

(21 replies, posted in PunBB 1.2 show off)

i've disabled the auto delete for abit anyway.

286

(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

288

(21 replies, posted in PunBB 1.2 show off)

score big_smile

289

(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.

291

(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

292

(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("+*********************************************************+");
    }