That would be because there are only about 6 people providing support to 45k members; we are a little overworked wink

Login to your bridged setup first before you use xp publisher. FTP + batch add is recommended over xp publisher.

Only way to use publisher when bridged is to login to Coppermine/punbb first using IE. This way the bridge should recognize you. You can't login within the publisher itself unfortunately.

4

(14 replies, posted in Feature requests)

I have been a part of the Coppermine Dev Team for over 2 years now. We have no developers in common with the phpbb project, you can see this for yourself:

http://www.phpbb.com/about/
http://coppermine-gallery.net/team/#active

Please don't let bad experiences with phpbb push you away from Coppermine, it makes no sense.

(Apologies for cluttering your Feature requests board.)

5

(14 replies, posted in Feature requests)

Mad-Wolfie wrote:

glad to hear it... i'm just a bit concerned about the risks with coppermine coming from the phpBB family.  I have a phpBB forum on one of my sites already - biggest mistake i made!!  i spend more time dealing with hackers & spammers than i do posting messages on the damn thing!

I don't know where you got that idea from. Coppermine and phpBB are not related in any way besides being Free Software.

If you're bridged then it would be easier to use Coppermine's login constant USER_ID. If that is 0 then the user is not logged in, otherwise it has the punbb userid.

Post your code. Remember that your code is being included from within a function so you may have issues with variable scope.

8

(15 replies, posted in Feature requests)

I was looking at php.ini-dist, which has the out-of-box default settings. php.ini-recommended contains non-standard settings.

9

(2 replies, posted in Feature requests)

Simplest way would be to modify the query like this

$query = 'SELECT password, group_id, b.id FROM `users` AS u LEFT JOIN `bans` AS b ON u.username = b.username WHERE u.username = \''.$user.'\'';

and then add a check into the code lower down

    if($pass == $corpass)
    {
        if ($array['id'])
            die('banned');
        elseif(in_array($array['group_id'],$validids))
            die('valid');
        else 
            die('invalid');
    }

10

(15 replies, posted in Feature requests)

It's not an apache setting, it's a php setting and it is on by default. Code meant for redistribution should of be written to work without it.

11

(2 replies, posted in PunBB 1.2 troubleshooting)

include/email.php

Find

mail($to, $subject, $message, $headers);

Change to

mail_php($to, $from, $message, $subject);

Also change this code

// Default sender/return address
    if (!$from)
        $from = '"'.str_replace('"', '', $pun_config['o_board_title'].' '.$lang_common['Mailer']).'" <'.$pun_config['o_webmaster_email'].'>';

to

    // Default sender/return address
    if (!$from) $from = $pun_config['o_webmaster_email'];

Might be other issues with the from address...

$timezone = intval($_POST['timezone']);

By using intval() the decimal component of the timezone is lost.

13

(6 replies, posted in Feature requests)

You can modify the valid email checker in include/email.php

return preg_match('/^(([^<>()[\]\\.,;:\s@"\']+(\.[^<>()[\]\\.,;:\s@"\']+)*)|("[^"\']+"))@((\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\])|(([a-zA-Z\d\-]+\.)+[a-zA-Z]{2,}))$/', $email);

to

return preg_match('/^(([^<>()[\]\\.,;:\s@"\']+(\.[^<>()[\]\\.,;:\s@"\']+)*)|("[^"\']+"))@gmail\.com$/', $email);

You probably have the path wrong, change the include to require and see what it thinks.

You need to call the function before anything will happen.

login_menu();

16

(1 replies, posted in General discussion)

For reading, use http://sourceforge.net/projects/phpexcelreader/

For writing, use the PEAR package Spreadsheet_Excel_Writer

17

(2 replies, posted in PunBB 1.2 troubleshooting)

That means the php.ini setting 'allow_url_fopen' is disabled. Try enabling it with ini_set('allow_url_fopen', 1); before you do the include.

$tag = $_POST['tag'];

That should correspond to the name of the input in your html, so

$tag = $_POST['threadTag'];

or preferably

$tag = (int) $_POST['threadTag'];

Futurama fan ? smile

19

(9 replies, posted in PunBB 1.2 bug reports)

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2272

You could set the line-height to 0.0 as a workaround I expect.

Try hardcoding it in here:

$pun_user['timezone'] = $pun_config['o_server_timezone'];
$pun_user['timezone'] = +1;

functions.php

We released Coppermine 1.4 last month. Get the updated punbb integration files from the links here if you want to integrate.

Stick a - in then

var offseth = -offsetmin/60

I live in GMT as you may have guessed tongue

If your browser doesn't tell the script the correct timezone then there's nothing I can do about it. Maybe it's a browser issue, I can't test on IE or on mac browsers.

That's exactly what it does do. When the user arrives at the site the javascript determines the timezone offset of the client and sends it to the php script that then updates the timezone serverside. If the timezone was actually changed then you get the message. If the timezone was already correctly set then you get no message. Either way, a cookie is then set so that no further checks occur during that session. If you can post a link and a test user account then I can see what is happening.

25

(4 replies, posted in PunBB 1.2 discussion)

$queryid = $db->query('SELECT subject FROM '.$db->prefix.'posts AS p INNER JOIN '.$db->prefix.'topics AS t ON t.id = p.topic_id WHERE p.id='.$cur_forum['last_post_id']);
$idm = $db->result($queryid);

That's what I get for testing it on a board with 1 topic and 1 post. roll