Forum topic not showing in widget

kachan64
User w
User w
Posts: 7
Joined: Mon Jan 14, 2019 9:28 am

Forum topic not showing in widget

Post by kachan64 »

Hey I've setup this plugin for the second time on a wordpress install. But this time forum topic is not showing on widget like my first site that I've used this plugin on. Instead just showing widget title.

Here is the WP W3 setting:
wordpress wp w3 path.png
wordpress wp w3 path.png (57.19 KiB) Viewed 4361 times
Here is the cookie setting on phpBB:
phpbb cookie.png
phpbb cookie.png (37.14 KiB) Viewed 4361 times
And here is the server path setting in phpBB:
server path phpbb.png
server path phpbb.png (18.41 KiB) Viewed 4361 times
Both phpbb and WP installations are in https.

Thanks,
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Forum topic not showing in widget

Post by axew3 »

it is online?
did you setup on plugin admin page where option:
Last Forums Topics number of users's avatars to retrieve
the number of topics that widgets at max display?
So if you setup 2 widgets, one to retrieve 10 and another 20 posts/topics,
then setup as 20
Last Forums Topics number of users's avatars to retrieve
option.
What happen?
kachan64
User w
User w
Posts: 7
Joined: Mon Jan 14, 2019 9:28 am

Re: Forum topic not showing in widget

Post by kachan64 »

This site is alive.
So I've did what you'd suggested and here what I've got:
latest topic posts.png
latest topic posts.png (7.1 KiB) Viewed 4358 times
Settings:
avatar setting.png
avatar setting.png (81.97 KiB) Viewed 4358 times
w3all widget setting.png
w3all widget setting.png (15.69 KiB) Viewed 4358 times
Thanks,

EDIT: Also confirmed the phpbb login widget are not showing any thing at all. Could that be a permission error?
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Forum topic not showing in widget

Post by axew3 »

hi kachan
the cookie domain in phpBB should be
.occupyrtu.com
or blank value, but i do not know how your server is configured to work, so be able to revert to the previous value if something wrong (but should not). Logout clean cookies and re-login after change.
But this mean nothing about avatar, and have nothing to do with.
Avatar problem i do not have understand why, because except the fact that all views files on repository, have been just updated to resolve a php notice error issue, in case a constant not defined:

Code: Select all

[14-Jan-2019 13:48:23 UTC] PHP Warning:  Use of undefined constant W3ALLPHPBBUAVA - assumed 'W3ALLPHPBBUAVA' (this will throw an Error in a future version of PHP) in /wp-content/plugins/wp-w3all-phpbb-integration/views/phpbb_last_topics.php on line 11
and now resolved (files have been patched just minutes ago), that not was leading to any problem except the warning issued from php,
i do not have understand at moment why your widgets not display avatars.

Except behavior i noted while checking the thing, that as said required to patch to resolve just the warning views folder files, all the rest result to me ok, in any possible mixed avatars options activated or not, users linked or not.
And another thing: if i setup 3 avatars to retrieve at max, widgets will display so 3 results, despite you'll setup 10 or 15 posts to retrieve in different activated widgets. But here this is not the problem.
What about if you activate default twentysixteen theme to test? display something?
Should not, because it should not cause any change, but try.
let know
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Forum topic not showing in widget

Post by axew3 »

ah! and just a little voice say to me to ask you:
try to use last_topics_shortcode_by forum_id/s please into a page for a specific forum ID:
https://www.axew3.com/w3/2018/04/latest ... shortcode/
adding an ID of a forum THAT contain posts.
So in your case for example:

Code: Select all

[w3allastopicforumsids topics_number="5" forums_id="2,6"]
I have not check but would like to know if there is some forum with 0 posts like your forum, that maybe the query fail on return values.
Can you try?
kachan64
User w
User w
Posts: 7
Joined: Mon Jan 14, 2019 9:28 am

Re: Forum topic not showing in widget

Post by kachan64 »

Thanks for the reply. i've corrected the cookie name.
blank forum.png
blank forum.png (122.63 KiB) Viewed 4344 times
The first box is the topic id & forum id and I used your shortcode as shown in 2nd box and shows nothing in the 3rd box.

I think is some sort of permission issue. Could that be it?
Post Reply