1,676

(11 replies, posted in PunBB 1.2 troubleshooting)

Follow these easy instructions:
----
? At the top of AP_Broadcast_Email, right after this code:

define('PUN_PLUGIN_LOADED', 1);

? Add this:

include PUN_ROOT."include/email.php";

? Then find this code:

while($row = $db->fetch_assoc($result))
       {
           $addresses[$row['username']] = $row['email'];
       }

? Replace it with this code:

       while($row = $db->fetch_assoc($result))
       {
        if(!is_valid_email($row['email']))
            continue;
           $addresses[$row['username']] = $row['email'];
       }

----
I think that should do the trick smile

1,677

(11 replies, posted in PunBB 1.2 troubleshooting)

I guess it can't send to an invalid email adress wink You should use the check_valid_email() function in include/email.php.

1,678

(6 replies, posted in PunBB 1.2 discussion)

div#brdmenu li { text-align: center; }

Haven't tested it, but it should work. If it doesn't, try changing li to ul.

Yes, like that. And odd that it didn't work...
Try placing the code at the end of style.css

Try changing .pun to *

Just put this somewhere in your CSS:

.pun a { text-decoration: none; }
.pun a:hover { text-decoration: underline; }

Try running the query anyway wink

I posted the solution here, given you have access to phpMyAdmin or similar:
http://punbb.org/forums/viewtopic.php?id=12613

Open viewforum.php and replace this everywhere you see it:

.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['last_poster'])

1,685

(14 replies, posted in PunBB 1.2 troubleshooting)

cows wrote:

Actually,

I noticed, when I click on my links on the left side now, all the links are like this now.

http://www.mywebsite.com/forums/pictures/index.php
http://www.mywebsite.com/forums/pictures/search.php
ect.

What is causing this?

and the header.php file is working right, everything works except for the stuff in my pictures directory.

The reason of this is that all those links aren't relative to PUN_ROOT (as they should be). With this, it's impossible to have a fully functional page outside of your forum root wink

1,686

(22 replies, posted in PunBB 1.2 troubleshooting)

You do? Bleh, I hate watching at small pics on a big screen big_smile

1,687

(22 replies, posted in PunBB 1.2 troubleshooting)

Is that just a black picture? =/ If it is, just use a background colour, not an image.

1,688

(22 replies, posted in PunBB 1.2 troubleshooting)

BACKGROUND-REPEATE: repeat;
should be
BACKGROUND-REPEAT: repeat;

1,689

(22 replies, posted in PunBB 1.2 troubleshooting)

Try removing background-position.

1,690

(13 replies, posted in PunBB 1.2 discussion)

Yeah. What version does your admin CP say you're running?

1,691

(13 replies, posted in PunBB 1.2 discussion)

That should work indeed...

1,692

(13 replies, posted in PunBB 1.2 discussion)

That's odd... could you post that line?

1,693

(13 replies, posted in PunBB 1.2 discussion)

Those mods work with 1.2.12 wink
Just change the version array in install_mod.php

1,694

(4 replies, posted in PunBB 1.2 troubleshooting)

Just put it in the lang/ folder smile

Jonno wrote:

Okay, I've been trying everyday but no result. I can give someone my database name and password if they wanna try for me. PM me.

PunBB doesn't have a PM function tongue Well, not standard that is.

1,696

(69 replies, posted in News)

SMF? =/ You have the wrong forums...

1,697

(69 replies, posted in News)

Make sure you don't have any spaces outside the <?php and ?> tags in config.php wink

1,698

(114 replies, posted in Programming)

I use Dreamweaver on Windows and Zend Studio on Linux (I can't run that pile of java junk on Windows tongue). Dreamweaver really is great, as it has many good functions but isn't too bloated smile

Have you tried changing your forums/database to UTF-8? Plenty of people here have done that, so it can't be that hard tongue

1,700

(9 replies, posted in PunBB 1.2 discussion)

Erm, a n00b trying to abuse register_globals? (which won't work, as it registers variables, not constants) =P