2009-09-16, 12:48 PM
(2009-09-16, 04:33 AM)Sammyed Wrote: Hey Aquilez,
I have 3 questions for you:
1.- For those who activates, like me, the "Search engine friendly URLs" option in AdminCP. Is it possible that your plugin also detects friendly URL´s instead of having only UID´s?
2.- In the latest release for "reply to profile" you included the username in bold with a comma on it. How can I remove this?...I mean, if someone is replying to me in my profile I think it´s obvious the person is referring to me, right?
Is it in the profile_comments_form by removing this (twice)?
'[b]' + username + '[/b], '
3.- Is it possible to have a "Notification via e-mail" also when someone posts in somebody´s profile?
Regards
1) I think I can, but modifying core files. I never tested the FriendlyURLS in MyBB so I can't answer.
2) Yes, it's there.
Search this:
$$("a.reply_to_profile").each(function(a)
{
a.observe('click', function(c) {
var username = $(this).readAttribute('username');
var uid = $(this).readAttribute('userid');
clickableEditor.performInsert('[b]' + username + '[/b], ', '', true, false);
$('reply_to_profile').value = uid;
Event.stop(c);
});
});
And replace with this: $$("a.reply_to_profile").each(function(a)
{
a.observe('click', function(c) {
var uid = $(this).readAttribute('userid');
$('reply_to_profile').value = uid;
Event.stop(c);
});
});
3) It is possible, but I have my doubts.