401

(10 replies, posted in Language packs)

Download here German Language for PunBB 1.4

Strange. I do not have the right to delete other people's posts.

And there it was written?

All options are on the same page .
Log in to Administration - Options - Advanced.

Added some extensions do not require the creation of additional fields such as online_today, who_view_topic...

- Authorization form on all pages
- Ability to show ads only on the main and only for guests .

The extension adds the ability to assign icons to each forum .
If the icon is not selected, the default ' icon will be displayed .

To set icons enable the option in Settings - Advanced
Then enter Home - Forums - Select a Forum - Change - Enter the file name
(Files , you must first fill in the directory /pan_more_options/img/icons/)

Download   Pan More Options

On your own forum or here?

405

(1 replies, posted in PunBB 1.4 troubleshooting)

Which tag you 'd like to add?

This extension did not try?
HM Easy BBCodes
bbcode_html

colak wrote:

I don't think usernames should be allowed to change that easily. It's confusing for members of large forum communities.

I agree with you . Besides the names that are quoted earlier, and will remain unchanged.


But if a person asks for help , so why not help...

Open profile.php

correct
string 957

            if ($forum_user['g_id'] == FORUM_ADMIN)
                $form['title'] = forum_trim($_POST['title']);

comment out

//            if ($forum_user['g_id'] == FORUM_ADMIN)
                $form['title'] = forum_trim($_POST['title']);

&
string 2037

<?php if ($forum_user['g_set_title'] == '1'): ?>
                <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">
                    <div class="sf-box text">
                        <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_profile['Title'] ?></span><small><?php echo $lang_profile['Leave blank'] ?></small></label><br />
                        <span class="fld-input"><input type="text" id="fld<?php echo $forum_page['fld_count'] ?>" name="title" value="<?php echo(isset($_POST['title']) ? forum_htmlencode($_POST['title']) : forum_htmlencode($user['title'])) ?>" size="35" maxlength="50" /></span><br />
                    </div>
                </div>
<?php endif; ?>

replace

                <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">
                    <div class="sf-box text">
                        <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_profile['Title'] ?></span><small><?php echo $lang_profile['Leave blank'] ?></small></label><br />
                        <span class="fld-input"><input type="text" id="fld<?php echo $forum_page['fld_count'] ?>" name="title" value="<?php echo(isset($_POST['title']) ? forum_htmlencode($_POST['title']) : forum_htmlencode($user['title'])) ?>" size="35" maxlength="50" /></span><br />
                    </div>
                </div>

408

(31 replies, posted in Feature requests)

Hello!
error
[16-Mar-2016 02:42:07 Europe/Moscow] PHP Notice:  Array to string conversion in /home/f/punbb.info/public_html/forum/header.php(191) : eval()'d code on line 22

See function bbnotify_print_notifications()

I think the problem in this

if ($forum_user['is_guest']) return array();

409

(31 replies, posted in Feature requests)

Chaosmaker wrote:

The @ is wrong in there. wink

You can type @PanBB.Ru, but it will become [notify]PanBB.Ru[/notify] without the @.

The extension already has a dependency to pun_jquery in the manifest. The extension pun_bbcode is not needed, the notify works well without, so I don't want to set that dependency.

then everything just fine )

410

(31 replies, posted in Feature requests)

Chaosmaker, you can also add a dependency in the expansion.
In manifest.xml add strings

    <dependencies>
        <dependency>pun_jquery</dependency>
        <dependency>pun_bbcode</dependency>
    </dependencies>

Thus, only after installing all of these extensions will work correctly.

And also to the @ symbol was also inserted into the message

[notify]@[/notify]

Today, people have become lazy to do extra movements ))

411

(1 replies, posted in PunBB 1.4 troubleshooting)

Something like that I have seen somewhere , but now can not find.
===================
loock it this
http://punbb.informer.com/forums/topic/ … -or-email/

412

(5 replies, posted in Feature requests)

Great! If you need help, please contact us. Success to you! smile

413

(5 replies, posted in Feature requests)

richb.hanover wrote:

Is anyone considering adding Markdown support to PunBB? Thanks.

In a text editor or even rewrite the whole page punbb structure for Markdown?

414

(12 replies, posted in Discussions)

It's good. I wonder why the developers punbb just did not use it?

Today WHIRLPOOL resistant to all types of cryptanalysis.
Over 8 years of Whirlpool has been no recorded attacks on it.

It would be interesting to know the result of the work.

Success to you! smile

415

(12 replies, posted in Discussions)

Let us suppose. What are you going to use instead of sha1?

Still I do not know if this will affect the password recovery...

416

(12 replies, posted in Discussions)

See in file functios.php:
it is generate a random key of length $len

function random_key($len, $readable = false, $hash = false)
{
    $key = '';

    $return = ($hook = get_hook('fn_random_key_start')) ? eval($hook) : null;
    if ($return != null)
        return $return;

    if ($hash)
        $key = substr(sha1(uniqid(rand(), true)), 0, $len);
    else if ($readable)
    {
        $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';

        for ($i = 0; $i < $len; ++$i)
            $key .= substr($chars, (mt_rand() % strlen($chars)), 1);
    }
    else
        for ($i = 0; $i < $len; ++$i)
            $key .= chr(mt_rand(33, 126));

    ($hook = get_hook('fn_random_key_end')) ? eval($hook) : null;

    return $key;
}

&&  Generates a salted, SHA-1 hash of $str

function forum_hash($str, $salt)
{
    $return = ($hook = get_hook('fn_forum_hash_start')) ? eval($hook) : null;
    if ($return != null)
        return $return;

    return sha1($salt.sha1($str));
}

I do not remember that someone said : "My forums hacked!"

417

(26 replies, posted in PunBB 1.4 additions)

I am also using version 0.0.4
No problems were observed )

418

(154 replies, posted in Supported extensions)

Popov wrote:

After updating to punbb v1.4.4 I receive an error message with  Private Messaging 2.4.2 extension:

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ../extensions/pun_pm/functions.php on line 627
    $str1 = preg_replace('#^Re\[(\d{1,10})\]: #eu', '\'Re[\'.(\\1 + 1).\']: \'', $str);

Any idea how to fix it?

If you are using a version of PunBB 1.4.4, replace the function expanding private messages. File functions.php

function pun_pm_next_reply($str)
{
  if (substr($str, 0, 4) == 'Re: ')
    return 'Re[2]: ' . substr($str, 4);
  $str1 = preg_replace_callback('#^Re\[(\d{1,10})\]: #', create_function('$next_reply', 'return "Re[".($next_reply[1] + 1)."]: ";'),$str);
  return $str == $str1 ? 'Re: ' . $str : $str1;
}

419

(31 replies, posted in Feature requests)

Just perfect! I later try to install. Thanks you!
This software is free?

420

(31 replies, posted in Feature requests)

I finally found the problem!

Extension only works with Default url scheme.
In other cases, the user does not appear, and the page may not load completely.
Probably because not the correct path to the file bbnotify_search.php.

So what's the problem? Extension works. The scheme is not difficult to fix.
Do I need a revision or correction?

I think you can still be simplified. Add a button to the @ symbol on the panel bbcode. Users do not need to be entered manually.

Also add the TITLE attribute to hover tooltips for beginners. That is what this symbol is not to be confused with e-mail and for what purpose it is intended .

421

(31 replies, posted in Feature requests)

Probably a problem with the connection of the Script Library.
Tomorrow I will understand.
See you!

422

(31 replies, posted in Feature requests)

Oh thanks. Understood . Only when I type the @ symbol then the list is not displayed.

But if you enter [notify]@NameUser[/notify] everything works.

Everything is working. What would you like to change / add ? Something is missing?

423

(31 replies, posted in Feature requests)

Chaosmaker wrote:

Just in case you already tried / downloaded: I just put another version online which allows the use of arrow keys and enter to select a user from the search result list. Before you had to click on it.

Furthermore it might be good to know that when you quote a post, all notify tags are removed to prevent users being accidentally notified again.

Yes, I have installed , but have not figured out how it works. ((
What I should do?

424

(31 replies, posted in Feature requests)

Ок. Is there any example in which a forum?
I need to see a clearer picture...

425

(31 replies, posted in Feature requests)

It turns out, the extension shall inform the mention of a given user.
If me or someone said , I'll get a notification.

In general, it is interesting , but not sure that the expansion will pay off.

I think it is more important for women's forums , where they like to gossip. wink