MyBB Community Forums

Full Version: OUGC Thread Contributors
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: preview_25096_1590191853_1e969199a655cda...510e4f.png]
Displays a list of users who contributed to a discussion.

🚀 About

OUGC Thread Contributors is a MyBB plugin designed to enhance user engagement and provide a comprehensive overview of thread participants. With this simple plugin, users can easily access a list of contributors who have posted or commented within a thread. The list ensures an accurate representation of participant involvement, fostering greater interaction and community engagement.

âž• More Information

You can find more information in the plugin GitHub repository or the official OUGC.Network web page.

Download

Download the latest package from the MyBB Extend site or from the repository releases.
Hi, I updated this plugin to work with the latest MyBB 1.8.33 and PHP 7.4.

Additionally a few features were added, check the plugin repository for a full description of the plugin.
Not working to me,,, what is the template variable and where to add< just a blank page.
Hi, it has been new practice for me to avoid doing template modifications in my plugins. You can read the templates you need to edit for this plugin in the repository README linked below :
https://github.com/OUGC-Network/OUGC-Thr...ifications

Edit: I just updated a small typo in there.
Allow post filtering is not working, 404 error!

Also why there is an extra space after username and before the comma?

Username , username
(2023-06-06, 07:00 PM)Eldenroot Wrote: [ -> ]Allow post filtering is not working, 404 error!

Could you share the URL that is generated ? As you can see in the following code the plugin simply generates an thread link and appends
https://github.com/OUGC-Network/OUGC-Thr...s.php#L329

I did test both on MyBB with normal/default URLs schemes and MyBB with Google SEO (plugin) URLs and it worked for me.

(2023-06-06, 07:00 PM)Eldenroot Wrote: [ -> ]Username , username

Fair mistake in the ougcthreadcontributors_user template: I assumed {$post_count} was being displayed all the time by default.

I did open an issue for it but this is low priority as templates are editable.
https://github.com/OUGC-Network/OUGC-Thr.../issues/11

Regards.
For filtering - it redirects me to this URL

https://www.carcassonneforum.cz/thread-4..._filter=92

and I got 404 error

It should be this URL
https://www.carcassonneforum.cz/thread-4..._filter=92

I use 1.8.33 MyBB, php 7.4, Google SEO

Deleting "thread" after the number fixes the issue. There is a bug

Also when you filter the post by a user, there should be some way how to:

- reset the filter back
- maybe highlight (add css class) for selected user
(2023-06-11, 11:25 AM)Eldenroot Wrote: [ -> ]For filtering - it redirects me to this URL

https://www.carcassonneforum.cz/thread-4..._filter=92

and I got 404 error

It should be this URL
https://www.carcassonneforum.cz/thread-4..._filter=92

I use 1.8.33 MyBB, php 7.4, Google SEO

Deleting "thread" after the number fixes the issue. There is a bug

Update your .htaccess file to add the following rewrite rule:
RewriteRule ^thread-([0-9]+)-thread\.html$ showthread.php?tid=$1&action=thread [L,QSA]

As you can see in the following line of code in showthread.php, thread is technically a valid show thread action :
https://github.com/mybb/mybb/blob/4ba936...d.php#L474

This works fine if not using friendly URLs at all.

I think this rewrite rule should be added to the default package example files even if it does seem unnecessary at first thought.
(2023-06-11, 11:25 AM)Eldenroot Wrote: [ -> ]Also when you filter the post by a user, there should be some way how to:

- reset the filter back
- maybe highlight (add css class) for selected user

We can follow this up in the GitHub issue :
https://github.com/OUGC-Network/OUGC-Thr.../issues/14
(2023-06-11, 11:25 AM)Eldenroot Wrote: [ -> ]For filtering - it redirects me to this URL

https://www.carcassonneforum.cz/thread-4..._filter=92

and I got 404 error

It should be this URL
https://www.carcassonneforum.cz/thread-4..._filter=92

I use 1.8.33 MyBB, php 7.4, Google SEO

I decided to fix this at the plugin level, please review the following issue :
https://github.com/OUGC-Network/OUGC-Thr.../issues/15

Regards.