in progress tweak the Like/Dislike module

Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
I have installed the Like Module, and it's working well- should be popular on my site. :)

However, i have not enabled the Dislike function, only the Like function. So.... I'd like to eliminate the header menu dropdown menu link under the logged in user name- the link that says:
"Please remove your LIKE before trying to DISLIKE"...and vice versa.
Having that there makes no sense at all if there is no Dislike option available to users anyway. Our site is all about encouraging other members...no 'dislikes' of people's earnest music making attempts are permitted. :)
I've looked around but cannot see where to remove this icky dropdown link mentioning dislikes. ? Thanks!


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 03/23/16 09:09:03AM
Ceri
Ceri
@adolygwr
9 years ago
370 posts
Hi Strumelia. You can remove it altogether by going to Core > System Core > Tools > User Menu Editor

Modify and set to not 'active'

Just did this myself after reading your post and realising I didn't want this feature either :)


--
Ceri Shaw - AmeriCymru

updated by @adolygwr: 12/14/15 05:30:34PM
michael
@michael
9 years ago
7,715 posts
(screenshot) You're wanting to change the text? Its changeable via the LANGUAGE tab of the like module.
ACP -> ITEM FEATURES -> LIKE IT -> LANGUAGE

Not sure where if that is the question or not. If its not the question could you let me know where to see the "icky dropdown link" please.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Michael, I have dislikes disabled, yet after liking a couple of items, I have this in my user dropdown menu:
dislike.jpg
dislike.jpg  •  132KB




--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
And when I click on that link, it does not take me to a mere list of the item I liked....it REMOVES my like from an item i had previously liked! Nobody's going to enjoy that much.
So even if I change the wording, it's going to REMOVE likes whenever someone curiously clicks on the link.
Is that how it's supposed to work?? I am dubious. Shouldn't it just take us to a list of our likes, so that we can CHOOSE any we'd like to remove?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Ok....update...
Now it is taking me properly to the list of items I like. I can change the wording in the Language. But when i was logged in as a regular member i had the other funny thing happen...so let me go check that again...brb


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Ok, there's a bug-
I can change the language, too, no worries.

When logged in (as a regular member), things are behaving properly EXCEPT when i 'like' a forum discussion. When i do that, it shows up in the activity feed that I liked Discussion X, but if you click on that it takes you to:
http://fotmd.com/strumelia/forum/11615 (page not found)
when it SHOULD take you to the liked discussion, here:
http://fotmd.com/forums/forum/off-topic-discussions/11615/the-drifting-thread

I suspect this is because my forums are set up under the profile called "forums"...and the module doesn't recognize that. But not sure.

Thus, when the regular member clicks on the dropdown link, they can see the other type items they liked, such as soundcloud clips, profiles, etc... but there is a Discussions tab which is blank under it (that's why I thought it was UNliking it). It simply cannot show the forum discussions that regular members are liking in their 'liked items' list, even though the 'like' action itself does remain in place on the item.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 12/14/15 07:25:43PM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Ceri- I think it's actually good for members to have a link where they can see all the items they have 'liked'. They can then update or remove any of their likes in the future if they change their opinions on things. So I simply changed the language for the link to "Items I've Liked" rather than completely remove their ability to see and edit the list of things they have left a 'Like' on. Otherwise, it'd be impossible for members to hunt down or view all their previous Likes.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
9 years ago
4,326 posts
@strumelia - I've just looked around your site and it seems that you have changed the language strings appropriately.
Are you ok now or is there anything outstanding on this thread?


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Paul, yes i changed the language stirngs, no problem there.

But see my above post- the 'liked' Discussions are not displaying in the "Items I've Liked" list, and when they show up in the main page activity feed- clicking on them goes to the wrong URL, resulting in a Page Not FGound...see my earlier post for more details. The problem seems to be with discussions only, not with the other types of items.



--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 12/15/15 09:14:57AM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
For example, a test member "The Member" (pw themember) liked two discussions last night, but only the soundcloud clip they liked shows up in their own "items I've liked" list...and clicking on their like action in the main activity feed only takes you to Page Not Found....wrong URL as I outlined in above post here in this thread, with links.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
9 years ago
4,326 posts
I'm getting a white screen when clicking on the Liked items Discuss tab. Is that what you are seeing?
I'll check it out anyway.


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
I get the Discussions Tab, but with nothing under it..no white screen. And if I havne't liked other types of items yet (photos, profiles etc)...then I get no tab for that type if item until I do like one (behavior as would be expected).


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Again, the urls tell the story:

When logged in (as a regular member), things are behaving properly EXCEPT when i 'like' a forum discussion. When i do that, it shows up in the activity feed that I liked Discussion X, but if you click on that it takes you to:
http://fotmd.com/strumelia/forum/11615 (page not found)
when it SHOULD take you to the liked discussion, here:
http://fotmd.com/forums/forum/off-topic-discussions/11615/the-drifting-thread

I suspect this is because my forums are set up under the profile called "forums"...and the module doesn't recognize that. But not sure.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
9 years ago
4,326 posts
OK - There was a typo in the GroupDiscuss item_list.tpl template. I've got that fixed up and will get it in the Marketplace but first, I'm not seeing any activity feed page not founds on my development system. Can you show me where you are seeing it on fotmd?


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Yes- Paul, when you are on my Home page and looking in the activity feed- the two entries for "The Member" having liked two different discussions, titled: "The Drifting Thread", and "We can now Like Stuff!". If you click on either of those two activity feed entries, you;ll get the page not found.

So far, no other examples of noon-admin members liking forum discussions...but that is two examples from using my test regular member.

--> when im logged in as admin, i have no truble clicking to my fellow admins' liked GROUP discussions from the activity feed- so I think it has to do with forum discussions only.

I have to go out for a couple hours right now...back later. Thanks!




--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 12/15/15 11:25:49AM
paul
@paul
9 years ago
4,326 posts
Ahh - Forum discussions (not group discussions).
OK - Will check that out - Thanks


--
Paul Asher - JR Developer and System Import Specialist
paul
@paul
9 years ago
4,326 posts
This is working ok on my development site, but what I will say is that my Like module revision (as yet unreleased) is more recent than yours so this may have been fixed up. We'll hopefully get it released soon.


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Paul- on your site, are your Forums housed within an admin profile you created for forums, like my site is?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
This is still happening, and causing a problem.

Member Robert Schuler this morning 'Liked' my Forums discussion which is located here on my site:
http://fotmd.com/forums/forum/for-saleinstruments-music-items-cds-learning-materials-or-wanted-to-buy/18959/new-fotmd-main-page-slideshow-banner-ads
(it's a thread telling folks about buying slider ads on my site, so I really want folks to be able to click to it if someone 'likes' it)

I am subscribed to that thread, so I just received an email notification with this:
------
User 'robert schuler' has liked "NEW!- Fotmd Main Page slideshow banner ads!"

http://email.fotmd.com/c/eJxFTsEKwyAU-5p6s6jVWg8edtl_POdzFaoWdfT3Jz1sEEgISYi3IDk4Ei3nyGRgL8E2s3iUUm9hFVIqGQxTHCbJQunJz6-SyG5X4ZhWRqMA7hYFXmj0KAwgMr9CIIfdez-n5TGJ58CvO3Tr9ZPwiHD7Qw_mm1FmcMaL3lmaIGZ6whtpO6LHtpeLOsgZKwXfSLX_mXENYj1LzH3O2L-Fj0Qy
-----------
But clicking on that link in the email only takes me to here:
http://fotmd.com/strumelia/forum/18959/new-fotmd-main-page-slideshow-banner-ads
(Not Found)

Likewise, in the Main Page Activity feed, where it shows that Robert Liked that discussion, clicking on the link there again takes people to:
http://fotmd.com/strumelia/forum/18959
(again, "Not Found")

--> Paul, The problem is-
the 'Liked' links for forum discussions in both notifications and on the Activity Feed...are taking people to discussion urls within: fotmd.com/strumelia/forum/ ...instead of properly taking them to the discussion urls within: fotmd.com/forums/forum/




--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 12/16/15 07:22:54AM
michael
@michael
9 years ago
7,715 posts
Whats generating that very long unreadable url?
http://email.fotmd.com/c/eJxFTsEKwyAU-5p6s6jVWg8edtl_POdzFaoWdfT3Jz1sEEgISYi3IDk4Ei3nyGRgL8E2s3iUUm9hFVIqGQxTHCbJQunJz6-SyG5X4ZhWRqMA7hYFXmj0KAwgMr9CIIfdez-n5TGJ58CvO3Tr9ZPwiHD7Qw_mm1FmcMaL3lmaIGZ6whtpO6LHtpeLOsgZKwXfSLX_mXENYj1LzH3O2L-Fj0Qy

Its pointing to the wrong url.

--edit--
I have enough info to check it out, looking now.
updated by @michael: 12/16/15 04:50:23PM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Thanks Michael!


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
9 years ago
7,715 posts
There's an update for the 'Like it' module now in the beta marketplace 1.3.0b2 that fixes this issue.

The problem was with the 'profile_url'. When a new like comes in there are a possible of 3 profiles in play:
* the profile_url of where the forums are
* the profile_url of the liker
* the profile_url of the person who wrote the forum post

The wrong one was being used. The correct one is being used now.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Thanks so much for fixing this Michael. :)

Unfortunately, I'm not on the beta JR, and I won't be until it is out of Beta for a couple weeks. So the fix might be 3 or 4 weeks away yet for me.
...I don't suppose there is any chance of applying the fix to the current module in the meantime, if it's not a lot of trouble...? It's causing a bit of an issue with my members 'Liking' forum discussions on my site now but the links going to Page Not Found. And I can't really de-activate the Like module at this point...members are using it and enjoying it for all the other items- it is definitely stimulating activity on my site, in a good way! Not to worry if it is a hassle...in that case I'll simply wait.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
9 years ago
7,715 posts
I've patched your version of jrLike with the changes. It should be working now on your site.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Thank you Micheal, but after an integ check and clear cache, I'm afraid it's still not working for the Forums Discussions.
I just now placed a new Like of a forum discussion... and from the new activity Feed "liked" link, instead of taking you to the PROPER discussion location which would be here:
http://fotmd.com/forums/forum/new_posts/18602/tell-us-about-your-very-first-dulcimer

instead it takes you to here:
http://fotmd.com/strumelia/forum/18602
...and you get page Not Found.

Again, it keeps taking you to a non-existing forum belonging to the "strumelia" profile, instead of the true assigned site forum belonging to my 'forum profile' called "forums".


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Edit: @Michael - You did FIX the link in the Email Notification that I just received about the new Like. ...but the link in the main page Activity feed entry is still going to Not Found, as I posted above.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
9 years ago
7,715 posts
I made no alterations to the Activity feed. I'll have to take a look at that now.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Ah... :)
Not sure if they are actually different from each other, but- the problem is both on the Main index page activity feed AND also on the profile page feed of the person who did the 'Like'.
Thank you so much- I know you guys are really busy right now. This Like module is going to boost my site activity a great deal though- I am seeing that, ...and right before Christmas, too...so I'm pretty excited about it. Grateful for your effort!


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Michael, again thank you for fixing the notification links to to Liked forum discussions.

Were you able to take a look at the non-working 'Like" links described above...for Forum Discussions in the Activity Feed, as discussed in the last few posts above? (and i'm guessing it would need fixing for both non-Beta JR and the new Beta). It sure would perfect the 'Like' experience for my members and me while we are still not on the Beta JR.

The Like feature is starting to be used enthusiastically on my site and it is stimulating activity!- but those bad links for forum discussions are causing some frustrations. I really appreciate your time and effort. :)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,148 posts
Strumelia:
Were you able to take a look at the non-working 'Like" links described above...for Forum Discussions in the Activity Feed, as discussed in the last few posts above? (and i'm guessing it would need fixing for both non-Beta JR and the new Beta). It sure would perfect the 'Like' experience for my members and me while we are still not on the Beta JR.

Yes - we've been working on this. It's a bit more complicated than it may seem on the surface since:

- a forum post may or may not be in a category
- the category name could be changed AFTER the like has happened
- the profile the forum is on could change their profile name AFTER the like

So the URL has to always be constructed from the latest data for the forum or profile (and not stored as a key in the datastore) - the trick is to make that retrieval as efficient as possible so we're not hammering the database whenever the timeline is listed.

Hopefully have that wrapped up soon.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Oh, thank you so much!! :D


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
9 years ago
7,715 posts
Got this sorted for the next version of the jrLike module but since it needs to go back and fix all the old urls that were broken, it needs functions that only exist in the newer beta core. :(

So its going to be a little longer before that gets released.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
But Michael it's good to know that it will be not an issue after I update...even if that's not for another month or two. I will wait, and I'm happy knowing it'll be fixed! I'll explain to my members. :) Thanks so much for taking the time to dive into this right before the holidays.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015