Just put a margin: auto; to the body tag.

1,202

(3 replies, posted in General discussion)

If you have AutoComplete set to off, it won't save any usernames; so you'll have to type them out.

Delete the board title in main.tpl

1,204

(8 replies, posted in General discussion)

Jansson wrote:

Obviously, he wasn't using any vulnerabilities to access your board. Probably just the script that fetched empty topics in an attempt to slow/bring down the site, or use some bandwidth tongue

Yeah, but how useless it that... if you'd write a script to overload/use bandwidth, wouldn't you load topics with posts? tongue

1,205

(4 replies, posted in PunBB 1.2 troubleshooting)

Err... I can't see much difference between FF2 and IE7 =/

1,206

(6 replies, posted in PunBB 1.2 troubleshooting)

... and yet another reason why you should use phpMyAdmin tongue

No idea now really, it could be that those null/0 values are screwing everything up.

1,207

(6 replies, posted in PunBB 1.2 troubleshooting)

Are you sure the search tables have been created? It could be that the plugin didn't export those.
Just recreate them and rebuild your search index and all should be fine.

The topic says it all really. I want to connect the headset that came with my cellphone to my iPAQ hx2490 PDA, but whenever I try to do so, it says the device is not ready for it or something like that. It works on my cellphone though.

Any ideas? smile Help would be appreciated.

-- Bekko

I suggest you run your site through this: http://www.totalvalidator.com/validator/Validator

When I did it, I got this:

Total errors found:    29 (Core: 3, HTML: 25, Broken Links: 1)
Total warnings found:    12 (HTML: 2, Accessibility: 10)

If you fix those it should be rendering alot better smile

Just open a new MySQL connection without using the PunBB DB layer. Something like this:

$myconn = mysql_connect('bah, you know');
mysql_select_db('DB', $myconn);
// Do some queries here
mysql_close($myconn);

A link would help...

1,212

(3 replies, posted in PunBB 1.2 troubleshooting)

Oh tongue

I fixed it by now, the httpOnly plugin left traces that screwed it up.

1,214

(6 replies, posted in PunBB 1.2 troubleshooting)

Heh. I reinstalled it and then uninstalled it again... and now it works =/ (and the cookie name is punbb_cookie again)

But I think the problem I had logging in was because the cookie name changed and PunBB didn't recognise it.

As long as your have this line in AP_Newsletter.php it should be fine:

$dir = PUN_ROOT."plugins/Newsletters";

Although you can try changing it to

$dir = "Newsletters";

but I don't think that'll work =/

1,216

(3 replies, posted in PunBB 1.2 troubleshooting)

70.103.140.117 = $_GET['get_host'];

There is your problem. PHP thinks you're trying to store a variable value in a number =/ I suppose this should be in an if:

if("70.103.140.117" == $_GET['get_host'];)
// Blabla

1,217

(6 replies, posted in PunBB 1.2 troubleshooting)

I've found a bug with httpOnly in Firefox 2.
Oddly enough, this started to occur after I installed the httpOnly plugin (and continued after I uninstalled it).

Maybe this is a FF2 problem, or maybe this is a PunBB problem, I don't know, but I'd like to see this resolved.

I've tested it on a fresh install of 1.2.14 and can't login with FF2 while IE7 and Opera can =/

Only thing I've noticed as a difference between the cookie in Firefox and Opera is this:
Opera cookie name:

punbb_cookie

FF2 cookie name (even with the httpOnly plugin uninstalled):

"hO_punbb_cookie

OK guys, this is really annoying... help would really be appreciated. It works in IE7, Opera (which all had cookies set before), but not in FF2.

What PHP version are you running?

1,220

(4 replies, posted in PunBB 1.2 troubleshooting)

posts joined with topics should do the trick wink

1,221

(22 replies, posted in PunBB 1.2 discussion)

Maybe the download of the file got corrupted?
Here's the right one:

<IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteRule ^change/email/([0-9]+)/?$ profile.php?action=change_email&id=$1 [L,NC]
    RewriteRule ^change/email/([0-9]+)/([a-zA-Z0-9]+)/?$ profile.php?action=change_email&id=$1&key=$2 [L,NC]
    RewriteRule ^change/password/([0-9]+)/?$ profile.php?action=change_pass&id=$1 [L,NC]
    RewriteRule ^change/password/([0-9]+)/([a-zA-Z0-9]+)/?$ profile.php?action=change_pass&id=$1&key=$2 [L,NC]
    RewriteRule ^delete/([0-9]+)/?$ delete.php?id=$1 [L,NC]
    RewriteRule ^delete/avatar/([0-9]+)/?$ profile.php?action=delete_avatar&id=$1 [L,NC]
    RewriteRule ^edit/([0-9]+)/?$ edit.php?id=$1 [L,NC]
    RewriteRule ^email/([0-9]+)/?$ misc.php?email=$1 [L,NC]
    RewriteRule ^forum/([0-9]+)/?$ viewforum.php?id=$1 [L,NC]
    RewriteRule ^forum/([0-9]+)/page/([0-9]+)/?$ viewforum.php?id=$1&p=$2 [L,NC]
    RewriteRule ^forum/([0-9]+)/rss/?$ extern.php?action=feed&fid=$1&type=rss [L,NC]
    RewriteRule ^forum/([0-9]+)/atom/?$ extern.php?action=feed&fid=$1&type=atom [L,NC]
    RewriteRule ^help/?$ help.php [L,NC]
    RewriteRule ^login/?$ login.php [L,NC]
    RewriteRule ^logout/([0-9]+)/?$ login.php?action=out&id=$1 [L,NC]
    RewriteRule ^mark/read/?$ misc.php?action=markread [L,NC]
    RewriteRule ^new/topic/([0-9]+)/?$ post.php?fid=$1 [L,NC]
    RewriteRule ^new/reply/([0-9]+)/?$ post.php?tid=$1 [L,NC]
    RewriteRule ^new/reply/([0-9]+)/quote/([0-9]+)/?$ post.php?tid=$1&qid=$2 [L,NC]
    RewriteRule ^post/([0-9]+)/?$ viewtopic.php?pid=$1 [L,NC]
    RewriteRule ^post/([0-9]+)/?\#p([0-9]+)$ viewtopic.php?pid=$1#p$2 [L,NC]
    RewriteRule ^register/?$ register.php [L,NC]
    RewriteRule ^report/([0-9]+)/?$ misc.php?report=$1 [L,NC]
    RewriteRule ^request/password/?$ login.php?action=forget [L,NC]
    RewriteRule ^rules/?$ misc.php?action=rules [L,NC]
    RewriteRule ^search/?$ search.php [L,NC]
    RewriteRule ^search/([0-9]+)/?$ search.php?search_id=$1 [L,NC]
    RewriteRule ^search/([0-9]+)/page/([0-9]+)/?$ search.php?search_id=$1&p=$2 [L,NC]
    RewriteRule ^search/new/?$ search.php?action=show_new [L,NC]
    RewriteRule ^search/recent/?$ search.php?action=show_24h [L,NC]
    RewriteRule ^search/unanswered/?$ search.php?action=show_unanswered [L,NC]
    RewriteRule ^search/subscriptions/?$ search.php?action=show_subscriptions [L,NC]
    RewriteRule ^search/user/([0-9]+)/?$ search.php?action=show_user&user_id=$1 [L,NC]
    RewriteRule ^subscribe/([0-9]+)/?$ misc.php?subscribe=$1 [L,NC]
    RewriteRule ^topic/([0-9]+)/?$ viewtopic.php?id=$1 [L,NC]
    RewriteRule ^topic/([0-9]+)/page/([0-9]+)/?$ viewtopic.php?id=$1&p=$2 [L,NC]
    RewriteRule ^topic/([0-9]+)/new/posts/?$ viewtopic.php?id=$1&action=new [L,NC]
    RewriteRule ^topic/([0-9]+)/last/post/?$ viewtopic.php?id=$1&action=last [L,NC]
    RewriteRule ^topic/([0-9]+)/rss/?$ extern.php?action=feed&tid=$1&type=rss [L,NC]
    RewriteRule ^topic/([0-9]+)/atom/?$ extern.php?action=feed&tid=$1&type=atom [L,NC]
    RewriteRule ^unsubscribe/([0-9]+)/?$ misc.php?unsubscribe=$1 [L,NC]
    RewriteRule ^upload/avatar/([0-9]+)/?$ profile.php?action=upload_avatar&id=$1 [L,NC]
    RewriteRule ^user/([0-9]+)/?$ profile.php?id=$1 [L,NC]
    RewriteRule ^user/([0-9]+)/identity/?$ profile.php?section=identity&id=$1 [L,NC]
    RewriteRule ^user/([0-9]+)/setup/?$ profile.php?section=setup&id=$1 [L,NC]
    RewriteRule ^user/([0-9]+)/messaging/?$ profile.php?section=messaging&id=$1 [L,NC]
    RewriteRule ^user/([0-9]+)/signature/?$ profile.php?section=signature&id=$1 [L,NC]
    RewriteRule ^user/([0-9]+)/avatar/?$ profile.php?section=avatar&id=$1 [L,NC]
    RewriteRule ^user/([0-9]+)/display/?$ profile.php?section=display&id=$1 [L,NC]
    RewriteRule ^user/([0-9]+)/admin/?$ profile.php?section=admin&id=$1 [L,NC]
    RewriteRule ^users/?$ userlist.php [L,NC]
    RewriteRule ^users/([0-9\-]+)/([a-z_]+)/([a-zA-Z]+)/(.*?)/page/([0-9]+)/?$ userlist.php?show_group=$1&sort_by=$2&sort_dir=$3&username=$4&p=$5 [L,NC]

</IfModule>

EDIT: I see the update added some extras for the admin inteface:

Isolated the admin interface in it's own folder and added the admin scripts to the SEF URL scheme.

Maybe that's giving a problem with you; the code I posted above is still quite old but works tongue

1,222

(22 replies, posted in PunBB 1.2 discussion)

Worked fine for me =/

Quite cool smile

glucarelli: you should put that in an infinite loop ^^

Are you sure you've put the files in the plugins/newsletter_templates/ folder? (I think that's the one)