201

(154 replies, posted in Supported extensions)

nmb wrote:

- Apply email flood protection to prevent pm flooding.

I didn't get it. What exactly do you want?

nmb wrote:

- Add BBCode buttons.

Almost done. You can download latest versions of pun_pm and pun_bbcode (from SVN) and try this feature.

nmb wrote:

- Delete all PMs belonging to the user when the account is deleted.

I assume you meant to clear his inbox before deleting. This will be implemented soon.

202

(8 replies, posted in PunBB 1.3 troubleshooting)

Sorry, it must be a kind of slang smile

I meant to remove the '#' character from line 10. This character means comment beginning. After '#' everything is ignored to the end of line.

In .htaccess.dist "RewriteBase" is commented (by the '#' character) because in most cases it's unnecessary.

It's a plugin for WordPress, not for PunBB. I didn't look into the WordPress code much and I can't help you. Why not to ask the author of this plugin?

204

(8 replies, posted in PunBB 1.3 troubleshooting)

In most cases yes, but actually it depends on your hosting settings.

Try to uncomment RewriteBase and to set this value in .htaccess, line 10 (or something similar, if this doesn't work):

RewriteBase /forum/

If you want to disable the url rewrite, rename .htaccess back, then go to www.sprakresa.org/forum/login.php, login and turn off the url rewrite in the admin panel.

205

(8 replies, posted in PunBB 1.3 troubleshooting)

Check the RewriteBase parameter. Maybe it is set in .htaccess somewhere above PunBB rewrite rules. Or try to set your own correct value.

So, the password is being updated in function punbb_wp_authenticate. But you have commented registering of this function for some reason.

I suppose the password isn't set while user registers because one can't restore the password from md5-hash stored in WP tables. Script knows the user password only when the user is logging in.

207

(8 replies, posted in PunBB 1.3 troubleshooting)

Seems like file "rewrite.php" is missing. Try to upload it from the installation package.

Please, describe in details what you expect from us.

It doesn't work because '<BR>' is disabled in CSS. You can enable it explicitly for your content. You'll find how to do this in my previous post (I've edited it).

You're welcome smile

Try to include essentials.php instead of common.php.

define('FORUM_ROOT', './community/');
require_once FORUM_ROOT.'include/essentials.php';

If this works fine we'll fix this example in wiki.

Place this code into about.php.

<?php

    define('FORUM_ROOT', './'); // Point to the forum directiry
    define('FORUM_PAGE', 'my-custom-page');
    require FORUM_ROOT.'include/common.php';

    $forum_hooks['hd_main_elements'][] = 'unset($main_elements[\'<!-- forum_crumbs_top -->\']); unset($main_elements[\'<!-- forum_crumbs_end -->\']);';

    require FORUM_ROOT.'header.php';

    // START SUBST - <!-- forum_main -->
    ob_start();

?>
    <div class="main-content" id="custom-content">
        Custom content here
    </div>
<?php

    $tpl_temp = trim(ob_get_contents());
    $tpl_main = str_replace('<!-- forum_main -->', $tpl_temp, $tpl_main);
    ob_end_clean();
    // END SUBST - <!-- forum_main -->

    // Uncomment this if you don't want the footer
    //$tpl_main = preg_replace('#<div id="brd-about" class="gen-content">.*?</div>#us', '', $tpl_main);

    require FORUM_ROOT.'footer.php';

And add this to your CSS:

#custom-content {
    margin-top: 1em;
    padding: 1em;
}
 
#custom-content br {
    display: inline;
}

I think you've got the idea.
Enjoy! smile

213

(7 replies, posted in Discussions)

New in PunBB 1.3 (compared to 1.2.*)

214

(3 replies, posted in PunBB 1.3 troubleshooting)

You can move posts. Go to "Moderate topic", select posts and press "Split selected posts".

Now it works fine. Maybe it's because of server loading? Try to ask your hosting provider.

localhost wrote:

So it is not possible to override local settings?

From admin panel - no. You can do it in a SQL query.

localhost wrote:

But still the global setting should be possible to adjust.. in this case it is not.

I didn't get what the case. You can change the global setting, then logout and see that the time of posts has been changed.

217

(32 replies, posted in PunBB 1.3 troubleshooting)

We'll post a patch when we find the solution, but it will take some time.

The global setting is for guests. It's also copied to the local setting when a user registers. If a user is logged in, his local timezone is more important than the global one.

219

(7 replies, posted in PunBB 1.3 troubleshooting)

Sorry, demo / demo doesn't work for me.

And how this list should be composed?

Please, look at user notes here: http://php.net/manual/en/session.idpassing.php
Maybe your issue is the same.

We can include your fix (session id in URL) in pun_antispam if it works fine.

Every forum (hostuser) has to have its own cache directory. There are config parameters, bans, etc in the cache directory, and they differ for each forum.

Also you can uninstall pun_repository (users will not be able to install extensions) and install the same set of extensions for every forum.

223

(32 replies, posted in PunBB 1.3 troubleshooting)

This problem is somewhere in CSS. I don't know yet how to fix it. We'll try.

Meanwhile you can try to install FluxBB 1.3. The language pack fits that version, and forum looks a bit better.

Ifadah wrote:

the Arabic doesn't be set when I logon.

Every user may choose the language in his profile.

I wonder how forum can functioning at all with cookies disabled. A user can't login if cookies are disabled.

Though you are right: there must be a message about cookies.

What kind of professional help do you heed?

225

(32 replies, posted in PunBB 1.3 troubleshooting)

Are you sure you have the last PunBB?

Is everything Ok when the language is set to English?

Send me, please, your language pack (my e-mail: roman@informer.com), or post it somewhere. I'll try to test it on my PunBB installation.