Richard.C Posted November 2, 2011 Posted November 2, 2011 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
Demeter Posted November 2, 2011 Posted November 2, 2011 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 ;)
*Salvo* Posted November 2, 2011 Posted November 2, 2011 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!
Beck Brady Posted November 2, 2011 Posted November 2, 2011 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?
Pavulon87 Posted November 2, 2011 Author Posted November 2, 2011 @Demeter: Added @*Salvo*: Fixed @James B.: Fixed New version is waiting to download ;)
Timberwolf1771 Posted November 3, 2011 Posted November 3, 2011 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!
*Salvo* Posted November 3, 2011 Posted November 3, 2011 Pavulon you're really great. Don't stop hooking :rofl:
Richard.C Posted November 3, 2011 Posted November 3, 2011 +1 just updated and its a nice addition, so thank you :) Rich
Demeter Posted November 3, 2011 Posted November 3, 2011 @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
Richard.C Posted November 3, 2011 Posted November 3, 2011 @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
Demeter Posted November 3, 2011 Posted November 3, 2011 Richard C, thank you, that helped Pavulon, is it difficult to add group format (color) to @Nick ?
Richard.C Posted November 3, 2011 Posted November 3, 2011 Pavulon, is it difficult to add group format (color) to @Nick ? if it is, please make it an option as we won't want to use the feature
GodDon Posted November 3, 2011 Posted November 3, 2011 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
Demeter Posted November 3, 2011 Posted November 3, 2011 if it is, please make it an option as we won't want to use the feature Yes agree and it'll be nice to have group formatting as option
Richard.C Posted November 3, 2011 Posted November 3, 2011 however i would prefer it would look like a link as well. rather then text thats a hidden url link +1 on this also
Pavulon87 Posted November 3, 2011 Author Posted November 3, 2011 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.
Timberwolf1771 Posted November 3, 2011 Posted November 3, 2011 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.
Richard.C Posted November 3, 2011 Posted November 3, 2011 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
Mcardle Posted November 3, 2011 Posted November 3, 2011 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]
Richard.C Posted November 3, 2011 Posted November 3, 2011 i prefer css edits to messing with php files :)
Mcardle Posted November 3, 2011 Posted November 3, 2011 That won't inherit a colour based on the usergroup?
Richard.C Posted November 3, 2011 Posted November 3, 2011 That won't inherit a colour based on the usergroup? no it won't, it will only color the text so it looks like a link, as per GodDon's request
Mcardle Posted November 3, 2011 Posted November 3, 2011 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
GodDon Posted November 3, 2011 Posted November 3, 2011 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!
Timberwolf1771 Posted November 4, 2011 Posted November 4, 2011 I've noticed a few things here. Is there a way to hook this to blogs and galleries?1. It doesn't transfer over to Blogs2. It doesn't transfer over to Galleries3. I have a member his name is Me. and it didn't do the mention it stayed as @Me. but I could manually change it to @70d2855bfd5e8eb943401aa68abb95aa and it worked.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.