[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!
Ideas Centre
Locked
senatorman
Registered User
Posts: 47
Joined: Sat Mar 12, 2011 3:54 pm

Re: [RC2] phpBB Ajax Like

Post by senatorman » Mon Jun 16, 2014 10:26 pm

Is there still development for this mod plannend in future or only support for this version?

How do you think about:
-Compatibility with the latest and future phpbb versions.
-Extras like notifications by mail.

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC2] phpBB Ajax Like

Post by Jessica » Mon Jun 16, 2014 11:38 pm

senatorman wrote:Is there still development for this mod plannend in future or only support for this version?

How do you think about:
-Compatibility with the latest and future phpbb versions.
-Extras like notifications by mail.
Mod works with the latest (3.0.12) version
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

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

Re: [RC2] phpBB Ajax Like

Post by emosbat » Tue Jun 17, 2014 6:39 am

@clove28

find:

Code: Select all

.ajaxlike_container
{
	font-size: 9px;
	color: #404040;
	-moz-border-radius: 5px;
 	border-radius: 5px;
	background-color: #fafafa;
	margin: 18px 0 0 0;
	padding: 2px 4px;
	display: block;
	clear: both;
	overflow: hidden;
}
replace with

Code: Select all

.ajaxlike_container
{
	font-size: 9px;
	color: #404040;
	-moz-border-radius: 5px;
 	border-radius: 5px;
	margin: 18px 0 0 0;
	padding: 2px 4px;
	display: block;
	clear: both;
	overflow: hidden;
}
Last edited by emosbat on Tue Jun 17, 2014 2:20 pm, edited 1 time in total.

senatorman
Registered User
Posts: 47
Joined: Sat Mar 12, 2011 3:54 pm

Re: [RC2] phpBB Ajax Like

Post by senatorman » Tue Jun 17, 2014 1:55 pm

I had find my solution and the mod working fine now in subsilver2,

I was missing this code in the overal_header.html from my subsilver2 theme.
I paste this code under the <head>, and the mod is working fine.

Code: Select all

<!-- IF JQPACK_ENABLE -->
<!-- IF JQPACK_AT_HEADER -->
<!-- jQuery Pack for phpBB -->
<!-- IF JQPACK_USE_GOOGLE -->
<script type="text/javascript">window.jQuery || document.write("\x3Cscript src='//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'>\x3C/script>");</script>
<!-- ELSE -->
<script type="text/javascript">window.jQuery || document.write("\x3Cscript src='{ROOT_PATH}jquerypack/jquery.js'>\x3C/script>");</script>
<!-- ENDIF -->
<!-- IF JQPACK_NO_CONFLICT -->
<script type="text/javascript">

   // you may use `$jqpack_JQuery` instead of `$` and `jQuery` in your MODs.
   var $jqpack_JQuery = $.noConflict();

   if(!window.$)
      window.$ = $jqpack_JQuery;
   if(!window.jQuery)
      window.jQuery = $jqpack_JQuery;

</script>
<!-- ENDIF -->
<!-- IF JQPACK_UI_ENABLE -->
<!-- IF JQPACK_USE_GOOGLE -->
<script type="text/javascript">window.jQuery.ui || document.write("\x3Cscript 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("\x3Cscript src='{ROOT_PATH}jquerypack/jquery-ui.js'>\x3C/script>");</script>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- /jQuery Pack for phpBB -->
<!-- ENDIF -->
<!-- ENDIF -->

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

Re: [RC2] phpBB Ajax Like

Post by emosbat » Tue Jun 17, 2014 2:51 pm

senatorman wrote:
emosbat wrote:I can not help you without providing errors but it maybe a duplicate jquery problem/conflict. read first post about removing all jquery entry of other MODs and using Jquery Pack instead.
popup and dialog not working:
- remove all duplicate jquery and jqueryui entries (jquery.js, jquery-min.js, jquery-1.x.y.z.js, jquery-ui.js, jquery-ui-min.js, etc). ONLY include Jquery Pack for phpBB MOD and enable it. if you have more than one jquery in your code you get conflict error from this mod and other mods that use jquery. make sure jquery pack is installed correctly in your theme and is enable and remove all other jquery entries.
Can you tell me how to disable/remove the old jquery and jqueryui entries?
remove script tags like these examples from header template file:
<script src='..../jquery.js'></script>
<script src='..../jquery-ui.js'></script>
(do not remove tags for JQuery Pack MOD that are similar)

edit:
guess you fixed that

senatorman
Registered User
Posts: 47
Joined: Sat Mar 12, 2011 3:54 pm

Re: [RC2] phpBB Ajax Like

Post by senatorman » Tue Jun 17, 2014 2:55 pm

I i had no duplicate entry's, but was missing some code in my themplate files.

Thank for you patience.

Have you any idea to build this mod with more feature's like mail notifications?

clove28
Registered User
Posts: 97
Joined: Mon Apr 21, 2014 11:00 am

Re: [RC2] phpBB Ajax Like

Post by clove28 » Mon Jun 23, 2014 6:16 am

emosbat wrote:@clove28

find:

Code: Select all

.ajaxlike_container
{
	font-size: 9px;
	color: #404040;
	-moz-border-radius: 5px;
 	border-radius: 5px;
	background-color: #fafafa;
	margin: 18px 0 0 0;
	padding: 2px 4px;
	display: block;
	clear: both;
	overflow: hidden;
}
replace with

Code: Select all

.ajaxlike_container
{
	font-size: 9px;
	color: #404040;
	-moz-border-radius: 5px;
 	border-radius: 5px;
	margin: 18px 0 0 0;
	padding: 2px 4px;
	display: block;
	clear: both;
	overflow: hidden;
}
Thank you! Just what I wanted. :)

senatorman
Registered User
Posts: 47
Joined: Sat Mar 12, 2011 3:54 pm

Re: [RC2] phpBB Ajax Like

Post by senatorman » Tue Jun 24, 2014 8:21 pm

This a great mod!

I had a few start-isseus with my subsilver2 based theme, but now it works on a live and busy forum and it works great.

See our live forum http://www.opel-forum.nl

I will thank the Emosbat for his great work!

I've had testing this mod for one week, and it works perfect, without any problem.
Members likes this mod and it was very welcome to our forum.

I had a two ideas, maybe you will make them in a new version.

-Notifications with sound.
-Posttext in notification.

Greetings Senatorman

Kaycee
Registered User
Posts: 279
Joined: Tue Aug 10, 2010 6:23 am
Location: Nigeria
Contact:

Re: [RC2] phpBB Ajax Like

Post by Kaycee » Thu Jun 26, 2014 4:09 pm

I will like to thank you for this MOD. I've installed this MOD, but the like button is not appearing.

I do not get any error and presently my site worked well. However, I do not have this changes on viewtopic body absolution which i think may be the problem. Putting the code at end makes the viewtopic blank.

I do not have this

Code: Select all

<p>{LOGGED_IN_USER_LIST}</p>
<!-- ENDIF -->
to add after.

Need your help!

clove28
Registered User
Posts: 97
Joined: Mon Apr 21, 2014 11:00 am

Re: [RC2] phpBB Ajax Like

Post by clove28 » Fri Jun 27, 2014 12:22 pm

Kaycee wrote:I will like to thank you for this MOD. I've installed this MOD, but the like button is not appearing.

I do not get any error and presently my site worked well. However, I do not have this changes on viewtopic body absolution which i think may be the problem. Putting the code at end makes the viewtopic blank.

I do not have this

Code: Select all

<p>{LOGGED_IN_USER_LIST}</p>
<!-- ENDIF -->
to add after.

Need your help!
Hi kaycee! I also put this mod in my absolution style. What you only need to do is install the "Ajax Like mod for absolution theme" without the Jquery pack. You can check my forum here if you want to see it. http://pinoyexpatforum.com

Kaycee
Registered User
Posts: 279
Joined: Tue Aug 10, 2010 6:23 am
Location: Nigeria
Contact:

Re: [RC2] phpBB Ajax Like

Post by Kaycee » Sat Jun 28, 2014 1:51 pm

@Clove28. Actually i just discovered the changes for Absolution this morning in the contribution folder. I have made the changes accordingly but still not appearing. You mention without jquery pack which i know i might installed. Is that not requirement for it to work?

Kaycee
Registered User
Posts: 279
Joined: Tue Aug 10, 2010 6:23 am
Location: Nigeria
Contact:

Re: [RC2] phpBB Ajax Like

Post by Kaycee » Sat Jun 28, 2014 7:54 pm

I have uninstalled jquery pack yet without it working. Had to re- installed it. Will still look forward to see it work.
Last edited by Kaycee on Tue Jul 01, 2014 11:04 am, edited 1 time in total.

clove28
Registered User
Posts: 97
Joined: Mon Apr 21, 2014 11:00 am

Re: [RC2] phpBB Ajax Like

Post by clove28 » Sun Jun 29, 2014 4:27 am

Kaycee wrote:@Clove28. Actually i just discovered the changes for Absolution this morning in the contribution folder. I have made the changes accordingly but still not appearing. You mention without jquery pack which i know i might installed. Is that not requirement for it to work?
Yes that's what I've done. When I removed the jquery pack, the Ajax like worked for absolution. And also, once you refresh your template, check the overall_footer.html again if the codes for ajax like are still there especially if the pop-up is not working.

clove28
Registered User
Posts: 97
Joined: Mon Apr 21, 2014 11:00 am

Re: [RC2] phpBB Ajax Like

Post by clove28 » Tue Jul 01, 2014 8:34 am

Hi! I have another question for this mod.

Is it possible to know who received the most number of likes among the members?

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

Re: [RC2] phpBB Ajax Like

Post by emosbat » Thu Jul 03, 2014 9:32 am

clove28 wrote:Hi! I have another question for this mod.

Is it possible to know who received the most number of likes among the members?
no in this version.

Locked

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