ajaxlike

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Anti-Spam Guide
Locked
io2
Registered User
Posts: 29
Joined: Sun Dec 06, 2015 8:22 pm

ajaxlike

Post by io2 »

I installed ajaxlike in my forum.
It work in desktop version but it don't work in mobile version.
The like button is visible in mobile version but it don't work.
I also added the jquery pack code in mobile template.
My mobile style is artodia mobile & seo.
Please you help me.
User avatar
Elias
Registered User
Posts: 5152
Joined: Sat Feb 25, 2006 4:31 pm
Name: Elias

Re: ajaxlike

Post by Elias »

You should ask your question(s) in this topic:
viewtopic.php?f=70&t=2162699
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|
io2
Registered User
Posts: 29
Joined: Sun Dec 06, 2015 8:22 pm

Re: ajaxlike

Post by io2 »

Elias wrote:You should ask your question(s) in this topic:
viewtopic.php?f=70&t=2162699
the topic Is locked.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53411
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: ajaxlike

Post by Brf »

Indeed.
There is no more support for Mods in Development.
io2
Registered User
Posts: 29
Joined: Sun Dec 06, 2015 8:22 pm

Re: ajaxlike

Post by io2 »

can someone help me?
there is some script of template in conflict with jquery pack.
attached there are the script file of mobile&seo.
my overall_header.html is:

Code: Select all

<!DOCTYPE html>
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}" class="nojs">
<head>

<!-- 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 -->

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> 
<!-- ajaxlike -->
<link href="{T_THEME_PATH}/ajaxlike.css" rel="stylesheet" type="text/css"  />
<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 -->
<link rel="apple-touch-icon" sizes="57x57" href="http://www.regginalife.com/favicons/apple-touch-icon-57x57.png">

<link rel="apple-touch-icon" sizes="60x60" href="http://www.regginalife.com/favicons/apple-touch-icon-60x60.png">

<link rel="apple-touch-icon" sizes="72x72" href="http://www.regginalife.com/favicons/apple-touch-icon-72x72.png">

<link rel="apple-touch-icon" sizes="76x76" href="http://www.regginalife.com/favicons/apple-touch-icon-76x76.png">

<link rel="apple-touch-icon" sizes="114x114" href="http://www.regginalife.com/favicons/apple-touch-icon-114x114.png">

<link rel="apple-touch-icon" sizes="120x120" href="http://www.regginalife.com/favicons/apple-touch-icon-120x120.png">

<link rel="apple-touch-icon" sizes="144x144" href="http://www.regginalife.com/favicons/apple-touch-icon-144x144.png">

<link rel="apple-touch-icon" sizes="152x152" href="http://www.regginalife.com/favicons/apple-touch-icon-152x152.png">

<link rel="apple-touch-icon" sizes="180x180" href="http://www.regginalife.com/favicons/apple-touch-icon-180x180.png">

<link rel="icon" type="image/png" href="http://www.regginalife.com/favicons/favicon-32x32.png" sizes="32x32">

<link rel="icon" type="image/png" href="http://www.regginalife.com/favicons/android-chrome-192x192.png" sizes="192x192">

<link rel="icon" type="image/png" href="http://www.regginalife.com/favicons/favicon-96x96.png" sizes="96x96">

<link rel="icon" type="image/png" href="http://www.regginalife.com/favicons/favicon-16x16.png" sizes="16x16">

<link rel="manifest" href="http://www.regginalife.com/favicons/manifest.json">

<meta name="msapplication-TileColor" content="#da532c">

<meta name="msapplication-TileImage" content="http://www.regginalife.com/favicons/mstile-144x144.png">

<meta name="theme-color" content="#ffffff">
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
<!--
	phpBB style name: Artodia: Mobile and SEO
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by:	  Vjacheslav Trushkin ( http://www.artodia.com/ )
-->
<link href="{T_THEME_PATH}/style.css" rel="stylesheet" type="text/css" />

<script src="{T_TEMPLATE_PATH}/mobile.js"></script>

<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-26070735-1', 'auto');  // Replace with your property ID.
ga('send', 'pageview');

</script>
<!-- End Google Analytics -->
<!-- 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 -->
</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<table width="100%" border="0" cellspacing="0" cellpadding="0"	bgcolor="#990000">
  <tr>
    <td	bgcolor="#990000"><a href="http://www.regginalife.com/web2"><img src="http://www.regginalife.com/logopiccolo.png"></a></td>
    <td bgcolor="#990000"><center><font color="#FFFFFF" size="4"><b>RegginaLife.com</font></b></center></td>
    <td bgcolor="#990000"><a href="http://www.regginalife.com/web2"><div align="right"><img src="http://www.regginalife.com/logopiccolo.png"></a></div></td>
  </tr>
</table>
<div id="page-header" class="nav-block gradient <!-- IF S_DISPLAY_SEARCH --><!-- IF PAGE_NUMBER and PAGINATION -->menu-3<!-- ELSE -->menu-2<!-- ENDIF --><!-- ELSEIF PAGE_NUMBER and PAGINATION -->menu-2<!-- ELSE -->menu-1<!-- ENDIF -->">
    <ul id="page-header-start">
        <li>
        <a href="javascript:void(0);" class="menu-link back"><span>{L_INDEX}</span></a>
            <ul class="sub" itemscope="itemscope">
                <li><a href="{U_INDEX}" itemprop="url" rel="up">{L_INDEX}</a></li>
                <!-- BEGIN navlinks --> 
                    <li><a href="{navlinks.U_VIEW_FORUM}" itemprop="url" rel="up">{navlinks.FORUM_NAME}</a></li>
                <!-- END navlinks -->   
            </ul>
        </li>
    </ul>
    <ul id="page-header-menu">
        <li><a href="javascript:void(0);" class="menu-link main"><span>{L_INDEX}</span></a>
            <ul class="sub">
    			<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
                    <li><a href="{U_PROFILE}">{L_PROFILE}</a></li>
                    <!-- IF S_DISPLAY_PM --><li><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></li><!-- ENDIF -->
                    <!-- IF U_RESTORE_PERMISSIONS --><li><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a></li><!-- ENDIF -->
                <!-- ENDIF -->
				<li><a href="{U_FAQ}">{L_FAQ}</a></li>
                    <!-- Ajax like notification -->
                    <!-- IF AJAXLIKE_ENABLE -->
					<li><a href="#" onclick="ajaxlike_liked_listbox('{AJAXLIKE_NOTIFY_CALLBACK}'); return false;"><b>{AL_NEW_LIKE}</b>{L_AL_LIKE_NEW}</a></li>
					<!-- ENDIF -->
                    <!-- Ajax like notification -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST --><li><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
					<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
					<li><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></li>
				<!-- ENDIF -->
            </ul>
        </li>
        <!-- IF S_DISPLAY_SEARCH -->
        <li><a href="javascript:void(0);" class="menu-link search"><span>{L_SEARCH_ADV}</span></a>
            <ul class="sub">
                <li><a href="{U_SEARCH}">{L_SEARCH_ADV}</a></li>
                <!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
                    <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
                <!-- ENDIF -->
        		<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
        		<!-- IF S_LOAD_UNREADS --><li><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a></li><!-- ENDIF -->
        		<!-- IF S_USER_LOGGED_IN --><li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li><!-- ENDIF -->
        		<li><a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
            </ul>
        </li>
        <!-- ENDIF -->
        <!-- IF PAGE_NUMBER and PAGINATION -->
        <li class="pages"><a href="javascript:void(0);" class="menu-link">#</a>
            <ul class="sub">
                <li>{PAGE_NUMBER} &nbsp; {PAGINATION}</li>
    			<!-- IF PREVIOUS_PAGE --><li><a href="{PREVIOUS_PAGE}">{L_PREVIOUS}</a></li><!-- ENDIF -->
			    <!-- IF NEXT_PAGE --><li><a href="{NEXT_PAGE}">{L_NEXT}</a></li><!-- ENDIF -->
            </ul>
        </li>
        <!-- ENDIF -->
    </ul>
    <h1><!-- IF SCRIPT_NAME == 'viewforum' --><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a>
        <!-- ELSEIF SCRIPT_NAME == 'viewtopic' --><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a>
        <!-- ELSE --><a href="javascript:void(0);">{PAGE_TITLE}</a>
        <!-- ENDIF --></h1>
    <p>{SITE_DESCRIPTION}</p>
</div>

<div id="page-body">
<center>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- mobile grosso -->
<ins class="adsbygoogle"
     style="display:inline-block;width:320px;height:100px"
     data-ad-client="ca-pub-7424058012719290"
     data-ad-slot="4589260562"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>
<br>
		<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
		<div id="information" class="block rules">
            <h2>{L_INFORMATION}</h2> 
            {L_BOARD_DISABLED}
		</div>
        <!-- ELSEIF not S_IS_BOT && S_USER_LOGGED_IN && S_DISPLAY_PM && SCRIPT_NAME != 'ucp' -->
            <!-- IF S_USER_NEW_PRIVMSG and S_USER_PM_POPUP -->
                <div class="block rules" id="information">
                    <a href="{U_PRIVATEMSGS}"><!-- IF S_USER_NEW_PRIVMSG > 1 -->{L_YOU_NEW_PMS}<!-- ELSE -->{L_YOU_NEW_PM}<!-- ENDIF --></a>
                </div>
            <!-- ELSEIF S_USER_UNREAD_PRIVMSG or S_USER_NEW_PRIVMSG -->
                <div class="block rules" id="information">
                    <h2>{L_PRIVATE_MESSAGES}</h2>
                    <a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a>
                </div>
            <!-- ENDIF -->
        <!-- ENDIF -->  
Attachments
mobile.js
(7.42 KiB) Downloaded 32 times
io2
Registered User
Posts: 29
Joined: Sun Dec 06, 2015 8:22 pm

Re: ajaxlike

Post by io2 »

please, help me
LavIgor
Registered User
Posts: 545
Joined: Mon Apr 28, 2014 1:47 pm

Re: ajaxlike

Post by LavIgor »

io2 wrote:there is some script of template in conflict with jquery pack.
I installed the mentioned MOD on the mentioned style over a year ago.
It worked OK and works now too.
I suppose that I did some edits, at least style changes. ;)
io2
Registered User
Posts: 29
Joined: Sun Dec 06, 2015 8:22 pm

Re: ajaxlike

Post by io2 »

i resolved.
i moved the ajaxlike script before the style scripts.
Locked

Return to “[3.0.x] Styles Support & Discussion”