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

Not able to reinstall

Post by Stoker »

I dont know what the problem with automod is.
Please ask in the phpbb automod support forum: https://www.phpbb.com/community/viewforum.php?f=225

Not able to reinstall

Post by prohex »

lol... ok..

Layout is not displaying the right way in we_universal

Post by David1987 »

Hi There,

I have installed this modification for a client on his website, but there seems to be a problem with the layout of top stats with we_universal style.
example.png
In the screenshot you can see what I mean, it looks like a css problem to me, but I can't figure it out what the problem is. Does somebody have some Ideas or tips and even better a solution?

Greetings,
David
You do not have the required permissions to view the files attached to this post.

Layout is not displaying the right way in we_universal

Post by Stoker »

Well, it states that we_universal is prosilver based. But it looks pretty much like its subsilver2 based and that is the problem.
You need to convert each block to the we_universal style.

Layout is not displaying the right way in we_universal

Post by David1987 »

You saying it easier that it really is, I can install MODS, but I can't customize them. I'm trying to learn it ;)

I now have this code:

recent_active_body.html

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="forums-wrapper">
			<table class="forums">
				<thead>
					<tr>
				<th colspan="3">{TSRAT_NUMBER} {L_RECENT_ACTIVE}</th>
				<th class="topics">{L_REPLIES}</th>
				<th class="posts">{L_VIEWS}</th>
				<th class="lastpost"><span>{L_LAST_POST}</span></th>
			</tr>
		</thead>
		<tbody>
	<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 -->
		<tr class="row">
		<td class="icon bg2" style="background-image: url({ROOT_PATH}images/starimg.png); background-repeat: no-repeat;">
		<td class="bg2">
		   <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}
		</td>
		<th class="topics">{recent_active.TOPIC_REPLIES}</th>
		<th class="posts">{recent_active.TOPIC_VIEWS}</th>
		<th 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>
		</th>
		</td>
		</tr>
		<!-- END recent_active -->
		<!-- ELSEIF S_TS_TICKER -->
		<tr class="row">
		<!-- BEGIN recent_active -->
		<td class="icon bg2" style="background-image: url({ROOT_PATH}images/starimg.png); background-repeat: no-repeat;">
		<td class="bg2">
		   <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}
		</td>
		<th class="topics">{recent_active.TOPIC_REPLIES}</th>
		<th class="posts">{recent_active.TOPIC_VIEWS}</th>
		<th 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>
		</th>
		</td>
		<!-- END recent_active -->
		</tr>
		<!-- ENDIF -->
	</ul>
Result.png
I have used forumlist_body.html as a example. As you can see it's not how it must be yet, it's hard for me to figure it all out... maybe you can help me a bit with this one? Which pieces of code do I need to adjust?

I don't have live demo, because I'm trying to fix this on a local server before I upload it live!
You do not have the required permissions to view the files attached to this post.

How to align forum....[SOLVED]

Post by Blackwolf »

I should know & I have searched, trust me.....

I even added recent_active_body.html from ca_black (which aligns correctly but no change)

Please advise as this looks so awesome but a tad wonky right now!
Ultimate Edition Oz.png
Ultimate Edition Oz1.png
You do not have the required permissions to view the files attached to this post.
Last edited by Blackwolf on 23 Nov 2012, 22:19, edited 1 time in total.

How to align forum....

Post by Stoker »

Compare the used classes

How to align forum....

Post by Blackwolf »

:thumb:

Not able to reinstall

Post by Martin_K »

For automod misbehaviour, In the past I've found that deleting all files in the cache folder apart from index.htm and .htaccess can help. Today I had problems with automod and checking and changing incorrect file permissions seemed to help: http://www.phpbb.com/kb/article/phpbb3- ... rmissions/

[ADDON] Forum images in recent active topics

Post by Martin_K »

Thanks, worked fine for me, with the instructions in the first post.