226

(7 replies, posted in Feature requests)

Yep, all you have to do is allowing the flash MIME (which I ignore which is) to the profile.php in the line

$allowed_types = array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/png', 'image/x-png');

It's 347 in my profile.php, I might have modded it but I can't remember.

Papillon wrote:

I think that you're officially not following big_smile

Agreed. Sorry for that.

Papillon wrote:

And it WORKS!

Hallelujah!

I can't understand a word in that discussion but a link to your forum might be useful.

229

(2 replies, posted in PunBB 1.2 troubleshooting)

I doubt there's much need of a modification. Check was pool mod file handles the compatibility and add 1.2.15 to the versions list.

Odd, try this

div#brdstats dl#conl dd a:link, div#brdstats dl#conl dd a:visited {text-decoration: none;}

Oops

dl#onlinelist dd a:link, dl#onlinelist dd a:visited, 
dl#conl dd a:link, dl#conl dd a:visited {text-decoration: none;}

Ok then, I assure you I'm not drunk.

Try with <?php include PUN_ROOT.'include/puntoolbar.php'; ?> and see if the toolbar is included. Make sure the toolbar is in the include subfolder.

dl#onlinelist dd a:link, dl#onlinelist dd a:visited, dl#onlinelist dd a:link, dl#conl dd a:visited {text-decoration: none;}

Let's try with this.

Add wherever you like

dl#onlinelist dd a:link, dl#onlinelist dd a:visited {text-decoration: none;}

If there's no puntoolbar.php but it's required in some file I'd say there's something wrong, you'd probably might want to contact vin100, if I'm mistaken (no surprise) let me know.

Ok try this:
in ./style/imports/VbStyle-Black_cs.css
add at line 237
text-decoration: none;

236  .pun A:link , .pun A:visited {
237  color : #496690; 
238  }

if doesn't work, add the same at line 251

250 .pun H2 A:hover , #brdmenu A:hover {
251 color : #333;
252 }

No this will only prevent that the page halts with a error if the puntoobar.php file is not found, but anyway, you' forget about that one, vin100 stated that he changed the mod in v1.4 but didn't update the english readme properly. Check the french file since you can read it.

Can you link your forum?

Around line 60 of yourstile.css

.pun A:link, .pun A:visited {text-decoration: none}

It might be related but I doubt it's necessary.

That's your newsletter, you have to fill all the fields. I guess that you can leave header and footer empty and just use body.

Check the plugins menu on the left in the admin section, click on newsletter, you'd be able to broadcast a new one unless something went wrong during the installation.

AlanB wrote:

Sorry I had missed out the } in

<?php
}
require PUN_ROOT.'footer.php';

I was rushing it !

It seems to work ok, many thanks mate!

Anytime wink

Not really, I copy pasted your code plus my modification, can I see a link please?

Are you sure? I just tested it locally and it works.

Sorry, I'll try to explain myself better.

<?php

define('PUN_ROOT', './');
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';

//Set the page title here
$page_title = pun_htmlspecialchars($pun_config['o_board_title']) . ' / Page 6';
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';
require PUN_ROOT.'include/parser.php';

if($pun_user['g_id'] == PUN_GUEST)
{
    echo 'You must login to see this page!';
}
else
{
?>

<div> blah blah </div>

<?php
}
require PUN_ROOT.'footer.php';

See if this works.

Try using

if($pun_user['g_id'] != PUN_GUEST)
{
//your code
}
GeoffG wrote:

could it be in any file I edited?

or just one?

Any, because the footer.php (where the copyright notice is) is called by every forums file.

GeoffG wrote:

and how do I remove the underline from all the users online so it just appears as their names?

Put the text-decoration: none; in the CSS entry that defines links.

dude07 wrote:

How did you change the title 'administrator' to 'GFG ADMIN?'

Go to http://www.yoursite.com/forum/admin_gro … it_group=1

and change the User Title.

You have many markup errors that you should fix, for example there's a ".pun" visible in the main page on the left of the main image. In internet explorer 7 I can only see the background image, the rest is blank. The background image looks fine to, it's probably a matter of screen resolution. Back on the background repeat info you'd do like this:

body {background: url(myimage.gif) repeat-y;}

Which means that your image would be only repeated vertically.

Anyway fix the markup first, you have a few tags that ain't supported by w3c like <bold>. Furthermore PunBB uses xhtml 1.0 strict, hence you cannot use the <center> tag. You can workaround that with CSS instructions or change the doctype to transitional (but I suggest you the first). <img> tags don't have the alt attribute, it's necessary even if it's empty.

<img src="myimage.gif" width="" height="" alt="" />

Also there's a <pun_csheader> tag in your source which is probably a modified entry in the template, no idea what you meant to do with it.
Finally, comments should be

<!-- -->

you put an extra - in both sides.

I hope this helps. Let me know.