*** if mod not working and you need help from me, you should:
first check all suggestion in FIX COMMON PROBLEMS section. second if problem continue, install firebug addon in firefox, active it and refresh page and let me know if you see any error message in console tab. I have not enough time to visit every board and find every problem sorry I also do not support custom themes, you may hire a designer to make this mod working in a custom theme.
Modification Name: phpBB Ajax Like
Authors: eMosbat, ..::¦DJ¦::..
Modification Description:
this MOD add Like button feature to your board.
Modification Version:: 1.1.0
Requirements: phpBB 3.0.x, jQuery Pack for phpBB
you should install jQuery Pack for phpBB to make this MOD workable!
Features:
- full ajax
- display number of liked posts in user details (in topics)
- display number of likes received in user details (in topics)
- acp option to enable/disable like feature
- acp option to disallow unlike
- user permission and forum permission for using MOD
- show latest likes in user profiles
- ucp option to show/hide likes in profile
- notification feature
- subsilver2 support
notification feature:
Modification Download:
phpBB Ajax Like MOD
Contributes:
language translation that included in mod package:
- Spanish language translation (in package) by ..¦DJ¦..
- Farsi/Persian language translation (in package) by emosbat
- French language translation (in package) by Mathieu M.
- Turkish language translation by ZeNaNLi
- Romanian language translation by deejay_xb
- Italian language translation
- Top User Addon by Ali@php
- phpBB Ajax Like for Absolution Theme
my bitcoin is
1NEkMQUBCbV73VMZKjTdLREcfgGkWig39M
FIX COMMON PROBLEMS:
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.username popup (likes) not show correctly:
- remove all duplicate tipsy.js entries. some theme use this jquery plugins and also we used it in MOD. you could included and use this MOD's tipsy entry in your theme. if you have more than one tipsy.js in your code you get error.
Like button do not aprear:
- make sure that you set Group/User Permissions and Group forum Permissions to allow like posts.
- if you use theme rather than prosilver/subsliver2 you should copy files from prosilver/subsliver2 folder of mod package to your theme folder depend on what your theme base is (prosilver or subsliver2).
- if you use language rather than english, copy all language files to folder of your language (if translate not exist).
jquery conflict with other MODs:
- if you installed MODs that use jquery such as MChat, you should edit code and do not include two jquery entry also you should update to lastest jquery pack mod. here is some suggested fix (not tested):
- MChat jquery conflict fix
- Socialnet jquery conflict fix
I get this error from other mods that use jquery
TypeError: $ is not a function
look that source codes and change $ to JQuery for example if your mod use something like:
$(document).ready(function().....
change it to:
jQuery(document).ready(function().....
notification dialog not work when click on link:
- make sure you have just one jquery entry as I said in previous suggestion. remove duplicate entries (jquery.js and jquery-ui.js).
- make sure jquery pack is installed correctly in your theme and is enable.
notification popup does not hide:
- make sure jquery pack is installed correctly in your theme and is enable.
check source code for duplicate entries:
- for some unknow reason, automod may apply modifies twice in some custom themes and if this happen, notification will not works. check theme sources for duplicate entries (specially check header and footer template file).
example:
in this example red code duplicated.<!-- ajaxlike -->
<div id="ajaxlike_not-dialog">
</div>
<div id="ajaxlike-not-dialog" title="List of new likes">
</div>
<script type="text/javascript">
// <![CDATA[
ajaxlike_init_notify(15000,'./viewtopic.php');
// ]]>
</script>
<!-- ajaxlike --><!-- ajaxlike -->
<div id="ajaxlike_not-dialog">
</div>
<div id="ajaxlike-not-dialog" title="List of new likes">
</div>
<script type="text/javascript">
// <![CDATA[
ajaxlike_init_notify(15000,'./viewtopic.php');
// ]]>
</script>
<!-- ajaxlike -->