| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Mention Notifications: Quote Edition | |
|---|---|
| Tweet Topic Started: Apr 20 2013, 09:19 AM (6,283 Views) | |
| Cory | Apr 20 2013, 09:19 AM Post #1 |
![]()
Coder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Code Name: Mention Notifications: Quote Edition What the code does: When you quote someone and submit the post, the user will be notified that they've been quoted via the top menu: Preview How to use the code: Create a new forum for the mentions to be deposited to: Admin CP Forum Sections Create Section Normal ForumGive all permissions to moderators and administrators, Upload isn't necessary however. Give Read and Start permissions to regular members. In the code, change FORUM_ID to the ID of the forum you just created. How to install the code: Admin CP Themes Board Template Below the BoardExtra notes: Requires two AJAX requests on every page, requires AJAX requests when you quote someone. Only the last 100 mentions will show for everyone. Flood control needs to be disabled for all groups in order to use this code. |
![]() |
|
| welshtony | Apr 20 2013, 02:43 PM Post #2 |
|
www.f6oc.co.uk
![]() ![]() ![]() ![]() ![]()
|
After all the issues I was having with the other 1 this code works great. Got it working instantly. Only 1 small issue that I can see. It still say's "Mentions 1" even after clicking on it and reading them. Anyway we can get it to go down after reading each post/quote? Also I have 2 questions/request Is there anyway to get it so the post's in the hidden forum doesn't show up in the latest post's in the portal or will I need to remove that area? Request, Is there anyway I could get -Wonder's Facebook Style Like/Dislike System v1.0 [CB] with this system? Be nice to get a notification when someone likes or dislikes your post. Or am I best trying to ask wonder? lucky all these go into 1 post lol. Right that issue we had with the other 1 where when quoting it takes awhile to post the post is still there. I tried changing the default domain to the zb default and it still is as long so its not my domain Edited by welshtony, Apr 20 2013, 04:03 PM.
|
![]() |
|
| Cory | Apr 20 2013, 08:46 PM Post #3 |
![]()
Coder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I can probably make it decrement the count and the list item will be removed with cookies, but if someone clears their cookies then they will all re-appear and it won't decrease the 100 mentions limit seeing as the member would have to have the option to delete/trash the topic.That will work for the Active Topics list (Change FORUM_NAME). I wouldn't be able to get it to work for the Latest Posts feature without the use of AJAX overload. I'll see what I can do about making a Like/Dislike version. For your third concern, I'm not sure what issue you're referring to. |
![]() |
|
| lrawr | Apr 25 2013, 08:40 AM Post #4 |
|
Member
![]() ![]() ![]()
|
Thanks for this, although i seem to be doing something wrong where when i get quoted with this the number next to mentions stays 0? any ideas? |
![]() |
|
| Cory | Apr 25 2013, 10:05 AM Post #5 |
![]()
Coder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
http://rs-cki.com/index/ That's not a forum ID. http://rs-cki.com/forum/3349258/ 3349258 is a forum ID. |
![]() |
|
| lrawr | Apr 25 2013, 08:33 PM Post #6 |
|
Member
![]() ![]() ![]()
|
Thanks mate thats much better! |
![]() |
|
| alan131210 | May 15 2013, 07:32 AM Post #7 |
|
Member
![]() ![]() ![]() ![]()
|
edit.
Edited by alan131210, May 15 2013, 07:50 AM.
|
![]() |
|
| polocolo | May 24 2013, 01:30 AM Post #8 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
Would additional AJAX requests slow down the forum? |
![]() |
|
| Cory | May 24 2013, 02:32 AM Post #9 |
![]()
Coder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
There are many factors that can dictate what slows down a webpage, JavaScript in general being one of them. AJAX can be a factor, for example I added this code to my test board and I refreshed the page with the Firebug console open and it said each $.get() request took 78 milliseconds to successfully load. 1000 milliseconds equals 1 second. |
![]() |
|
| polocolo | May 24 2013, 07:11 AM Post #10 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
Thanks for the info. |
![]() |
|
| Numark | May 24 2013, 09:52 PM Post #11 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Is this compatible with the other member notification mods? It seems like they aren't interacting with each well (when I tried to use this and the like/dislike edition it showed up us Mentions 0 0 Like/dislikes 0 0) |
![]() |
|
| Cory | May 25 2013, 03:47 PM Post #12 |
![]()
Coder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
They should be compatible now. You might have to clear your cache. Just remember the more 'Mention Notification' codes you use, the more AJAX is parsed on every page. I may create an all-in-one version to limit this. |
![]() |
|
| polocolo | May 26 2013, 10:12 PM Post #13 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
I have the same problem with Vidual. I used both like/dislike and quoting systems and it would be nice if users get notifications for them. However, unless they won't show up on the latest posts (which are very, very, very important to my site and thank you Cory for your code), I won't be able to use them. |
![]() |
|
| Cory | May 26 2013, 10:29 PM Post #14 |
![]()
Coder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You have to create a separate forum for each notification code you use. All three versions of the notification codes won't list the topics on the Active Topics page, but they will appear on the Latest Posts feature on the portal. I'll see if I can fix this. |
![]() |
|
| polocolo | May 26 2013, 10:35 PM Post #15 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
Thanks Cory. Yes, I understand I need to create a separate forum for each notification code. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Codes & Modifications · Next Topic » |






![]](http://z1.ifrm.com/static/1/pip_r.png)
Forum Sections




8:48 PM Jul 24