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

Little problems and questions

Post by Nully »

Stoker wrote: I will answer your question with 2 codelines:
'TS_MOSTVIEWED_NUMBER' => 'Most Viewed Topics',
and
'TS_MOSTREPLIED_NUMBER' => 'Most Replied Topics',
Those lines is from info_acp_topstats.php version 1.0.8 which is the recent version.
As you can see they are not the same.
Hello,
I reproduced what happens using the english file. See the images :

I write "Hello" in the file in front of MOSTVIEWED

Image

You can see "Hello" in the ACP for both MOSTVIEWED and MOSTREPLIED
Image

Something else.
In the file adm/style/acp_topstats.html

Code: Select all

<dt><label for="tslru_enable">{L_TS_LASTREGISTEREDUSER_ENABLE}:</label><br />
			<spanLASTREGISTEREDUSER_ENABLE_EXPLAIN}</span></dt>
should'nt be :

Code: Select all

<span>{LASTREGISTEREDUSER_ENABLE_EXPLAIN}</span>

Which file can i change this code in?

Post by VSaBaH »

Hi,

Which file can i change this code in?

<ul id="vertical-ticker" class="topiclist forums" style="height: 123px; overflow-x: hidden; overflow-y: hidden; ">

I try

Code: Select all

/* Top Stats Mod */
#vertical-ticker{
    position:relative;
    height:123px;
    overflow:hidden;
}
But it didn't work...

Which file can i change this code in?

Post by VSaBaH »

I change row_height it worked...

Code: Select all

<script type="text/javascript">
//
$(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>

Which file can i change this code in?

Post by Stoker »

Its explained in the edit comments in the install.xml

Jumpng scroll box

Post by Blackwolf »

First of all, let me just say, I only have one instance of

Code: Select all

<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape('%3Cscript src="./script/jquery-1.7.1.min.js" type="text/javascript"%3E%3C/script%3E'));
}
</script>
on the forum. All styles I use, "jump" as the topics scroll. Here, they roll smoothly.

I am curious as to know if there is anything that may be having an effect on mine?

Thanks in anticipation.

i changed Jquery Scroll Speed: to 100 from 400.... to miniimise the "jumpiness"

Jumpng scroll box

Post by Stoker »

speed = 400
interval = 4000
Thats what I have

Also read the install.xml comments about row height. Both overall_header and the css file

Which file can i change this code in?

Post by VSaBaH »

Thanks...

Jumpng scroll box

Post by Blackwolf »

Thanks...think I found the issue.

I dont have

Code: Select all

 *:first-child+html #site-description p {
in cablack/theme/tweaks.css

Any idea? Please. :)

Code: Select all

/* CA Black Style Sheet Tweaks

These style definitions are mainly IE specific 
tweaks required due to its poor CSS support.
-------------------------------------------------*/

* html table, * html select, * html input { font-size: 100%; }
* html hr { margin: 0; }

table.table1 {
	width: 99%;		/* IE < 6 browsers */
	/* Tantek hack */
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 100%;
}
html>body table.table1 { width: 100%; }	/* Reset 100% for opera */

* html ul.topiclist li { position: relative; }
* html .postbody h3 img { vertical-align: middle; }

/* Form styles */
html>body dd label input { vertical-align: text-bottom; }	/* Align checkboxes/radio buttons nicely */

* html input.button1, * html input.button2 {
	padding-bottom: 0;
	margin-bottom: 1px;
}

/* Misc layout styles */
* html .column1, * html .column2 { width: 45%; }

/* Nice method for clearing floated blocks without having to insert any extra markup (like spacer above)
   From http://www.positioniseverything.net/easyclearing.html 
#tabs:after, #minitabs:after, .post:after, .navbar:after, fieldset dl:after, ul.topiclist dl:after, ul.linklist:after, dl.polls:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}*/

.clearfix, #tabs, #minitabs, fieldset dl, ul.topiclist dl, dl.polls {
	height: 1%;
	overflow: hidden;
}

/* navbar fix */
* html .clearfix, * html .navbar, ul.linklist {
	height: 4%;
	overflow: hidden;
}

/* Simple fix so forum and topic lists always have a min-height set, even in IE6
	From http://www.dustindiaz.com/min-height-fast-hack */
dl.icon {
	min-height: 35px;
	height: auto !important;
	height: 35px;
}

* html #search-box {
	width: 25%;
}

/* Correctly clear floating for details on profile view */
*:first-child+html dl.details dd {
	margin-left: 30%;
	float: none;
}

* html dl.details dd {
	margin-left: 30%;
	float: none;
}

* html .profile-details {
    clear: both;
}

* html .profile-buttons li a {
    width: 250px;
    white-space: nowrap;
}

* html .profile-buttons {
    z-index: 2;
}

/* Profile buttons */
* html ul.profile-icons {
    height: 1px;
}

/* Page */
* html #page-body {
    position: relative;
}
* html .buttons, * html .buttons div, * html .topic-actions {
    position: relative;
}
* html .profile-block {
    position: relative;
}

Jumpng scroll box

Post by Stoker »

Just add the mod code to the bottom of that file. But that wont solve the isue.
The row height will.

Jumpng scroll box

Post by Blackwolf »

Thanks.....trying 1 incriment at a time.......from 38......to 45

No change .....I'll keep fiddling. :?

No change....ammended height in css as well....3 x the height. Oh well....no biggy.....I'll keep at it :)