MyBB Community Forums

Full Version: Prefix filter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Hi, thank you for your contribution Smile

As a suggestion, consider using the is_member() core function. Like so:
$allowed = is_member($mybb->settings['PrefixFilter_groups']);
Please also add "title tag" on mouse hover over the prefix. It should display the name of the prefix.

Also templates are not cached... "PrefixFilter"!
(2021-02-08, 11:43 PM)OmarĀ G. Wrote: [ -> ]Hi, thank you for your contribution Smile

As a suggestion, consider using the is_member() core function. Like so:
$allowed = is_member($mybb->settings['PrefixFilter_groups']);
Thanks, I was not familiar with this function

(2021-02-09, 07:18 PM)Eldenroot Wrote: [ -> ]Please also add "title tag" on mouse hover over the prefix. It should display the name of the prefix.

Also templates are not cached... "PrefixFilter"!

ok
Unfortunately your plugin adds one extra query for one thread prefix. It means about 3-5 ms for each prefix... in my case about +60 queries and +300 ms loading time on index.

https://github.com/zingaburga/XThreads-M...-804865137

You should use better optimisation for queries. Anyway your plugin si really useful and would be great if we could get new release with a fix Smile

Thank you in advance!
Let's say forum have 30 prefixes
his plugin make 1 query for each prefix per page + 1 for template download
I give him ready code and his ignore it Smile

@Eldenroot use this
https://community.mybb.com/thread-231129...pid1362385
Yes, also no template caching is used Sad I hope that we will get new version soon... until then I will apply your code, thank you!
Be patient guys, implementing enhancements also relies on available time. Smile
Mostafa is an excellent developer. I highly reccomend getting private work done by him as well.

Thanks for the release again
Version 1.3 Developed By Laird & Eldenroot Published .
I this version add templates & change some queries,.....


So, give your thanks to these two users. Heart
Thank you Mostafa.Shiraali for updating it. Thanks Laid & Eldenroot
Pages: 1 2 3 4