Jump to content

Download: (Pav32) Someone Mentions You


Pavulon87

Recommended Posts

Posted

but it was nice on vb cause when we added mentions, it automatically sent notifications, people had to turn them off if they didnt want them.



that is how this mod works, when it adds the entry in the notifications settings, it is enabled by default
  • Replies 315
  • Created
  • Last Reply
Posted

As I undestood to mention somebody in a post I have to add @ before his nick when writing a post?

Is it possible to add a button under user photo (or something else) for mentioning him and while clicking that button @Nick automatically incerted in the post?
It'll be great ;)

Posted

A question: sometime I use to write, example
@Richard C: please, respond.
That double point breaks the notification, as it doesn't recognize the nick anymore. The same happens with comma (,) and so on...


As I undestood to mention somebody in a post I have to add @ before his nick when writing a post?



Is it possible to add a button under user photo (or something else) for mentioning him and while clicking that button @Nick automatically incerted in the post?


It'll be great :wink:


wow!
Posted

Installing this hook causes the "Preview Post" function to stop working for me. If you click that button it'll send you to the index instead of showing you the preview.

If I disable the hook, the function returns.

Has this happened to anyone else?

Posted

just a suggestion, not necessary.



but thought about adding a icon on the reply box for mentions?




and in there u can use the ajax to search for members names rather then inline reply messages




If this could be done, this would be great. I was thinking about adding it to my bbcode list, but I don't know to do the ajax for the names. +1


@Demeter: Added


@*Salvo*: Fixed


@James B.: Fixed



New version is waiting to download :wink:




Damn Pavulon, you're awesome. Keep up the great work!
Posted

@Pavulon - it's excellent!



But I've found a bug: Settings for notifications (Notify me when someone mentioned me in the post) are not saving




this was covered in a previous post, maybe it needs adding to the install html?


try doing this Demeter

Posted

i agree with richard, the group formatting isnt necessary for me.

however i would prefer it would look like a link as well.


rather then text thats a hidden url link.


good faeces either way pav. just throwin my 2 cents out there

Posted

Pavulon, is it difficult to add group format (color) to @Nick ?



This hook only use "member" BBCode to create links(because other method could increase resource usage).
@Demeter:

@[member='Demeter']


You need to edit 'member' BBCode class to add group formatting.

Posted

What about setting it up as a possible BBCode to help with the Ajax? I can understand if this would be to resource intensive? Either way, this is great, and my members are loving it. I've set it so they can't turn it off, lol.

Posted

to change the text color for the @name

ACP > look and feel > manage skin sets & templates > YOUR SKIN > CSS > ipb_common.css

find


.bbc_member, .bbc_url, .bbc_email { color: inherit; }

replace with


.bbc_member, .bbc_url, .bbc_email { text-decoration: underline !important; color: BLUE; }



unless you can find out where the 'inherit' is defined?


you will need to do this for each skin

Posted

Just had a quick look if you want the name formatted this needs changed in defaults.php



protected function _buildOutput( $member )


{


return "<a href='" . $this->registry->output->buildSEOUrl( 'showuser=' . $member['member_id'], 'public', $member['members_seo_name'], 'showuser' ) . "' class='bbc_member _hovertrigger url fn' hovercard-ref='member' hovercard-id='{$member['member_id']}' title='{$this->lang->words['bbc_member_bbcode']}'>{$member['members_display_name']}</a>";


}

Your going to need to use this code somewhere:

IPSMember::makeNameFormatted[/code]

Posted

no it won't, it will only color the text so it looks like a link, as per GodDon's request




Sorry I was speaking to Demeter and I was thinking you were too lol
Posted

no it won't, it will only color the text so it looks like a link, as per GodDon's request



to change the text color for the @name





find



.bbc_member, .bbc_url, .bbc_email { color: inherit; }

replace with


.bbc_member, .bbc_url, .bbc_email { text-decoration: underline !important; color: BLUE; }



unless you can find out where the 'inherit' is defined?


you will need to do this for each skin


no it won't, it will only color the text so it looks like a link, as per GodDon's request



thank you sir!

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...