401

(68 replies, posted in PunBB 1.2 discussion)

sirena wrote:

The only reason I'd consider removing the copyright and/or 'Powered by punBB' is for 'security by obscurity' reasons.

Browsing the HTML source a little would reveal the bb system your run, just don't show the version number on your forums footer and keep your board always up to date.

402

(7 replies, posted in PunBB 1.2 show off)

Awesome!

I'm not sure what might be the cause but have you updated the base url of the forum in the administration options with the new IP?

because Home is not in the common.php language file
Do this:

$links[] = '<li id="navindex"><a href="index.php">Home</a>';

405

(13 replies, posted in PunBB 1.2 show off)

I like the layout but I find the red too bright

406

(3 replies, posted in PunBB 1.2 show off)

Very nice looking, thumbs up.

407

(2 replies, posted in PunBB 1.2 troubleshooting)

Go in his/her profile then click Administration (in the left vertical menu) and change his/her user group to moderator.

Don't you forget to flag the forums you want him to moderate.

408

(71 replies, posted in News)

Nothing, I just assumed, if he doesn't keep any shame on him. tongue

409

(71 replies, posted in News)

I assume he did the changes manually so he didn't bother to download the new version from the website, therefore his update.php script was actually outdated, probably to 1.2.10.

410

(71 replies, posted in News)

tassoman wrote:

Wouldn't be almost done upgrading option in mysql database, by phpmyadmin? o_O?

That too if you feel more comfortable with PHPmyAdmin.

411

(71 replies, posted in News)

Smartys wrote:

What are you talking about? tongue
Download a copy of PunBB, look in the extras folder, there's a 12_to_1211_update.php file. Upload it to your forum directory, run it, delete it tongue

You lazy tongue

412

(1 replies, posted in Feature requests)

If you take a look at the Show Off forum you'll find many community members who replaced the topic indicators with images, just browse some.

413

(71 replies, posted in News)

tassoman wrote:

How to roll up version from 1.2.10 to 1.2.11 for guyz who edited by hand?

Go to the extras folder in the zip archieve, get the x_to_y_update.php.

Edit line 31 and add '1.2.10' to the array
Edit line 32 and replace with $update_to = '1.2.11';

Upload, run and then remove the script.

414

(7 replies, posted in Feature requests)

elbekko wrote:

He's right though. If you do integration and you put a file into another folder, none of the links work wink

Bless you elbekko, you found the words I missed.

415

(11 replies, posted in PunBB 1.2 show off)

Powered by PunBB.org and PunRes.org (assuming that you got the mods from it)?

416

(7 replies, posted in Feature requests)

Not really a feature request, just a syntax change.

I ask if it's possible for Rickard to add the PUN_ROOT string before of every link

like this:

$links[] = '<li id="navuserlist"><a href="'.PUN_ROOT.'userlist.php">'.$lang_common['User list'].'</a>';

Purpose of this is making easier for modders to include new pages changing PUN_ROOT.

PUN_ROOT should be added to all the links into functions.php and in the stylesheet link syntax in the header.php and the functions.php, like this:

<link rel="stylesheet" type="text/css" href="<?php echo PUN_ROOT; ?>style/<?php echo $pun_user['style'].'.css' ?>" />

I know I've been messy, I hope you got it.

Thanks in advance.

417

(9 replies, posted in PunBB 1.2 troubleshooting)

Since Guests posts are not counted try this

        $rank_pips = "";
        if($cur_post['num_posts'] > 1000) { $num_pips = 10; }
        elseif($cur_post['num_posts'] > 600) { $num_pips = 9; }
        elseif($cur_post['num_posts'] > 450) { $num_pips = 8; }
        elseif($cur_post['num_posts'] > 300) { $num_pips = 7; }
        elseif($cur_post['num_posts'] > 225) { $num_pips = 6; }
        elseif($cur_post['num_posts'] > 150) { $num_pips = 5; }
        elseif($cur_post['num_posts'] > 100) { $num_pips = 4; }
        elseif($cur_post['num_posts'] > 65) { $num_pips = 3; }
        elseif($cur_post['num_posts'] > 25) { $num_pips = 2; }
        elseif($cur_post['num_posts'] > 0)  { $num_pips = 1; }

418

(9 replies, posted in PunBB 1.2 troubleshooting)

Hard to tell without some piece of code, where did you add the stars?

Anyhow you probably have to exclude users that have id 1.

You can always download the package from this site.

dirkx wrote:

Where can I find the script?

In the zip package.

421

(9 replies, posted in General discussion)

You're welcome.

422

(9 replies, posted in General discussion)

I absolutely have no idea why those comments return an error, try removing them, if you need them try <?php //comment ?>

423

(9 replies, posted in General discussion)

ameenullah wrote:

if the problem is with header, then i should get error in all the pages know. But I am getting this error in few pages only.. and the space in the Header is ok. Coz i removed the image below that. If not i have to upload the image and all...

Post the code of a page with the problem and one without the problem

ameenullah wrote:

Regarding Meta Tags, we usually use META in html pages. i think it ll not affect the page / code.

Do you think that, it will have some impact on the code?

No it will only make the page not HTML valid.

424

(9 replies, posted in General discussion)

I think the issue is the <br style="line-height:56px "> in your header, it's some space.
No you don't have to change the Doctype, you used HTML 4.01 I used XHTML 1.1, they are simply different.


EDIT: On a second look you mixed up HTML and XHTML, if you want to go for HTML you have to remove the /> from your Meta tags, replacing it with a simple >.
Otherwise if you want to go for XHTML change the doctype, turn the meta tags to lower case (from META to meta) and close the <br> tag (to br />).

425

(9 replies, posted in General discussion)

I always go like this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html dir="ltr">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en-us" />
<meta name="author" content="" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<style type="text/css">
</style>
</head>
<body>
<?php if(!isset($page)){include "home.php";}else{include "$page.php";}?>
</body>
</html>

Your links must look like

<a href="index.php?page=aboutme">About Me</a>

And the "About Me" page should be aboutme.php
The URL would look like http://./index.php?page=aboutme
if page is not set it automatically included home.php (you can change to wheter you like as long as you change the PHP syntax).

This creates no blank spaces.