Similar Topics

Modifications for phpBB3. Try the Mods here and share Your own Mods
There is no support here! Only Read Access!
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
heredia21
BBCoder IV
BBCoder IV
Posts: 179
Joined: 07 Apr 2010, 20:42
Contact:

Re: Similar Topics

Post by heredia21 »

Anyone have it on subsilver2 based style? I tried it on mine. It is not properly algined.
#1 BlackBerry News site - BlackBerry Empire. Come visit us!
plasmino
BBCoder II
BBCoder II
Posts: 14
Joined: 27 Mar 2010, 10:36

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, 11:29, edited 1 time in total.
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

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]
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Similar Topics

Post by Stoker »

Nope, I have no idea.
Do you have debug enabled?
Board rules! No PM support
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

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!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Similar Topics

Post by Stoker »

TRy enable debug in config.php it might tell something.
Board rules! No PM support
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

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]
User avatar
Akooby
BBCoder II
BBCoder II
Posts: 9
Joined: 26 Jun 2010, 19:43
Contact:

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
Visit Akooby.com for fun and entertainment.

Visitblog for more fun and entertainment - updated every hour

Unlimited photo hosting free of cost
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Similar Topics

Post by Stoker »

You have not done the edit to the language file (see first post)
Board rules! No PM support
User avatar
Akooby
BBCoder II
BBCoder II
Posts: 9
Joined: 26 Jun 2010, 19:43
Contact:

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
Visit Akooby.com for fun and entertainment.

Visitblog for more fun and entertainment - updated every hour

Unlimited photo hosting free of cost
Locked