The only thing you'll have to do to complete the setup is make a config file (contents are given at end of install)  wink

2,277

(3 replies, posted in PunBB 1.2 discussion)

extarn.php with the news extension wink

2,278

(21 replies, posted in Programming)

I've seen it random like that on my site too.

2,279

(21 replies, posted in Programming)

That's google doing it wink

2,280

(7 replies, posted in PunBB 1.2 show off)

Better just replace it with

// START SUBST - <pun_title>
$tpl_main = str_replace('<pun_title>', '', $tpl_main);
// END SUBST - <pun_title>

2,281

(29 replies, posted in PunBB 1.2 show off)

Lol, I make so much changes it would kill our bancdwith =/ So I'll just try without PunBB tongue

2,282

(29 replies, posted in PunBB 1.2 show off)

I can try =/ Too bad I just reinstalled and can't get MySQL to work => so no PunBB sad

2,283

(7 replies, posted in PunBB 1.2 show off)

Yay, metal big_smile

You'd have to look in header.php and change the part where <pun_title> and <pun_desc> are replaced wink

Smartys: it was on request of quaker wink

2,285

(29 replies, posted in PunBB 1.2 show off)

Oh right, I tested it on windows, where there are no filesystem restrictions =/

And for the request... that harder tongue

##
##
##        Mod title:  Log Forum Activity
##
##      Mod version:  1.2
##   Works on PunBB:  Should work on every version
##     Release date:  2006-04-16
##           Author:  El Bekko (elbekko@gmail.com)
##
##      Description:  Allows you to log all visiting users
##              to a text file. To spare your server,
##              it logs only every 10 seconds.
##
##     Difference with  
## previous version:  Now saves into DB with option to download in txt form
##
##   Affected files:  include/common.php
##                    
##       Affects DB:  Yes
##
##            Notes:  May give a huge server load on large forums
##
##       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.
##
##

Download

2,287

(29 replies, posted in PunBB 1.2 show off)

Quaker: http://www.punres.org/viewtopic.php?id=1327 big_smile

2,288

(5 replies, posted in PunBB 1.2 troubleshooting)

Err... post.php maybe?

2,289

(5 replies, posted in PunBB 1.2 troubleshooting)

Go over the readme again and see if you missed something smile

Thx alot, I hope it works big_smile

Hey guys,

I just put my old computer back together for my dad. We were planning on putting Linux on it.
He wants to be able to run the Sybase ASE server (as he's a Sybase DBA), mainly for his work. So he looked at the Sybase site to check which Linux distros were recommended. Turned out it was Red Hat Enterprise ($350), Turbo Linux Server (not free), Red Flag Server (not free either) and SuSe Enterprise 10 (very costly).
I think this just goes against about everything open-source stands for, asking money for it =/

EDIT: Can anybody suggest an alternative

It'd be of great help big_smile

-- Bekko

2,292

(2 replies, posted in PunBB 1.2 troubleshooting)

Hey all,

When I try to connect to MySQL on my recently installed Mandriva Linux 2006 it gives me this error:

MySQL wrote:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Does anyone know where I can configure it?

Thanks,

-- Bekko

2,293

(29 replies, posted in PunBB 1.2 show off)

That's most likely your IP then. Err... I'll look into it when I can access my dev machine tongue

2,294

(29 replies, posted in PunBB 1.2 show off)

Click on Browse and you'll see everything that's stored in it smile

2,295

(29 replies, posted in PunBB 1.2 show off)

Think so yes. Do you have phpMyAdmin? Then check the online table smile

2,296

(29 replies, posted in PunBB 1.2 show off)

IPs are inserted in the DB for everyone who's online. A plugin to view that would be quite easy then smile

2,297

(29 replies, posted in PunBB 1.2 show off)

Seems I forgot something tongue

Change

$result = $db->query('SELECT u.id, u.username, u.use_avatar, u.title, u.num_posts, u.registered, u.jabber, g.g_id, g.g_user_title, g.g_title FROM '.$db->prefix.'users AS u LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id WHERE u.id>1'.(!empty($where_sql) ? ' AND '.implode(' AND ', $where_sql) : '').' ORDER BY '.$sort_by.' '.$sort_dir.' LIMIT '.$start_from.', 50') or error('Unable to fetch user list', __FILE__, __LINE__, $db->error());

to

$result = $db->query('SELECT u.id, u.username, u.use_avatar, u.title, u.num_posts, u.registered, u.jabber, g.g_id, g.g_user_title, g.g_title FROM '.$db->prefix.'users AS u LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id WHERE u.id>1'.(!empty($where_sql) ? ' AND '.implode(' AND ', $where_sql) : '').' ORDER BY '.$sort_by.' '.$sort_dir.' LIMIT '.$start_from.', 10') or error('Unable to fetch user list', __FILE__, __LINE__, $db->error());

The parser isn't included in common.php, so you still have to do it seperately wink

2,299

(18 replies, posted in Feature requests)

Commenting is embracing the code with /* */ or put // in front pf the code smile

And to clean, I forgot the command =/

True, but the current code doesn't allow that sorting I think =/ It just reads it in the order of your stylesheets.