Similar Topics

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

Re: Similar Topics

Post by heredia21 »

Anyone have it on subsilver2 based style? I tried it on mine. It is not properly algined.

Re: Similar Topics

Post by plasmino »

for subsilver2 I use this code

Code: Select all

<!-- IF .similar -->

<div id="pagefooter">

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<th nowrap="nowrap">&nbsp;{L_SIM_TOP}&nbsp;</th>
		<th nowrap="nowrap">&nbsp;{L_SIM_REP}&nbsp;</th>
		<th nowrap="nowrap">&nbsp;{L_SIM_VIEWS}&nbsp;</th>
		<th nowrap="nowrap">&nbsp;{L_SIM_AUTH}&nbsp;</th>
	</tr>
	<!-- BEGIN similar -->
		<tr valign="middle">
			<td class="row1">
				
					<a href="{similar.U_TOPIC}" class="topictitle">{similar.TOPIC_TITLE}</a><br />{L_SIM_PIF} <a href="{similar.U_FORUM}"><strong>{similar.FORUM}</strong></a></p>
				
			</td>
			
			<td class="row2" width="50" align="center"><p class="topicdetails">{similar.TOPIC_REPLIES}</p></td>
			<td class="row2" width="50" align="center"><p class="topicdetails">{similar.TOPIC_VIEWS}</p></td>
			<td class="row2" align="center"><a style="font-weight:bold; color: #{similar.TOPIC_FIRST_POSTER_COLOUR};" href="{ROOT_PATH}memberlist.php?mode=viewprofile&un={similar.TOPIC_FIRST_POSTER_NAME}">{similar.TOPIC_FIRST_POSTER_NAME}</a><br />{similar.TOPIC_TIME}</p></td>
		</tr>
	<!-- END similar -->
	</table>
     
    </div>
    <br clear="all" />
<!-- ENDIF -->
Last edited by plasmino on 21 May 2010, 09:29, edited 1 time in total.

Re: Similar Topics

Post by cisco007 »

Stoker any idea why mine look like this?

[hsimg]http://img99.imageshack.us/img99/6073/l ... 879345.png[/hsimg]

Re: Similar Topics

Post by Stoker »

Nope, I have no idea.
Do you have debug enabled?

Re: Similar Topics

Post by cisco007 »

no, i have the phpbb error logging mod installed, so all the errors are logged in a log file in the store folder, but i don't see any errors on there that might be causing this!

Re: Similar Topics

Post by Stoker »

TRy enable debug in config.php it might tell something.

Re: Similar Topics

Post by cisco007 »

nope nothing!

[edit]found the problem, i had code from the old precise similar topics mod still in the viewtopic.php file, thus the problem![/edit]

Re: Similar Topics

Post by Akooby »

Hi

i have a problem. pl see the picture and let me know the reason. and how i can resolve this

Image


Akooby.com

Re: Similar Topics

Post by Stoker »

You have not done the edit to the language file (see first post)

Re: Similar Topics

Post by Akooby »

hi

i have edit the language/en/viewtopic.php file and upload the same in binary mode.. refresh template but still not working