Page 1 of 1

how to fix search results ?

Posted: 11 Aug 2010, 17:13
by altafali
hi to all

plz look at my forum cap

i want to add forum column at top instead of show it with search item (it shows forum right below)

Image

i am using fisubice2 style and phpbb3.0.7 PLI
thanks in advance

Re: how to fix search results ?

Posted: 12 Aug 2010, 08:28
by altafali
anybody there??

Re: how to fix search results ?

Posted: 12 Aug 2010, 18:10
by cisco007
no nobody here, we will when we know the answer, just hold on!
P.S. Read the PM i sent you!

Re: how to fix search results ?

Posted: 23 Aug 2010, 20:59
by altafali
plz delete plz post i got it

Re: how to fix search results ?

Posted: 23 Aug 2010, 21:08
by Steve
posts are not deleted here, if no one had time to respond im sorry for that we all have something todo ;)
And if you would you could post how you solved it it maybe usefull for other members :)

Re: how to fix search results ?

Posted: 23 Aug 2010, 21:13
by KukY13
Steve© » 23 Aug 2010, 21:08 wrote:And if you would you could post how you solved it it maybe usefull for other members :)
I helped him with that on my forum :P
These are the edits for his style:
Open search_results.html:
Find:

Code: Select all

		<th width="4%" nowrap="nowrap">&nbsp;</th>
		<th colspan="2" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
Replace with:

Code: Select all

		<th width="4%" nowrap="nowrap">&nbsp;</th>
		<th nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
		<th nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>

Find:

Code: Select all

			<td class="row1">
				<!-- IF searchresults.S_UNREAD_TOPIC --><a href="{searchresults.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
				{searchresults.ATTACH_ICON_IMG} <a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a>
				<!-- IF searchresults.S_TOPIC_UNAPPROVED or searchresults.S_POSTS_UNAPPROVED -->
					<a href="{searchresults.U_MCP_QUEUE}">{searchresults.UNAPPROVED_IMG}</a>&nbsp;
				<!-- ENDIF -->
				<!-- IF searchresults.S_TOPIC_REPORTED -->
					<a href="{searchresults.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;
				<!-- ENDIF -->
				<!-- IF searchresults.PAGINATION -->
					<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {searchresults.PAGINATION} ] </p>
				<!-- ENDIF -->
				<!-- IF searchresults.S_TOPIC_GLOBAL -->
					<p class="gensmall">{L_GLOBAL}</p>
				<!-- ELSE -->
					<p class="gensmall">{L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a></p>
				<!-- ENDIF -->
			</td>
Replace with:

Code: Select all

			<td class="row1">
				<!-- IF searchresults.S_TOPIC_GLOBAL -->
					{L_GLOBAL}
				<!-- ELSE -->
					<a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a>
				<!-- ENDIF -->
			</td>
			<td class="row1">
				<!-- IF searchresults.S_UNREAD_TOPIC --><a href="{searchresults.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
				{searchresults.ATTACH_ICON_IMG} <a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a>
				<!-- IF searchresults.S_TOPIC_UNAPPROVED or searchresults.S_POSTS_UNAPPROVED -->
					<a href="{searchresults.U_MCP_QUEUE}">{searchresults.UNAPPROVED_IMG}</a>&nbsp;
				<!-- ENDIF -->
				<!-- IF searchresults.S_TOPIC_REPORTED -->
					<a href="{searchresults.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;
				<!-- ENDIF -->
				<!-- IF searchresults.PAGINATION -->
					<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {searchresults.PAGINATION} ] </p>
				<!-- ENDIF -->
			</td>