Thread Rating:
  • 12 Vote(s) - 4.08 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] MentionMe 2.3.3 (for MyAlerts 1.05)
#21
I installed plugin but mention is dont work sometimes on my forum.
#22
(2012-12-24, 06:27 PM)bekircem Wrote: I installed plugin but mention is dont work sometimes on my forum.

The spelling of the username is important. It must be exactly the same username.

Give me a link to your forum and PM me a test account and I will check it out.
[retired]
#23
(2012-12-24, 04:59 PM)Wildcard Wrote:
(2012-12-24, 04:27 PM)euantor Wrote: One thing I have noticed after browsing your code is how the _is_installed() function works. Users can clear the admin log via the ACP so your current check could easily return false even when it is installed.

I never considered that.

Would it be better to use this?

function mention_is_installed ()
{
	global $cache, $plugins;
	
	$pluginlist = $cache->read("plugins");
	
	return in_array('mention', $pluginlist['active']);
}

EDIT:

No, that doesn't work correctly. I will keep trying.

(2012-12-24, 04:27 PM)euantor Wrote: The way you update user settings could also cause a timeout on boards with large amounts of users too. I still need to find a better way of handling settings so that's kind of my fault.

What is it that I am doing wrong?

Please let me know if there is a better way and I will implement the changes.

Thanks for all you help Smile


1. I personally would check if the setting exists if it's added in install.

2. Imagine you have 100 users, that means you run 100 queries. 1000 users = 1000 queries etc. For boards with lots of users, you'll be running lots of queries which can take lots of time.
#24
Using this, works brilliantly compared to the other one we were using. Thanks.
#25
(2012-12-24, 06:55 PM)euantor Wrote: 1. I personally would check if the setting exists if it's added in install.

I have rewritten the installation routines and seperated the code into three files.

If MyAlerts is installed before MentionMe then is_installed (and the install/uninstall routines) get required once and the Admin will get Install & Activate.

If MyAlerts is not installed before MentionMe then the Admin will only see Activate.

If MyAlerts is installed after MentionMe, the 'Activate' will change to 'Install & Activate' and the Admin will need to click this before alerts will happen for mentions.

I am pushing the code to GitHub now and after a couple of days to test I will push to the mods site.

Please let me know if you feel this is a better solution and thanks for the advice. Smile


EDIT: This is no longer true. The new feature advanced matching requires a setting and therefore I can just check for its existence as an _is_installed check.

(2012-12-24, 06:55 PM)euantor Wrote: 2. Imagine you have 100 users, that means you run 100 queries. 1000 users = 1000 queries etc. For boards with lots of users, you'll be running lots of queries which can take lots of time.

I'm sorry but I am lost.

I thought you were saying the way that I added the checkbox to UCP was wrong somehow. Is that not what you meant?

EDIT: Nevermind you mean the way I am turning alerts on for mentions by default?

(2012-12-24, 07:11 PM)Crayo Wrote: Using this, works brilliantly compared to the other one we were using. Thanks.

That is so awesome! I saw your status update earlier.

Thanks for the feedback man Smile
[retired]
#26
The dropdown doesn't seem to show properly on my forum:

[Image: azxgKDRv]
#27
(2012-12-24, 09:46 PM)Banana Lord Wrote: The dropdown doesn't seem to show properly on my forum

That isn't an issue with MentionMe.

Take a look at the zindex settings used in your forum's theme.
[retired]
#28
(2012-12-24, 10:07 PM)Wildcard Wrote:
(2012-12-24, 09:46 PM)Banana Lord Wrote: The dropdown doesn't seem to show properly on my forum

That isn't an issue with MentionMe.

Take a look at the zindex settings used in your forum's theme.

I hate to ask this but where specifically am I looking? I assume global.css and for the navbar's z-index setting?
#29
Link me to your forum and I'll have a look.
[retired]
#30
Just installed this over at TESOF. Thanks for making this plugin, it's great!


Forum Jump:


Users browsing this thread: 1 Guest(s)