Board3 Portal

New messages not showing on portal 2.1.0 - Board3 Portal

New messages not showing on portal 2.1.0

by mahugin » Fri Nov 20, 2015 5:29 pm

Hello,

I did an update to version 3.1.6 Phpbb. I also installed the 2.1.0 portal. Everything works fine but the NEW messages do not appear in the modules New Posts and Recent topics . I must purge the cache each time in the administrator panel so that new messages appear. This problem only happens on the portal. The forum (Index) shows new messages correctly.

Thank you very much for your help :) !
Last edited by mahugin on Mon Nov 23, 2015 4:24 am
mahugin
Registered User
Posts: 17
Joined: Fri Nov 20, 2015 1:57 pm
Contact:

Re: New messages not showing on portal 2.1.0

by mahugin » Sat Nov 21, 2015 4:09 am

Is there any body that can help me, please?

Server is: Debian GMU/Linux
Running Php 5.4 with Mysql 5.5.38
mahugin
Registered User
Posts: 17
Joined: Fri Nov 20, 2015 1:57 pm
Contact:

Re: New messages not showing on portal 2.1.0

by ALX™ » Thu Jul 14, 2016 8:42 am

I have the same problem with 3.1.9
The update of portal delay much time to show the new messages.

Someone to help?

My friend mahugin what style you run?
Forgive me for my bad english :oops:
User avatar
ALX™
Registered User
Posts: 224
Joined: Thu Jun 26, 2014 4:47 pm
Contact:

Re: New messages not showing on portal 2.1.0

by ALX™ » Fri Jul 15, 2016 5:39 am

Sorry guys, but SOMEONE can you tell us what's going wrong with portal? It blame the board3 for delay or something else? Do you have support or not?
Forgive me for my bad english :oops:
User avatar
ALX™
Registered User
Posts: 224
Joined: Thu Jun 26, 2014 4:47 pm
Contact:

Re: New messages not showing on portal 2.1.0

by ALX™ » Sat Jul 16, 2016 9:23 am

Can someone to tell me if he have the same problem? Topics update after 10 minute in portal!!! Only if I purge cache update in right time!!!
Can someone help me?
Forgive me for my bad english :oops:
User avatar
ALX™
Registered User
Posts: 224
Joined: Thu Jun 26, 2014 4:47 pm
Contact:

Re: New messages not showing on portal 2.1.0

by ALX™ » Sun Jul 17, 2016 3:00 pm

I solve the problem by my own.

If someone he have the same problem, make changes tο the following files

In ext/board3/portal/modules/resent.php file (lines 139 - 165 and 192)

Find

Code: Select all

      $result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0 , 600);


Replace with

Code: Select all

      $result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0 , 30);


Find

Code: Select all

      $result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0, 600);


Replace with

Code: Select all

      $result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0, 30);


Find

Code: Select all

      $result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0, 600);


Replace with

Code: Select all

      $result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0, 30);



In ext/board/portal/portal/fetch_posts.php file (line 269)

Find

Code: Select all

         $result = $this->db->sql_query_limit($sql, $number_of_posts, $start, 600);


Replace with

Code: Select all

         $result = $this->db->sql_query_limit($sql, $number_of_posts, $start, 30);



After that, your portal its update the topics immediately! ;)
Forgive me for my bad english :oops:
User avatar
ALX™
Registered User
Posts: 224
Joined: Thu Jun 26, 2014 4:47 pm
Contact:

Re: New messages not showing on portal 2.1.0

by ALX™ » Tue Jul 19, 2016 4:24 pm

Ther is anotherone bug in portal

I want to ask something.
I want add the latest post link icon in latest news block of portal (mobile view) because not exist! (either no one else way to go the latest unread post)

In desk top mode, the link icon exist,

desktop view.PNG


...but in mobile view dissapeared.

The following picture it shown my latest news block of board3 portal in mobile view. There is no link icon for first unread post.

latest news without new unread link icon.PNG


Allthough when I am in forum (mobile view again) the orange link icon for the first unread post, is in front of topic title.

forum.PNG


Is there way to add the same icon in the latest news block of portal to (for mobile view) ??? Or a other way to go in the first unread post? e.g the red cyrcle icon front o title like in forum index page.

Thanks
Forgive me for my bad english :oops:
User avatar
ALX™
Registered User
Posts: 224
Joined: Thu Jun 26, 2014 4:47 pm
Contact:

Re: New messages not showing on portal 2.1.0

by lifeguard81 » Sat Nov 19, 2016 4:42 pm

ALX™ wrote:I solve the problem by my own.

If someone he have the same problem, make changes tο the following files

In ext/board3/portal/modules/resent.php file (lines 139 - 165 and 192)

Find

Code: Select all

      $result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0 , 600);


Replace with

Code: Select all

      $result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0 , 30);


Find

Code: Select all

      $result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0, 600);


Replace with

Code: Select all

      $result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0, 30);


Find

Code: Select all

      $result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0, 600);


Replace with

Code: Select all

      $result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0, 30);



In ext/board/portal/portal/fetch_posts.php file (line 269)

Find

Code: Select all

         $result = $this->db->sql_query_limit($sql, $number_of_posts, $start, 600);


Replace with

Code: Select all

         $result = $this->db->sql_query_limit($sql, $number_of_posts, $start, 30);



After that, your portal its update the topics immediately! ;)

Thanks for this.
I was also looking for this, and you have the best solution.
Bye phpBB, hello Compo.sr A complete website package with news, forum, chat, gallery and much more!
lifeguard81
Registered User
Posts: 147
Joined: Tue Dec 04, 2007 10:11 am
Contact:

Re: New messages not showing on portal 2.1.0

by alcoholic » Thu Dec 26, 2019 2:29 pm

mahugin wrote:the NEW messages do not appear in the modules New Posts and Recent topics .
Same here!
ALX™ wrote:In ext/board3/portal/modules/resent.php file (lines 139 - 165 and 192)
Thanks a lot! :)
alcoholic
Registered User
Posts: 4
Joined: Wed Jul 17, 2013 3:13 pm
Contact: