[ABD] First Topic [pic] on Forum Index v.0.0.6

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by 4_seven »

but first u say it the other way ;)
and that what u now wish was near as it was allready before i re-programm all :shock:
and now, i should re-programm all back?

ok, i make it as an option, so u can make it your way,
but in future i build no one-man-special-wishes anymore.

that work and time can no-one pay for...
Current Mods | Mod Base | php(BB) programming | No help via PM
inikad
Registered User
Posts: 110
Joined: Mon Dec 15, 2008 1:44 pm

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by inikad »

:oops:

I'm really sorry about it: I was thinking it was just something to change after by myself in the code to show "no_pic_img" in the empty space... :oops:

My first wish was because of all titles were on the left if no thumbs in Search results but I did not think about "no_pic_img" to align all titles, even if topics come from a forum where thumbs option is not activated (still only in Search results).
medaacek
Registered User
Posts: 6
Joined: Sun Feb 28, 2010 11:32 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by medaacek »

4-seven:

Hi,

the MOD worked well on one site but now, when I use phpBB-joomla bridge I cannot make the img thumbnailing working, do you have idea hot to do that? Thumbnail from attachments are OK but from links I cannot get the thumb although the image is in the forum.
The bridge uses .htaccess - might that be a problem?

Thanks

Jiri
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by 4_seven »

The bridge uses .htaccess - might that be a problem?
of course, but i have no solution to that, bcs. i dont use this bridge (and joomla),
so i have no background-information about the tech-functions of bridging.
one fact is shure, that the .htaccess destroy the "natural-link" of the [img],
so u must bring in a .htaccess-function, that "repairs" the natural-linking.
Current Mods | Mod Base | php(BB) programming | No help via PM
dkdkdkdk
Registered User
Posts: 81
Joined: Tue Jun 30, 2009 7:22 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by dkdkdkdk »

Hi, would it be possible to include thumbs in User Control Panel/Overview/Manage Attachments too?
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by 4_seven »

man, i told you, (near) everything is possible :D
so this (logical) will effects only [attachment]s without concern of forum-id's, etc. right?
i will see, how to trick off this..
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
paulnicholson
Registered User
Posts: 230
Joined: Thu Jun 04, 2009 9:04 pm
Location: Australia
Contact:

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by paulnicholson »

My viewforum topic list screen goes white when I change the milky_way/template/viewforum_body.html file:

What have I done wrong? Also, the search results only show about one in every fifty attachments. My files folder renames all the uploaded images to stupid numbers and letters. Is this normal? How do I change it if they need to maintain their proper names?

viewforum_body.html

Code: Select all

<!-- INCLUDE overall_header.html -->

<!-- INCLUDE breadcrumbs.html -->
<br />

<!-- IF S_FORUM_RULES -->
	<div class="forumrules">
		<!-- IF U_FORUM_RULES -->
			<h3>{L_FORUM_RULES}</h3><br />
			<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
		<!-- ELSE -->
			<h3>{L_FORUM_RULES}</h3><br />
			{FORUM_RULES}
		<!-- ENDIF -->
	</div>

	<br clear="all" />
<!-- ENDIF -->

<!-- IF S_DISPLAY_ACTIVE -->
	<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title">{L_ACTIVE_TOPICS}</div></div></div></div>
	<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">

	<tr>
		<!-- IF S_TOPIC_ICONS -->
			<th colspan="3">&nbsp;{L_TOPICS}&nbsp;</th>
		<!-- ELSE -->
			<th colspan="2">&nbsp;{L_TOPICS}&nbsp;</th>
		<!-- ENDIF -->
		<th>&nbsp;{L_AUTHOR}&nbsp;</th><th>&nbsp;{L_LAST_POST}&nbsp;</th>
	</tr>

	<!-- BEGIN topicrow -->

		<tr>
			<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
			<!-- IF S_TOPIC_ICONS -->
				<td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td>
			<!-- ENDIF -->
			<td class="row1"><!-- IF (topicrow.S_THUMB_IMG_PRESENT and topicrow.S_THUMB_DEAD_LINK)  or (topicrow.S_THUMB_ATT_PRESENT and topicrow.S_THUMB_ATT_DEAD_LINK) -->		
		<table>
        <tr>
          <td style="width:{topicrow.CONVERT_SIZE}px;text-align:center;">
		  <span>
		  
            <!-- IF S_ATT_PRIORITY -->

			<!-- IF topicrow.S_THUMB_ATT_PRESENT and topicrow.S_THUMB_ATT_DEAD_LINK -->
			<a href="{topicrow.ORIG_ATTACH_LINK}"><img style="padding-top:2px;" src="{topicrow.PRE_ATTACH}" alt="" /></a>
			<!-- ELSE -->	
		    <a href="{topicrow.ORIG_LINK}"><img style="padding-top:2px;" src="{topicrow.PRE_IMG}" alt="" /></a>
			<!-- ENDIF -->
			
			<!-- ELSE -->	
			
			<!-- IF topicrow.S_THUMB_IMG_PRESENT and topicrow.S_THUMB_DEAD_LINK -->
		    <a href="{topicrow.ORIG_LINK}"><img style="padding-top:2px;" src="{topicrow.PRE_IMG}" alt="" /></a>
			<!-- ELSE -->	
		    <a href="{topicrow.ORIG_ATTACH_LINK}"><img style="padding-top:2px;" src="{topicrow.PRE_ATTACH}" alt="" /></a>	
			<!-- ENDIF -->
			
			<!-- ENDIF -->
		  
		  </span>
		</td>
        <td valign="bottom">
		
	 <!-- ELSEIF topicrow.S_NO_IMG_PRESENT -->
		<table>
             <tr>
               <td style="width:{topicrow.CONVERT_SIZE}px;text-align:center;">
				<span>
				<img style="padding-top:2px;" src="{topicrow.NO_IMG}" alt="" />
				</span>
			</td>
        <td valign="bottom"> 
	 <!-- ENDIF -->		
		
			<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
					{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
					<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
						<a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a>&nbsp;
					<!-- ENDIF -->
					<!-- IF topicrow.S_TOPIC_REPORTED -->
						<a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;
					<!-- ENDIF -->
					<!-- IF topicrow.PAGINATION -->
					<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
					<!-- ENDIF -->

	  <!-- IF (topicrow.S_THUMB_IMG_PRESENT and topicrow.S_THUMB_DEAD_LINK)  or (topicrow.S_THUMB_ATT_PRESENT and topicrow.S_THUMB_ATT_DEAD_LINK) -->			
	          </td>
           </tr>
      </table>	
	  
	<!-- ELSEIF topicrow.S_NO_IMG_PRESENT -->
	          </td>
           </tr>
      </table>	
	<!-- ENDIF -->		
</td>
			<td class="row2" width="130" align="center"><p class="topicauthor">{topicrow.TOPIC_AUTHOR_FULL}</p></td><td class="row1" width="140" align="center">
				<p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p>
				<p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL}
					<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
				</p>
			</td>
		</tr>

	<!-- BEGINELSE -->

		<tr>
			<!-- IF S_TOPIC_ICONS -->
				<td class="row1" colspan="7" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td>
			<!-- ELSE -->
				<td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td>
			<!-- ENDIF -->
		</tr>
	<!-- END topicrow -->

	<tr><td class="cat-bottom" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->">&nbsp;</td></tr>
	</table>
	<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>

	<br clear="all" />
<!-- ENDIF -->

<!-- IF S_HAS_SUBFORUM -->
	<!-- INCLUDE forumlist_body.html -->
	<br clear="all" />
<!-- ENDIF -->

<!-- IF S_IS_POSTABLE or S_NO_READ_ACCESS -->
	<div id="pageheader">
		<h2><a class="titles" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2>

		<!-- IF MODERATORS -->
			<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p>
		<!-- ENDIF -->
		<!-- IF U_MCP -->
			<p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
		<!-- ENDIF -->
	</div>

	<br clear="all" /><br />
<!-- ENDIF -->

<div id="pagecontent">

<!-- IF S_NO_READ_ACCESS -->
	<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title">&nbsp;</div></div></div></div>
	<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
	<tr><td class="row1" height="30" align="center" valign="middle"><span class="gen">{L_NO_READ_ACCESS}</span></td></tr>
	<tr><td class="cat-bottom">&nbsp;</td></tr>
	</table>
	<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>

	<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->

		<br /><br />

		<form method="post" action="{S_LOGIN_ACTION}">

		<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></div></div></div></div>
		<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
		<tr>
			<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" /><!-- IF S_AUTOLOGIN_ENABLED -->&nbsp; <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
		</tr>
		<tr><td class="cat-bottom">&nbsp;</td></tr>
		</table>
		<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>

		</form>

	<!-- ENDIF -->

	<br clear="all" />
<!-- ENDIF -->

	<!-- IF S_DISPLAY_POST_INFO or TOTAL_TOPICS -->
		<table width="100%" cellspacing="1">
		<tr>
			<!-- IF S_DISPLAY_POST_INFO and not S_IS_BOT -->
				<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle"><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a></td>
			<!-- ENDIF -->
			<!-- IF TOTAL_TOPICS -->
				<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
				<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_TOPICS} ]&nbsp;</td>
				<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
			<!-- ENDIF -->
		</tr>
		</table>
	<!-- ENDIF -->

	<!-- IF not S_DISPLAY_ACTIVE and (S_IS_POSTABLE or .topicrow) -->
		<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><h4><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h4></div></div></div></div>
		<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
		<tr>
			<td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->">
				<table width="100%" cellspacing="0">
				<tr class="nav">
					<td valign="middle">&nbsp;<!-- IF S_WATCH_FORUM_LINK and not S_IS_BOT --><a href="{S_WATCH_FORUM_LINK}">{S_WATCH_FORUM_TITLE}</a><!-- ENDIF --></td>
					<td align="{S_CONTENT_FLOW_END}" valign="middle"><!-- IF not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a><!-- ENDIF -->&nbsp;</td>
				</tr>
				</table>
			</td>
		</tr>

		<tr>
			<!-- IF S_TOPIC_ICONS -->
				<th colspan="3">&nbsp;{L_TOPICS}&nbsp;</th>
			<!-- ELSE -->
				<th colspan="2">&nbsp;{L_TOPICS}&nbsp;</th>
			<!-- ENDIF -->
			<th>&nbsp;{L_AUTHOR}&nbsp;</th><th>&nbsp;{L_LAST_POST}&nbsp;</th>
		</tr>

		<!-- BEGIN topicrow -->

			<!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 -->
				<tr><td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_ANNOUNCEMENTS}</b></td></tr>
			<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH eq 0 -->
				<tr><td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_TOPICS}</b></td></tr>
			<!-- ENDIF -->

			<tr>
				<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
				<!-- IF S_TOPIC_ICONS -->
					<td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td>
				<!-- ENDIF -->
				<td class="row1"><!-- IF (topicrow.S_THUMB_IMG_PRESENT and topicrow.S_THUMB_DEAD_LINK)  or (topicrow.S_THUMB_ATT_PRESENT and topicrow.S_THUMB_ATT_DEAD_LINK) -->		
		<table>
        <tr>
          <td style="width:{topicrow.CONVERT_SIZE}px;text-align:center;">
		  <span>
		  
            <!-- IF S_ATT_PRIORITY -->

			<!-- IF topicrow.S_THUMB_ATT_PRESENT and topicrow.S_THUMB_ATT_DEAD_LINK -->
			<a href="{topicrow.ORIG_ATTACH_LINK}"><img style="padding-top:2px;" src="{topicrow.PRE_ATTACH}" alt="" /></a>
			<!-- ELSE -->	
		    <a href="{topicrow.ORIG_LINK}"><img style="padding-top:2px;" src="{topicrow.PRE_IMG}" alt="" /></a>
			<!-- ENDIF -->
			
			<!-- ELSE -->	
			
			<!-- IF topicrow.S_THUMB_IMG_PRESENT and topicrow.S_THUMB_DEAD_LINK -->
		    <a href="{topicrow.ORIG_LINK}"><img style="padding-top:2px;" src="{topicrow.PRE_IMG}" alt="" /></a>
			<!-- ELSE -->	
		    <a href="{topicrow.ORIG_ATTACH_LINK}"><img style="padding-top:2px;" src="{topicrow.PRE_ATTACH}" alt="" /></a>	
			<!-- ENDIF -->
			
			<!-- ENDIF -->
		  
		  </span>
		</td>
        <td valign="bottom">
		
	 <!-- ELSEIF topicrow.S_NO_IMG_PRESENT -->
		<table>
             <tr>
               <td style="width:{topicrow.CONVERT_SIZE}px;text-align:center;">
				<span>
				<img style="padding-top:2px;" src="{topicrow.NO_IMG}" alt="" />
				</span>
			</td>
        <td valign="bottom"> 
	 <!-- ENDIF -->		
		
			<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
					{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
					<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
						<a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a>&nbsp;
					<!-- ENDIF -->
					<!-- IF topicrow.S_TOPIC_REPORTED -->
						<a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;
					<!-- ENDIF -->
					<!-- IF topicrow.PAGINATION -->
					<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
					<!-- ENDIF -->

	  <!-- IF (topicrow.S_THUMB_IMG_PRESENT and topicrow.S_THUMB_DEAD_LINK)  or (topicrow.S_THUMB_ATT_PRESENT and topicrow.S_THUMB_ATT_DEAD_LINK) -->			
	          </td>
           </tr>
      </table>	
	  
	<!-- ELSEIF topicrow.S_NO_IMG_PRESENT -->
	          </td>
           </tr>
      </table>	
	<!-- ENDIF -->	<!-- ENDIF -->
				</td>
				<td class="row2" width="100" align="center"><p class="topicauthor">{topicrow.TOPIC_AUTHOR_FULL}</p></td><td class="row1" width="110" align="center">
					<p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p>
					<p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL}
						<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
					</p>
				</td>
			</tr>

		<!-- BEGINELSE -->
			<!-- IF S_IS_POSTABLE -->
			<tr>
				<td class="row1" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->" height="30" align="center" valign="middle">
					<span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span>
				</td>
			</tr>
			<!-- ENDIF -->
		<!-- END topicrow -->

		<!-- IF not S_IS_BOT -->
		<tr>
			<td class="cat-bottom" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->">
				<form method="post" action="{S_FORUM_ACTION}"><span class="gensmall">{L_DISPLAY_TOPICS}:</span>&nbsp;{S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="btnlite" type="submit" name="sort" value="{L_GO}" /></form>
			</td>
		</tr>
		<!-- ENDIF -->
		</table>
		<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
	<!-- ENDIF -->

	<!-- IF S_DISPLAY_POST_INFO or TOTAL_TOPICS -->
		<table width="100%" cellspacing="1">
		<tr>
			<!-- IF S_DISPLAY_POST_INFO and not S_IS_BOT -->
				<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle"><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a></td>
			<!-- ENDIF -->
			<!-- IF TOTAL_TOPICS -->
				<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
				<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_TOPICS} ]&nbsp;</td>
				<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
			<!-- ENDIF -->
		</tr>
		</table>
	<!-- ENDIF -->

	<br clear="all" />

<!-- INCLUDE breadcrumbs.html -->

<!-- IF S_DISPLAY_ONLINE_LIST and U_ACP -->
	<br clear="all" />

	<div><div class="tbl-h-l"><div class="tbl-h-r"><div class="tbl-h-c"><div class="tbl-title"><h4>{L_WHO_IS_ONLINE}</h4></div></div></div></div>
	<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
	<tr><td class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td></tr>
	<tr><td class="cat-bottom">&nbsp;</td></tr>
	</table>
	<div class="tbl-f-l"><div class="tbl-f-r"><div class="tbl-f-c">&nbsp;</div></div></div></div>
<!-- ENDIF -->

<!-- IF S_DISPLAY_POST_INFO -->
	<br clear="all" />

	<table width="100%" cellspacing="0">
	<tr>
		<td width="45%" align="{S_CONTENT_FLOW_BEGIN}" valign="top">
			<table class="tablebg" width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td width="20" style="text-align: center;">{FOLDER_NEW_IMG}</td>
				<td class="gensmall">{L_NEW_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" style="text-align: center;">{FOLDER_IMG}</td>
				<td class="gensmall">{L_NO_NEW_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" style="text-align: center;">{FOLDER_ANNOUNCE_IMG}</td>
				<td class="gensmall">{L_ICON_ANNOUNCEMENT}</td>
			</tr>
			<tr>
				<td style="text-align: center;">{FOLDER_HOT_NEW_IMG}</td>
				<td class="gensmall">{L_NEW_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<td style="text-align: center;">{FOLDER_HOT_IMG}</td>
				<td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<td style="text-align: center;">{FOLDER_STICKY_IMG}</td>
				<td class="gensmall">{L_ICON_STICKY}</td>
			</tr>
			<tr>
				<td style="text-align: center;">{FOLDER_LOCKED_NEW_IMG}</td>
				<td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
				<td>&nbsp;&nbsp;</td>
				<td style="text-align: center;">{FOLDER_LOCKED_IMG}</td>
				<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
				<td>&nbsp;&nbsp;</td>
				<td style="text-align: center;">{FOLDER_MOVED_IMG}</td>
				<td class="gensmall">{L_TOPIC_MOVED}</td>
			</tr>
			</table>
		</td>
		<td width="20%" align="{S_CONTENT_FLOW_END}"><span class="gensmall">&nbsp;</span></td>
		<td width="35%" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><div class="tablebg" style="padding-right:5px;"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span></div></td>
	</tr>
	</table>
<!-- ENDIF -->

<br clear="all" />

<table width="100%" cellspacing="0">
<tr>
	<td><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
	<td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></td>
</tr>
</table>

</div>

<!-- INCLUDE overall_footer.html -->
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by 4_seven »

My viewforum topic list screen goes white when I change the milky_way/template/viewforum_body.html file
this style is subsilver2-based, so u have to do the edits for this style.
if u allready take the install for subsilver2, than check the template-edits.
such a error is unknown.
What have I done wrong? Also, the search results only show about one in every fifty attachments.


u must do all settings in config area of this mod.
read hints in this area and enter how u want this mod work.

also check your edits.
milky_way is subsilver2 based.
My files folder renames all the uploaded images to stupid numbers and letters. Is this normal? How do I change it if they need to maintain their proper names?
all files in folder files/ are named this way. its "by design" on phpbb3

------

also important: clear all browser-, style- and board-caches after install
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
paulnicholson
Registered User
Posts: 230
Joined: Thu Jun 04, 2009 9:04 pm
Location: Australia
Contact:

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by paulnicholson »

if u allready take the install for subsilver2, than check the template-edits.
Yep. The template files have all been from the subsilver2 information provided in the download from the first post of this topic, which I downloaded yesterday.
u must do all settings in config area of this mod.
read hints in this area and enter how u want this mod work.
I don't understand this. Which config area?

Also, what are chmod 777 permissions?
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by 4_seven »

read hints in this area and enter how u want this mod work.
I don't understand this. Which config area?
first_x_in_forum_index_config.php
Also, what are chmod 777 permissions?
give to folders images/att_thumbs and images/img_thumbs chmod 777 via ftp-programm
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
paulnicholson
Registered User
Posts: 230
Joined: Thu Jun 04, 2009 9:04 pm
Location: Australia
Contact:

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by paulnicholson »

I've been using dreamweaver. I researched it, and apparently it doesn't have chmod settings. I have to get another FTP uploading program. Which one do you recommend?
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by 4_seven »

to work on phpbb3 files always use notepad++
http://notepad-plus.sourceforge.net/de/site.htm
its (4me) the best file-editor for php files, templates and especially for lang-files (bcs of "utf8 without bom" support)

as ftp client use > filezilla. its free, good working and its open source
http://filezilla-project.org/download.php?type=client
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
paulnicholson
Registered User
Posts: 230
Joined: Thu Jun 04, 2009 9:04 pm
Location: Australia
Contact:

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by paulnicholson »

michaelp74
Registered User
Posts: 5
Joined: Sat Feb 20, 2010 9:55 pm
Location: Prague, Czech Republic
Contact:

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by michaelp74 »

Hi all, i found some select bug in SQL statement from ATTACHMENT table:
Find:
FROM ' . ATTACHMENTS_TABLE .

and add inline before ORDER BY statement:
AND in_message = 0
---------------
Because, if Message_id = Post_id, then will show attachment from PM !


This statement is about 4x in two files:
first_x_in_forum_index.php and first_x_in_forum_search.php

and need to be modify.

Sorry for my english and thanks to this mod.
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5

Post by 4_seven »

thx for reporting. i will test it out and implement it than..
Current Mods | Mod Base | php(BB) programming | No help via PM
Locked

Return to “[3.0.x] Abandoned MODs”