1

(6 replies, posted in PunBB 1.4 additions)

antonio wrote:

The thing is, many users discuss something in one thread, after some time they come back with the same thing and create a new topic not continuing in the older one. Now I cannot move this new post at the end of the older topic.

For this case, merge topics is sufficient.

2

(6 replies, posted in PunBB 1.4 additions)

...
3. Select the not required posts and click Split selected posts
...
5. Open a forum with a old topic and target topic. ...
...

P.S. The first post in the topic is tied to the topics table in db. It cannot be transferred to a new topic.

3

(6 replies, posted in PunBB 1.4 additions)

1. Open a topic with the required post
2. Scroll down to the moderator menu and go to Moderate topic
3. Select the required posts and click Split selected posts
4. Enter the name of the new theme and click Split
5. Open a forum with a new topic and target topic. (if they are in different forums, then move the first topic.) Go to the Moderate forum.
6. Select both themes and press Merge.
7. Confirm the merging of topics.

P.S. If you edit the database manually, you can break the forum wink

I am not aware of such an extension.
Using standard administration tools, you can transfer two members to a separate user group, create a separate forum with access only for this user group, then this group of users and all administrators will have access to this topics.

5

(4 replies, posted in Feature requests)

for test
Oxygen.min.css file

1.

.postbody{overflow: hidden;}

replace to

/*.postbody{overflow: hidden;}*/

2.

.postbody .post-author ul.author-info{display:none;}

replace to

/*.postbody .post-author ul.author-info{display:none;}*/

3. Clear the cache of your browser and refresh the page (if the cache is not cleared, then the style can be loaded from it, and not from the server).

6

(4 replies, posted in Feature requests)

The standard Oxygen style has overly confusing behavior of css rules on narrow screens.
If I am not mistaken, then through the overflow property of the element with the postbody class, all information about the author of the post is hidden.
Try it yourself through the developer tools in the browser (F12) to see how it works.
Or you should take a third-party style that does not have this problem .

29.10.2020
https://github.com/MioVisman/punbb/comm … 212c48614e

replace

if (!$forum_user['is_guest'] && $cur_forum['last_post'] > $forum_user['last_visit'] && (empty($tracked_topics['forums'][$cur_forum['fid']]) || $cur_forum['last_post'] > $tracked_topics['forums'][$cur_forum['fid']]))

to

if (!$forum_user['is_guest'] && isset($new_topics[$cur_forum['fid']]) && is_array($new_topics[$cur_forum['fid']]) && $cur_forum['last_post'] > $forum_user['last_visit'] && (empty($tracked_topics['forums'][$cur_forum['fid']]) || $cur_forum['last_post'] > $tracked_topics['forums'][$cur_forum['fid']]))

9

(10 replies, posted in PunBB 1.4 bug reports)

Additional Information:
There is no $main_tpl variable in punbb, there is a $tpl_main variable. Inform the author of the extension about this wink

10

(10 replies, posted in PunBB 1.4 bug reports)

You have an error in one of the installed extensions.

footer.php(44) : eval()'d code on line 10

Line 44 calls the hook named ft_about_end

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

Use https://punbb.informer.com/forums/post/158390/#p158390
In that topic, it is written that it has been corrected and finalized.

When installing, be sure to specify the table prefix.
And all the official versions of PunBB have errors on the latest PHP versions.
Use https://punbb.informer.com/forums/post/158390/#p158390

P.S.
https://github.com/MioVisman/punbb/issues/1
https://github.com/MioVisman/punbb/issues/2

13

(12 replies, posted in Discussions)

>I also notice this button causes an error on submit (also causes an error on punbb.informer.com)
Everything works fine in my punbb version.
punbb 1.4.5/1.4.6 and panbb 1.4.5 I do not support. Please contact the authors.

+
https://punbb.informer.com/forums/topic … 72-and-74/
https://punbb.informer.com/forums/topic … by-visman/

14

(12 replies, posted in Discussions)

>Any idea how to fix it?
The options are:
1. Remove this extension and disable checking for updates and fixes in the admin panel of your forum.
2. Find the author of this extension and ask to fix it.

>I also notice this button causes an error on submit (also causes an error on punbb.informer.com)
Everything works fine in my punbb version.
punbb 1.4.5/1.4.6 and panbb 1.4.5 I do not support. Please contact the authors.

15

(12 replies, posted in Discussions)

Well, the hotfix_14_xss_bbcode_email extension is to blame.

16

(12 replies, posted in Discussions)

You are showing me the code from the parser.php file. I told you to look into the code of the extension that adds code to the 'ps_do_bbcode_start' hook. Did you find any connected extensions with the 'ps_do_bbcode_start' hook? There can be more than one of them.

17

(12 replies, posted in Discussions)

You are looking at the error in the wrong place.
It is necessary to look at the 750 line of the parser.php file. It contains a call to a hook via the eval() function.
See the name of the hook, look among the installed extensions for the extension that adds code to this hook. Look for the error in this code.

18

(1 replies, posted in Discussions)

All changes in version 1.4.6 are displayed in the picture from the post: https://punbb.informer.com/forums/post/158687/#p158687

19

(75 replies, posted in News)

In PunbB email bbode is changed differently (Google Translate terribly translates from Russian into English, it does not correctly understand the connection of words, and this results in confusion in the end.)

https://i.ibb.co/7rzK08f/146.png
In PunBB 1.4.6, they simply removed the ability to insert other bbcodes into email bbcode. Rearranging the processing of email bbcode above does not play any role. (UPDATE: Here I was wrong. The permutation affected the display of the email bbcode if there is another bbcode inside it. )
I, in the 39th fix, encode the email which is inserted into the href attribute via the rawurlencode() function. As a result, even if there were some bbcodes, they will no longer be converted to html.

Example:

[email]%3Cscript%3Ealert%281%29%3C%2Fscript%3E@examle.com[/email]
[email]my.super.puper<>email@mail.com[/email]
[email=<b>ffff</b>@<b>ffff</b>][b]test email and bbcode[/b][/email]

[email=javascript:alert(1)]<script>alert(2)</script>[/email]
[email]<script>alert(2)</script>[/email]

-->

<a href="mailto:%3Cscript%3Ealert%281%29%3C%2Fscript%3E@examle.com">%3Cscript%3Ealert%281%29%3C%2Fscript%3E@examle.com</a><br />
<a href="mailto:my.super.puper%26lt%3B%26gt%3Bemail@mail.com">my.super.puper&lt;&gt;email@mail.com</a><br />
<a href="mailto:%26lt%3Bb%26gt%3Bffff%26lt%3B%2Fb%26gt%3B@%26lt%3Bb%26gt%3Bffff%26lt%3B%2Fb%26gt%3B"><strong>test email and bbcode</strong></a>

<a href="mailto:javascript%3Aalert%281%29">&lt;script&gt;alert(2)&lt;/script&gt;</a><br />
<a href="mailto:%26lt%3Bscript%26gt%3Balert%282%29%26lt%3B%2Fscript%26gt%3B">&lt;script&gt;alert(2)&lt;/script&gt;</a>

P.S. And I repeat once again: I have doubts about the possibility of the existence of XSS.
P.P.S. Why then url bbcode is not changed. There is a similar situation wink
P.P.P.S. If I'm not clear, Google Translate is to blame smile

20

(10 replies, posted in PunBB 1.4 bug reports)

38. Fix search (Uncaught Error: mysqli_result object is already closed in ...) for PHP 8
https://github.com/MioVisman/punbb/comm … f11550a9ef

21

(2 replies, posted in Discussions)

config.php

// Disable forum hooks (extensions) by removing // from the following line
//define('FORUM_DISABLE_HOOKS', 1);

replace to

// Disable forum hooks (extensions) by removing // from the following line
define('FORUM_DISABLE_HOOKS', 1);

22

(7 replies, posted in PunBB 1.4 bug reports)

Make a database backup just in case.
Then on the "execute sql" (or something similar) tab, run the query:

ALTER TABLE pund3_online ENGINE = MyISAM;

23

(7 replies, posted in PunBB 1.4 bug reports)

For example using phpMyAdmin if installed on the server.

24

(2 replies, posted in Feature requests)

sva_do_not_delete v 1.0.0
https://github.com/MioVisman/punbb_exte … not_delete

Moderators rights to delete topics are assigned as for ordinary users (use groups settings).
Administration → Users → Groups → Edit all groups → Allow users to delete their own topics (including any replies) = OFF

25

(4 replies, posted in PunBB 1.4 additions)

v 1.0.2

Fix for delete/edit post/topic.