Hi, my provider informed me that it will upgrade the MariaDB / MySQL version from 5.5.68 to 10.5.
I have installed PunBB 1.4.4, could the change of MariaDB version lead to incompatibility problems? Do I have to do some adjustment?
Thanks in advance for your attention
Luca
1 2022-10-19 15:53
Topic: MariaDB version compatibility (1 replies, posted in Discussions)
2 2014-12-23 14:10
Re: reverse order post and replies (7 replies, posted in PunBB 1.4 troubleshooting)
changing order the link of every post dont work so you have to change also
// Determine on what page the post is located (depending on $forum_user['disp_posts'])
$query = array(
'SELECT' => 'COUNT(p.id)',
'FROM' => 'posts AS p',
'WHERE' => 'p.topic_id='.$topic_info['topic_id'].' AND p.posted<'.$topic_info['posted']
);
in
// Determine on what page the post is located (depending on $forum_user['disp_posts'])
$query = array(
'SELECT' => 'COUNT(p.id)',
'FROM' => 'posts AS p',
'WHERE' => 'p.topic_id='.$topic_info['topic_id'].' AND p.posted>'.$topic_info['posted']
);
3 2014-12-18 22:39
Re: Reverse order show post (2 replies, posted in PunBB 1.4 additions)
just saw, thanksssss
4 2014-12-18 22:39
Re: reverse order post and replies (7 replies, posted in PunBB 1.4 troubleshooting)
thank you very much!
5 2014-12-18 10:09
Topic: reverse order post and replies (7 replies, posted in PunBB 1.4 troubleshooting)
I have a PunBB 1.4.2
Is there a way to have newest posts and replies build from the top down and not placed on the bottom of the topic ?
Thanks in advanced
6 2014-12-18 10:06
Re: How do I "turn" the posts around? (8 replies, posted in PunBB 1.2 troubleshooting)
hi, someone have a solution for this in punBB 1.4.2? Thanks
7 2014-12-17 17:30
Topic: Reverse order show post (2 replies, posted in PunBB 1.4 additions)
I know it look bizarre....
I need to change the order of show of post, I need new post & reply placed on the top of the topic
Running 1.4.2, some one can help me in code or with some additionale extension or mod?
Thanks in advanced
8 2013-09-26 13:00
Re: Users deleted (3 replies, posted in PunBB 1.4 troubleshooting)
Have you inserted users using gid "0" (zero)? Maybe it was this mechanism (see register.php):
// Clean old unverified registrators - delete older than 72 hours $query = array( 'DELETE' => 'users', 'WHERE' => 'group_id='.FORUM_UNVERIFIED.' AND activate_key IS NOT NULL AND registered < '.(time() - 259200) );
Code above removes users, which gid is equal zero and are 72 hours old. It is executed when someone is registering.
How to prevent it?
a) don't set gid to zero,
b) set activate_key to something else than NULLregards,
keeshii
Thanks for explanation, I understand U help me so much
9 2013-09-26 12:58
Re: Users deleted (3 replies, posted in PunBB 1.4 troubleshooting)
Have you inserted users using gid "0" (zero)? Maybe it was this mechanism (see register.php):
// Clean old unverified registrators - delete older than 72 hours $query = array( 'DELETE' => 'users', 'WHERE' => 'group_id='.FORUM_UNVERIFIED.' AND activate_key IS NOT NULL AND registered < '.(time() - 259200) );
Code above removes users, which gid is equal zero and are 72 hours old. It is executed when someone is registering.
How to prevent it?
a) don't set gid to zero,
b) set activate_key to something else than NULLregards,
keeshii
very useful, thank you very much
10 2013-09-26 10:40
Topic: Users deleted (3 replies, posted in PunBB 1.4 troubleshooting)
Maybe i had something wrong ...
Last month I inserted manually in table users a lot of users, by inserting group_id, username, password.
Now I control table and i found that these users was deleted sad
Someone know if there is a in PunBB some automatism that clean table user and, if this exist, how can I prevent or by which rules this is made?
Thanks in advanced
11 2013-09-26 10:39
Topic: user deleted (1 replies, posted in PunBB 1.4 bug reports)
Maybe i had something wrong ...
Last month I inserted manually in table users a lot of users, by inserting group_id, username, password.
Now I control table and i found that these users was deleted
Someone know if there is a in PunBB some automatism that clean table user and, if this exist, how can I prevent or by which rules this is made?
Thanks in advanced
12 2013-09-07 16:33
Re: login redirect (solved) (2 replies, posted in PunBB 1.4 troubleshooting)
I am sure, you have already found it, but just in case I will explain this to you.
You have to make modifications in login.php, directly above the hook 'li_login_pre_redirect'. Your code should looks like that:
$expire = ($save_pass) ? time() + 1209600 : time() + $forum_config['o_timeout_visit']; forum_setcookie($cookie_name, base64_encode($user_id.'|'.$form_password_hash.'|'.$expire.'|'.sha1($salt.$form_password_hash.forum_hash($expire, $salt))), $expire); $_POST['redirect_url'] = 'https://google.com/'; /* <-- THIS LINE I HAVE ADDED */ ($hook = get_hook('li_login_pre_redirect')) ? eval($hook) : null; redirect(forum_htmlencode($_POST['redirect_url']).((substr_count($_POST['redirect_url'], '?') == 1) ? '&' : '?').'login=1', $lang_login['Login redirect']);
If you want to redirect to the main page of your domain, you should use "/" as address. fe. $_POST['redirect_url'] = '/'; After redirecting the parameter "login=1" will be attached, but this doesn't disturb in anything.
regards,
keeshii
thanks Keeshi
13 2013-09-05 14:59
Topic: login redirect (solved) (2 replies, posted in PunBB 1.4 troubleshooting)
I had installed Punbb as a part of a website, now i need that after login users will be redirected ti index of entire website, not index of direcotory forum where is installed punbb, where i can modify the redirect target after login in code?
thanks in adavnced
Luca
14 2012-11-06 12:37
Re: set a time for modify post (3 replies, posted in PunBB 1.4 additions)
there is an extension somewhere in this supported extensions forum, you need to search something like "post edit".
I've searched but nothing....
15 2012-11-06 11:16
Topic: set a time for modify post (3 replies, posted in PunBB 1.4 additions)
someone know if it is possible to set an interval time in while modify post is permitted?
I explain better, or i'll try :-), i would like that member who post something will be able to modify his post only for one hour after he submitted post, is it possible?
thanks in advanced
Luca
16 2012-10-30 12:03
Re: summertime / legal time (2 replies, posted in PunBB 1.4 troubleshooting)
PunBB Forums → profile → Settings
Your timezone Must be set for correct time display.
when a user subscribe forum, punbb detect the correct timezone based on IP or every user must set ite?
17 2012-10-30 08:57
Topic: summertime / legal time (2 replies, posted in PunBB 1.4 troubleshooting)
i just uncheck legal time, now i can see new post with correct time, but other user see it with legal time (ie i see 8:32 the user see 9:32), why?
18 2012-10-25 20:59
Re: pun_poll (115 replies, posted in Supported extensions)
i made a big mistake.... confusing poll with voting single post, sorry for this, i was lookink for vote and my bad english confused me, sorry for this
19 2012-10-25 14:38
Topic: Pun poll (1 replies, posted in PunBB 1.4 additions)
I have PunBB 1.4.2 and Pun poll Versione 2.3 theme Oxygen but i cant see voting on posts:
in admin -> setting ->features i have setting for polls enable revoting and enable read result both checked:
in admin -> users -> groups i have voting permission checked
just tried reinstall of extension
why it dont work?
thanks in advanced
20 2012-10-25 11:39
Re: pun_poll (115 replies, posted in Supported extensions)
I have PunBB 1.4.2 and Pun poll • Versione 2.3 but i cant see voting on posts, in admin -> stting ->features i have setting for polls enable revoting and enable reda result both checked, why it dont work?
thanks in advanced
21 2012-10-24 19:15
Re: digest (4 replies, posted in Discussions)
What this "digest" do?
every day, or wek or month send an email with new post etc to memeber who subcribe digest
22 2012-10-24 11:47
Topic: digest (4 replies, posted in Discussions)
there is a digest option in punbb?
thanks in adavnced
23 2012-10-23 14:33
Re: disable quote and disable report (3 replies, posted in PunBB 1.4 additions)
Add at the end of each CSS you're using
.postfoot .post-actions >span.report-post, .postfoot .post-actions >span.quote-post { display: none; }
nice solution, thanks you!
24 2012-10-23 13:29
Topic: disable quote and disable report (3 replies, posted in PunBB 1.4 additions)
There is a way to disable quote and disable report?
thanks in advanced
25 2012-10-10 09:18
Re: login with nick OR email (2 replies, posted in PunBB 1.4 troubleshooting)
$query['WHERE'] = 'username=\''.$forum_db->escape($form_username).'\' or email=\''.$forum_db->escape($form_username).'\'';
solved, thank you (mine was a evry stupid mistake!)