MyBB Community Forums

Full Version: OUGC Show In Portal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I have updated this plugin to MyBB 1.8.22. No meaningful changes were made thus you can ignore it.
Hi, a new version was pushed to the Extend site (1.8.23).

This update adds a new setting to cut thread messages in the syndication generated pages plus includes the Spanish language page provided by @angeluz (mybb-es.com user).
i think there is a bug with this plugin
if mod/admin edit replies in thread that is marked as show in thread, the thread will be removed from portal
Could you replicate this in a fresh installation?

Also try the master branch from Github, it is possible that there is an updated code for this.
https://github.com/Sama34/OUGC-Show-in-Portal
(2021-07-18, 03:38 AM)Omar G. Wrote: [ -> ]Could you replicate this in a fresh installation?

Also try the master branch from Github, it is possible that there is an updated code for this.
https://github.com/Sama34/OUGC-Show-in-Portal

yes i was able to replicate it in fresh installation here testmybb.blackmarke7.org
using OUGC Show in Portal (1.8.23)
i've pm you a test account for you to test

ps. only full edit will be effect it seems
removing
&& $thread['firstpost'] == $mybb->get_input('pid', MYBB::INPUT_INT)
from this line
https://github.com/Sama34/OUGC-Show-in-P...l.php#L965
or adding
		if ($thread['firstpost'] != $mybb->get_input('pid', MYBB::INPUT_INT))
			return false;
before this line https://github.com/Sama34/OUGC-Show-in-P...l.php#L494

seems to fix the bug
Hi, thank you for your report, you can check the issue page in the following link:
https://github.com/Sama34/OUGC-Show-in-Portal/issues/15

The straightforward fix for this issue is the following line alone:
https://github.com/Sama34/OUGC-Show-in-P...82ebdcR489

Edit: Please note that this is in the develop branch so it is possible more code is different apart from just that line when compared to the master branch.
(2021-08-06, 11:28 PM)Omar G. Wrote: [ -> ]Hi, thank you for your report, you can check the issue page in the following link:
https://github.com/Sama34/OUGC-Show-in-Portal/issues/15

The straightforward fix for this issue is the following line alone:
https://github.com/Sama34/OUGC-Show-in-P...82ebdcR489

Edit: Please note that this is in the develop branch so it is possible more code is different apart from just that line when compared to the master branch.

thanks for the reply
thought you forgot about the issue  Wink
1) With a fresh install of MYBB 1830 on localhost (PHP 7.2.34 SQL MySQLi 5.7.38), I installed this plugin and it didn't work.
Then I realized, that this plugin needs MyBB-PluginLibrary, I think there should be a warning message asking for that requirement.
2) After copying the MyBB-PluginLibrary. I uninstalled the plugin and reinstalled and activated it and the plugin worked correctly. But I have seen that for moderators or administrators to be able to share these posts they have to manually EDIT each post and activate the share post option, but this brings the problem that it could be thought that the editor changed something in the message itself.
Is there a possibility to put an option in the postbit clasic (Share in the Portal)?
Hi, you can create a new moderation tool that modifies the status of the thread. This plugin is integrated with the core moderation tools system.

Also, try to use the develop branch as I think the issue you mention is already fixed in that branch:
https://github.com/Sama34/OUGC-Show-in-P...ee/develop
Pages: 1 2 3