Code: Select all
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery-1.8.3.min.js"></script>
there is conflict between social network chat and recent active topics scroll...
back then i removed the above mentioned line and put it on overall header.html
I also removed the first Jquery line in Top stat Mod of overall header file since i have already put the Jquery line of social net in overall header<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery-1.8.3.min.js"></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>
Code: Select all
<!-- IF (S_TSRAT_ENABLE and S_TS_JSSCROLL) or (S_TSRAT_ENABLE and S_TS_TICKER) -->
<!-- IF S_TS_JSSCROLL and not S_TS_TICKER -->
<script src="{ROOT_PATH}script/jquery.totemticker.min.js" type="text/javascript"></script>
this is my overall header
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>
<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} <!-- IF S_IN_MCP -->{L_MCP} <!-- ELSEIF S_IN_UCP -->{L_UCP} <!-- ENDIF --></title>
<script type='text/javascript' src='http://mod.postimage.org/phpbb3-english.js' charset='utf-8'></script>
<link rel="shortcut icon" href="http://www.indianpoliticalforum.in/images/gh.jpg" />
<!-- 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();
/**
* 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_SOCIALNET_JS_PATH}/jquery-1.8.3.min.js"></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>
<!-- IF (S_TSRAT_ENABLE and S_TS_JSSCROLL) or (S_TSRAT_ENABLE and S_TS_TICKER) -->
<!-- IF S_TS_JSSCROLL and not S_TS_TICKER -->
<script src="{ROOT_PATH}script/jquery.totemticker.min.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function() {
$('#vertical-ticker').totemticker({
row_height : '41px',
max_items : 3,
speed : {JSSCROLL_SPEED},
interval : {JSSCROLL_INTERVAL},
<!-- IF TS_JSSCROLL_NAVIGATION -->
next : '#ticker-next',
previous : '#ticker-previous',
stop : '#stop',
start : '#start',
<!-- ENDIF -->
mousestop : true,
direction : '<!-- IF TS_JSSCROLL_DIRECTION -->down<!-- ELSE -->up<!-- ENDIF -->'
});
});
// ]]>
</script>
<!-- ELSEIF S_TS_TICKER and not S_TS_JSSCROLL -->
<script src="{ROOT_PATH}script/jquery.newsticker.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function() {
$("#news").newsTicker();
});
// ]]>
</script>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- INCLUDE socialnet/overall_header_hook_css.html -->
<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++" />
<!-- IF S_AUTO_ADVERTISE_PUBLIC_FEED -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="{U_SMARTFEED_URL}?{U_RSS_PARAMETERS}" />
<link rel="alternate" type="application/atom+xml" title="ATOM" href="{U_SMARTFEED_URL}?{U_ATOM_PARAMETERS}" />
<!-- ENDIF -->
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
<!-- INCLUDE gallery/plugins_header.html -->
<!-- INCLUDE socialnet/overall_header_hook_js.html -->
<style type="text/css">
#menu ul li a {
color: #{S_MENU_FONT_COLOR};
}
#menu ul li a:hover {
background: url('{T_THEME_PATH}/images/menu/{S_MENU_COLOR}/menu_bg_hover.gif') repeat-x;
color: #{S_MENU_FONT_COLOR_HOVER};
text-decoration: {S_MENU_DECORATION};
}
#menu ul ul li {
background: url('{T_THEME_PATH}/images/menu/{S_MENU_COLOR}/menu_subbg.gif') repeat-x;
}
#menu ul ul li a:hover {
background: url('{T_THEME_PATH}/images/menu/{S_MENU_COLOR}/menu_subbg_hover.gif') repeat-x;
}
</style>
<!-- IF S_MCHAT_ENABLE and (S_MCHAT_ON_INDEX or U_MCHAT) -->
<!-- ENDIF -->
</head>
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT and not S_IN_UCP -->
<div id="info"><div id="infobar">
<a href="{U_REGISTER}"><img style="width: 50px; height: 50px; padding-right: 100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/reg.png" />{L_PMG_WELCOME} {SITENAME}. {L_PMG_REGISTER}<img style="width: 50px; height: 50px; padding-left:100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/reg.png" /></a>
</div></div>
<!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_USER_PM_POPUP and S_DISPLAY_PM and (S_USER_NEW_PRIVMSG or S_USER_UNREAD_PRIVMSG) -->
<div id="info"><div id="infobar">
<a href="{U_PRIVATEMSGS}"><img style="width:50px; height: 50px; padding-right: 100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/mail.png" />{L_PMG_HELLO} {S_USERNAME} {L_PMG_YOUHAVE} {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD --> {L_PMG_AND} {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --><img style="width: 50px; height: 50px; padding-left:100px; vertical-align:middle;" alt="" src="{T_THEME_PATH}/images/mail.png" /></a>
</div></div>
<!-- ENDIF -->
<div id="wrap">
<a id="top" name="top" accesskey="t"></a>
<div id="page-header">
<div class="headerbar">
<div class="inner"><span class="corners-top"><span></span></span>
<div style="height: 179px;">
<div id="site-description">
<p class="skiplink"></br><a href="#start_here">{L_SKIP}</a></p>
</div>
<!-- IF ( S_DISPLAY_SEARCH and not S_IN_SEARCH ) and not ( .buttons and S_MENU_SEARCH ) -->
<div id="search-box">
<form action="{U_SEARCH}" method="get" id="search">
<fieldset>
<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
<input class="button2" value="{L_SEARCH}" type="submit" /><br />
<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
</fieldset>
</form>
</div>
<!-- ENDIF -->
<!-- IF .buttons -->
<span class="corners-bottom" style="height:0px;"><span style="display: none;"></span></span></div>
</div>
<div id="menu" style="clear:both;margin-top:-3px;background: url('{T_THEME_PATH}/images/menu/{S_MENU_COLOR}/menu_bg.gif') repeat-x;">
<div class="inner">
<span class="menu_corner-left" style="background: url('{T_THEME_PATH}/images/menu/{S_MENU_COLOR}/menu_corner.gif') no-repeat;"></span>
<span class="menu_corner-right" style="background: url('{T_THEME_PATH}/images/menu/{S_MENU_COLOR}/menu_corner_right.gif') no-repeat;"></span>
<!-- IF S_DISPLAY_SEARCH and S_MENU_SEARCH -->
<div id="top-search" style="<!-- IF S_MENU_ALIGN == 'right' -->float: left;<!-- ELSE -->float: right;<!-- ENDIF -->background: transparent url('{T_THEME_PATH}/images/menu/{S_MENU_COLOR}/menu_search.gif') no-repeat scroll 0 0;">
<form action="{U_SEARCH}" method="post" id="search">
<fieldset>
<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="menu_search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
{S_SEARCH_HIDDEN_FIELDS}
</fieldset>
</form>
</div>
<!-- ENDIF -->
<ul>
<!-- BEGIN buttons -->
<li style="float:{S_MENU_ALIGN};"<!-- IF .buttons.sub --> onmouseover="getElementsByTagName('ul')[0].style.display = 'block';" onmouseout="getElementsByTagName('ul')[0].style.display = 'none';"<!-- ENDIF -->>
<a href="{buttons.URL}" title="{buttons.NAME}"<!-- IF buttons.EXTERNAL --> target="_blank"<!-- ENDIF --> style="font-weight:{S_MENU_WEIGHT};text-transform:{S_MENU_TEXT_TRANSFORM};">{buttons.NAME}</a>
<!-- IF .buttons.sub -->
<ul>
<!-- BEGIN sub --><li><a href="{sub.URL}" title="{sub.NAME}"<!-- IF sub.EXTERNAL --> target="_blank"<!-- ENDIF --> style="font-weight:{S_MENU_WEIGHT};text-transform:{S_MENU_TEXT_TRANSFORM};">{sub.NAME}</a></li><!-- END sub -->
</ul>
<!-- ENDIF -->
</li>
<!-- END buttons -->
</ul>
<!-- ENDIF -->
<span class="corners-bottom"><span></span></span></div>
</div>
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="linklist navlinks">
<!-- IF SN_MODULE_ACTIVITYPAGE_ENABLED --><li class="icon-activitypage"><a href="{U_SN_ACTIVITYPAGE}">{L_SN_AP_ACTIVITYPAGE}</a><span id="sn-ntf-notify">(<a href="{U_VIEW_NOTIFY}">{S_SN_USER_UNREAD_NOTIFY}</a>)</span></li><!-- ENDIF -->
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>‹</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<ul class="linklist leftside">
<!-- IF S_USER_LOGGED_IN and not S_IS_BOT and SN_MODULE_PROFILE_ENABLED --><li class="icon-profile"><a href="{U_SN_MY_PROFILE}" title="{L_SN_MYPROFILE}"><strong>{S_USERNAME}</strong></a></li><!-- ENDIF -->
<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 --> •
<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
<!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS --> •
<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
<!-- ENDIF -->
<!-- IF U_USER_FLAG_NEW --> •
<a href="{U_USER_FLAG_NEW}" style="color: red; font-weight: bold;">{L_USER_FLAG_NEW}</a>
<!-- ENDIF -->
</li>
</ul>
<!-- ENDIF -->
<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>
<ul class="linklist rightside">
<li class="icon-faq"><a href="{U_RANKSPAGE}" title="{L_RARANKS}">{L_RARANKS}</a></li>
<li class="icon-smartfeed"><a href="{U_SMARTFEED}" title="{L_SMARTFEED_SHORT_EXPLAIN}">{L_SMARTFEED}</a></li>
<a href="http://www.facebook.com/pages/Indian-Political-Forum/125803064271190" title="Facebook Page" style="font: 0/0 a; text-shadow: none; color: transparent;"><img src="http://www.indianpoliticalforum.in/images/FB.png" alt="Facebook"/>Facebook</a>
<a href="https://twitter.com/IPFtweets" title="Twitter Page" style="font: 0/0 a; text-shadow: none; color: transparent;"><img src="http://www.indianpoliticalforum.in/images/TWEET.png" alt="Twiiter"/>Twitter</a>
<a href="https://plus.google.com/b/111397461190626024511/111397461190626024511/posts" title="Google Plus" style="font: 0/0 a; text-shadow: none; color: transparent;"><img src="http://www.indianpoliticalforum.in/images/google-plus-icon.png" alt="Google Plus"/>Google +</a>
<!-- IF S_MCHAT_ENABLE and U_MCHAT --><li class="icon-bump"><a href="{U_MCHAT}#mChat" title="{L_MCHAT_TITLE}">{L_MCHAT_TITLE}</a></li><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
<!-- IF S_DISPLAY_TOPLIST --><li class="icon-thanks_toplist"><a href="{U_REPUT_TOPLIST}" title="{L_REPUT_TOPLIST}">{L_REPUT_TOPLIST}</a></li><!-- ENDIF -->
<!-- IF S_DISPLAY_THANKSLIST --><li class="icon-thanks"><a href="{U_THANKSLIST}" title="{L_THANKS_USER}">{L_GRATITUDES}</a></li><!-- ENDIF -->
<!-- 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>
<span class="corners-bottom"><span></span></span></div>
</div>
</div>
<!-- IF not S_IS_BOT and COUNTDOWN_ENABLE -->
<!-- IF (COUNTDOWN_TESTMODE and U_ACP) or not COUNTDOWN_TESTMODE -->
<div class="navbar timecount">
<div class="inner"><span class="corners-top"><span></span></span>
<span id="time"></span>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<!-- ENDIF -->
<a name="start_here"></a>
<!-- IF COUNTDOWN_ENABLE -->
<script type="text/javascript">
// <![CDATA[
$(document).ready(function(){
$("#time").countdown({
date: "{COUNTDOWN_DATE}",
onComplete: function( event ) {
$(this).html("{COUNTDOWN_COMPLETE}");
},
leadingZero: true,
<!-- IF COUNTDOWN_OFFSET_ENABLE -->
offset: {COUNTDOWN_OFFSET},
<!-- ENDIF -->
<!-- IF COUNTDOWN_YEAR or COUNTDOWN_MONTH -->
yearsAndMonths: true,
<!-- ENDIF -->
htmlTemplate: "<span class='cd-time'>{COUNTDOWN_TEXT}</span><!-- IF COUNTDOWN_YEAR and COUNTDOWN_MONTH --> %y <span class=\"cd-time\">{L_COUNT_YEARS}</span><!-- ENDIF --><!-- IF COUNTDOWN_YEAR or COUNTDOWN_MONTH --> %m <span class=\"cd-time\">{L_COUNT_MONTHS}</span><!-- ENDIF --> %d <span class=\"cd-time\">{L_DAYS}</span> %h <span class=\"cd-time\">{L_HOURS}</span> %i <span class=\"cd-time\">{L_MINUTES}</span> %s <span class=\"cd-time\">{L_SECONDS}</span>",
direction: "<!-- IF COUNTDOWN_DIRECTION -->down<!-- ELSE -->up<!-- ENDIF -->"
});
});
// ]]>
</script>
<!-- ENDIF -->
<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>
</div>
<!-- ENDIF -->
Code: Select all
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.metadata.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery_cookie.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.timers.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.hoverIntent.min.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.text-overflow.min.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.watermark.min.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery-ui-1.9.2.custom.min.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.elastic.source.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.events.input.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.form.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.titlealert.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.detectmobilebrowser.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.expander.min.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.editable.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.jgrowl_minimized.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/underscore-min.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/jquery.mentionsInput.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/m.socialnet.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/m.confirmbox.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/m.im.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/m.notify.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/m.approval.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/m.userstatus.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/m.activitypage.js"></script>
<script type="text/javascript" src="{T_SOCIALNET_JS_PATH}/m.profile.js"></script>
<script type="text/javascript">
// <![CDATA[
jQuery(document).ready(function($){
socialNetwork.init({
allow_load: {B_AJAX_LOAD_ALLOW},
rtl: '{S_CONTENT_DIRECTION}' == 'rtl' ? true: false,
expanderTextMore: '{L_SN_EXPANDER_READ_MORE}',
expanderTextLess: '{L_SN_EXPANDER_READ_LESS}',
browserOutdatedTitle : '{L_BROWSER_OUTDATED_TITLE}',
browserOutdated : '{L_BROWSER_OUTDATED}',
showBrowserOutdated: '{S_SN_SHOW_OUTDATED_BROWSER_INFO}' == '1' ? true : false,
user_id: {S_SN_CURRENT_USER_ID},
cookie : {
name : '{COOKIE_NAME}',
path : '{COOKIE_PATH}',
domain : '{COOKIE_DOMAIN}',
secure : '{COOKIE_SECURE}'=='1'
},
confirmBox: {
enable: '{S_SN_CB_ENABLE}' == '1' ? true : false,
resizable : '{S_SN_CB_RESIZABLE}' == '1' ? true : false,
draggable : '{S_SN_CB_DRAGGABLE}' == '1' ? true : false,
modal : '{S_SN_CB_MODAL}' == '1' ? true : false,
width : '{S_SN_CB_WIDTH}',
button_confirm : '{L_SN_US_CONFIRM}',
button_cancel : '{L_SN_US_CANCEL}',
button_close : '{L_SN_US_CLOSE}',
postMinChar : {I_POST_MIN_CHARS}
},
enableModules : {
im : '{SN_MODULE_IM_ENABLED}' == '1',
us : '{SN_MODULE_USERSTATUS_ENABLED}' == '1',
ntf : '{SN_MODULE_NOTIFY_ENABLED}' == '1',
fms : '{SN_MODULE_APPROVAL_ENABLED}' == '1',
ap : '{SN_MODULE_ACTIVITYPAGE_ENABLED}' == '1' && '{S_ON_ACTIVITYPAGE}' == 1,
up : '{SN_MODULE_PROFILE_ENABLED}' == '1'
},
comments : {
watermark : '{L_SN_US_WRITE_COMMENT}',
empty : '{L_SN_US_EMPTY_COMMENT}',
deleteTitle : '{L_SN_CB_DELETE_COMMENT_TITLE}',
deleteText : '{L_SN_CB_DELETE_COMMENT_TEXT}'
},
menuPosition:{
my : "<!-- IF S_CONTENT_DIRECTION eq 'ltr' -->right<!-- ELSE -->left<!-- ENDIF --> top",
at : "<!-- IF S_CONTENT_DIRECTION eq 'ltr' -->left<!-- ELSE -->right<!-- ENDIF --> top"
}
});
// ## ACTIVITY PAGE -=- START ##
<!-- IF SN_MODULE_ACTIVITYPAGE_ENABLED and S_ON_ACTIVITYPAGE -->
socialNetwork.ap.init({
url : '{SOCIALNET_ROOT_PATH}activitypage.php',
blockOnlineUsers : '{B_SN_BLOCK_ONLINE_USERS_ENABLED}' == '1',
tikTakOnline : {I_SN_BLOCK_ONLINE_USERS_CHECK_TIME},
urlUsersAutocomplete: '{U_USERS_AUTOCOMPLETE}'
});
<!-- ENDIF -->
// ## ACTIVITY PAGE -=- END ##
// ## INSTANT MESSENGER -=- START ##
<!-- IF SN_MODULE_IM_ENABLED -->
socialNetwork.im.init({
url: '{SOCIALNET_ROOT_PATH}im.php',
rootPath: '{SOCIALNET_ROOT_PATH}',
newMessage: '{L_SN_IM_NEW_MESSAGE}',
namesMe: '{S_SN_USERNAME}',
youAreOffline: '{L_SN_IM_YOU_ARE_OFFLINE}',
titleNew: '{L_SN_IM_NEW_MESSAGE}',
sound: '{S_SN_IM_USER_SOUND}' == '1' ? true: false,
isOnline: '{SN_IM_ONLINE}' == '1' ? true: false,
timersMin: {SN_IM_MIN_CHECK},
timersMax: {SN_IM_MAX_CHECK},
lastCheckTime: {SN_IM_LAST_CHECKTIME},
linkNewWindow: '{S_SN_IM_LINK_NEW_WINDOW}' == '1' ? true: false,
playSoundOnPageLoad: {SN_IM_PLAY_SOUND_ON_PAGELOAD},
sendSequence: {
alt : {SN_IM_SENDSEQ_ALT},
ctrl : {SN_IM_SENDSEQ_CTRL},
shift : {SN_IM_SENDSEQ_SHIFT},
key : {SN_IM_SENDSEQ_KEY}
},
closeSequence : {
alt : {SN_IM_CLOSESEQ_ALT},
ctrl : {SN_IM_CLOSESEQ_CTRL},
shift : {SN_IM_CLOSESEQ_SHIFT},
key : {SN_IM_CLOSESEQ_KEY}
}
});
<!-- ENDIF -->
// ## INSTANT MESSENGER -=- END ##
// ## NOTIFICATIONS -=- START ##
<!-- IF SN_MODULE_NOTIFY_ENABLED -->
socialNetwork.ntf.init({
url:'{SOCIALNET_ROOT_PATH}notify.php',
theme: '{S_SN_NTF_THEME}',
life: {SN_NTF_LIFE},
checkTime: {SN_NTF_CHECKTIME}
});
<!-- ENDIF -->
// ## NOTIFICATIONS -=- END ##
// ## FRIEND MANAGEMENT SYSTEM -=- START ##
<!-- IF SN_MODULE_APPROVAL_ENABLED -->
socialNetwork.fms.init({
url: '{SOCIALNET_ROOT_PATH}approval.php',
urlFMS: '{SOCIALNET_ROOT_PATH}fms_users.php',
noFriends: '{L_FAS_FRIENDGROUP_NO_TOTAL}',
deleteUserGroup: '{L_FMS_DELETE_UFG}',
deleteUserGroupText: '{L_FMS_DELETE_UFG_TEXT}'
});
<!-- ENDIF -->
// ## FRIEND MANAGEMENT SYSTEM -=- END ##
// ## USER STATUS -=- START ##
<!-- IF SN_MODULE_USERSTATUS_ENABLED -->
socialNetwork.us.init({
watermark : '{L_SN_US_WHATS_ON_YOUR_MIND}',
emptyStatus : '{L_SN_US_EMPTY_STATUS}',
url : '{SOCIALNET_ROOT_PATH}userstatus.php',
urlFetch : '{SOCIALNET_ROOT_PATH}fetch.php',
deleteStatusTitle : '{L_SN_CB_DELETE_STATUS_TITLE}',
deleteStatusText: '{L_SN_CB_DELETE_STATUS_TEXT}',
deleteActivityTitle : '{L_SN_CB_DELETE_ACTIVITY_TITLE}',
deleteActivityText: '{L_SN_CB_DELETE_ACTIVITY_TEXT}'
});
<!-- ENDIF -->
// ## USER STATUS -=- END ##
// ## PROFILE -=- START ##
<!-- IF SN_MODULE_PROFILE_ENABLED -->
socialNetwork.up.init({
url : '{U_UP_TAB_WALL}',
urlAJAX : '{U_UP_AJAXURL}',
urlSelectFriends: '{U_SELECT_FRIENDS}',
spinner : '{L_SN_UP_TABS_SPINNER}',
nextText : '{L_NEXT}',
prevText : '{L_PREVIOUS}',
dateFormat : '{SN_DATE_FORMAT}',
dayNames : [ '{L_SN_UP_SUNDAY}', '{L_SN_UP_MONDAY}', '{L_SN_UP_TUESDAY}', '{L_SN_UP_WEDNESDAY}', '{L_SN_UP_THURSDAY}', '{L_SN_UP_FRIDAY}', '{L_SN_UP_SATURDAY}' ],
dayNamesShort : [ '{L_SN_UP_SUNDAY_MIN}', '{L_SN_UP_MONDAY_MIN}', '{L_SN_UP_TUESDAY_MIN}', '{L_SN_UP_WEDNESDAY_MIN}', '{L_SN_UP_THURSDAY_MIN}', '{L_SN_UP_FRIDAY_MIN}', '{L_SN_UP_SATURDAY_MIN}' ],
monthNames : [{SN_UP_MONTH_NAMES}],
monthNamesShort : [{SN_UP_MONTH_NAMES_SHORT}],
menuPosition:{
my : "<!-- IF S_CONTENT_DIRECTION eq 'ltr' -->right<!-- ELSE -->left<!-- ENDIF --> top",
at : "<!-- IF S_CONTENT_DIRECTION eq 'ltr' -->right<!-- ELSE -->left<!-- ENDIF --> bottom"
}
});
<!-- ENDIF -->
// ## PROFILE -=- END ##
});
// ]]>
</script>