update sqlite
https://stackoverflow.com/a/12399625/5441700

202

(47 replies, posted in PunBB 1.4 additions)

.mediajslink {display: none;}

It is fantastic smile
Look for the extensions that change the $forum_id variable.

add line

var_dump($forum_id);

in https://github.com/punbb/punbb/blob/mas … s.php#L593
What prints?

205

(8 replies, posted in PunBB 1.4 bug reports)

@antonvanderijke, http://punbb.informer.com/forums/post/155108/#p155108

206

(8 replies, posted in PunBB 1.4 bug reports)

antonvanderijke wrote:

PunBB 1.4.1
PHP 7.0.7

For PHP 7.0.7 need only PunBB 1.4.4!

Open config.php file and set the correct variables.

208

(9 replies, posted in PunBB 1.4 troubleshooting)

Errors are not displayed?
Then do

Or enter on your server and open a log of errors (error.log) of your server.

209

(9 replies, posted in PunBB 1.4 troubleshooting)

Open config.php
Replace

// Enable DEBUG mode by removing // from the following line
//define('FORUM_DEBUG', 1);

to

// Enable DEBUG mode by removing // from the following line
define('FORUM_DEBUG', 1);

Save config.php
---
Or enter on your server and open a log of errors (error.log) of your server.

>Maybe it was because I suscribed to email for forums where there was no message yet.
Very high probability.

It is possible to try such code for correction of a problem:
functions.php file

    $previous_post_time = $forum_db->result($result);

-->

    $previous_post_time = $forum_db->result($result);
    
    if (empty($previous_post_time)) {
        $previous_post_time = 0;
    }

211

(12 replies, posted in PunBB 1.4 additions)

http://punbb.informer.com/forums/post/155505/#p155505

COALESCE(o.logged, u.last_visit)> AND

$previous_post_time --> null or false in code

// Send out subscription emails
function send_subscriptions($post_info, $new_pid)
{
...
    // Get the post time for the previous post in this topic
    $query = array(
        'SELECT'    => 'p.posted',
        'FROM'        => 'posts AS p',
        'WHERE'        => 'p.topic_id='.$post_info['topic_id'],
        'ORDER BY'    => 'p.id DESC',
        'LIMIT'        => '1, 1'
    );

    ($hook = get_hook('fn_send_subscriptions_qr_get_previous_post_time')) ? eval($hook) : null;
    $result = $forum_db->query_build($query) or error(__FILE__, __LINE__);
    $previous_post_time = $forum_db->result($result);

213

(12 replies, posted in PunBB 1.4 additions)

As your mik.php file connected to PunBB?

214

(12 replies, posted in PunBB 1.4 additions)

Without code from your file you all the same can't be helped.

215

(12 replies, posted in PunBB 1.4 additions)

text style/mik/mik.pkp file?

216

(47 replies, posted in PunBB 1.4 additions)

v 1.3.0

+ LiveLeak.com
+ Links in the citations are not converted.

- IE v8, 7, 6 smile

* Pleer.com/net (new player domain)
* Twitch (flash->iframe + autoplay off)

@thanhvanchi, very few people use PostgreSQL.
The dblayer/pgsql.php driver is badly tested because of it.
PunBB v1.2.x isn't supported long ago.
PunBB v1.4.x too is almost not supported (officially there is only 1 developer).

colak wrote:

Fancy stop spam works wonders.

Only 1.3.x/1.4.x versions.

If I remember correctly, it is possible to mass delete users in the admin area -> users.

Set an antispam/antibot modification for the forum, for example http://www.punres.net/desc.php?pid=503

Or update the version of your forum.

http://jpegshare.net/images/a8/91/a8912aa03f0252122613f5871ce1d158.png

Link https://github.com/MioVisman/punbb_exte … a_parserus

My Parserus parser as expansions for PunBB forum.
Replaces (or tries to replace smile ) the standard parser.

Requirements: PHP >= 5.4.0

For the work uses hooks:

  • es_essentials - connection of an automatic loader;

  • ps_start - initial settings of the parser;

  • ps_parse_message_start - parsing of messages to html;

  • ps_parse_signature_start - parsing of signatures to html;

  • ps_preparse_bbcode_start - verification of the entered messages, removal of empty bb-codes, auto detection of exiles, return of mistakes.

* Remaining hooks from include/parser.php (except hook from the handle_url_tag() and handle_img_tag() functions) shan't be executed as are left in the basket, in an old parser.

Two new hooks are added (at the moment):

  • parserus_start_vars - for installation of variables before start of the parser:

    • $smilies - original array of smiles

    • $smFolder - way to the folder with smiles (by default $base_url . '/img/smilies/')

    • $smTpl - template for display of smiles (by default '<img src="{url}" alt="{alt}">')

    • $whiteListForSign - array of bb-codes of the allowed in the signature (by default ['b', 'i', 'u', 'color', 'colour', 'email', 'img', 'url'])

  • parserus_start_set - for setup of the parser after its initialization (adding of new bb-codes, parser variables).

    • $parser - link to the parser (class ParserusEx)

Now the parser knows standard bb-codes (b, i, u, color, colour, h, quote, code, email, *, list, img, url) and spoiler bb-code (from my sva_spoiler extension).

It is easily possible to create difficult bb-codes.
Example (implementation of the table, 11 parameters in a bb-code):

[table align="right" border="1" bordercolor="#ccc" cellpadding="5" cellspacing="0" style="border-collapse:collapse; width:500px"]
       [tr]
           [th style=width:50%]Position[/th]
           [th style=width:50%]Astronaut[/th]
       [/tr]
       [tr]
           [td]Commander[/td]
           [td]Neil A. Armstrong[/td]
       [/tr]
       [tr]
           [td]Command Module Pilot[/td]
           [td]Michael Collins[/td]
       [/tr]
       [tr]
           [td]Lunar Module Pilot[/td]
           [td]Edwin "Buzz" E. Aldrin, Jr.[/td]
       [/tr]
[/table]
[url][img]http://localhost/punbb/img/avatars/2.gif[/img][b]picture link[/b][/url]

tongue -->

<a href="http://localhost/punbb/img/avatars/2.gif"><span class="postimg"><img src="http://localhost/punbb/img/avatars/2.gif" alt="2.gif" /></span><strong>picture link</strong></a>

222

(4 replies, posted in General discussion)

https://github.com/punbb/punbb/tree/master/lang/English
https://github.com/punbb/langs

P.S. http://punbb.ru/ по-русски.

Still the same connection warning regwrding mysql_connect() vs mysqli.

In what file this error?
In the file mysqli.php such a function does not exist. Maybe this error comes from the extension?

-----------------------

And I also have a deprecation error in the posts, regarding the #e parameter

It is necessary to update expansions which add new bb-codes for v 1.4.4.

What error at the moment?

For mysql there is no difference between $p_connect = true and false.