3,626

(4 replies, posted in Programming)

it works i just installed it and uncommeted the extension in php.ini for my wampserver (although i ahd to setup a NT user for it as it can't be run by an administrator incase it messes up security i guess)

3,627

(72 replies, posted in PunBB 1.2 discussion)

yeh i was thinking because some mods have a little extra file and it would be much easier if it could just be one "pack"although i realise some mods have to many file that are too big to do that

3,628

(72 replies, posted in PunBB 1.2 discussion)

most people who use this though i guess will use it on a live enviroment... people are not very good at doing local tests and backups and stuff, also in 1.2 it would be very easy to integrate into the admin panel,

couple more ides:
* make a sql command so that more of it can be included in the .pun file?
* dunno if this is a good idea but maybe add a create file so that all of the data can be in the .pun file?

3,629

(72 replies, posted in PunBB 1.2 discussion)

wow, like easymod for phpbb but much much better big_smile,

suggestions:
* for 1.2 this should definatly be a admin plugin
* for now maybe it should check the user is logged in as punbb admin?

3,630

(12 replies, posted in Programming)

you can mess up the print with CSS and you could possibly mess up or make life alot more difficult for people wanting to save it with some javascript by loading the page through javascript and making the javascript only work when run from the intranet address or something similar (i don't really know much about this)

i saw a mod for spellcheck on phpbb that was cool cos it used another website to check the spelling (no need for a massive dictionary file dunno where i put it though)... i'll have a look i was thinking about editing it for punbb for my forum (since i can't spel wink)

set it to .mysite.com for all subdomains or mysite.com for no subdomain

3,633

(5 replies, posted in PunBB 1.2 show off)

looks nice, however watch out the forum selection box in search... maybe make your hidden forums admin/mod only as well to stop them from being shown

3,634

(6 replies, posted in PunBB 1.2 show off)

most auto-responder software has a protection from loops (i tried it before and both accounts got about 3 emails autoreponded then 1 saying the autoresponse was cancelled)

3,635

(3 replies, posted in Programming)

lol k

3,636

(7 replies, posted in PunBB 1.2 show off)

but... its microsoft so a microsoft 2006 probably means 2008 tongue

3,637

(40 replies, posted in PunBB 1.2 troubleshooting)

exit in an include will kill the php return will just end that file

3,638

(40 replies, posted in PunBB 1.2 troubleshooting)

try adding a ; to the end of include('/home/ju37853/forum/extern.php')

3,639

(12 replies, posted in Programming)

also its really really annoying when you want to steal a site and you can't right click tongue

3,640

(3 replies, posted in PunBB 1.2 troubleshooting)

sharing your forum you could either use frames or let them access your database but that would have huge security implications

3,641

(13 replies, posted in PunBB 1.2 troubleshooting)

you can't make up a mysql username you have to use the correct username for your mysql account

3,642

(12 replies, posted in Programming)

you can't and its just annoying for the user so don't, i think you could engineer your css to mess up printed versions if you really wanted too...

3,643

(3 replies, posted in Programming)

try click on the tray icon|mysql|mysql console and a blank password

3,644

(13 replies, posted in PunBB 1.2 troubleshooting)

well the server supports php and mysql or you would get a different error

3,645

(12 replies, posted in Programming)

split $_SERVER["PATH_INFO"] and then do what you want with the variables

edit: some more detail:

<?php
$page = explode("/", $_SERVER['PATH_INFO']);
echo $page[1];
echo "<br>";
echo $page[2];
?>

e.g. index.php/forums/topic123
output:

forums
topic123

3,646

(40 replies, posted in PunBB 1.2 troubleshooting)

thing is if we can see the file theres no reason why the server should get a 403 error :S

3,647

(13 replies, posted in PunBB 1.2 troubleshooting)

your username and or password and or database name for mysql are wrong

3,648

(10 replies, posted in PunBB 1.2 troubleshooting)

www.wampserver.com/ install apache, php5, mysql works really well, has a php4 addon which is extremly cool (one click button to swtich between php4 and 5) also has a perl addon which works... very neat big_smile and no crap

3,649

(12 replies, posted in Programming)

well after testing with phpinfo() for about 30seconds i can guess its
$_SERVER["PATH_INFO"]

_SERVER["REQUEST_URI"]    /exemples/phpinfo.php/a/b/c/d
_SERVER["SCRIPT_NAME"]    /exemples/phpinfo.php
_SERVER["PATH_INFO"]    /a/b/c/d
_SERVER["PATH_TRANSLATED"]    d:\webserver\www\a\b\c\d
_SERVER["PHP_SELF"]    /exemples/phpinfo.php/a/b/c/d

3,650

(7 replies, posted in PunBB 1.2 show off)

looks smooth big_smile