[RC2] phpBB Ajax Like

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
Locked
abutre
Registered User
Posts: 11
Joined: Wed Aug 12, 2009 8:20 pm

Re: [RC2] phpBB Ajax Like

Post by abutre » Sun May 19, 2013 3:04 am

emosbat wrote:thanks. I may add this and few more features in next version but have not free time for now.
Ok understood
thanks

abutre
Registered User
Posts: 11
Joined: Wed Aug 12, 2009 8:20 pm

Re: [RC2] phpBB Ajax Like

Post by abutre » Sun May 19, 2013 9:16 am

emosbat wrote:thanks. I may add this and few more features in next version but have not free time for now.
fico à espera (PT-PT)

Keetveter
Registered User
Posts: 7
Joined: Sat Oct 06, 2012 9:09 pm

Re: [RC2] phpBB Ajax Like

Post by Keetveter » Mon May 20, 2013 8:24 pm

I hope someone can help with my problem. I searched for solutions but couldn't find one.

On my board I get this when I use the Dutch language: Image.
When I use English it's fine.
I copied the Ajax Like files in the "/language/en/mods" folder to the "language/nl/mods" folder. This did not solve the problem, unfortunately.

Also, when I click on a "Like" under a post, nothing happens and I get taken to the top of the page.

I'm really looking forward in using this great MOD.
Thanks in advance.

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [RC2] phpBB Ajax Like

Post by MrC » Tue May 21, 2013 5:43 am

Did you also edit the dutch language files?

•language/nl/common.php,
•language/nl/memberlist.php,
•language/nl/ucp.php,
•language/nl/viewtopic.php,
•language/nl/acp/permissions_phpbb.php,

Keetveter
Registered User
Posts: 7
Joined: Sat Oct 06, 2012 9:09 pm

Re: [RC2] phpBB Ajax Like

Post by Keetveter » Thu May 23, 2013 12:32 am

Oh, no, I didn't. I will try to edit those files.

Thank you :)

EDIT: It worked :D.

Unfortunately I'm still having the problem with nothing really happening when clicking a "Like" button. It takes me to the top and a "#" gets placed behind my url but no number of likes gets being displayed.

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [RC2] phpBB Ajax Like

Post by MrC » Thu May 23, 2013 6:22 am

Looks like a jquery issue
Did you install the jquery pack as described in the 1st post?
Also read the 1 post for common problems

User avatar
EsmerÖzcan
Registered User
Posts: 83
Joined: Sat Jun 21, 2008 1:46 pm
Location: Germany/Nürnberg
Name: Özcan Akbulut
Contact:

Re: [RC2] phpBB Ajax Like

Post by EsmerÖzcan » Wed May 29, 2013 6:54 pm

solved

Keetveter
Registered User
Posts: 7
Joined: Sat Oct 06, 2012 9:09 pm

Re: [RC2] phpBB Ajax Like

Post by Keetveter » Mon Jun 03, 2013 10:13 am

MrC wrote:Looks like a jquery issue
Did you install the jquery pack as described in the 1st post?
Also read the 1 post for common problems
Indeed it was a jQuery pack isue. I had to install it on the style I'm using. This is easy with AutoMod by going to the detail page of jQuery pack and aplying the prosilver changes to the theme. It even kept my changes.

Bladell
Registered User
Posts: 38
Joined: Sun Dec 02, 2012 6:18 pm

Re: [RC2] phpBB Ajax Like

Post by Bladell » Wed Jun 12, 2013 4:24 pm

If I have a user who gave some likes, and now I deleted him, the user who received that likes still have it.It's there a way to fix it?
Example on my forum...www.black-zone.ro, look at the bottom of page, the user who is in top of likes.

SwT-CarbonzZ
Registered User
Posts: 575
Joined: Tue Oct 12, 2010 7:17 am

Re: [RC2] phpBB Ajax Like

Post by SwT-CarbonzZ » Thu Jun 20, 2013 6:32 pm

Hmm everything works but the 1 new like recievid i cant click it.

Im using your jquery pack and i don't use social network or Mchat.

overall_header.html below if needed.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<!-- IF JQPACK_ENABLE -->
<!-- IF JQPACK_AT_HEADER -->
<!-- jQuery Pack for phpBB -->
<!-- IF JQPACK_USE_GOOGLE -->
<script type="text/javascript">window.jQuery || document.write("<script src='//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'>\x3C/script>")</script>
<!-- ELSE -->
<script type="text/javascript">window.jQuery || document.write("<script src='{ROOT_PATH}jquerypack/jquery.js'>\x3C/script>")</script>
<!-- ENDIF -->
<!-- IF JQPACK_UI_ENABLE -->
<!-- IF JQPACK_USE_GOOGLE -->
<script type="text/javascript">window.jQuery.ui || document.write("<script src='//ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js'>\x3C/script>")</script>
<!-- ELSE -->
<script type="text/javascript">window.jQuery.ui || document.write("<script src='{ROOT_PATH}jquerypack/jquery-ui.js'>\x3C/script>")</script>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- /jQuery Pack for phpBB -->
<!-- ENDIF -->
<!-- ENDIF -->

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<!-- IF S_ENABLE_FEEDS -->
	<!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->

<!--
	phpBB style name: prosilver
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by:
-->

<script type="text/javascript">
// <![CDATA[
	var jump_page = '{LA_JUMP_PAGE}:';
	var on_page = '{ON_PAGE}';
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var style_cookie = 'phpBBstyle';
	var style_cookie_settings = '{A_COOKIE_SETTINGS}';
	var onload_functions = new Array();
	var onunload_functions = new Array();

	<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
		var url = '{UA_POPUP_PM}';
		window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
	<!-- ENDIF -->

	/**
	* Find a member
	*/
	function find_username(url)
	{
		popup(url, 760, 570, '_usersearch');
		return false;
	}

	/**
	* New function for handling multiple calls to window.onload and window.unload by pentapenguin
	*/
	window.onload = function()
	{
		for (var i = 0; i < onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	};

	window.onunload = function()
	{
		for (var i = 0; i < onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	};

// ]]>
</script>
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>

<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />
<!-- ajaxlike -->
<link href="{T_SUPER_TEMPLATE_PATH}/ajaxlike/css/cupertino/jquery-ui.css" rel="stylesheet" type="text/css" />
<link href="{T_SUPER_TEMPLATE_PATH}/ajaxlike/css/tipsy.css" rel="stylesheet" type="text/css" />
<!-- ajaxlike -->

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->


<!-- SAFEGT START -->
<!-- IF S_SAFEGT_UCP --><script type="text/javascript" src="{ROOT_PATH}safegt/intprotector.js"></script><!-- ENDIF -->
<!-- IF S_SAFE_GT_TOPIC --><script type="text/javascript" src="{ROOT_PATH}safegt/overlib/overlib.js"></script><!-- ENDIF -->
<!-- IF S_SAFE_GT_TOPIC --><script type="text/javascript" src="{ROOT_PATH}safegt/overgt.js"></script><!-- ENDIF -->
<!-- SAFEGT END -->

<!-- RIVALSMOD ADDON START -->
<script type="text/javascript" src="{ROOT_PATH}rivals/jsfunction2.js"></script>
<!-- RIVALSMOD ADDON END -->

<!-- ajaxlike -->
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/ajaxlike/js/jquery.tipsy.js"></script>
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/ajaxlike/js/common.js"></script>
<!-- ajaxlike -->

<!-- MOD : MSSTI ABBC3 (v{S_ABBC3_VERSION}) - Start //-->
<!-- INCLUDE ./../../abbcode/abbcode_header.html -->
<!-- MOD : MSSTI ABBC3 (v{S_ABBC3_VERSION}) - End //-->
</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<div id="above"></div>
<div id="header">

</div>

<div id="wrap">
	<div id="navbar" class="clearit">
		<ul id="nav">
			<li><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
			<!-- IF S_DISPLAY_MEMBERLIST --><li><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
			<li><a href="{U_FAQ}">{L_FAQ}</a></li>
		</ul>
	</div>
	<a id="top" name="top" accesskey="t"></a>
<div id="content">
	<div id="page-header">

		<div id="breadcrumbs">
			<ul class="linklist navlinks">
				<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>

				<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="return fontsizeup(event);" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>

				<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
			</ul>

			<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
			<ul class="linklist leftside">
				<li class="icon-ucp">
					<a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a>
						<!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF -->
					<!-- IF S_DISPLAY_SEARCH --> &bull;
					<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
					<!-- ENDIF -->
					<!-- IF U_RESTORE_PERMISSIONS --> &bull;
					<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
					<!-- ENDIF -->
                    <!-- Ajax like notification -->
                    <!-- IF AJAXLIKE_ENABLE -->
                    &bull;
					<a href="#" onclick="ajaxlike_liked_listbox('{AJAXLIKE_NOTIFY_CALLBACK}'); return false;"><span id="ajaxlike_not_new"><strong>{AL_NEW_LIKE}</strong>{L_AL_LIKE_NEW}</span></a>
					<!-- ENDIF -->
                    <!-- Ajax like notification -->
				</li>
			</ul>
			<!-- ENDIF -->

			<ul class="linklist rightside">
				<!-- IF not S_IS_BOT -->
					<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
					<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
				<!-- ENDIF -->
			</ul>
			<div class="clearit"></div>
		</div>
	</div>

	<a name="start_here"></a>
	<div id="page-body">
		<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
		<div id="information" class="rules">
			<div class="inner"><span class="corners-top"><span></span></span>
				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF -->

User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [RC2] phpBB Ajax Like

Post by emosbat » Fri Jun 21, 2013 7:38 am

what error you get in Console tab of firebug when click on that link?

SwT-CarbonzZ
Registered User
Posts: 575
Joined: Tue Oct 12, 2010 7:17 am

Re: [RC2] phpBB Ajax Like

Post by SwT-CarbonzZ » Fri Jun 21, 2013 9:21 am

The firebug and cosole thing is not really my thing so i PM you like last time, if its not a jquery its probaly wordpress integration again.

User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [RC2] phpBB Ajax Like

Post by emosbat » Fri Jun 21, 2013 10:11 am

disable JQuery UI in jquery pack in acp.

SwT-CarbonzZ
Registered User
Posts: 575
Joined: Tue Oct 12, 2010 7:17 am

Re: [RC2] phpBB Ajax Like

Post by SwT-CarbonzZ » Fri Jun 21, 2013 10:42 am

Still not working ;)

User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [RC2] phpBB Ajax Like

Post by emosbat » Fri Jun 21, 2013 10:54 am

I see this line in header source but it is not in template file you send here. it is from wp-united, you could ask it from wp-united support that where this located, and then remove it:

Code: Select all

<!-- BEGIN JS -->
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
this is a duplicate jquery call to an old version that cause problem.
p.s.: enable jquery ui again.

Locked

Return to “[3.0.x] MODs in Development”