edit viewtopic.php
go to line 373
infront of <ul class="bblinks"> add <!--
go to line 377
after </ul> add -->
save and close file

edit edit.php
go to line 212
infront of <ul class="bblinks"> add <!--
go to line 216
after </ul> add -->
save and close file

edit post.php
go to line 495
infront of <ul class="bblinks"> add <!--
go to line 499
after </ul> add -->
save and close file

I added a download link to the above post if anyones interested, I did it quickly so forgive the sloppiness(I just pasted the html and it wrapped oddly which I didn't fix =P )

it seems squished at smaller resolutions

http://img208.imageshack.us/img208/8644/skidoo1lr7.th.gif
http://img205.imageshack.us/img205/4779/skidoo2di5.th.gif

Download-Link:    changed_files.zip

4

(12 replies, posted in Programming)

a great introduction to Ajax
Mastering Ajax, Part 1: Introduction to Ajax
Mastering Ajax, Part 2: Make asynchronous requests with JavaScript and Ajax
Mastering Ajax, Part 3: Advanced requests and responses in Ajax
Mastering Ajax, Part 4: Exploiting DOM for Web response
Mastering Ajax, Part 5: Manipulate the DOM

5

(8 replies, posted in PunBB 1.2 troubleshooting)

from searching I came up with this

alter table tablename default collate utf8_general_ci;

6

(4 replies, posted in Programming)

it's for the one you gave the link to in the other thread

7

(4 replies, posted in Programming)

use this database

hxxp://rapidshare.de/files/27998420/mod_files.zip.html

it's enough to get the forum viewable so you can do as you said style it
it has some bugs but IMO anymore time I spend on it is a waste of time so feel free to fix the errors on your own

Smartys wrote:
prozente wrote:

keep in mind if you aren't paying for a dedicated server then you are sharing the server with other sites, that means you are sharing MySQL/Apache etc, which means another site can be maxing out the limit the host has set

No, that limit is per MySQL account: if he's using the same MySQL account as other people he has bigger issues tongue

oops, sorry I was thinking of the max_connections option and completely forgot about the max_user_connections

so yes the host is purposely doing this and telling you otherwise

on most servers you will have read access to /etc/my.cnf unless you're chroot'd
you can try this script to see what they have the limit set to

<pre><?php
error_reporting(E_ALL);

if (!function_exists("file_get_contents")) {
    function file_get_contents($filename){
        $handle = fopen($filename, "r");
        $retval = fread($handle, filesize($filename));
        fclose($handle);
        return $retval;
    }
}

echo file_get_contents('/etc/my.cnf');

?></pre>

9

(68 replies, posted in PunBB 1.2 troubleshooting)

I didn't know that, thanks for the info I'm a fan of Debian, RH and Fedora myself, anyway good luck

10

(68 replies, posted in PunBB 1.2 troubleshooting)

if it was a livecd then you wouldn't be able to make changes to the db

11

(68 replies, posted in PunBB 1.2 troubleshooting)

lighttpd has a linux version as well

http://www.lighttpd.net/download/

12

(68 replies, posted in PunBB 1.2 troubleshooting)

it's a light web server with php support so if you can do it on a regular web server you can do it on this
if you need to edit the db like you would with phpMyAdmin you can use

http://prdownloads.sourceforge.net/sqli … p?download  (the older 1.1 version is required)
or you can use
http://sourceforge.net/projects/sqlitemanager/

it's not a folder it's a file
its location is
C:\lighttpd\htdocs\database

13

(68 replies, posted in PunBB 1.2 troubleshooting)

quaker wrote:

so simple copy and past to the htdoc let it use the config.php from the old stuff?

keep the config.php that is already in the htdoc, then just apply the mod

the existing config.php is setup with a local sqlite db so no MySQL server is needed
just make sure the file htdocs\database and htdocs\config.php is left alone
and if you want to make a backup of the db alls you do is make a copy of htdocs\database

14

(68 replies, posted in PunBB 1.2 troubleshooting)

the db is already setup, it's using sqlite

15

(68 replies, posted in PunBB 1.2 troubleshooting)

quaker wrote:

there a mini portal out there called frontpage..

http://www.punres.org/files.php?pid=78
how can i make a localhost mod liek you did with frontpage?

go to C:\lighttpd\htdocs and apply the mod to the source then zip up the folder C:\lighttpd and turn it into a self extracting archive set to extract to the c drive

16

(68 replies, posted in PunBB 1.2 troubleshooting)

could you be more specific quaker, I don't understand what you mean
do you mean how you can add the mini portal mod to this local install?

17

(68 replies, posted in PunBB 1.2 troubleshooting)

if you would like the easy way here you go

http://rapidshare.de/files/27857788/lighttpd.exe.html

it's a self extracting archive, so the steps are as follows
click the link, click free, wait 30 seconds for it to reserve a download slot, enter the confirm code it gives you
next the download will start, save it to your desktop, after it finishes downloading
go to your desktop and double click the icon labeled lighttpd
then click unzip, click ok then close
now go to my computer then open up the c drive
double click the folder lighttpd
next double click the icon labeled start-lighttpd
wait about 5 seconds then open your browser(internet explorer, firefox, opera, lynx, etc)
in the address bar type
http://localhost
hit enter
now click login
username: admin
password: password
and your logged into the admin account for punbb and you're done

( also only 5.10MB compressed, 12.1MB uncompressed tongue )

keep in mind if you aren't paying for a dedicated server then you are sharing the server with other sites, that means you are sharing MySQL/Apache etc, which means another site can be maxing out the limit the host has set

19

(10 replies, posted in Programming)

I would recommend learning PHP4 then go to the OOP after the fact, there are times you'll want to stay compatible with PHP4 that is if what you're making is going to be distributed

I would first recommend reading the PHP Manual, it's free and it has a good deal of example code, it's the only resource I used for learning PHP

http://www.php.net/download-docs.php

the chm version makes searching more convenient, they also have a Swedish version smile

20

(15 replies, posted in General discussion)

MadHatter wrote:

fixing all the xhtml bugs will require a lot of editing of stuff stored in the db (from all the source code & snippets I've posted where I didnt run it through an html encoding.

it seems that opera doesnt follow the right:10px like everybody else does (I've looked at screen shots of the site on http://v03.browsershots.org/ site that somebody linked to here the other day) and so far every other browser renders it the same (minding the "right:" style).

I don't think I was clear, the problem is your width property for the content section in the CSS has no effect, delete the line and you will see the browsers will look the same as if it was still there, this is because you have it set to inherit which it has nothing to inherit from so it renders the property useless, set the property to a valid value (such as a %)and the problem will be resolved

21

(15 replies, posted in General discussion)

you should validate your page, I made a copy and went through and validated it you have many many errors which even if they aren't causing the problem would be good to fix, the problem looks like you have your width for content set to inherit, which it has nothing to inherit from other than body which doesn't have anything set, so the CSS rule is pretty much doing nothing, if you comment it out you would see the page looks the same in all the browsers, that should get you on the right track.

22

(2 replies, posted in PunBB 1.2 discussion)

should be trivial to do, if you know php, using this class will help greatly http://adldap.sourceforge.net/

23

(99 replies, posted in Programming)

SciTE && Nvu