Something killed the scripts
4 posters
Page 1 of 1
Something killed the scripts
Hello!
I have a ppunbb forum and during the template edition I must have messed up something, because the scripts are no working. (Snowing or the edited toolbar share buttons)
Link: http://escvillage.createtopic.com/
On http://www.tophun.net/ I have the same scripts, I think, and everything works fine there.
Anyone could help to detect the causer?
I have a ppunbb forum and during the template edition I must have messed up something, because the scripts are no working. (Snowing or the edited toolbar share buttons)
Link: http://escvillage.createtopic.com/
On http://www.tophun.net/ I have the same scripts, I think, and everything works fine there.
Anyone could help to detect the causer?
Last edited by Mimóza on January 2nd 2016, 4:03 pm; edited 1 time in total
Re: Something killed the scripts
I don't seem to see you script tag in the header so check if you can find '{HOSTING_JS}' in the overall_header. If you cant find it place the variable inside the head tags.
10spetter10- Forumember
- Posts : 195
Reputation : 82
Language : Dutch
Re: Something killed the scripts
Hi,
Despite it is in the template I can't find it on your forum, but on tophun I can. So I guess that the variable is inside a part that is only visible when a specific feature is activeted.
Can you post the 'overall_header' or the part between row 180-220?
Despite it is in the template I can't find it on your forum, but on tophun I can. So I guess that the variable is inside a part that is only visible when a specific feature is activeted.
Can you post the 'overall_header' or the part between row 180-220?
10spetter10- Forumember
- Posts : 195
Reputation : 82
Language : Dutch
Re: Something killed the scripts
Thank you!
- overall_header:
- Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<link rel='shortcut icon' type='image/x-icon' href='http://www.iconj.com/ico/q/x/qxf8xw4br7.ico
' />
<link href='http://fonts.googleapis.com/css?family=Lato:300,400,700' type='text/css' />
<div id="felso">
<figure>
<img src="http://www.pictureshack.us/images/81517_neww.jpg"/>
<figcaption>
<h3>ESC Village</h3>
<p>Everything about Eurovision</p>
<p><a href="http://escvillage.createtopic.com/register">Click here to register!</a></p>
</figcaption>
</figure>
</div>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
<!-- BEGIN switch_fb_login -->
<script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
if (width_max > 0)
{
$('#fa_ticker_content').css('display','block');
$('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
if (slid_vert)
{
var height_max = h_perso;
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
$('ul#fa_ticker_content li').height(height_max);
}
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">
//<![CDATA[
jQuery().ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
$(window).load(function() {
Ticker.start({
height : {switch_ticker.HEIGHT},
spacing : {switch_ticker.SPACING},
speed : {switch_ticker.SPEED},
direction : '{switch_ticker.DIRECTION}',
pause : {switch_ticker.STOP_TIME}
});
});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
_gaq.push(["_trackPageview"]);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
</head>
<body>
<!-- BEGIN hitskin_preview -->
<div id="hitskin_preview" style="display: block;">
<h1><img src="http://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> Hit<em>skin</em>.com</h1>
<div class="content">
<p>
{hitskin_preview.L_THEME_SITE_PREVIEW}
<br />
<span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
</p>
</div>
</div>
<!-- END hitskin_preview -->
<!-- BEGIN switch_login_popup -->
<div id="login_popup" class="module main">
<div id="login_popup_title" class="main-head">
<div class="h3">{SITENAME}</div>
</div>
<div class="main-content">
{LOGIN_POPUP_MSG}
<div id="login_popup_buttons">
<form action="{S_LOGIN_ACTION}" method="get">
<input type="submit" class="button2" value="{L_LOGIN}" />
<input type="button" class="button2" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
<input id="login_popup_close" type="button" class="button2" value="{L_DONT_DISPLAY_AGAIN}" />
</form>
</div>
</div>
</div>
<!-- END switch_login_popup -->
<a id="top" name="top" accesskey="t"></a>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<!-- BEGIN switch_user_logged_in -->
<div id="user_navigation" class="not_logged_in"><ul class="ipsList_inline">
<li><a href="/profile?mode=editprofile">
<script>
jQuery(document).ready(function(){
jQuery.get('/profile?mode=editprofile&page_profil=avatars', function(data) {
link = jQuery('.frm dl dd img', data).attr('src');
if(link){
jQuery('#avatar').html('<center><img src="'+link+'" alt="" /></center>');
}else{
jQuery('#avatar').html('');
}
});
});
</script>
<div id="avatar"><center></center></div>
<li><a class="profilename" href="/profile?mode=editprofile"><span class="USERNAME"></span></a></li>
<li><a id="inbox_link" href="/privmsg?folder=inbox"><img src="http://i.imgur.com/TeAddws.gif"> </a></li>
<li><a href="/login?logout">Logout</a></li>
</ul></div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div class="login">
<div class="box-hover"><a href="/login"><img src="http://tinypic.com/r/2gv7bi8/8" class="signin" /> Sign In</a></div> <div class="box-hover"><a href="/register"><img src="http://i62.tinypic.com/2jfyr2w.png" class="register" /> Create Account</a></div></div>
<!-- END switch_user_logged_out -->
<div class="top-navigation">
<div class="top-logo">
<a href="/" class="logo"><img src="http://i1370.photobucket.com/albums/ag257/AppleDrink/esclogo.png" border="0" alt="Tales of Pirates magyarok"/></a>
<div id="search" class="attach">
<form method="get" action="/search?search_where=11" id="search-box">
<fieldset>
<label for="main_search" class="hide"></label>
<a href="/search" title="Advanced Search" accesskey="4" rel="search" id="adv_search" class="attach"></a>
<span id="search_wrap" class="attach">
<input type="text" name="search_keywords" id="main_search" maxlength="128" value="Search..." onclick="if (this.value == 'Search...') this.value = '';" onblur="if (this.value == '') this.value = 'Search...';"/>
<span class="choice ipbmenu clickable" id="search_options" style="">Forums</span>
<input type="submit" class="submit_input clickable" value=""/>
</span>
</fieldset>
</form>
</div>
</div>
</div>
<div class="pun">
<div id="primary_nav" class="clearfix">
<ul class="ipsList_inline" id="community_app_menu">
<li id="nav_home" class="left "><a href="/portal" title="Go to Portal" rel="home">Home</a></li>
<li id="nav_app_forums" class="left "><a href="/forum" title="Go to Forums">Forum</a></li>
<li id="nav_app_members" class="left "><a href="/memberlist" title="Go to Members">Members</a></li>
<li id="nav_app_profile" class="left "><a href="/profile?mode=editprofile" title="Go to Profile">Profile</a></li>
<li id="nav_app_mailbox" class="left "><a href="/privmsg" title="Go to Mailbox">Messages</a></li>
</ul>
</div>
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</div>
</div>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div class="pun-crumbs noprint">
<p class="crumbs">
<a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}
</p>
</div>
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<div id="outer-wrapper">
<div id="wrapper">
<div id="container">
<div id="content">
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
<div id="main">
<div id="main-content">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<!-- END html_validation -->
Re: Something killed the scripts
I don't seem to find an error there. The only thing that does come up to me is that you might have javascript disabled, but I guess you have already checked that.
10spetter10- Forumember
- Posts : 195
Reputation : 82
Language : Dutch
10spetter10- Forumember
- Posts : 195
Reputation : 82
Language : Dutch
Re: Something killed the scripts
No, or not all of them. I added the sparkling cursor effect thing in the index_body too, so I'm not sure which one is the working one. :DD
Still no snow, and toolbar share icons.
__________________
Edit: the sparkling effect is alive only on the index page. So only the code I posted in the index_body is considered not dead. The others are still not working.
Still no snow, and toolbar share icons.
__________________
Edit: the sparkling effect is alive only on the index page. So only the code I posted in the index_body is considered not dead. The others are still not working.
Re: Something killed the scripts
Why did you not add these scripts in the JavaScript Management?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Something killed the scripts
Did you have issues with your forum the last two days: https://help.forumotion.com/t145061-only-topic-forums-are-down-servimg-images-error-messages-while-posting . If you did, try this: https://help.forumotion.com/t145061p30-only-topic-forums-are-down-servimg-images-error-messages-while-posting#992246 . Did you ask if other members were seeing the same issues?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Something killed the scripts
No, I don't believe those issues would be the causers. No problem hit me during the past days. Even when someone reported they can't open their forums I could.
Actually, my forum is fairly new, so some other issues must have arisen during the build-up.
Actually, my forum is fairly new, so some other issues must have arisen during the build-up.
Re: Something killed the scripts
I figured I'd posts the scripts I'm using? Can a wrong code make all the others fail at working?
- Share Button Manager - All the Pages:
- Code:
$(function() {
var share = {
text : 'Megosztás',
buttons : {
/* DEFAULT SHARE BUTTONS */
fb : {
enable : true,
title : 'Megosztás Facebookon'
},
twitter : {
enable : true,
title : 'Megosztás Twitteren'
},
gp : {
enable : true,
title : 'Megosztás Google Pluson'
},
mail : {
enable : true,
title : 'Elküldés E-mailben'
},
rss : {
enable : true,
title : 'View this forum\'s RSS feed'
},
/* START CUSTOM SHARE BUTTONS */
/* extra share buttons */
pinterest : {
enable : true,
innerHTML : '<img src="http://i1370.photobucket.com/albums/ag257/AppleDrink/pinte_1.png" />',
title : 'Megosztás Pinteresten',
onclick : function(e) {
var media = prompt('You\'re about to pin this page. Share an image ?');
if (media == null) return false;
else if (media == '') media = $('meta[property="og:image"]').attr('content') || '';
window.open('http://pinterest.com/pin/create/button/?url=' + encodeURIComponent(window.location.href) + (media ? '&media=' + encodeURIComponent(media) : '') + '&description=' + encodeURIComponent(document.title), '', 'menubar=no,status=no,scrollbars=no,width=800,height=600');
e.preventDefault();
}
},
tumblr : {
enable : false,
innerHTML : '<img src="http://i21.servimg.com/u/f21/18/21/41/30/tumblr11.png" />',
title : 'Megosztás Tumblren',
onclick : function(e) {
window.open('http://www.tumblr.com/share/link?url=' + encodeURIComponent(window.location.href), '', 'menubar=no,status=no,scrollbars=no,width=800,height=600');
e.preventDefault();
}
},
reddit : {
enable : true,
innerHTML : '<img src="http://i1370.photobucket.com/albums/ag257/AppleDrink/redi_1.png" />',
title : 'Megosztás Redditen',
onclick : function(e) {
window.open('http://www.reddit.com/submit?url=' + encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title), '', 'menubar=no,status=no,scrollbars=no,width=800,height=600');
e.preventDefault();
}
},
/* misc buttons */
print : {
enable : false,
innerHTML : '<img src="http://i21.servimg.com/u/f21/18/21/60/73/print11.png" />',
title : 'Nyomtatás',
onclick : function(e) {
window.print();
e.preventDefault();
}
},
copy_url : {
enable : false,
innerHTML : '<img src="http://i21.servimg.com/u/f21/18/21/41/30/link10.png" />',
title : 'Copy BBCode URL',
onclick : function(e) {
prompt('Copy the BBCode URL of this page ?', '[url=' + window.location.href + ']' + document.title + '[/url]');
e.preventDefault();
}
},
top : {
enable : false,
innerHTML : '<img src="http://i21.servimg.com/u/f21/18/21/41/30/top10.png" />',
title : 'Top of the page',
href : '#top'
},
bottom : {
enable : false,
innerHTML : '<img src="http://i21.servimg.com/u/f21/18/21/41/30/bottom11.png" />',
title : 'Bottom of the page',
href : '#bottom'
}
/* END CUSTOM SHARE BUTTONS*/
}
},
newList = document.createElement('SPAN'),
fa_share,
fa_share_text,
existingNode,
newNode,
i, k;
$(function() {
fa_share = document.getElementById('fa_share');
fa_share_text = document.getElementById('fa_share_text');
if (!fa_share) return;
// apply new share text
if (fa_share_text) fa_share_text.innerHTML = share.text + ' : ';
// redefine share buttons
for (i in share.buttons) {
existingNode = document.getElementById('fa_' + i);
// modify exisiting share buttons
if (existingNode) {
if (share.buttons[i].enable) {
for (k in share.buttons[i]) if (k != 'enable') existingNode[k] = share.buttons[i][k];
newList.appendChild(existingNode);
}
else existingNode.parentNode.removeChild(existingNode);
}
// create a new share button
else if (share.buttons[i].enable) {
newNode = document.createElement('A');
newNode.id = 'fa_' + i;
for (k in share.buttons[i]) if (k != 'enable') newNode[k] = share.buttons[i][k];
if (!newNode.href) newNode.href = '#';
newList.appendChild(newNode);
}
}
fa_share.appendChild(newList);
});
});
- Emoji - All the pages:
- Code:
(function() {
var config = {
button_title : 'Emojis',
auto_close : false,
async_load : true,
emoji_size : 16, // 16, 36, or 72
emoji_list : '\uD83D\uDE00 \uD83D\uDE01 \uD83D\uDE02 \uD83D\uDE03 \uD83D\uDE04 \uD83D\uDE05 \uD83D\uDE06 \uD83D\uDE09 \uD83D\uDE0A \uD83D\uDE0B \uD83D\uDE0E \uD83D\uDE0D \uD83D\uDE18 \uD83D\uDE17 \uD83D\uDE19 \uD83D\uDE1A \u263A\uFE0F \uD83D\uDE07 \uD83D\uDE10 \uD83D\uDE11 \uD83D\uDE36 \uD83D\uDE0F \uD83D\uDE23 \uD83D\uDE25 \uD83D\uDE2E \uD83D\uDE2F \uD83D\uDE2A \uD83D\uDE2B \uD83D\uDE34 \uD83D\uDE0C \uD83D\uDE1B \uD83D\uDE1C \uD83D\uDE1D \uD83D\uDE12 \uD83D\uDE13 \uD83D\uDE14 \uD83D\uDE15 \uD83D\uDE16 \uD83D\uDE37 \uD83D\uDE32 \uD83D\uDE1E \uD83D\uDE1F \uD83D\uDE24 \uD83D\uDE22 \uD83D\uDE2D \uD83D\uDE26 \uD83D\uDE27 \uD83D\uDE28 \uD83D\uDE29 \uD83D\uDE2C \uD83D\uDE30 \uD83D\uDE31 \uD83D\uDE33 \uD83D\uDE35 \uD83D\uDE21 \uD83D\uDE20 \uD83D\uDC7F \uD83D\uDE08 \uD83D\uDC66 \uD83D\uDC67 \uD83D\uDC68 \uD83D\uDC69 \uD83D\uDC74 \uD83D\uDC75 \uD83D\uDC76 \uD83D\uDC71 \uD83D\uDC6E \uD83D\uDC72 \uD83D\uDC73 \uD83D\uDC77 \uD83D\uDC78 \uD83D\uDC82 \uD83C\uDF85 \uD83D\uDC7C \uD83D\uDC6F \uD83D\uDC86 \uD83D\uDC87 \uD83D\uDC70 \uD83D\uDE4D \uD83D\uDE4E \uD83D\uDE45 \uD83D\uDE46 \uD83D\uDC81 \uD83D\uDE4B \uD83D\uDE47 \uD83D\uDE4C \uD83D\uDE4F \uD83D\uDC64 \uD83D\uDC65 \uD83D\uDEB6 \uD83C\uDFC3 \uD83D\uDC83 \uD83D\uDC8F \uD83D\uDC91 \uD83D\uDC6A \uD83D\uDC6B \uD83D\uDC6C \uD83D\uDC6D \uD83D\uDCAA \uD83D\uDC48 \uD83D\uDC49 \u261D\uFE0F \uD83D\uDC46 \uD83D\uDC47 \u270C\uFE0F \u270A \u270B \uD83D\uDC4A \uD83D\uDC4C \uD83D\uDC4D \uD83D\uDC4E \uD83D\uDC4B \uD83D\uDC4F \uD83D\uDC50 \uD83D\uDC85 \uD83D\uDC63 \uD83D\uDC40 \uD83D\uDC42 \uD83D\uDC43 \uD83D\uDC45 \uD83D\uDC44 \uD83D\uDC8B \uD83D\uDC98 \u2764\uFE0F \uD83D\uDC93 \uD83D\uDC94 \uD83D\uDC95 \uD83D\uDC96 \uD83D\uDC97 \uD83D\uDC99 \uD83D\uDC9A \uD83D\uDC9B \uD83D\uDC9C \uD83D\uDC9D \uD83D\uDC9E \uD83D\uDC9F \uD83D\uDC8C \uD83D\uDCA7 \uD83D\uDCA4 \uD83D\uDCA2 \uD83D\uDCA3 \uD83D\uDCA5 \uD83D\uDCA6 \uD83D\uDCA8 \uD83D\uDCAB \uD83D\uDCAC \uD83D\uDCAD \uD83D\uDC53 \uD83D\uDC54 \uD83D\uDC55 \uD83D\uDC56 \uD83D\uDC57 \uD83D\uDC58 \uD83D\uDC59 \uD83D\uDC5A \uD83D\uDC5B \uD83D\uDC5C \uD83D\uDC5D \uD83C\uDF92 \uD83D\uDC5E \uD83D\uDC5F \uD83D\uDC60 \uD83D\uDC61 \uD83D\uDC62 \uD83D\uDC51 \uD83D\uDC52 \uD83C\uDFA9 \uD83D\uDC84 \uD83D\uDC8D \uD83D\uDC8E \uD83D\uDC79 \uD83D\uDC7A \uD83D\uDC7B \uD83D\uDC80 \uD83D\uDC7D \uD83D\uDC7E \uD83D\uDCA9 \uD83D\uDC35 \uD83D\uDE48 \uD83D\uDE49 \uD83D\uDE4A \uD83D\uDC12 \uD83D\uDC36 \uD83D\uDC15 \uD83D\uDC29 \uD83D\uDC3A \uD83D\uDC31 \uD83D\uDE38 \uD83D\uDE39 \uD83D\uDE3A \uD83D\uDE3B \uD83D\uDE3C \uD83D\uDE3D \uD83D\uDE3E \uD83D\uDE3F \uD83D\uDE40 \uD83D\uDC08 \uD83D\uDC2F \uD83D\uDC05 \uD83D\uDC06 \uD83D\uDC34 \uD83D\uDC0E \uD83D\uDC2E \uD83D\uDC02 \uD83D\uDC03 \uD83D\uDC04 \uD83D\uDC37 \uD83D\uDC16 \uD83D\uDC17 \uD83D\uDC3D \uD83D\uDC0F \uD83D\uDC11 \uD83D\uDC10 \uD83D\uDC2A \uD83D\uDC2B \uD83D\uDC18 \uD83D\uDC2D \uD83D\uDC01 \uD83D\uDC00 \uD83D\uDC39 \uD83D\uDC30 \uD83D\uDC07 \uD83D\uDC3B \uD83D\uDC28 \uD83D\uDC3C \uD83D\uDC3E \uD83D\uDC14 \uD83D\uDC13 \uD83D\uDC23 \uD83D\uDC24 \uD83D\uDC25 \uD83D\uDC26 \uD83D\uDC27 \uD83D\uDC38 \uD83D\uDC0A \uD83D\uDC22 \uD83D\uDC0D \uD83D\uDC32 \uD83D\uDC09 \uD83D\uDC33 \uD83D\uDC0B \uD83D\uDC2C \uD83D\uDC1F \uD83D\uDC20 \uD83D\uDC21 \uD83D\uDC19 \uD83D\uDC1A \uD83D\uDC0C \uD83D\uDC1B \uD83D\uDC1C \uD83D\uDC1D \uD83D\uDC1E \uD83D\uDC90 \uD83C\uDF38 \uD83D\uDCAE \uD83C\uDF39 \uD83C\uDF3A \uD83C\uDF3B \uD83C\uDF3C \uD83C\uDF37 \uD83C\uDF31 \uD83C\uDF32 \uD83C\uDF33 \uD83C\uDF34 \uD83C\uDF35 \uD83C\uDF3E \uD83C\uDF3F \uD83C\uDF40 \uD83C\uDF41 \uD83C\uDF42 \uD83C\uDF43 \uD83C\uDF47 \uD83C\uDF48 \uD83C\uDF49 \uD83C\uDF4A \uD83C\uDF4B \uD83C\uDF4C \uD83C\uDF4D \uD83C\uDF4E \uD83C\uDF4F \uD83C\uDF50 \uD83C\uDF51 \uD83C\uDF52 \uD83C\uDF53 \uD83C\uDF45 \uD83C\uDF46 \uD83C\uDF3D \uD83C\uDF44 \uD83C\uDF30 \uD83C\uDF5E \uD83C\uDF56 \uD83C\uDF57 \uD83C\uDF54 \uD83C\uDF5F \uD83C\uDF55 \uD83C\uDF72 \uD83C\uDF71 \uD83C\uDF58 \uD83C\uDF59 \uD83C\uDF5A \uD83C\uDF5B \uD83C\uDF5C \uD83C\uDF5D \uD83C\uDF60 \uD83C\uDF62 \uD83C\uDF63 \uD83C\uDF64 \uD83C\uDF65 \uD83C\uDF61 \uD83C\uDF66 \uD83C\uDF67 \uD83C\uDF68 \uD83C\uDF69 \uD83C\uDF6A \uD83C\uDF82 \uD83C\uDF70 \uD83C\uDF6B \uD83C\uDF6C \uD83C\uDF6D \uD83C\uDF6E \uD83C\uDF6F \uD83C\uDF7C \u2615 \uD83C\uDF75 \uD83C\uDF76 \uD83C\uDF77 \uD83C\uDF78 \uD83C\uDF79 \uD83C\uDF7A \uD83C\uDF7B \uD83C\uDF74 \uD83C\uDF73 \uD83C\uDF0D \uD83C\uDF0E \uD83C\uDF0F \uD83C\uDF10 \uD83C\uDF0B \uD83D\uDDFB \uD83C\uDFE0 \uD83C\uDFE1 \u26EA \uD83C\uDFE2 \uD83C\uDFE3 \uD83C\uDFE4 \uD83C\uDFE5 \uD83C\uDFE6 \uD83C\uDFE8 \uD83C\uDFE9 \uD83C\uDFEA \uD83C\uDFEB \uD83C\uDFEC \uD83C\uDFED \uD83C\uDFEF \uD83C\uDFF0 \uD83D\uDC92 \uD83D\uDDFC \uD83D\uDDFD \uD83D\uDDFE \u26F2 \u26FA \uD83C\uDF01 \uD83C\uDF03 \uD83C\uDF04 \uD83C\uDF05 \uD83C\uDF06 \uD83C\uDF07 \uD83C\uDF09 \uD83C\uDF0A \u2668\uFE0F \uD83D\uDDFF \uD83C\uDF0C \uD83C\uDFA0 \uD83C\uDFA1 \uD83C\uDFA2 \uD83D\uDC88 \uD83C\uDFAA \uD83C\uDFAD \uD83C\uDFA8 \uD83C\uDFB0 \uD83D\uDE82 \uD83D\uDE83 \uD83D\uDE84 \uD83D\uDE85 \uD83D\uDE86 \uD83D\uDE87 \uD83D\uDE88 \uD83D\uDE89 \uD83D\uDE8A \uD83D\uDE9D \uD83D\uDE9E \uD83D\uDE8B \uD83D\uDE8C \uD83D\uDE8D \uD83D\uDE8E \uD83D\uDE8F \uD83D\uDE90 \uD83D\uDE91 \uD83D\uDE92 \uD83D\uDE93 \uD83D\uDE94 \uD83D\uDE95 \uD83D\uDE96 \uD83D\uDE97 \uD83D\uDE98 \uD83D\uDE99 \uD83D\uDE9A \uD83D\uDE9B \uD83D\uDE9C \uD83D\uDEB2 \uD83D\uDEB3 \u26FD \uD83D\uDEA8 \u2693 \uD83D\uDD31 \u26F5 \uD83D\uDEA3 \uD83D\uDEA4 \uD83D\uDEA2 \u2708\uFE0F \uD83D\uDCBA \uD83D\uDE81 \uD83D\uDE9F \uD83D\uDEA0 \uD83D\uDEA1 \uD83D\uDE80 \uD83C\uDFE7 \uD83D\uDEAE \uD83D\uDEA5 \uD83D\uDEA6 \uD83D\uDEA7 \uD83D\uDEAB \uD83D\uDEAD \uD83D\uDEAF \uD83D\uDEB0 \uD83D\uDEB1 \uD83D\uDEB7 \uD83D\uDEB8 \u267F \uD83D\uDEB9 \uD83D\uDEBA \uD83D\uDEBB \uD83D\uDEBC \uD83D\uDEBE \uD83D\uDEC2 \uD83D\uDEC3 \uD83D\uDEC4 \uD83D\uDEC5 \u26A0\uFE0F \u26D4 \uD83D\uDEAA \uD83D\uDEBD \uD83D\uDEBF \uD83D\uDEC0 \uD83D\uDEC1 \u231B \u23F3 \u231A \u23F0 \uD83D\uDD5B \uD83D\uDD67 \uD83D\uDD50 \uD83D\uDD5C \uD83D\uDD51 \uD83D\uDD5D \uD83D\uDD52 \uD83D\uDD5E \uD83D\uDD53 \uD83D\uDD5F \uD83D\uDD54 \uD83D\uDD60 \uD83D\uDD55 \uD83D\uDD61 \uD83D\uDD56 \uD83D\uDD62 \uD83D\uDD57 \uD83D\uDD63 \uD83D\uDD58 \uD83D\uDD64 \uD83D\uDD59 \uD83D\uDD65 \uD83D\uDD5A \uD83D\uDD66 \u2648 \u2649 \u264A \u264B \u264C \u264D \u264E \u264F \u2650 \u2651 \u2652 \u2653 \u26CE \uD83C\uDF11 \uD83C\uDF12 \uD83C\uDF13 \uD83C\uDF14 \uD83C\uDF15 \uD83C\uDF16 \uD83C\uDF17 \uD83C\uDF18 \uD83C\uDF19 \uD83C\uDF1A \uD83C\uDF1B \uD83C\uDF1C \u2600\uFE0F \uD83C\uDF1D \uD83C\uDF1E \u2601\uFE0F \u26C5 \uD83C\uDF00 \uD83C\uDF08 \uD83C\uDF02 \u2614 \u2744\uFE0F \u26C4 \uD83C\uDF1F \uD83C\uDF20 \uD83D\uDD25 \uD83C\uDF83 \uD83C\uDF84 \uD83C\uDF86 \uD83C\uDF87 \u2728 \uD83C\uDF88 \uD83C\uDF89 \uD83C\uDF8A \uD83C\uDF8B \uD83C\uDF8C \uD83C\uDF8D \uD83C\uDF8E \uD83C\uDF8F \uD83C\uDF90 \uD83C\uDF91 \uD83C\uDF93 \uD83C\uDFAF \uD83C\uDFB4 \uD83C\uDF80 \uD83C\uDF81 \uD83C\uDFAB \u26BD \u26BE \uD83C\uDFC0 \uD83C\uDFC8 \uD83C\uDFC9 \uD83C\uDFBE \uD83C\uDFB1 \uD83C\uDFB3 \u26F3 \uD83C\uDFA3 \uD83C\uDFBD \uD83C\uDFBF \uD83C\uDFC2 \uD83C\uDFC4 \uD83C\uDFC7 \uD83C\uDFCA \uD83D\uDEB4 \uD83D\uDEB5 \uD83C\uDFC6 \uD83C\uDFAE \uD83C\uDFB2 \u2660\uFE0F \u2665\uFE0F \u2666\uFE0F \u2663\uFE0F \uD83C\uDCCF \uD83C\uDC04 \uD83D\uDD07 \uD83D\uDD08 \uD83D\uDD09 \uD83D\uDD0A \uD83D\uDCE2 \uD83D\uDCE3 \uD83D\uDCEF \uD83D\uDD14 \uD83D\uDD15 \uD83D\uDD00 \uD83D\uDD01 \uD83D\uDD02 \u25B6\uFE0F \u23E9 \u25C0\uFE0F \u23EA \uD83D\uDD3C \u23EB \uD83D\uDD3D \u23EC \uD83C\uDFBC \uD83C\uDFB5 \uD83C\uDFB6 \uD83C\uDFA4 \uD83C\uDFA7 \uD83C\uDFB7 \uD83C\uDFB8 \uD83C\uDFB9 \uD83C\uDFBA \uD83C\uDFBB \uD83D\uDCFB \uD83D\uDCF1 \uD83D\uDCF3 \uD83D\uDCF4 \uD83D\uDCF2 \uD83D\uDCF5 \u260E\uFE0F \uD83D\uDCDE #\u20E3\uFE0F 0\u20E3\uFE0F 1\u20E3\uFE0F 2\u20E3\uFE0F 3\u20E3\uFE0F 4\u20E3\uFE0F 5\u20E3\uFE0F 6\u20E3\uFE0F 7\u20E3\uFE0F 8\u20E3\uFE0F 9\u20E3\uFE0F \uD83D\uDD1F \uD83D\uDCF6 \uD83D\uDCDF \uD83D\uDCE0 \uD83D\uDD0B \uD83D\uDD0C \uD83D\uDCBB \uD83D\uDCBD \uD83D\uDCBE \uD83D\uDCBF \uD83D\uDCC0 \uD83C\uDFA5 \uD83C\uDFA6 \uD83C\uDFAC \uD83D\uDCFA \uD83D\uDCF7 \uD83D\uDCF9 \uD83D\uDCFC \uD83D\uDD05 \uD83D\uDD06 \uD83D\uDD0D \uD83D\uDD0E \uD83D\uDD2C \uD83D\uDD2D \uD83D\uDCE1 \uD83D\uDCA1 \uD83D\uDD26 \uD83C\uDFEE \uD83D\uDCD4 \uD83D\uDCD5 \uD83D\uDCD6 \uD83D\uDCD7 \uD83D\uDCD8 \uD83D\uDCD9 \uD83D\uDCDA \uD83D\uDCD3 \uD83D\uDCD2 \uD83D\uDCC3 \uD83D\uDCDC \uD83D\uDCC4 \uD83D\uDCF0 \uD83D\uDCD1 \uD83D\uDD16 \uD83D\uDCB0 \uD83D\uDCB4 \uD83D\uDCB5 \uD83D\uDCB6 \uD83D\uDCB7 \uD83D\uDCB8 \uD83D\uDCB1 \uD83D\uDCB2 \uD83D\uDCB3 \uD83D\uDCB9 \u2709\uFE0F \uD83D\uDCE7 \uD83D\uDCE8 \uD83D\uDCE9 \uD83D\uDCE4 \uD83D\uDCE5 \uD83D\uDCE6 \uD83D\uDCEB \uD83D\uDCEA \uD83D\uDCEC \uD83D\uDCED \uD83D\uDCEE \u270F\uFE0F \u2712\uFE0F \uD83D\uDCDD \uD83D\uDCBC \uD83D\uDCC1 \uD83D\uDCC2 \uD83D\uDCC5 \uD83D\uDCC6 \uD83D\uDCC7 \uD83D\uDCC8 \uD83D\uDCC9 \uD83D\uDCCA \uD83D\uDCCB \uD83D\uDCCC \uD83D\uDCCD \uD83D\uDCCE \uD83D\uDCCF \uD83D\uDCD0 \uD83D\uDCDB \u2702\uFE0F \uD83D\uDD12 \uD83D\uDD13 \uD83D\uDD0F \uD83D\uDD10 \uD83D\uDD11 \uD83D\uDD28 \uD83D\uDD27 \uD83D\uDD29 \uD83D\uDD17 \uD83D\uDC89 \uD83D\uDC8A \uD83D\uDD2A \uD83D\uDD2B \uD83D\uDEAC \uD83C\uDFC1 \uD83D\uDEA9 \uD83C\uDDE8\uD83C\uDDF3 \uD83C\uDDEB\uD83C\uDDF7 \uD83C\uDDE9\uD83C\uDDEA \uD83C\uDDEE\uD83C\uDDF9 \uD83C\uDDEF\uD83C\uDDF5 \uD83C\uDDF7\uD83C\uDDFA \uD83C\uDDF0\uD83C\uDDF7 \uD83C\uDDEA\uD83C\uDDF8 \uD83C\uDDEC\uD83C\uDDE7 \uD83C\uDDFA\uD83C\uDDF8 \u2B06\uFE0F \u2197\uFE0F \u27A1\uFE0F \u2198\uFE0F \u2B07\uFE0F \u2199\uFE0F \u2B05\uFE0F \u2196\uFE0F \u2195\uFE0F \u2194\uFE0F \u21A9\uFE0F \u21AA\uFE0F \u2934\uFE0F \u2935\uFE0F \uD83D\uDD03 \uD83D\uDD04 \uD83D\uDD19 \uD83D\uDD1A \uD83D\uDD1B \uD83D\uDD1C \uD83D\uDD1D \uD83D\uDD30 \uD83D\uDD2E \uD83D\uDD2F \u267B\uFE0F \u26A1 \u2B50 \u2B55 \u2705 \u2611\uFE0F \u2714\uFE0F \u2716\uFE0F \u274C \u274E \u2795 \u2796 \u2797 \u27B0 \u27BF \u303D\uFE0F \u2733\uFE0F \u2734\uFE0F \u2747\uFE0F \u203C\uFE0F \u2049\uFE0F \u2753 \u2754 \u2755 \u2757 \u3030\uFE0F \u00A9\uFE0F \u00AE\uFE0F \u2122\uFE0F \uD83D\uDCAF \uD83D\uDD1E \uD83D\uDD20 \uD83D\uDD21 \uD83D\uDD22 \uD83D\uDD23 \uD83D\uDD24 \uD83C\uDD70\uFE0F \uD83C\uDD8E \uD83C\uDD71\uFE0F \uD83C\uDD91 \uD83C\uDD92 \uD83C\uDD93 \u2139\uFE0F \uD83C\uDD94 \u24C2\uFE0F \uD83C\uDD95 \uD83C\uDD96 \uD83C\uDD7E\uFE0F \uD83C\uDD97 \uD83C\uDD7F\uFE0F \uD83C\uDD98 \uD83C\uDD99 \uD83C\uDD9A \uD83C\uDE01 \uD83C\uDE02\uFE0F \uD83C\uDE37\uFE0F \uD83C\uDE36 \uD83C\uDE2F \uD83C\uDE50 \uD83C\uDE39 \uD83C\uDE1A \uD83C\uDE32 \uD83C\uDE51 \uD83C\uDE38 \uD83C\uDE34 \uD83C\uDE33 \u3297\uFE0F \u3299\uFE0F \uD83C\uDE3A \uD83C\uDE35 \u25AA\uFE0F \u25AB\uFE0F \u25FB\uFE0F \u25FC\uFE0F \u25FD \u25FE \u2B1B \u2B1C \uD83D\uDD36 \uD83D\uDD37 \uD83D\uDD38 \uD83D\uDD39 \uD83D\uDD3A \uD83D\uDD3B \uD83D\uDCA0 \uD83D\uDD18 \uD83D\uDD32 \uD83D\uDD33 \u26AA \u26AB \uD83D\uDD34 \uD83D\uDD35 \uE50A \uD83C\uDDE6 \uD83C\uDDE7 \uD83C\uDDE8 \uD83C\uDDE9 \uD83C\uDDEA \uD83C\uDDEB \uD83C\uDDEC \uD83C\uDDED \uD83C\uDDEE \uD83C\uDDEF \uD83C\uDDF0 \uD83C\uDDF1 \uD83C\uDDF2 \uD83C\uDDF3 \uD83C\uDDF4 \uD83C\uDDF5 \uD83C\uDDF6 \uD83C\uDDF7 \uD83C\uDDF8 \uD83C\uDDF9 \uD83C\uDDFA \uD83C\uDDFB \uD83C\uDDFC \uD83C\uDDFD \uD83C\uDDFE \uD83C\uDDFF'
},
script = document.createElement('SCRIPT');
script.type = 'text/javascript';
script.src = 'http://twemoji.maxcdn.com/twemoji.min.js';
document.getElementsByTagName('HEAD')[0].appendChild(script);
document.write('<style type="text/css">.sceditor-button-twemoji div{background:url(http://twemoji.maxcdn.com/16x16/1f600.png)!important}.sceditor-twemoji{width:220px;height:250px;overflow-y:auto}.sceditor-twemoji img{cursor:pointer;padding:3px}.sceditor-twemoji img:hover{opacity:.7}</style>');
$(function(){
if ($.sceditor) {
// create sceditor button and drop down
$.sceditor.command.set('twemoji', {
dropDown : function(editor, caller, callback) {
if (!fa_twemoji.element) {
fa_twemoji.element = document.createElement('DIV');
fa_twemoji.element.innerHTML = twemoji.parse(fa_twemoji.emoji_list, {
size : fa_twemoji.emoji_size,
attributes : function() {
return {
style : 'display:none;'
};
}
}).replace(/\s(?=<|$)/g, '');
// load handler for images to lighten the deployment of emoji
// it displays and loads one image at a time rather all at once which can make the browser unresponsive
if (fa_twemoji.async_load) {
fa_twemoji.image = {
collection : $('img', fa_twemoji.element),
index : 0,
timeout : [0, 6000], // timeout after 6000 attempts on 1 image
load : window.setInterval(function() {
if (fa_twemoji.image.collection[fa_twemoji.image.index].complete) {
fa_twemoji.image.index++;
if (fa_twemoji.image.collection[fa_twemoji.image.index]) {
fa_twemoji.image.collection[fa_twemoji.image.index].style.display = '';
fa_twemoji.image.timeout[0] = 0;
} else {
window.clearInterval(fa_twemoji.image.load);
fa_twemoji.image.load = 'COMPLETE';
}
} else if (++fa_twemoji.image.timeout[0] > fa_twemoji.image.timeout[1]) {
window.clearInterval(fa_twemoji.image.load);
fa_twemoji.image.load = 'ERROR';
}
}, 10)
};
fa_twemoji.image.collection[fa_twemoji.image.index].style.display = ''; // start loading
} else {
$('img', fa_twemoji.element).show();
}
}
$(fa_twemoji.element).click(function(e) {
var target = e.target;
if (target.tagName == 'IMG') {
callback(target.src);
fa_twemoji.auto_close && editor.closeDropDown(true);
}
});
editor.createDropDown(caller, 'twemoji', fa_twemoji.element);
},
// wysiwyg
exec : function(c) {
var e = this;
$.sceditor.command.get('twemoji').dropDown(e, c, function(icon) {
e.insert(' [img]' + icon + '[/img] ', '', true, true, true);
});
},
// source
txtExec : function(c) {
var e = this;
$.sceditor.command.get('twemoji').dropDown(e, c, function(icon) {
e.insert(' [img]' + icon + '[/img] ', '', true, true, true);
});
},
tooltip : fa_twemoji.button_title
});
toolbar = toolbar.replace(/date,/,'twemoji,date,'); // add the button to the toolbar
}
});
if (!window.fa_twemoji) {
window.fa_twemoji = config;
}
}());
- No post to activate - Home page:
- Code:
$(function(){
var text = '<span class="lastpost-avatar"><img src="http://i58.tinypic.com/2enrbyd.png" /></span> <br/> No post to view';
var noPost = $('td.tcr');
$(noPost).each(function() {
if($(this).text() == '') {
$(this).html(text);
}
else { }
});
});
- Statistics - Homepage:
- Code:
$(document).ready(function(){
var rdtOn = $('.rdtOn strong').html();
var lastUser = $('.lastUser strong').html();
var totalUser = $('.totalUser strong').html();
var totalPost = $('.totalPost strong').html();
$('ul.statsPers').prepend('
<li><span>'+totalPost+'</span> Total Posts</li>
<li><span>'+totalUser+'</span> Total Member</li>
<li><span class="newest-m">'+lastUser+'</span> Newest Member</li>
<li><span>'+rdtOn+'</span> Most Online</li>
');
});
- Variables - All pages:
- Code:
(function(){if(window.ActiveXObject)var b=new ActiveXObject("Microsoft.XMLHTTP");else window.XMLHttpRequest&&(b=new XMLHttpRequest);null!=b&&(b.onreadystatechange=function(){if(4==b.readyState&&"undefined"===typeof var_fa_is_done){var_fa_is_done=1;var d,g="FORUMURL FORUMURLINK FORUMNAME FORUMNAMELINK FORUMDESC FORUMBIRTHDAY FORUMAGE FORUMCOUNTFORUM FORUMCOUNTOPIC FORUMCOUNTPOST FORUMCOUNTUSER FORUMONLINEUSER FORUMONLINEDATE FORUMLASTUSER FORUMLASTUSERLINK USERNAME USERLINK USERBIRTHDAY USERAGE USERREGDATE USERLASTVISIT USERCOUNTPOST NOW NOWWITHTIME".split(" ");
for(d=0;d<g.length;d++){var h=g[d],e=b.responseText.replace(RegExp('^.+<li style="margin-bottom:5px;direction:ltr;text-align:left;"><strong>{'+h+"}</strong> : (.*?) <span style='direction:ltr'>(.*?)</span><br /></li>.+$"),"$1");if(b.responseText!=e){for(var j=document.getElementsByTagName("*")||document.all,c=[],a=-1;++a<j.length;)for(var k=j[a],l=k.className.split(" "),f=0;f<l.length;f++)if(l[f]==h){c.push(k);break}for(a=-1;++a!=c.length;)"INPUT"==c[a].tagName||"TEXTAREA"==
c[a].tagName?c[a].value+=e:c[a].innerHTML+=e}}}},b.open("GET","/popup_help.forum?l=miscvars",!0),b.send(null))})();
- Button active - All pages:
- Code:
$(document).ready(function(){
if (location.pathname == "/forum"){
$('#nav_app_forums').addClass('active');
}
if (location.pathname == "/"){
$('#nav_home').addClass('active');
}
if (location.pathname == "/memberlist"){
$('#nav_app_members').addClass('active');
}
if (location.pathname == "http://code-testing.forumtl.com/profile?mode=editprofile"){
$('#nav_app_profile').addClass('active');
}
if (location.pathname == "/privmsg?folder=inbox"){
$('#nav_app_mailbox').addClass('active');
}
if (location.pathname == "/privmsg?folder=sentbox"){
$('#nav_app_mailbox').addClass('active');
}
else if (location.pathname == "/privmsg?folder=outbox"){
$('#nav_app_mailbox').addClass('active');
}
});
- Title Box - All pages:
- Code:
jQuery(document).ready(function() {
var url=$('.author-img a img').attr('src');
$('.teste').attr('src',url);
var url2=jQuery('.post:first .postmain .postbody .user .user-ident .user-basic-info a').attr('href');
jQuery('.teste2').attr('href',url2);
var url3=jQuery('span.creator').html();
jQuery('span[itemprop="creator"]').html(url3);
var url5=jQuery('span.data-post').html();
jQuery('span[itemprop="data_post"]').html(url5);
});
- Topic Title - Subforums:
- Code:
$(document).ready(function(){$('.tcl strong:contains("Announcement")').each(function(){$(this).css({'display':'inline-block','height':'16px','line-height':'16px','padding':'0
5px','font-size':'9px','font-weight':'bold','text-transform':'uppercase','color':'#fff','text-shadow':'rgba(0,0,0,0.2) 0px -1px 0px','-moz-border-radius':'3px','-webkit-border-radius':'3px','border-radius':'3px','background':'url("http://i58.servimg.com/u/f58/17/19/90/23/highli10.png") repeat-x 0 -1px #7ba60d','background-repeat':'repeat-x','background-position':'0 -1px','vertical-align':'middle','margin-left':'-5px',})})});
$(document).ready(function(){$('.tcl strong:contains("Global announcement")').each(function(){$(this).css({'display':'inline-block','height':'16px','line-height':'16px','padding':'0
5px','font-size':'9px','font-weight':'bold','text-transform':'uppercase','color':'#fff','text-shadow':'rgba(0,0,0,0.2) 0px -1px 0px','-moz-border-radius':'3px','-webkit-border-radius':'3px','border-radius':'3px','background':'url("http://i58.servimg.com/u/f58/17/19/90/23/highli10.png") repeat-x 0 -1px #af286d','background-repeat':'repeat-x','background-position':'0 -1px','vertical-align':'middle','margin-left':'-5px',})})});
$(document).ready(function(){$('.tcl strong:contains("Sticky")').each(function(){$(this).css({'display':'inline-block','height':'16px','line-height':'16px','padding':'0
5px','font-size':'9px','font-weight':'bold','text-transform':'uppercase','color':'#fff','text-shadow':'rgba(0,0,0,0.2) 0px -1px 0px','-moz-border-radius':'3px','-webkit-border-radius':'3px','border-radius':'3px','background':'url("http://i58.servimg.com/u/f58/17/19/90/23/highli10.png") repeat-x 0 -1px #7ba60d','background-repeat':'repeat-x','background-position':'0 -1px','vertical-align':'middle','margin-left':'-5px',})})});
- Snowing - All pages:
- Code:
$(function() {
$.getScript('http://js01.fra.co/21268.js');
});
$(function() {
$.getScript("http://illiweb.com/rs3/10/frm/snow.js");
});
- Immediate Reirection - All the pages:
- Code:
(function() {
for (var meta = document.getElementsByTagName('META'), i = 0, j = meta.length; i < j; i++) {
if (meta[i].httpEquiv && /refresh/i.test(meta[i].httpEquiv)) {
window.location.href = meta[i].content.replace(/^.*;url=/, '');
break;
}
}
}());
- Overwrite- All the pages:
- Code:
$(function() {
$(document.body).append('<style>#fa_fb, #fa_twitter, #fa_gp, #fa_mail, #fa_rss {background-position: 0px!important;}</style>');
});
- Cursor - All the pages:
- Code:
(function () {
var scripts = document.getElementsByTagName( 'script' );
var thisScriptTag = scripts[ scripts.length - 1 ];
var attr;
var param = new Array();
for (var i = 0; i < thisScriptTag.attributes.length; i++) {
attr = thisScriptTag.attributes[i];
if (/^data-/.test(attr.nodeName)) {
var tmp = attr.nodeName.replace(/^data-/, '');
if (tmp.search('-') == -1) param[tmp] = attr.nodeValue;
else
{
var tmp2 = tmp.split('-');
if (!param[tmp2[0]]) param[tmp2[0]] = {};
param[tmp2[0]][tmp2[1]] = attr.nodeValue;
}
}
}
var c = document.createElement('canvas');
var w = window.innerWidth;
var h = window.innerHeight;
c.width = w;
c.height = h;
c.style.left = "0px";
c.style.top = "0px";
c.style.position = "fixed";
c.style.zIndex = "1024";
c.style.pointerEvents = "none";
document.body.appendChild(c);
var ctx = c.getContext("2d");
var elems = {};
var scatter = parseFloat(param.scatter);
var initScatter = parseInt(param.initscatter);
var elemSize = parseInt(param.elemsize);
var countElems = parseInt(param.countelems);
var fallingSpeed = parseInt(param.fallingspeed);
var lifeSpan = parseFloat(param.lifespan);
var initOpac = parseFloat(param.initopac);
var elemStepTime = 50;
var soh1 = false;
var soh2 = false;
var lastDist = 0;
var shapeType = param.shapetype;
var shapeNormal = param.shapenormal;
var lastMoveT = 0;
var charsOrder = param.charsorder;
var colorsOrder = param.colorsorder;
var lastCharKey = 'i1';
var lastColorKey = 'i1';
var rotation = parseInt(param.rotation);
var startRotated = parseInt(param.startrotated);
var colorType = param.colortype;
var color = param.color;
var sat = parseInt(param.sat);
var light = parseInt(param.light);
var rainbowVar = parseInt(param.rainbowvar);
var glow = parseInt(param.glow);
var glitter = parseInt(param.glitter);
var preloadedImg = null;
var screenOffset = 0;
if (param.imageurl)
{
var image = new Image();
image.onload = function() {
preloadedImg = image;
}
image.src = param.imageurl;
}
var elementsObj = param.elementsobj;
var multicolorObj = param.multicolorobj;
http://console.log(param);
http://console.log(elementsObj);
http://console.log(multicolorObj);
function getXpos(ee)
{
return ee.clientX;
}
function getYpos(ee)
{
//return ee.screenY-screenOffset;
return ee.clientY;
}
function rnd_snd()
{
return (Math.random()*2-1)+(Math.random()*2-1)+(Math.random()*2-1)+(Math.random()*2-1)+(Math.random()*2-1);
}
function rnd(mean, stdev)
{
return Math.round(rnd_snd()*stdev+mean);
}
window.addEventListener('resize',function(e) {
w = window.innerWidth;
h = window.innerHeight;
c.width = w;
c.height = h;
}, false);
document.body.addEventListener('mousemove',function(e) {
//console.log(e);
var x = getXpos(e);
var y = getYpos(e);
var moveX = e.movementX || e.webkitMovementX || e.mozMovementX || 0;
var moveY = e.movementY || e.webkitMovementY || e.mozMovementY || 0;
if (moveX==0 && moveY==0) return false;
var dist = Math.sqrt(moveX*moveX+moveY*moveY);
dist = dist+lastDist;
//console.log(x);
//console.log(y);
var t = Date.now();
if (screenOffset == 0)
{
var tmpOff = Math.abs(e.screenY-e.clientY);
if (soh1 == tmpOff && soh2 == tmpOff) screenOffset = tmpOff;
else if (soh1) soh2 = tmpOff;
else soh1 = tmpOff;
//console.log('sof',screenOffset);
//console.log(e);
}
var iters = Math.floor(dist/(100/countElems));
var i = 0
//console.log(e);
//console.log('dist, iters',dist, iters,moveY);
while (dist >= (100/countElems))
{
var outKey = 'i1';
if (shapeType == 'custom')
{
if (charsOrder == 1)
{
var tmp = lastCharKey.substr(1);
if (tmp < Object.keys(elementsObj).length) tmp++;
else tmp = 1;
outKey = 'i'+tmp;
lastCharKey = outKey;
}
else
{
var count = 0;
for (var prop in elementsObj)
if (Math.random() < 1/++count)
outKey = prop;
}
}
if (startRotated) var rot = Math.floor(Math.random()*360);
else var rot = 0;
if (i>0) xStart = x - moveX * i/iters;
else xStart = x;
if (initScatter > 0) var xout = rnd(xStart,initScatter/2);
else xout = xStart;
if (i>0 && t-lastMoveT < 200) var fallingMod = (i/iters) * fallingSpeed * ((t-lastMoveT)/elemStepTime);
else var fallingMod = 0;
if (i>0) yStart = y - moveY * i/iters + fallingMod;
else yStart = y;
if (initScatter > 0) var yout = rnd(yStart,initScatter/2);
else yout = yStart;
//console.log(yout);
var colorKey = 'i1';
if (colorType == 'rainbow') var tmpColor = Math.floor(Math.random()*360);
else if (colorType == 'multi')
{
if (colorsOrder)
{
var tmp = lastColorKey.substr(1);
if (tmp < Object.keys(multicolorObj).length) tmp++;
else tmp = 1;
colorKey = 'i'+tmp;
lastColorKey = colorKey;
}
else
{
var count = 0;
for (var prop in multicolorObj)
if (Math.random() < 1/++count)
colorKey = prop;
}
}
elems['i'+t+'d'+i] = {opac:100,x:xout,y:yout,t:t,rotation:rot,side:0,side2:0,elemkey:outKey,colorkey:colorKey,color:tmpColor,rainbow:0};
dist = dist - (100/countElems);
i++;
}
lastDist = dist;
lastMoveT = t;
}, false);
var t = setInterval(function(){
// console.time('someFunction');
ctx.clearRect(0, 0, w, h);
//var testy = 0;
//var testy2 = 1;
for (key in elems)
{
var el = elems[key];
var t = Date.now()
var mult = (t-el.t)/elemStepTime;
//testy2 = testy2*mult;
//console.log(initOpac);
var opac = el.opac-(5/lifeSpan)*mult;
if (opac > 0)
{
//console.log(el);
el.t = t;
el.opac = opac;
el.y = el.y+fallingSpeed*mult;
if (scatter)
{
var tmpSize = Math.floor(Math.random()*(scatter*10+1))*2*mult;
el.side = el.side+tmpSize-scatter*mult*10;
el.x = el.x+el.side/10;
//testy = testy+tmpSize-scatter;
var tmpSize2 = Math.floor(Math.random()*(scatter*10+1))*2*mult;
el.side2 = el.side2+tmpSize2-scatter*mult*10;
el.y = el.y+el.side2/10;
//console.log(tmpSize,el.side,el.x);
}
//console.log(el.colorkey, multicolorObj[el.colorkey]);
//console.log(multicolorObj[el.colorkey].color.replace('rgb', 'rgba').replace(')', ','+((el.opac/100)*initOpac)+')'))
if (colorType == 'single') ctx.fillStyle = color.replace('rgb', 'rgba').replace(')', ','+((el.opac/100)*initOpac)+')');
else if (colorType == 'multi') ctx.fillStyle = multicolorObj[el.colorkey].replace('rgb', 'rgba').replace(')', ','+((el.opac/100)*initOpac)+')');
else if (colorType == 'rainbow')
{
if (rainbowVar == 0) ctx.fillStyle = 'hsla('+el.color+','+sat+'%,'+light+'%,'+((el.opac/100)*initOpac)+')';
else if (rainbowVar < 5)
{
var colorChange = Math.floor(Math.random()*rainbowVar*rainbowVar*2);
el.rainbow = el.rainbow+(colorChange-(rainbowVar*rainbowVar))*mult;
var colorOut = el.color+el.rainbow;
if (colorOut >= 360) colorOut = colorOut-360;
else if (colorOut < 0) colorOut = colorOut+360;
//console.log(colorOut,el.color,el.rainbow,colorChange);
ctx.fillStyle = 'hsla('+colorOut+','+sat+'%,'+light+'%,'+((el.opac/100)*initOpac)+')';
//console.log(ctx.fillStyle);
}
else if (rainbowVar == 5)
{
var hue = Math.floor(Math.random()*360);
ctx.fillStyle = 'hsla('+hue+','+sat+'%,'+light+'%,'+((el.opac/100)*initOpac)+')';
}
}
//ctx.fillStyle = 'rgba(255,0,0,'+((el.opac/100)*initOpac)+')';
//console.log(elemSize,shapeType,shapeNormal);
if (glow > 0)
{
//context.shadowColor = '#999';
if (colorType == 'single') ctx.shadowColor = color.replace('rgb', 'rgba').replace(')', ','+((el.opac/100)*(glow/50))+')');
else if (colorType == 'multi') ctx.shadowColor = multicolorObj[el.colorkey].replace('rgb', 'rgba').replace(')', ','+((el.opac/100)*(glow/50))+')');
else if (colorType == 'rainbow')
{
if (rainbowVar == 0) ctx.shadowColor = 'hsla('+el.color+','+sat+'%,'+light+'%,'+((el.opac/100)*(glow/50))+')';
else if (rainbowVar < 5) ctx.shadowColor = 'hsla('+colorOut+','+sat+'%,'+light+'%,'+((el.opac/100)*(glow/50))+')';
else if (rainbowVar == 5) ctx.shadowColor = 'hsla('+hue+','+sat+'%,'+light+'%,'+((el.opac/100)*(glow/50))+')';
}
ctx.shadowBlur = elemSize/2;
ctx.shadowOffsetX = 0;
ctx.shadowOffsetY = 0;
}
if (elemSize <= 2)
{
ctx.beginPath();
ctx.rect(el.x-(elemSize/2), el.y-(elemSize/2), elemSize, elemSize);
ctx.fill();
}
else
{
if (rotation != 0 || startRotated)
{
ctx.save();
el.rotation = el.rotation+rotation;
ctx.translate(el.x, el.y);
ctx.rotate((Math.PI / 180) * el.rotation);
ctx.translate(-el.x, -el.y);
}
if (shapeType == 'normal')
{
if (shapeNormal == 'circle')
{
ctx.beginPath();
ctx.arc(el.x, el.y, elemSize, 0, 2 * Math.PI, false);
ctx.fill();
}
else if (shapeNormal == 'star1')
{
ctx.beginPath();
ctx.moveTo(el.x,el.y-elemSize/2);
ctx.quadraticCurveTo(el.x,el.y,el.x+elemSize/2,el.y);
ctx.quadraticCurveTo(el.x,el.y,el.x,el.y+elemSize/2);
ctx.quadraticCurveTo(el.x,el.y,el.x-elemSize/2,el.y);
ctx.quadraticCurveTo(el.x,el.y,el.x,el.y-elemSize/2);
ctx.fill();
}
else if (shapeNormal == 'star2')
{
ctx.beginPath();
ctx.moveTo(el.x,el.y-elemSize/2);
ctx.quadraticCurveTo(el.x+elemSize/8,el.y-elemSize/8,el.x+elemSize/2,el.y);
ctx.quadraticCurveTo(el.x+elemSize/8,el.y+elemSize/8,el.x,el.y+elemSize/2);
ctx.quadraticCurveTo(el.x-elemSize/8,el.y+elemSize/8,el.x-elemSize/2,el.y);
ctx.quadraticCurveTo(el.x-elemSize/8,el.y-elemSize/8,el.x,el.y-elemSize/2);
ctx.fill();
}
else if (shapeNormal == 'drop')
{
var c = 0.551915024494*elemSize/2;
ctx.beginPath();
ctx.moveTo(el.x,el.y-elemSize);
ctx.bezierCurveTo(el.x,el.y-elemSize+c/2,el.x+elemSize/2,el.y-c,el.x+elemSize/2,el.y);
ctx.bezierCurveTo(el.x+elemSize/2,el.y+c,el.x+c,el.y+elemSize/2,el.x,el.y+elemSize/2);
ctx.bezierCurveTo(el.x-c,el.y+elemSize/2,el.x-elemSize/2,el.y+c,el.x-elemSize/2,el.y);
ctx.bezierCurveTo(el.x-elemSize/2,el.y-c,el.x,el.y-elemSize+c/2,el.x,el.y-elemSize);
ctx.fill();
}
}
else if (shapeType == 'custom')
{
ctx.font = elemSize+'px Arial';
ctx.textAlign = 'center';
ctx.fillText(elementsObj[el.elemkey], el.x, el.y+elemSize/2);
}
else if (shapeType == 'image')
{
if (preloadedImg) ctx.drawImage(preloadedImg,0,0,preloadedImg.width,preloadedImg.height,el.x,el.y,elemSize*2,preloadedImg.height*(elemSize*2/preloadedImg.width));
}
if (rotation != 0 || startRotated)
{
ctx.restore();
}
}
if (glitter && Math.floor(Math.random()*1000) < glitter*10*(el.opac/100))
{
var xpos = Math.floor(Math.random()*(elemSize+1))-elemSize/2;
var ypos = Math.floor(Math.random()*(elemSize+1))-elemSize/2;
ctx.fillStyle = 'white';
var r = 10;
var p = 4+Math.floor(Math.random()*5);
var m = 0.05;
ctx.save();
ctx.beginPath();
ctx.translate(el.x+xpos, el.y+ypos);
ctx.moveTo(0,0-r);
for (var i = 0; i < p; i++)
{
ctx.rotate(Math.PI / p);
ctx.lineTo(0, 0 - (r*m));
ctx.rotate(Math.PI / p);
ctx.lineTo(0, 0 - r);
}
ctx.fill();
ctx.restore();
}
elems[key] = el;
}
else delete elems[key];
}
//console.log(testy, testy2);
// console.timeEnd('someFunction');
}, elemStepTime);
})();
Re: Something killed the scripts
My guess is that there is an error in the last script. I turned on all the scripts one by one, and I got an error when I inserted the last one, then no script worked.
I didn't find the error but I'm not the greatest with javascript, so maybe somebody else can take a look?
You can turn the last script off by leaving all placingspots blank, so the other scripts will work again.
I didn't find the error but I'm not the greatest with javascript, so maybe somebody else can take a look?
You can turn the last script off by leaving all placingspots blank, so the other scripts will work again.
10spetter10- Forumember
- Posts : 195
Reputation : 82
Language : Dutch
Re: Something killed the scripts
THANK YOU SO MUCH!
Everything seems to be okay now! Thanks again for all the help you provide me!
Everything seems to be okay now! Thanks again for all the help you provide me!
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum