Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 22, 201014 yr File Name: Like StatusesFile Submitter: AlexFile Submitted: 22 Nov 2010File Updated: 20 Jan 2011File Category: Hooks and Plugins This hook will allow you and your members to 'like' statuses that your community make, using the new like framework within IP.Board 3.1.4 and above. To install this hook, please import the hook.xml file in your Admin CP and allow the IP.Board installer to sort it all out for you. Please make sure you also upload the contents of the /upload/ directory into your forums root folder. Please note that ticket support is not provided for these hooks.Click here to download this file
November 22, 201014 yr Hi Alex, This hook was what I was waiting for. I installed it immediately but after installing when I click on Edit Hook, it gives an error:Warning: IPSLib::require_once(/home/www/pclabs.gen.tr/public_html/forum/admin/applications_addon/ips/calendar/extensions/dataHookLocations.php) [ipslib.require-once]: failed to open stream: Permission denied in /home/www/pclabs.gen.tr/public_html/forum/admin/sources/base/core.php on line 1328 Fatal error: IPSLib::require_once() [function.require]: Failed opening required '/home/www/pclabs.gen.tr/public_html/forum/admin/applications_addon/ips/calendar/extensions/dataHookLocations.php' (include_path='.:/usr/share/php:/usr/share/pear:/home/www/pclabs.gen.tr/public_html/forum/ips_kernel/') in /home/www/pclabs.gen.tr/public_html/forum/admin/sources/base/core.php on line 1328 And "Like" button doesn't show up. I'm using IPB 3.1.3 and only extra installed is IP.Tracker.
November 22, 201014 yr Please set the CHMOD value to 777 for admin/applications_addon/ips/calendar/extensions/dataHookLocations.php, you can do this in your FTP client - it seems related to IP.Calendar more than this hook itself.
November 22, 201014 yr Is giving 777 permissions to any php script good idea? Just making sure before I install it.
November 22, 201014 yr Is giving 777 permissions to any php script good idea? Just making sure before I install it. Sorry, it actually needs to be 644 (only needs reading, not writing). That said, it's nothing to do with this hook, there is nothing special about installation of this hook, it's the same as any other so will install fine. It just seems that this persons installation of IP.Calendar is messing it up a bit.
November 22, 201014 yr Thank you, yes it was a chmod issue, making that file to 644 solved the problem. But now, when I click on "Like" on the statuses, nothing happens.
November 22, 201014 yr Are you getting any javascript errors when clicking like? No, I'm not getting any JS errors. I switched back to IP Board skin but again, it didn't help. Here is the link: http://forum.pclabs.com.tr/statuses/all/
November 22, 201014 yr Ah, let me double check that page on my install - I forgot that page exists ^_^, I can vouch it works in the sidebar block and on profiles, will get that page sorted out for you later this evening!
November 22, 201014 yr Ah, let me double check that page on my install - I forgot that page exists ^_^, I can vouch it works in the sidebar block and on profiles, will get that page sorted out for you later this evening! FYI, it doesn't work even on my homepage too.
November 22, 201014 yr I got this error everytime I try to like:Fatal error: Call to undefined method skin_global_other_6::likeSetDialogue() in /home/yourgame/public_html/forums/admin/applications/core/modules_public/ajax/like.php on line 133 (And I did recache the skins, no difference...)
November 22, 201014 yr Okay, it's an issue with your install. Just looked at public/js/ips.like.js on your forums and its returning a 403 forbidden error - have you checked the CHMOD on that file too?
November 22, 201014 yr I got this error everytime I try to like: (And I did recache the skins, no difference...) Did the hook installer say 5 templates added? If recaching doesn't work I'd suggest reinstalling, and check skin_status_like in your Look and Feel :)
November 22, 201014 yr Warning: func_get_arg(): Argument 1 not passed to function in /home/infamous/public_html/forums/cache/skin_cache/cacheid_13/skin_profile.php on line 1036 i'm getting this error also. i've reached and nothing, it wont work. hopefully you find a solution for such a great hook idea.
November 22, 201014 yr Okay, it's an issue with your install. Just looked at public/js/ips.like.js on your forums and its returning a 403 forbidden error - have you checked the CHMOD on that file too? http://yourgamercards.net/forums/public/js/ips.like.js I don't get the 403 forbidden error... Did the hook installer say 5 templates added? If recaching doesn't work I'd suggest reinstalling, and check skin_status_like in your Look and Feel :) I had the skin_status_like on every skin. I tried uninstalling and reinstalling again because recaching again didn't work however nothing changed. I still get the error when trying to like.
November 22, 201014 yr Warning: func_get_arg(): Argument 1 not passed to function in /home/infamous/public_html/forums/cache/skin_cache/cacheid_13/skin_profile.php on line 1036 i'm getting this error also. i've reached and nothing, it wont work. hopefully you find a solution for such a great hook idea. Just had a look at that, that doesn't seem to be related to this hook - it points at profile comments, do you have any other related modifications installed? [url="http://yourgamercards.net/forums/public/js/ips.like.js"]http://yourgamercard.../js/ips.like.js[/url] I don't get the 403 forbidden error... That was directed at erden, not you :) I had the skin_status_like on every skin. I tried uninstalling and reinstalling again because recaching again didn't work however nothing changed. I still get the error when trying to like. That's odd, have had many people install this with no issue with the templates - do you mind sending me a PM with temporary ACP access so I can manually create the templates for you, or try to see what is happening?
November 22, 201014 yr Okay, it's an issue with your install. Just looked at public/js/ips.like.js on your forums and its returning a 403 forbidden error - have you checked the CHMOD on that file too? Thanks Alex, it's working right now. The issue left is, the blank options: Even I select English or other languages in my forum, it's the same. I'm gonna check the language files right now.
November 22, 201014 yr It is, every time i install your hook, it gives me that error. It even gave it to me on the default IPB board skin. Note: I have all othere non-ips hooks disabled. So, it has to be your hook causing the problem.
November 22, 201014 yr Thanks Alex, it's working right now. The issue left is, the blank options: Even I select English or other languages in my forum, it's the same. I'm gonna check the language files right now. That's part of the IPB framework itself - did you copy over the language files when you upgraded to 3.1.3? That was when all the new like language strings were introduced in IP.Board itself. :) It is, every time i install your hook, it gives me that error. It even gave it to me on the default IPB board skin. Note: I have all othere non-ips hooks disabled. So, it has to be your hook causing the problem. Do you mind letting me take a look to see what the issue is?
November 22, 201014 yr Another problem: My board is UTF-8 encoded, and after installing this hook, Turkish characters disappear when I write a comment on a status: Disabling this hooks, resolves this.
November 22, 201014 yr That's part of the IPB framework itself - did you copy over the language files when you upgraded to 3.1.3? That was when all the new like language strings were introduced in IP.Board itself. :) Do you mind letting me take a look to see what the issue is? Hi Alex, I seem to have the same problem, how would I go about copying over the language files. Is it something I can just ftp over? I'm not sure where they are located. Thanks.
November 23, 201014 yr Another problem: My board is UTF-8 encoded, and after installing this hook, Turkish characters disappear when I write a comment on a status: Disabling this hooks, resolves this. I have the same problem although my board is iso-8859-1 and Icelandic characters don't display correctly. Disabling the hook fixes the problem.
November 23, 201014 yr Where i can edit the css of this application i can't find the right file <style type="text/css"> .status_like { display: inline; } .status_like span.ips_like { display: inline; background: transparent; clear: none; padding: 0; font-size: 1em; line-height: 100%; } .status_like span.ips_like a { border: none; background: transparent; color: #284B72; margin: 0; padding: 0; float: none; font-size: 1em; } .status_like span.ips_like a:hover { background: transparent !important; color: #528f6c; }
Archived
This topic is now archived and is closed to further replies.