Jump to content

Download: Like Statuses


AH Modding

Recommended Posts

File Name: Like Statuses
File Submitter: Alex
File Submitted: 22 Nov 2010
File Updated: 20 Jan 2011
File 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

Link to comment
  • Replies 120
  • Created
  • Last Reply

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.
Link to comment

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.
Link to comment

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.
Link to comment

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?
Link to comment

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:

post-119801-0-08929000-1290458600_thumb.

Even I select English or other languages in my forum, it's the same. I'm gonna check the language files right now.
Link to comment

Thanks Alex, it's working right now. The issue left is, the blank options:



post-119801-0-08929000-1290458600_thumb.



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?

Link to comment

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.
Link to comment

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; 				}

Link to comment

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...