Top Stats

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Anyway to incorportate Top likes into Top Stats?

Post by corleoner »

Yes, according to the users, it does work.

Rich included his code in this thread
https://www.phpbb.com/customise/db/mod/ ... 67#p182767

I am not concerned with any administration control, I would not be changing any settings on it once it's on the index. I can easily change the language to adjust the title of the Stat, and from there I would be set.

My goal would be to create a competition like atmosphere where the users would compete each month to try and be on the index for most liked for that month.

I know it probably sounds cheesy, but I think members on my forum enjoy the challenge to make it on the index, and in addition, having a like button is not as meaningful if there is not a reward for the good content. I think it's a fun way to encourage them to post good quality.

Just my thought. I'm willing to do whatever you need from me in regards to testing and tinkering with it. My knowledge is limited, but my effort is not.

I realize I may be a new guy around here, but my forum is new (launched Dec 1, 2013 and growing pretty quickly). I've never done a project like this, but I enjoy it very much, and you will be seeing much more of me, I will be a regular.

Raider-forums.com Please stop by and take a look if you like.

Nick

Anyway to incorportate Top likes into Top Stats?

Post by corleoner »

:twidle:








:P

Anyway to incorportate Top likes into Top Stats?

Post by Stoker »

open includes/functions_top_stats.php
Find:

Code: Select all

}

?>
Before add:

Code: Select all

// top five thanked users
   if (($user_thanked = $cache->get('_top_five_thanked')) === false)
   {
       $user_thanked = array();

      $sql = 'SELECT COUNT(t.post_id) AS tally, u.user_id, u.username, u.user_colour
         FROM ' . THANKS_TABLE . ' t
         LEFT JOIN ' . USERS_TABLE . ' u ON t.poster_id = u.user_id         
         GROUP BY t.poster_id
         ORDER BY tally DESC';
      $result = $db->sql_query_limit($sql, 5);
      while ($row = $db->sql_fetchrow($result))
      {
         $user_thanked[$row['user_id']] = array(
            'user_id'      => $row['user_id'],
                'username'      => $row['username'],
                'user_colour'   => $row['user_colour'],
            'user_thanks'    => $row['tally'],
         );
      }
      $db->sql_freeresult($result);         

      // cache this data for 5 minutes, this improves performance
      $cache->put('_top_five_thanked', $user_thanked, 300);
    }

    foreach ($user_thanked as $row)
    {
      $username_string = get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']);

      $template->assign_block_vars('top_five_thanked',array(
         'THANKS'          => $row['user_thanks'] > 1 ? sprintf($user->lang['THANKEDS'], $row['user_thanks']) : sprintf($user->lang['THANKED'], $row['user_thanks']),
         'USERNAME_FULL'      => $username_string)
      );
    }
Open: language\en\mods\info_acp_topstats.php
Find:

Code: Select all

));

?>
Before add:

Code: Select all

'TOP_THANKED'      => 'Top Thanked Users',
   'THANKED'         => 'Thanked %d time',
   'THANKEDS'         => 'Thanked %d times',
Above is a direct copy of Rich code. I havent looked at the "last month" option. The code will just display top 5 thanked users.

Open \styles\prosilver\template\top_stats_body.html
Find:

Code: Select all

{L_MOST_ACTIVE_USERS}
Replace with:

Code: Select all

{L_TOP_THANKED}
Find:

Code: Select all

<!-- BEGIN most_active_users -->
			<li class="row">
			<dl>
				<dt style="width:70%;"><a style="font-size:1.1em; font-weight:bold; color: #{most_active_users.USER_COLOUR};" href="{most_active_users.USER_ID}" title="{L_JOINED_US} {most_active_users.USER_REG}">{most_active_users.USERNAME}</a></dt>
				<dd class="lastpost" style="width:auto;"><span style="font-size:1.1em;"><a href="{most_active_users.USER_POST_SEARCH}">{most_active_users.USER_POSTS}</a> ({most_active_users.USER_POST_PERCENT}%)</span></dd>
			</dl>
			</li>
			<!-- END most_active_users -->
Replace with:

Code: Select all

<!-- BEGIN top_five_thanked -->
			<li class="row">
			<dl>
				<dt style="width:70%;">{top_five_thanked.USERNAME_FULL}</dt>
				<dd class="lastpost" style="width:auto;">{top_five_thanked.THANKS}</dd>
			</dl>
			</li>
			<!-- END top_five_thanked -->

Anyway to incorportate Top likes into Top Stats?

Post by corleoner »

Thank you for the help Stoker. This is the error message I get when I do all of that:

Fatal error: Call to a member function get() on a non-object in. . .public_html/includes/functions_thanks_forum.php on line 72

Scroll not working

Post by systemcrack »

Hello guys, I have a similar problem too.. I post my overall_header because frankly I have a lot of javascript.

I apologize in advance if this issue has already been discussed, but my poor knowledge of English does not allow me to search more.

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>
<link rel="shortcut icon" href="http://morfeuscommunity.altervista.org/morfeuscommunity.ico" />
<!-- DEFINE $SIDEBARS = 'right' --> <!-- Options: Left | Right | Both | Off -->
<!-- DEFINE $SIDEBAR_ON_PAGES = 'index' --> <!-- Options: Global | Index -->

<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="Morfeus Community, morfeus community, morfeuscommunity, prove, recensioni, release, esperimenti, comunità, non esperti, non, esperti, android, app, computer, pc, phpbb, html, programmare, crackare, web radio, photoshop, anime, cartoon, films, telefilms, documentari" />
<meta name="description" content="" />

{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

{TAPATALK_HEAD}

<!-- 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();

	<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
		var url = '{UA_POPUP_PM}';
		window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
	<!-- ENDIF -->

	/**
	* 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_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) -->
<script src="{ROOT_PATH}script/jquery.min.js" type="text/javascript"></script>
<!-- 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++" />
<link href="{T_THEME_PATH}/ticker.css" rel="stylesheet" type="text/css" />

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
	<!-- ENDIF -->
	
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>         
<script type="text/javascript">                                         
   $(document).ready(function() {
	  $('a[href^="http://"]').filter(function() {return this.hostname && this.hostname !== location.hostname;}).attr('target', '_blank');
   });                     
</script>

<script src="./TabbedPanels.js" type="text/javascript"></script>
    <link href="./TabbedPanels.css" rel="stylesheet" type="text/css" />
	
<!-- INCLUDE socialnet/overall_header_hook_js.html -->

<!--phpBB Pretty Sociable by Slash & Stoker www.wiizard.it www.phpbb3bbcodes.com-->
<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "viewforum" -->
<script type="text/javascript" src="{ROOT_PATH}script/prettySociable/js/jquery.prettySociable.js"></script>
<!-- ENDIF -->

<script type="text/javascript">
// <![CDATA[
$(document).ready(function(){
   <!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "viewforum" -->
   $.prettySociable();
   <!-- ENDIF -->   
});
// ]]>
</script>
<!--[if lte IE 6]><script src="{ROOT_PATH}script/prettySociable/js/DD_belatedPNG.js" type="text/javascript"></script><![endif]-->

<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "viewforum" -->
<link rel="stylesheet" href="{ROOT_PATH}script/prettySociable/css/prettySociable.css" type="text/css" media="screen" />
<!-- ENDIF -->
<!--phpBB Pretty Sociable by Slash & Stoker www.wiizard.it www.phpbb3bbcodes.com-->

<!-- IF S_JQUERY_TOPIC_PREVIEW -->
	<link href="{ROOT_PATH}styles/topic_preview_assets/topic_preview.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->

<script type="text/javascript">
$(document).ready(function() {
   $('#sn-not-logged-in').mouseenter(function() {
      $('#sn-not-logged-in-hover').fadeIn('medium');
   });
   $('#sn-not-logged-in-hover').mouseleave(function() {
      $('#sn-not-logged-in-hover').fadeOut('medium');
   });
});
</script><script type="text/javascript">
$(document).ready(function(){
   $("input:checkbox").each( function() {
      (this.checked) ? $("#fake"+this.id).addClass('fakechecked') : $("#fake"+this.id).removeClass('fakechecked');
   });
   $(".fakecheck").click(function(){
      ($(this).hasClass('fakechecked')) ? $(this).removeClass('fakechecked') : $(this).addClass('fakechecked');
      $(this.hash).trigger("click");
      return false;
   });
});
</script>

</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}<!-- IF SN_MODULE_IM_ENABLED --> sn-im-page<!-- ENDIF -->">

<!-- Tapatalk Detect body start --> 
<script type="text/javascript">tapatalkDetect()</script>
<!-- Tapatalk Detect banner body end -->

<div id="sn-header">
    <a id="top" name="top" accesskey="t"></a>
    <div id="sn-header-content">
    <a id="sn-logo" href="{U_INDEX}"><img src="{T_THEME_PATH}/images/logo2.png" width="484" height="100" alt="" /></a>
	
	<div id="sn-controlbox">
	<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<div id="sn-not-logged-in"></div>
<div id="sn-not-logged-in-hover">
<div id="sn-nli-content">

<form method="post" action="{S_LOGIN_ACTION}">
<fieldset style="margin-top: -5px;">
<span class="sn-form-label">{L_USERNAME}:</span><br />
<input type="text" name="username" class="sn-nli-form" title="{L_USERNAME}" />
<span class="sn-form-label">{L_PASSWORD}:</span><br />
<input type="password" name="password" class="sn-nli-form" title="{L_PASSWORD}" />

<a href="ucp.php?mode=sendpassword">{L_FORGOT_PASS}</a> <!-- IF S_REGISTER_ENABLED -->| <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF -->
<br /><br />
<!-- IF S_AUTOLOGIN_ENABLED --><a href="#autologin2" class="fakecheck" id="fakeautologin2">{L_LOG_ME_IN}</a><input type="checkbox" name="autologin" id="autologin2" style="display: none;" /><!-- ENDIF -->
<div style="clear: both;"><a href="#hidestatus" class="fakecheck" id="fakehidestatus">{L_HIDE_ME}</a><input type="checkbox" name="viewonline" id="hidestatus" style="display: none;" /></div>
<input type="submit" name="login" value="" id="sn-nli-button" />
</fieldset>
</form>
</div><!-- /sn-nli-content -->
</div><!-- /sn-not-logged-in-hover -->
<!-- ENDIF --><!-- /s-user-not-logged-in -->
	
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH and S_USER_LOGGED_IN -->
			<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 -->
    </div><!-- /sn-header-content -->
    </div><!-- /sn-header -->
</div><!-- /sn-controlbox -->
	
    <div id="sn-navbar">
    <div id="sn-navbar-content">

    <div style="float: left;">
    <img src="{T_THEME_PATH}/images/house.png" width="16" height="16" alt="" /><a href="{U_INDEX}">{L_INDEX}</a> &nbsp;
    <!-- IF SN_MODULE_ACTIVITYPAGE_ENABLED --><img src="{T_THEME_PATH}/images/icon_activitypage.gif" width="13" height="14" alt="" /><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 -->
	<!-- IF S_USER_LOGGED_IN -->
    <img src="{T_THEME_PATH}/images/user_edit.png" width="16" height="16" alt="" /><a href="{U_PROFILE}">{L_PROFILE}</a>
    <!-- ENDIF -->
	</div><!-- /float left -->

    <div style="float: right;">
    <!-- IF S_USER_LOGGED_IN --><img src="{T_THEME_PATH}/images/disconnect.png" width="16" height="16" alt="" /><a href="{U_LOGIN_LOGOUT}">{L_LOGOUT}</a><!-- ENDIF -->
	<img src="{T_THEME_PATH}/images/segnala.png" width="16" height="16" alt="" /><a href="{U_APPLICATION_FORM}">{L_APPLICATION_FORM}</a>
	<img src="{T_THEME_PATH}/images/information.png" width="16" height="16" alt="" /><a href="{U_FAQ}">{L_FAQ}</a> &nbsp;
	
    <!-- IF S_REGISTER_ENABLED and not S_USER_LOGGED_IN --><img src="{T_THEME_PATH}/images/add.png" width="16" height="16" alt="" /><a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF -->
    <!-- IF not S_USER_LOGGED_IN -->&nbsp; <img src="{T_THEME_PATH}/images/key.png" width="16" height="16" alt="" /><a href="{U_LOGIN_LOGOUT}">{L_LOGIN}</a><!-- ENDIF -->
    
	</div>

    </div><!-- /sn-navbar-content -->
    </div><!-- /sn-navbar -->

<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>
	<a name="start_here"></a>
	<br />
<!-- IF not S_USER_LOGGED_IN --><div class="global-notice green">
    <ul class="topiclist">
            <dl class="icon">
             <dd style="text-align: center; border:none;"><img src="{T_THEME_PATH}/images/warnmini.png" width="38" height="38" border=”1″ /></dd>
                    <dd class="lastpost" style="padding:5px; width:90%;"><strong>Benvenuto {S_USERNAME} </strong><br />
               Ti avvisiamo che gli amministratori e lo staff della community non sono responsabili per ciò che viene fatto con programmi, guide, link, app, trucchi, ecc.ecc.<br /> Essi infatti, sono solamente frutto di ricerche ed esperienze sul web e vengono postati al solo scopo di studio e prevenzione.</dd>
                </dl>
            </ul>
    
</div><!-- ENDIF -->
	<div id="page-body">
	
	<!-- IF not S_GROUP_11 --><!-- MOD Autor: alex75 www.vitara.it -->
   <!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_USER_NEW -->
              <div id="message" class="rules">
                 <div class="inner"><span class="corners-top"><span></span></span>
             <ul class="topiclist">
            <dl class="icon">
             <dd style="text-align: center; border:none;"><img src="{T_THEME_PATH}/images/warnmini.png" width="38" height="38" border=”1″ /></dd>
                    <dd class="lastpost" style="padding:5px; width:90%;"><strong>Benvenuto {S_USERNAME} </strong><br />
               Ti avvisiamo che gli amministratori e lo staff della community non sono responsabili per ciò che viene fatto con programmi, guide, link, app, trucchi, ecc.ecc.<br /> Essi infatti, sono solamente frutto di ricerche ed esperienze sul web e vengono postati al solo scopo di studio e prevenzione.</dd>
                </dl>
            </ul>
            <span class="corners-bottom"><span></span></span></div>
              </div>
              <!-- ENDIF --><!-- ENDIF -->
			  
	<ul class="linklist navlinks">
				<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>
		</ul>		
		<!-- IF $SIDEBAR_ON_PAGES == 'global' or ($SIDEBAR_ON_PAGES == 'index' and SCRIPT_NAME == 'index') -->
<!-- IF $SIDEBARS != 'off' -->
    <div class="sidebarwrapper">
<!-- ENDIF -->
    <!-- IF $SIDEBARS == 'left' -->
        <div class="fixedfluid-sidebar">
            <!-- INCLUDE sidebar_left.html -->
        </div>
       
        <div class="fixedfluid-content">
    <!-- ELSEIF $SIDEBARS == 'right' -->
        <div class="fluidfixed-sidebar">
            <!-- INCLUDE sidebar_right.html -->
        </div>
       
        <div class="fluidfixed-content">
    <!-- ELSEIF $SIDEBARS == 'both' -->
        <div class="fixedfluidfixed-left">
            <!-- INCLUDE sidebar_left.html -->
        </div>
       
        <div class="fixedfluidfixed-content">
    <!-- ENDIF -->
<!-- ENDIF -->
				
	               <!-- MOD Autor: Haku for Xiradorn .it -->
    <!-- IF S_USER_UNREAD_PRIVMSG -->
              <div id="message" class="rules">
                 <div class="inner"><span class="corners-top"><span></span></span>
                    <strong>{L_INFORMATION}:</strong> {L_NEW_PM_BOX} - Clicca <a href="{U_PRIVATEMSGS}">QUI</a> per andare al tuo inbox.
                 <span class="corners-bottom"><span></span></span></div>
              </div>
              <!-- ENDIF -->
		<!-- 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>
		<!-- ENDIF -->
		
<!-- IF not S_GROUP_11 --><div class="forabg">
                
			<div class="inner"><span class="corners-top"><span></span></span>
         <table class="table1" cellspacing="1">
            <thead>
               <tr>
                  <th style="text-align:left;">
                  Pubblicità                   </th>
               </tr>
            </thead>
            <tbody>
               <tr class="bg3">
                  <td style="text-align:center;">

               <script type="text/javascript">
/* <![CDATA[ */
document.write('<s'+'cript type="text/javascript" src="http://ad.altervista.org/js.ad/size=728X90/r='+new Date().getTime()+'"><\/s'+'cript>');
/* ]]> */
</script>  
        
<span class="corners-bottom"></span>
      </td>                              
               </tr>
            </tbody>
         </table>
		 		 
				 
			<span class="corners-bottom"><span></span></span></div></div>
			
			<br /><!-- ENDIF -->
		<br />

Scroll not working

Post by Stoker »

You can delete this line:

Code: Select all

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> 
And if the social network header includes jquery you need to delete it.

No scroll (javascript error?)

Post by Nully »

Hi,
RMcGirr83 has been looking into my forum to find various errors about mChat and Top Stats.
He told me there is an error in Top stats js:
RMcGirr83 wrote:IE is tossing a "Object expected" error on this line of the top stats code
$('#vertical-ticker').totemticker({
it isn't liking the $
Could you tell me more and what to do? I have v.1.0.10.

No scroll (javascript error?)

Post by Nully »

RMcGirr83 just told me he fixed the problem about some Top Stats code. :D

Scroll not working

Post by systemcrack »

Sorry Stoker, if I abuse of your availability, but if I wanted to display the block only in viewforum_body, it would not be possible to insert the code instead of the overall_header.html, elsewhere in order to bypass the problem?
I don't want to renounce the social network mod functionality...

Scroll not working

Post by Stoker »

No, the conflict would still be there because the social network is on all pages.