151 2019-11-24 14:00
Re: group_info title and num_members not working (2 replies, posted in PunBB 1.4 bug reports)
152 2019-11-19 17:38
Re: PunBB 1.4.4 (85 replies, posted in News)
PunBB 1.4.4 with support PHP 5.3-8.0+ and additional fixes
Repository https://github.com/MioVisman/punbb
For issues https://github.com/MioVisman/punbb/issues
Nota Bene
New bb codes in the parser are added in two ways
1. simple code
$pattern[] = '#\[sup\](.*?)\[/sup\]#ms';
$replace[] = '<sup id="one">$1</sup>';
2. code with calculations (for example, the same one is taken)
$pattern_callback[] = '#\[sup\](.*?)\[/sup\]#ms';
$replace_callback[] = function ($matches) { return '<sup id="one">' . $matches[1] . '</sup>'; };
P.S.
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
153 2019-11-19 11:58
Re: [Extension] sva_Link_To_Image (2 replies, posted in PunBB 1.4 additions)
v 0.9.2
Add .webp support.
154 2019-11-18 12:15
Re: Spam registrations (13 replies, posted in PunBB 1.4 bug reports)
I can’t understand where the duplication comes from.
1. Administration → Settings → Setup → Redirect wait = 60 → Save changes
2. open /include/dblayer/sqlite3.php
before
return (preg_match('/[\r\n]'.preg_quote($field_name).' /', $sql) === 1);
add
echo "<pre>";
var_dump($field_name, $sql);
echo "</pre>";
----------------------
after
function add_field($table_name, $field_name, $field_type, $allow_null, $default_value = null, $after_field = 0, $no_prefix = false)
{
if ($this->field_exists($table_name, $field_name, $no_prefix))
return;
$table = $this->get_table_info($table_name, $no_prefix);
add
echo "<pre>";
var_dump($table['columns']);
echo "</pre>";
-------------------------------
after
$old_columns = array_keys($table['columns']);
array_insert($table['columns'], $after_field, $query.',', $field_name);
add
echo "<pre>";
var_dump($after_field, $query.',', $field_name, $table['columns']);
echo "</pre>";
-------------------------
(below, only for add_field() function)
replace
$this->query($new_table) or error(__FILE__, __LINE__);
to
$this->query($new_table) or exit;
save file
3. Run the installation of the extension again and copy the text here from the browser that the var_dump () commands will output.
155 2019-11-18 11:08
Re: Spam registrations (13 replies, posted in PunBB 1.4 bug reports)
You still have the wrong file.
Look at line 423 https://github.com/punbb/punbb/blob/mas … 3.php#L423
1. Download archive https://github.com/punbb/punbb/archive/master.zip
2. Take one file from it: include/dblayer/sqlite3.php
3. Copy it to your server with a replacement file.
4. Show the error again if it appears.
156 2019-11-18 06:53
Re: Spam registrations (13 replies, posted in PunBB 1.4 bug reports)
1. in config.php
// Enable DEBUG mode by removing // from the following line
//define('FORUM_DEBUG', 1);
// Enable show DB Queries mode by removing // from the following line
//define('FORUM_SHOW_QUERIES', 1);
replace to
// Enable DEBUG mode by removing // from the following line
define('FORUM_DEBUG', 1);
// Enable show DB Queries mode by removing // from the following line
define('FORUM_SHOW_QUERIES', 1);
2. use standart sqlite3.php file https://github.com/punbb/punbb/blob/mas … qlite3.php
3. Show the full text of the error that will be displayed in the message.
P.S. You can also look in the errors log of your server.
157 2019-11-18 05:29
Re: how to make it so that new users are restricted wen registering? (4 replies, posted in Discussions)
manifest.xml file in pun_approval folder
Change the line indicating the maximum version as follows:
<maxtestedon>1.4.4</maxtestedon>
P.S. Not working with sqlite.
158 2019-11-18 03:42
Re: how to make it so that new users are restricted wen registering? (4 replies, posted in Discussions)
159 2019-11-17 08:11
Re: [Extension] sva_Media.js (47 replies, posted in PunBB 1.4 additions)
v 2.2.0
+ hearthis.at
+ vlipsy.com
* soundcloud.com - back support soundcloud.com/*/* and
soundcloud.com/*/sets/*
* zippyshare.com - flash -> iframe for
wwwNUM.zippyshare.com/v/*/file.html
160 2019-11-17 03:40
Re: Spam registrations (13 replies, posted in PunBB 1.4 bug reports)
I get error on line 552 of include/dblayer/sqlite3.php.
line 552:
// Drop old table
?
I installed the new punbb 1.4.4 (_https://github.com/punbb/punbb/archive/master.zip) on php 7.3.5 + sqlite3 3.24.0 and took Fancy Stop SPAM 1.3.53 (_https://github.com/dimkalinux/Fancy-Extensions/archive/master.zip). There were no errors when installing it.
https://stackoverflow.com/questions/256 … e-database
https://stackoverflow.com/questions/186 … 3-to-mysql
161 2019-07-12 14:34
Re: [Extension] sva_Media.js (47 replies, posted in PunBB 1.4 additions)
v 2.1.0
+ lazy loading supports all types of content
* youtube - fix for black preview
* soundcloud - support only _api.soundcloud.com/(tracks|playlists)/ID
links
- deleted mail.ru
162 2019-03-12 02:46
Re: Unable to confirm security token. (1 replies, posted in PunBB 1.4 troubleshooting)
https?
phpinfo();
Show values for
$_SERVER['HTTPS']
$_SERVER['SERVER_PORT']
$_SERVER['HTTP_HOST']
$_SERVER['HTTP_X_FORWARDED_PROTO']
163 2019-03-08 17:07
Re: MySQL Error when attempting to run db_update.php (3 replies, posted in PunBB 1.4 troubleshooting)
https://dev.mysql.com/doc/refman/8.0/en/keywords.html
GROUPS (R); added in 8.0.2 (reserved)
Probably the name of the table is the same as the word reserved.
I suggest to add the prefix to all table names and add it to config.php too.
164 2019-02-10 02:29
Re: Is it easy to change the "topic" word in url ? (3 replies, posted in Feature requests)
+ add
'/^t[\/_-]?([0-9]+).*(\.html?|\/)?$/i' => 'viewtopic.php?id=$1',
165 2019-02-09 03:32
Re: Is it easy to change the "topic" word in url ? (3 replies, posted in Feature requests)
rewrite_rules.php?
'/^(forum|topic)[\/_-]?([0-9]+).*[\/_-]p(age)?[\/_-]?([0-9]+)(\.html?|\/)?$/i'
create new line
'/^t[\/_-]?([0-9]+).*[\/_-]p(age)?[\/_-]?([0-9]+)(\.html?|\/)?$/i' => 'viewtopic.php?id=$1&p=$3',
166 2018-11-22 08:03
Re: Adding Multiple Members (1 replies, posted in General discussion)
Ask for backup of your forum at the hoster.
And restore from it only the user table.
167 2018-11-08 01:39
Re: [Extension] sva_Media.js (47 replies, posted in PunBB 1.4 additions)
v 1.6.2
* IGN.com - fix for IE11
* HTTPS support for Coub and Hulkshare
- Deleted G4TV and Smotri
169 2018-09-12 14:31
Re: How to add toolbar in my own PunBB forum? (4 replies, posted in Discussions)
https://github.com/punbb/extensions
pun_bbcode
170 2018-08-28 16:42
Re: [Extension] sva_Media.js (47 replies, posted in PunBB 1.4 additions)
v 1.6.0
Hidden the Download button for html5 video/audio in Chrome.
+ izlesene.com
+ dumpert.nl
+ audiomack.com
171 2018-07-20 05:13
Re: [Extension] sva_Media.js (47 replies, posted in PunBB 1.4 additions)
v 1.5.2
* LiveLeak (fix for new links + https support)
172 2018-07-16 15:19
Re: Need help! (1 replies, posted in PunBB 1.3 troubleshooting)
See in the server access log what kind of guests are: ip, useragent.
If these are bots, then block them at the level of access to the server.
For google: Fail2ban
173 2018-07-16 01:33
Re: Player having to login twice, cookie error. (11 replies, posted in PunBB 1.3 troubleshooting)
174 2018-07-15 15:39
Re: Player having to login twice, cookie error. (11 replies, posted in PunBB 1.3 troubleshooting)
_www.ppbo.ws and _ppbo.ws are different domains.
The forum installs cookies for _www.ppbo.ws. These cookies are not visible on the _ppbo.ws domain.
Use only one domain and put cookies for it.
175 2018-07-15 04:04
Re: Player having to login twice, cookie error. (11 replies, posted in PunBB 1.3 troubleshooting)
Give a link to your forum.
And also login and password for the test user.