Page 1 of 2

Cant get to scroll

Posted: 29 Nov 2011, 23:04
by pro_hunter
Just installed the top mods,

HERE

I wanted the look of what stoker has on here, where it shows 3 columns but scrolls the last 10 active.

How do i do it ???

It also doesnt seem to look right :(

Any help pelase

Cant get to scroll

Posted: 29 Nov 2011, 23:07
by Stoker
Delete the line in overall_header.html containing this: jquery-1.5.2.min.js

Cant get to scroll

Posted: 29 Nov 2011, 23:08
by martin123456
styles/xxx/template/overall_header.html

find

Code: Select all

<script type="text/javascript" src="./script/jquery-1.5.2.min.js"></script>
and remove it

only 1 jquery is needed you have 2

edit : posted same time as stoker

Cant get to scroll

Posted: 29 Nov 2011, 23:14
by pro_hunter
you guys really are stars :)

Gonna have to donate to you stoker on payday :) you make such good mods with great support :)

Cant get to scroll

Posted: 29 Nov 2011, 23:16
by pro_hunter
one last question, The replies, Views and last posts don't line up ??

Cant get to scroll

Posted: 29 Nov 2011, 23:17
by Stoker
Thats quite an impressive board you have with allmost 150000 posts :)

We will have to fix the recent_active_body.html so it looks like the rest of your board.
Try replace all the code in that file with this:

Code: Select all

<!-- IF S_TS_JSSCROLL and TS_JSSCROLL_NAVIGATION and not S_TS_TICKER -->
<div style="text-align:right; padding-right:10px;"><a href="#" title="{L_PREVIOUS_SCROLL}" id="ticker-previous"><img src="{ROOT_PATH}images/player_rew.png" width="16" height="16" alt="{L_PREVIOUS_SCROLL}" /></a> <a href="#" title="{L_NEXT_SCROLL}" id="ticker-next"><img src="{ROOT_PATH}images/player_fwd.png" width="16" height="16" alt="{L_NEXT_SCROLL}" /></a> <a href="#" title="{L_STOP_SCROLL}" id="stop"><img src="{ROOT_PATH}images/player_pause.png" width="16" height="16" alt="{L_STOP_SCROLL}" /></a> <a href="#" title="{L_START_SCROLL}" id="start"><img src="{ROOT_PATH}images/player_play.png" width="16" height="16" alt="{L_START_SCROLL}" /></a></div>
<!-- ENDIF -->
<div class="forumlist">
	<div class="forabg">
		<div class="inner"><span class="corners-top"><span></span></span>
		<ul class="topiclist">
			<li class="header">
				<dl class="icon widescreen-optimised">
					<dt><span class="wrap-content">{TSRAT_NUMBER} {L_RECENT_ACTIVE}</span></dt>
					<dd class="topics">{L_STATS}</dd>
					<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
				</dl>
			</li>
		</ul>
		<div class="portaltrigger portalactive"></div>
		<div class="collapsethis">
		<ul <!-- IF S_TS_JSSCROLL and not S_TS_TICKER -->id="vertical-ticker" <!-- ELSEIF S_TS_TICKER and not S_TS_JSSCROLL -->id="news" <!-- ENDIF -->class="topiclist forums">
			<!-- IF S_TS_JSSCROLL or not S_TS_TICKER -->
			<!-- BEGIN recent_active -->
			<li class="row">
			<dl class="icon widescreen-optimised" style="background-image: url(<!-- IF recent_active.FORUM_IMAGE -->{ROOT_PATH}{recent_active.FORUM_IMAGE}<!-- ELSE -->{ROOT_PATH}images/starimg.png<!-- ENDIF -->); background-repeat: no-repeat;">
            <dt>
               <span class="wrap-content"><a href="{recent_active.U_FIRST_TOPIC}" class="forumtitle">{recent_active.TOPIC_TITLE}</a><br />
               {L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{recent_active.TOPIC_FIRST_POSTER_COLOUR};" href="{recent_active.USERNAME_FIRST}">{recent_active.TOPIC_FIRST_POSTER_NAME}</a> {L_IN} <a href="{recent_active.FORUM_URL}">{recent_active.FORUM_NAME}</a> {recent_active.TOPIC_TIME}</span>
            </dt>
            <dd class="topics"><!-- IF recent_active.TOPIC_REPLIES > 1 or recent_active.TOPIC_REPLIES < 1 -->{recent_active.TOPIC_REPLIES} {L_REPLIES}<!-- ELSE -->{recent_active.TOPIC_REPLIES} {L_REPLY}<!-- ENDIF --><br />
               <!-- IF recent_active.TOPIC_VIEWS > 1 or recent_active.TOPIC_VIEWS < 1 -->{recent_active.TOPIC_VIEWS} {L_VIEWS}<!-- ELSE -->{recent_active.TOPIC_VIEWS} {L_VIEW}<!-- ENDIF --></dd>
            <dd class="lastpost"><span>
               {L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{recent_active.TOPIC_LAST_POSTER_COLOUR};" href="{recent_active.USERNAME_LAST}">{recent_active.TOPIC_LAST_POSTER_NAME}</a> <a href="{recent_active.U_LAST_TOPIC}">{LAST_POST_IMG}</a><br />{recent_active.TOPIC_LAST_POST_TIME}</span>
            </dd>
			</dl>
			</li>
			<!-- END recent_active -->
			<!-- ELSEIF S_TS_TICKER -->
			<li class="row">
			<!-- BEGIN recent_active -->
			<dl class="icon" style="background-image: url({ROOT_PATH}images/starimg.png); background-repeat: no-repeat;">
            <dt>
               <a href="{recent_active.U_FIRST_TOPIC}" class="forumtitle">{recent_active.TOPIC_TITLE}</a><br />
               {L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{recent_active.TOPIC_FIRST_POSTER_COLOUR};" href="{recent_active.USERNAME_FIRST}">{recent_active.TOPIC_FIRST_POSTER_NAME}</a> {L_IN} <a href="{recent_active.FORUM_URL}">{recent_active.FORUM_NAME}</a> {recent_active.TOPIC_TIME}
            </dt>
            <dd class="topics"><!-- IF recent_active.TOPIC_REPLIES > 1 or recent_active.TOPIC_REPLIES < 1 -->{recent_active.TOPIC_REPLIES} {L_REPLIES}<!-- ELSE -->{recent_active.TOPIC_REPLIES} {L_REPLY}<!-- ENDIF --><br />
               <!-- IF recent_active.TOPIC_VIEWS > 1 or recent_active.TOPIC_VIEWS < 1 -->{recent_active.TOPIC_VIEWS} {L_VIEWS}<!-- ELSE -->{recent_active.TOPIC_VIEWS} {L_VIEW}<!-- ENDIF --></dd>
            <dd class="lastpost"><span>
               {L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{recent_active.TOPIC_LAST_POSTER_COLOUR};" href="{recent_active.USERNAME_LAST}">{recent_active.TOPIC_LAST_POSTER_NAME}</a> <a href="{recent_active.U_LAST_TOPIC}">{LAST_POST_IMG}</a><br />{recent_active.TOPIC_LAST_POST_TIME}</span>
            </dd>
			</dl>
			<!-- END recent_active -->
			</li>
			<!-- ENDIF -->
		</ul>
		</div>
		<span class="corners-bottom"><span></span></span></div>
	</div>
</div>
Its for phpbb version 3.0.10 so I not sure how good it is for you.

Cant get to scroll

Posted: 29 Nov 2011, 23:24
by pro_hunter
WOW stoker you star :)

And thanks for them comments :) We try hard to keep the board as updated as possible and since early this year it got changed to run of your mods and phpbb3 premods :)

Im so thankfull to you :)

This is why i check and double check everything :) can't afford to mess up on any codes, and yours are just prefect :P

Cant get to scroll

Posted: 29 Nov 2011, 23:28
by Stoker
No problem ;)

We still need 2 steps to make it perfect.
In overall_header.html you find: row_height : '41px',
Change the height to 44px (may be another number)

Also change the height in colours.css

Code: Select all

#vertical-ticker{
	position:relative;	
	height:123px;
	overflow:hidden;
}
to:

Code: Select all

#vertical-ticker{
	position:relative;	
	height:132px;
	overflow:hidden;
}
The height here MUST be 3 times the height you set in overall_header.html

Cant get to scroll

Posted: 29 Nov 2011, 23:41
by pro_hunter
i kinda like the way the 3rd topic is just out a screen then scrolls into view correctly :)

Cant get to scroll

Posted: 29 Nov 2011, 23:53
by pro_hunter
ARGHHH STOKER HELP

Its stopped my prettyphoto mod from working :(

If i click on links now for youtubepp they go to youtube instead of opening in the window :(