The IDs are defined in common.php, but you will need to shift the ids in the groups table too.

202

(19 replies, posted in PunBB 1.2 show off)

KCEOH wrote:

and what about security? wink XSS ? SQL inj ? wink

Code Syntax colouring - may see source of this mod ?

As far as im aware most of the modding is pretty secure.

The syntax mod is one i found on punres (http://punres.org/desc.php?pid=48) however it has afew bugs in it (eg. if you don't supply a language it doesn't parse the code at all), so i currently don't have it installed.

203

(19 replies, posted in PunBB 1.2 show off)

sPuD wrote:

Looks nice smile

Did you pay for advertising or something? How so many hits after just a few weeks?

Managed a drag a bunch of users from my old site over to this one (:

Moving posts, bottom left when reading it.

Delete the styles you don't want to be avaliable (in styles/ and styles/imports/ ).

205

(6 replies, posted in PunBB 1.2 discussion)

Let me know if you want any help keeping it up-to-date.

<?php

define('PUN_ROOT', './');
include PUN_ROOT.'include/common.php';

/*
 * Whatever shit you want before the <pun_status> goes here.
 */

if ($pun_user['is_guest'])
    $tpl_temp = '<div id="brdwelcome" class="inbox">'."\n\t\t\t".'<p>'.$lang_common['Not logged in'].'</p>'."\n\t\t".'</div>';
else
{
    $tpl_temp = '<div id="brdwelcome" class="inbox">'."\n\t\t\t".'<ul class="conl">'."\n\t\t\t\t".'<li>'.$lang_common['Logged in as'].' <strong>'.pun_htmlspecialchars($pun_user['username']).'</strong></li>'."\n\t\t\t\t".'<li>'.$lang_common['Last visit'].': '.format_time($pun_user['last_visit']).'</li>';

    if ($pun_user['g_id'] < PUN_GUEST)
    {
        $result_header = $db->query('SELECT COUNT(id) FROM '.$db->prefix.'reports WHERE zapped IS NULL') or error('Unable to fetch reports info', __FILE__, __LINE__, $db->error());

        if ($db->result($result_header))
            $tpl_temp .= "\n\t\t\t\t".'<li class="reportlink"><strong><a href="admin_reports.php">There are new reports</a></strong></li>';

        if ($pun_config['o_maintenance'] == '1')
            $tpl_temp .= "\n\t\t\t\t".'<li class="maintenancelink"><strong><a href="admin_options.php#maintenance">Maintenance mode is enabled!</a></strong></li>';
    }

    $tpl_temp .= "\n\t\t\t".'</ul>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
}

echo $tpl_temp;

/*
 * Whatever shit you want after the <pun_status> goes here.
 */

$db->close();

?>

207

(1 replies, posted in PunBB 1.2 show off)

Nice layout

Notch wrote:

when you apply any patch that Fantastico puts out for phpBB

phpBB bring out new updates? Goodluck on that one.

209

(21 replies, posted in PunBB 1.2 show off)

nicholas89 wrote:

thats a nice site, i also have a rs site, kinda new one www.runescapehut.com

you were the creator of reinet.co.uk right?

Well done you bumped up a topic that is over a year old.

Yes reinet.co.uk was mine too.

210

(19 replies, posted in PunBB 1.2 show off)

bump damnit tongue

211

(9 replies, posted in PunBB 1.2 troubleshooting)

druidk wrote:

OK, got You.

But maybe it's worth to right a kind of warning while banning, to avoid such situations as mine smile.

Or just don't ban yourself tongue

212

(2 replies, posted in PunBB 1.2 troubleshooting)

There is, check admin_groups.php. You can set a time limit between posts for different groups.

Not sure if its what your looking for, but im sure it could be changed slightly to suit your needs.

http://www.punres.org/viewtopic.php?id=292

Im pretty sure there is a mod for global topics, or something similar to this.

215

(6 replies, posted in PunBB 1.2 discussion)

Is PunBBig still alive? I noticed it hasn't been updated in a long time, and my submission and posts there have not been looked at (in over 2 weeks).

It also seems to have alot of sites still in its list, and still with high growth rates etc... that no longer exist. How can a non existant site still be parsed and give a growth rate?

If your grading from 1.1.* to 1.2.* you will need to scrap your modifications and start from a proper install pretty much. There are way to many changes to patch it.

Only admins can change usernames.

Give them different names.

219

(2 replies, posted in Programming)

trigun0x2 wrote:

I already made a few!

Samples of what you have made already? Also making an MMORPG is not a small task, i think chances of having had time to have made more than one in the past, and wanting to make more are very unlikely...

220

(23 replies, posted in General discussion)

http://www.stealingyour.info/misc/photos/magaluf/Us.jpg
Photo of me and my girl from our holiday in spain (sorry its abit dark, i suck at photography tongue)

221

(2 replies, posted in PunBB 1.2 discussion)

In parser.php find

$text = preg_replace('#([\s\(\)])(https?|ftp|news){1}://([\w\-]+\.([\w\-]+\.)*[\w]+(:[0-9]+)?(/[^"\s\(\)<\[]*)?)#ie', '\'$1\'.handle_url_tag(\'$2://$3\')', $text);

and replace it with

$text = preg_replace('#([\s\(\)])(https?|ftp|news|ed2k){1}://([\w\-]+\.([\w\-]+\.)*[\w]+(:[0-9]+)?(/[^"\s\(\)<\[]*)?)#ie', '\'$1\'.handle_url_tag(\'$2://$3\')', $text);

222

(10 replies, posted in General discussion)

I didn't say anything about them being special? I just called it an RS community because its for the game RS, just like you would call a community for Warcraft a Warcraft community.

chmod the cache folder to 777.

Enter them then?

wtf? Follow the instructions on the install script, it isn't hard? :s