manifest.xml
<minversion>1.3</minversion>
<maxtestedon>1.3.4</maxtestedon>
replace to
<minversion>1.4</minversion>
<maxtestedon>1.4.4</maxtestedon>
You are not logged in. Please login or register.
PunBB Forums → Posts by Visman
manifest.xml
<minversion>1.3</minversion>
<maxtestedon>1.3.4</maxtestedon>
replace to
<minversion>1.4</minversion>
<maxtestedon>1.4.4</maxtestedon>
you have all hooks disabled
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);
It is enabled...
forum.neme.org?
I look at the registration and login forms. I don't see Fancy stop spam.
And on your forum, I don't see the antispam extension enabled.
try
.post:not(.firstpost) h4.entry-title {
display: none;
}
What extensions would you recommend to drastically reduce spam posts?
Try Fancy Stop SPAM https://punbb.informer.com/forums/post/158414/#p158414 (In Settings for Fancy Stop SPAM set: Links in 1st message = 0, Links in guest message = 0)
and Edit Period https://punbb.informer.com/forums/post/158498/#p158498 (so that links are not added in old posts)
I don't know, I haven't tested it.
But I looked at the pun_approval 1.4.3 code and found in it, apart from the XSS vulnerability, also a SQL injection vulnerability.
There are also logical errors when working with guests.
Perfect so add two groups and 2 forums it looks like this right?
yes
for ed_post_selected hook
! $forum_page['is_admmod'] && $forum_user['g_moderator'] != '1' && $forum_user['g_id'] != GROUP NUMBER
replace to
! $forum_page['is_admmod'] && $forum_user['g_moderator'] != '1' && $forum_user['g_id'] != GROUP NUMBER && $cur_post['fid'] != FORUM NUMBER
for vt_row_pre_post_actions_merge hook
! $forum_page['is_admmod'] && $forum_user['g_moderator'] != '1' && $forum_user['g_id'] != GROUP NUMBER
replace to
! $forum_page['is_admmod'] && $forum_user['g_moderator'] != '1' && $forum_user['g_id'] != GROUP NUMBER && $cur_topic['forum_id'] != FORUM NUMBER
The title of this topic is "Adding fields to user profile".
The answer to your question https://punbb.informer.com/forums/post/158538/#p158538
https://github.com/KANekT/PunBB.Extensi … r/k_smiles
Auto close the smiley panel after inserting a smiley into a message:
extensions/k_smiles/manifest.xml
$text = '<div id="pun_bbcode_smilies">';
replace to
$text = '<div id="pun_bbcode_smilies" onclick="this.style.display=\'none\';">';
and reinstall k_smiles
https://punbb.informer.com/forums/post/158390/#p158390
This post and further on the topic
in block
@media screen and (max-width: 760px) {
delete
.postbody{overflow: hidden;}
I see
<p><span style=\"background-color: $matches[1]\">$matches[2]</span></p>
But there is no such code in the parser.
The code for the bb-code H in the parser is as follows:
</p><h5>$1</h5><p>
Read this post for more bb codes: https://punbb.informer.com/forums/post/158390/#p158390
Open the developer tools (F12) in your browser and edit the css of the necessary elements in real time.
and
28. Fix DB for PHP 8
https://github.com/MioVisman/punbb/comm … e74f866ab3
Which parser does this bb code not work with?
work with https://github.com/MioVisman/punbb
! $forum_page['is_admmod'] && $forum_user['g_moderator'] != '1' && $forum_user['g_id'] != GROUP NUMBER
GROUP NUMBER - this is the group number of your privileged users.
Moderators are moderators that have extended rights only in their area of responsibility.
In order for each group to have different timeouts for editing, this extension needs to be completely rewritten.
For a special case with moderators, you can try changing the extensions/edit_period/manifest.xml file:
! $forum_page['is_admmod']
replace to
! $forum_page['is_admmod'] && $forum_user['g_moderator'] != '1'
(found in two places)
Then you should uninstall and install this extension in the extension management for the changes to take effect.
To turn off notifications about the availability of a new version, you need to go to
Administration -> Settings -> Features -> Automatically check for updates:
Check for updates = OFF
Check for new versions = OFF
https://github.com/MioVisman/punbb/comm … e74f866ab3
Please test for 7.4 and 8.0.
Ok, I'll test it with mysqli. Right now I have sqlite3 on my local machine enabled on the test forum.
Please test
include/dblayer/mysqli.php and include/dblayer/mysqli_innodb.php
replace
function free_result($query_id = false)
{
return ($query_id) ? @mysqli_free_result($query_id) : false;
}
to
function free_result($query_id = false)
{
if ($query_id) {
$result = @mysqli_free_result($query_id);
if ($query_id === $this->query_result) {
$this->query_result = null;
}
return $result;
} else {
return false;
}
}
https://github.com/MioVisman/punbb_exte … dit_period
Alternative. Please test.
PunBB Forums → Posts by Visman
Powered by PunBB, supported by Informer Technologies, Inc.