Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vBadvanced CMPS
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
My News forum template is poof. Details »»
My News forum template is poof.
Version: , by [email protected] vbmenu_register("postmenu_642217", true); (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-18-2005 Last Update: Never Installs: 0
 
No support by the author.

Something went wonky with my news/features/columns template...so all of my staff content looks like posts.

I've been ripping my hair out (what little I have left) trying to figure it out.

Check out the site:

www.gothambaseball.com

I've switched around templates...tried different things and nothing seems to change the way stuff looks. Obviously, I'm doing something dumb...but suggestions would be welcome.

Thanks.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-18-2005, 03:19 AM
Tigga's Avatar
Tigga Tigga is offline
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,061
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you elaborate a little more on what exactly the problem is?
Reply With Quote
  #3  
Old 04-18-2005, 02:44 PM
[email protected] vbmenu_register("postmenu_642528", true);
Guest
 
Posts: n/a
Default

When the system was installed...the news/feature/column stories (forums 22,23,24) all had special formatting (I didn't do the install, but my installer flamed out mid-install, and I'm trying to pick up the pieces) and their own template. It stopped working suddenly and I haven't been able to figure out why.

For whatever reason, although I can't even guess if the template works or makes sense ("Dammit, Jim, I'm an Editor, not a coder.") (I call it adv_portal_news) I can't get it to not default to standard posting format. I'm sure I'm overlooking something dumb...but getting dropped in the middle of this and figuring it out as a go, I haven't a clue.

Here is the whole, icky mess.


Code:
<!-- post #$post[postid] -->
<if condition="$show['spacer']">$spacer_open<if condition="!$post['islastshown']"><div style="padding:0px 0px $stylevar[cellpadding]px 0px"></if></if>

<if condition="$forum['forumid']=='22'">
<table summary="" width="100%" cellspacing="2" cellpadding="2" bgcolor="#0b4000" style="border: 1px solid #000033" style="font-family: tahoma;">



			<tr>
<td valign="top">
<!-- Attachment -->
<table summary="" align="right" cellspacing="0" cellpadding="0">
<tr>
<td>
<if condition="$show['thumbnailattachment']">

					$post[thumbnailattachments]

			</if>
		
			<if condition="$show['imageattachment']">
				
					$post[imageattachments]
				
			</if>
			
			<if condition="$show['imageattachmentlink']">
				
					$post[imageattachmentlinks]
					
			</if>
			
			<if condition="$show['otherattachment']">
				
					$post[otherattachments]
		
			</if>
			
			<if condition="$show['moderatedattachment']">
				
					$post[moderatedattachments]
							
			</if>
</td>
</tr>
</table>
<!-- END Attachment -->
<!-- Section Title -->
<table cellpadding="1" cellpadding="3" width="100%" bgcolor="0b4000" style="border: outset #000000 0px;">
<tr><td style="background-color: #0b4000; text-align: left; font-size: 18pt; font-family: tahoma; color: #ffffff;"><if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if></td><td width="100%" style="background-color: #001CA7; text-align: left; font-size: 18pt; font-family: tahoma; color: #ffffff;">
<!-- Article Title -->
<font style="font-size: 24pt;"><b>$post[title]</b></font>
<!-- END Article Title -->
</td>

</tr></table>
<!-- END Section Title -->
<font style="font-size: 10px" color="#5e5e5e" face="tahoma"><b>By</b> <a href="member.php?$session[sessionurl]u=$post[userid]"><b>$post[musername]</b></a> on $post[postdate]<if condition="!$show['detailedtime']"> - $post[posttime]</if><br><br>
<font style="font-size: 12px" color="#000000" face="tahoma">$post[message]</div>
		<br /></font>
</td>
</tr>
<tr><td bgcolor="#ffffff"><div align="left" style="font-size: 7pt"><if condition="$post['editlink']">
			<a href="$post[editlink]">Edit this post</a></if> | <if condition="$post['replylink']">
			<a href="$post[replylink]">Quote post</a></font></if></div></td></tr></table>











		<div style="padding: 4px 4px 4px 4px;"></div>
<table cellpadding="1" cellpadding="3" width="100%" bgcolor="#ff4400" style="border: outset #000000 0px;">
<tr><td style="background-color: #ff4400; text-align: left; font-size: 8pt; font-family: Lucida Sans Unicode; color: #ffffff;"><img src="http://www.nymfans.com/forums/modules/icon23.gif"></td><td width="100%" style="background-color: #ff4400; text-align: left; font-size: 8pt; font-family:Lucida Sans Unicode; color: #ffffff;"><font style="font-size: 10pt;">&nbsp;<b>COMMENTS</b></font></td></tr></table>


<else />

<if condition="$forum['forumid']=='23'"><table summary="" width="100%" cellspacing="2" cellpadding="5" bgcolor="#f1f1f1" style="border: 1px solid #DBDBDB" style="font-family: tahoma;">

<tr><td bgcolor="#E0E0E0"><div align="left" style="font-size: 7pt"><font style="font-size: 7pt" color="#5e5e5e" face="Tahoma"><b>$post[title]</b></font><br></td></tr><tr><td>
<font style="font-size: 7pt" color="#5e5e5e" face="Tahoma">by <a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> on $post[postdate]<if condition="!$show['detailedtime']"> - $post[posttime]</if><br><br>
<font style="font-size: 8pt" color="#000000" face="Tahoma">$post[message]</div><div align="right"></font>

		</div></b></td></tr><tr><td bgcolor="#ffffff"><div align="right" style="font-size: 7pt"><if condition="$post['editlink']">
			<a href="$post[editlink]">Edit this post</a></if> | <if condition="$post['replylink']">
			<a href="$post[replylink]">Quote post</a>
		</if></td>
</tr>
</table><div style="padding: 2px 2px 2px 2px;"></div><else /><if condition="$post[postid] == $thread[firstpostid] 
AND $forum['forumid']=='2222213'">
<table summary="" cellpadding="0"><tr><td><!-- attachments --><if condition="$show['attachments']"><table align="left" cellpadding="3">
<tr>
<td>
			
		
			
			
			<if condition="$show['thumbnailattachment']">

					$post[thumbnailattachments]

			</if>
		
			<if condition="$show['imageattachment']">
				
					$post[imageattachments]
				
			</if>
			
			<if condition="$show['imageattachmentlink']">
				
					$post[imageattachmentlinks]
					
			</if>
			
			<if condition="$show['otherattachment']">
				
					$post[otherattachments]
		
			</if>
			
			<if condition="$show['moderatedattachment']">
				
					$post[moderatedattachments]
							
			</if>
			
			
	
		
	
			</td></tr></table></if>	<!-- / attachments -->
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>&nbsp;<font style="font-size: 14px" color="#000000" face="Tahoma"><b>$post[title]</b></font><br>
<font style="font-size: 10px" color="#5e5e5e" face="Tahoma">by <a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> on $post[postdate]<if condition="!$show['detailedtime']"> - $post[posttime]</if><br><br>
<font style="font-size: 12px" color="#000000" face="Tahoma">$post[message]</div><div align="right" style="font-size: 7pt"><if condition="$post['editlink']">
			<a href="$post[editlink]">Edit this post</a></if> | <if condition="$post['replylink']">
			<a href="$post[replylink]">Quote post</a></font></if></div>
		</b><br /></font></td>
</tr>
</table>
			<table width="100%"><tr><td><font style="font-size: 8pt" color="#010E74" face="Tahoma"><b>comments</b><hr size="1" color="#FF8439"></font></td></tr></table>
<else />

<if condition="$forum['forumid']=='2222213'"><table summary="" width="100%" cellspacing="1" cellpadding="5" bgcolor="#e5e5e5">
<tr>
<td bgcolor="#efefef">
<font style="font-size: 8pt" color="#010E74" face="Tahoma">
<font style="font-size: 8pt" color="#000000" face="Tahoma"><b>$post[title]</b></font><br>
<font style="font-size: 7pt" color="#5e5e5e" face="Tahoma">by <a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> on $post[postdate]<if condition="!$show['detailedtime']"> - $post[posttime]</if><br><br>
<font style="font-size: 8pt" color="#000000" face="Tahoma">$post[message]</div><div align="right"></font>
		</div></b><div align="right" style="font-size: 7pt"><if condition="$post['editlink']">
			<a href="$post[editlink]">Edit this post</a> | <if condition="$post['replylink']">
			<a href="$post[replylink]">Quote post</a>
		</if>

		</if></div></td>
</tr>
</table><br /><else />





<if condition="$post[postid] == $thread[firstpostid] 
AND $forum['forumid']=='121336'">
<table summary="" cellpadding="0"><tr><td><!-- attachments --><if condition="$show['attachments']"><table align="left" cellpadding="3">
<tr>
<td>
			
		
			
			
			<if condition="$show['thumbnailattachment']">

					$post[thumbnailattachments]

			</if>
		
			<if condition="$show['imageattachment']">
				
					$post[imageattachments]
				
			</if>
			
			<if condition="$show['imageattachmentlink']">
				
					$post[imageattachmentlinks]
					
			</if>
			
			<if condition="$show['otherattachment']">
				
					$post[otherattachments]
		
			</if>
			
			<if condition="$show['moderatedattachment']">
				
					$post[moderatedattachments]
							
			</if>
			
			
	
		
	
			</td></tr></table></if>	<!-- / attachments -->
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>&nbsp;<font style="font-size: 14px" color="#000000" face="Tahoma"><b>$post[title]</b></font><br>
<font style="font-size: 10px" color="#5e5e5e" face="Tahoma">by <a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> on $post[postdate]<if condition="!$show['detailedtime']"> - $post[posttime]</if><br><br>
<font style="font-size: 12px" color="#000000" face="Tahoma">$post[message]</div><div align="right" style="font-size: 7pt"><if condition="$post['editlink']">
			<a href="$post[editlink]">Edit this post</a></if> | <if condition="$post['replylink']">
			<a href="$post[replylink]">Quote post</a></font></if></div>
		</b><br /></font></td>
</tr>
</table>
			<table width="100%"><tr><td><font style="font-size: 8pt" color="#010E74" face="Tahoma"><b>comments</b><hr size="1" color="#FF8439"></font></td></tr></table>
<else />

<if condition="$post[postid] == $thread[firstpostid] 
AND $forum['forumid']=='121347'">
<table summary="" cellpadding="0"><tr><td><!-- attachments --><if condition="$show['attachments']"><table align="left" cellpadding="3">
<tr>
<td>
			
		
			
			
			<if condition="$show['thumbnailattachment']">

					$post[thumbnailattachments]

			</if>
		
			<if condition="$show['imageattachment']">
				
					$post[imageattachments]
				
			</if>
			
			<if condition="$show['imageattachmentlink']">
				
					$post[imageattachmentlinks]
					
			</if>
			
			<if condition="$show['otherattachment']">
				
					$post[otherattachments]
		
			</if>
			
			<if condition="$show['moderatedattachment']">
				
					$post[moderatedattachments]
							
			</if>
			
			
	
		
	
			</td></tr></table></if>	<!-- / attachments -->
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>&nbsp;<font style="font-size: 14px" color="#000000" face="Tahoma"><b>$post[title]</b></font><br>
<font style="font-size: 10px" color="#5e5e5e" face="Tahoma">by <a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> on $post[postdate]<if condition="!$show['detailedtime']"> - $post[posttime]</if><br><br>
<font style="font-size: 12px" color="#000000" face="Tahoma">$post[message]</div><div align="right" style="font-size: 7pt"><if condition="$post['editlink']">
			<a href="$post[editlink]">Edit this post</a></if> | <if condition="$post['replylink']">
			<a href="$post[replylink]">Quote post</a></font></if></div>
		</b><br /></font></td>
</tr>
</table>
			<table width="100%"><tr><td><font style="font-size: 8pt" color="#010E74" face="Tahoma"><b>comments</b><hr size="1" color="#FF8439"></font></td></tr></table>
<else />

<if condition="$forum['forumid']=='1712342134'"><table summary="" width="100%" cellspacing="1" cellpadding="5" bgcolor="#e5e5e5">
<tr>
<td bgcolor="#efefef">
<font style="font-size: 8pt" color="#010E74" face="Tahoma">
<font style="font-size: 8pt" color="#000000" face="Tahoma"><b>$post[title]</b></font><br>
<font style="font-size: 7pt" color="#5e5e5e" face="Tahoma">by <a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> on $post[postdate]<if condition="!$show['detailedtime']"> - $post[posttime]</if><br><br>
<font style="font-size: 8pt" color="#000000" face="Tahoma">$post[message]</div><div align="right"></font>
		</div></b><div align="right" style="font-size: 7pt"><if condition="$post['editlink']">
			<a href="$post[editlink]">Edit this post</a> | <if condition="$post['replylink']">
			<a href="$post[replylink]">Quote post</a>
		</if>

		</if></div></td>
</tr>
</table><br /><else /><if condition="$forum['forumid']=='112341'"><table summary="" width="100%" cellspacing="1" cellpadding="5" bgcolor="#e5e5e5">
<tr>
<td bgcolor="#efefef">
<font style="font-size: 8pt" color="#010E74" face="Tahoma">
<font style="font-size: 8pt" color="#000000" face="Tahoma"><b>$post[title]</b></font><br>
<font style="font-size: 7pt" color="#5e5e5e" face="Tahoma">by <a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> on $post[postdate]<if condition="!$show['detailedtime']"> - $post[posttime]</if><br><br>
<font style="font-size: 8pt" color="#000000" face="arial narrow">$post[message]</div><div align="right"></font>
		</div></b><div align="right" style="font-size: 7pt"><if condition="$post['editlink']">
			<a href="$post[editlink]">Edit this post</a> | <if condition="$post['replylink']">
			<a href="$post[replylink]">Quote post</a>
		</if>

		</if></div></td>
</tr>
</table><br /><else />

<if condition="$post[postid] == $thread[firstpostid] 
AND $forum['forumid']=='23'">
<table summary="" width="100%" cellspacing="2" cellpadding="5" bgcolor="#f1f1f1" style="border: 1px solid #DBDBDB" style="font-family: tahoma;">


			<tr>
<td valign="top">
<!-- Attachment -->
<table summary="" align="left" cellspacing="0" cellpadding="0">
<tr>
<td>
<if condition="$show['thumbnailattachment']">

					$post[thumbnailattachments]

			</if>
		
			<if condition="$show['imageattachment']">
				
					$post[imageattachments]
				
			</if>
			
			<if condition="$show['imageattachmentlink']">
				
					$post[imageattachmentlinks]
					
			</if>
			
			<if condition="$show['otherattachment']">
				
					$post[otherattachments]
		
			</if>
			
			<if condition="$show['moderatedattachment']">
				
					$post[moderatedattachments]
							
			</if>
</td>
</tr>
</table>
<!-- END Attachment -->
<!-- Section Title -->
<table cellpadding="1" cellpadding="3" width="100%" bgcolor="#001CA7" style="border: outset #000000 0px;">
<tr><td style="background-color: #001CA7; text-align: left; font-size: 8pt; font-family: Lucida Sans Unicode; color: #ffffff;"><if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if></td><td width="100%" style="background-color: #001CA7; text-align: left; font-size: 8pt; font-family: Lucida Sans Unicode; color: #ffffff;">
<!-- Article Title -->
<font style="font-size: 10pt;"><b>$post[title]</b></font>
<!-- END Article Title -->
</td>

</tr></table>
<!-- END Section Title -->
<font style="font-size: 10px" color="#5e5e5e" face="Tahoma">by <a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> on $post[postdate]<if condition="!$show['detailedtime']"> - $post[posttime]</if><br><br>
<font style="font-size: 12px" color="#000000" face="Tahoma">$post[message]</div>
		</b><br /></font>
</td>
</tr>
<tr><td bgcolor="#ffffff"><div align="right" style="font-size: 7pt"><if condition="$post['editlink']">
			<a href="$post[editlink]">Edit this post</a></if> | <if condition="$post['replylink']">
			<a href="$post[replylink]">Quote post</a></font></if></div></td></tr></table>










			<div style="padding: 4px 4px 4px 4px;"></div>
<table cellpadding="1" cellpadding="3" width="100%" bgcolor="#ff4400" style="border: outset #000000 0px;">
<tr><td style="background-color: #ff4400; text-align: left; font-size: 8pt; font-family: Lucida Sans Unicode; color: #ffffff;"><img src="http://www.nymfans.com/forums/modules/icon23.gif"></td><td width="100%" style="background-color: #ff4400; text-align: left; font-size: 8pt; font-family:Lucida Sans Unicode; color: #ffffff;"><font style="font-size: 10pt;">&nbsp;<b>COMMENTS</b></font></td></tr></table>
<else />

<if condition="$forum['forumid']=='23'"><table summary="" width="100%" cellspacing="2" cellpadding="5" bgcolor="#f1f1f1" style="border: 1px solid #DBDBDB" style="font-family: tahoma;">

<tr><td bgcolor="#E0E0E0"><div align="left" style="font-size: 7pt"><font style="font-size: 7pt" color="#5e5e5e" face="Tahoma"><b>$post[title]</b></font><br></td></tr><tr><td>
<font style="font-size: 7pt" color="#5e5e5e" face="Tahoma">by <a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> on $post[postdate]<if condition="!$show['detailedtime']"> - $post[posttime]</if><br><br>
<font style="font-size: 8pt" color="#000000" face="Tahoma">$post[message]</div><div align="right"></font>

		</div></b></td></tr><tr><td bgcolor="#ffffff"><div align="right" style="font-size: 7pt"><if condition="$post['editlink']">
			<a href="$post[editlink]">Edit this post</a></if> | <if condition="$post['replylink']">
			<a href="$post[replylink]">Quote post</a>
		</if></td>
</tr>
</table><div style="padding: 2px 2px 2px 2px;"></div><else />

<if condition="$forum['forumid']=='16'"><table summary="" width="100%" cellspacing="1" cellpadding="5" bgcolor="#e5e5e5">
<tr>
<td bgcolor="#efefef">
<font style="font-size: 8pt" color="#010E74" face="Tahoma">
<font style="font-size: 8pt" color="#000000" face="Tahoma"><b>$post[title]</b></font><br>
<font style="font-size: 7pt" color="#5e5e5e" face="Tahoma">by <a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> on $post[postdate]<if condition="!$show['detailedtime']"> - $post[posttime]</if><br><br>
<font style="font-size: 8pt" color="#000000" face="Tahoma">$post[message]</div><div align="right"></font>
		</div></b><div align="right" style="font-size: 7pt"><if condition="$post['editlink']">
			<a href="$post[editlink]">Edit this post</a> | <if condition="$post['replylink']">
			<a href="$post[replylink]">Quote post</a>
		</if>

		</if></div></td>
</tr>
</table><br /><else />
<table class="tborder" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
<tr>
	<if condition="$show['announcement']">
		<td class="thead" style="font-weight:normal" colspan="2">
			<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
			<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
		</td>
	<else />
		<td class="thead" style="font-weight:normal" $scrolltothis>		
			<!-- status icon and date -->
			<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
			$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
			$post[firstnewinsert]
			<!-- / status icon and date -->				
		</td>
		<td class="thead" style="font-weight:normal" align="$stylevar[right]">
			&nbsp;
			<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new"><strong>$post[postcount]</strong></a></if>
		</td>
	</if>
</tr>
<tr valign="top">
	<td class="alt2" width="175">
			
			<div id="postmenu_$post[postid]">
				<if condition="$show['profile']">
				<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
				<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
				<else />
				$post[musername]
				</if>
			</div>
			
			<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
			<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
		
			<if condition="$show['avatar']">
				<div class="smallfont">
					&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
				</div>
			</if>
			
			<div class="smallfont">
				&nbsp;<br />
				<if condition="$post['joindate']"><table cellpadding="2" background="http://www.nymfans.com/gridbg.gif" width="100%" cellspacing="1" style="border: 1px solid #5e5e5e;"><tr><td><div><font size="1"><b>$vbphrase[join_date]:</b> $post[joindate]</div></font></td></tr></table>
				<div style="padding:2px 2px 2px 2px;"></div></if>
				<if condition="$post['field2']"><table cellpadding="2" background="http://www.nymfans.com/gridbg.gif" width="100%" cellspacing="1" style="border: 1px solid #5e5e5e;"><tr><td><div><font size="1"><b>$vbphrase[location_perm]:</b> $post[field2]</div></font></td></tr></table>
				<div style="padding:2px 2px 2px 2px;"></div></if>
				<if condition="$post['age']"><table cellpadding="2" background="http://www.nymfans.com/gridbg.gif" width="100%" cellspacing="1" style="border: 1px solid #5e5e5e;"><tr><td><div><font size="1"><b>$vbphrase[age]:</b> $post[age]</font></div></td></tr></table>
				<div style="padding:2px 2px 2px 2px;"></div></if>
				<table cellpadding="2" width="100%" background="http://www.nymfans.com/gridbg.gif" cellspacing="1" style="border: 1px solid #5e5e5e;"><tr><td><div><font size="1"><b>$vbphrase[posts]:</B> $post[posts]</FONT></DIV></TD></TR></TABLE>
				<div style="padding:2px 2px 2px 2px;"></div>
				<table cellpadding="2" background="http://www.nymfans.com/gridbg.gif" width="100%" cellspacing="1" style="border: 1px solid #5e5e5e;"><tr><td><div><font size="1"><b>Status:</B> $post[onlinestatus]</FONT></DIV></TD></TR></TABLE>
				<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if>
				$post[iplogged]
				<div style="padding:2px 2px 2px 2px;"></div>
				<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
			</div>					
		
	</td>
	<td class="alt1">
	
		<if condition="$show['messageicon'] OR $post['title']">
			<!-- icon and title -->
			<div class="smallfont">
				<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
				<if condition="$post['title']"><strong>$post[title]</strong></if>
			</div>
			<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
			<!-- / icon and title -->
		</if>
		
		<!-- message -->
		<div>$post[message]</div>
		<!-- / message -->
	
		<if condition="$show['attachments']">
		<!-- attachments -->
			<div style="padding:$stylevar[cellpadding]px">
			
			<if condition="$show['thumbnailattachment']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attached_thumbnails]</legend>
					<div style="padding:$stylevar[formspacer]px">
					$post[thumbnailattachments]
					</div>
				</fieldset>
			</if>
		
			<if condition="$show['imageattachment']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attached_images]</legend>
					<div style="padding:$stylevar[formspacer]px">
					$post[imageattachments]
					</div>
				</fieldset>
			</if>
			
			<if condition="$show['imageattachmentlink']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attached_images]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[imageattachmentlinks]
					</table>
					</fieldset>
			</if>
			
			<if condition="$show['otherattachment']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attached_files]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[otherattachments]
					</table>
				</fieldset>
			</if>
			
			<if condition="$show['moderatedattachment']">
				<fieldset class="fieldset">
					<legend>$vbphrase[attachments_pending_approval]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					$post[moderatedattachments]
					</table>
				</fieldset>		
			</if>
			
			</div>
		<!-- / attachments -->
		</if>
		
		<if condition="$post['signature']">
		<!-- sig -->
			<div>
				__________________<br />
				$post[signature]
			</div>
		<!-- / sig -->
		</if>
		
		<if condition="$show['postedited']">
		<!-- edit note -->
			<div class="smallfont">			<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
				<em>
				<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
				<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
				</em>
			</div>
		<!-- / edit note -->
		</if>
	
	</td>
</tr>
<tr>
	<td class="alt2">
		
		<if condition="$show['reputationlink']"><a href="#" onclick="return reputation($post[postid])"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>
		<if condition="$show['reportlink']"><font size="1"><a href="report.php?$session[sessionurl]p=$post[postid]">Report this post</a></if></font>
				&nbsp;
	</td>
	<td class="alt1" align="$stylevar[right]">
		<!-- controls -->
		<if condition="$post['editlink']">
			<a href="$post[editlink]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
		</if>
		<if condition="$post['forwardlink']">
			<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
		</if>
		<if condition="$post['replylink']">
			<a href="$post[replylink]"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
		</if>
		<if condition="$SHOWQUICKREPLY AND !$show['threadedmode']">
			<a href="$post[replylink]" onclick="return qr($post[postid]);"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
		</if>
		<!-- / controls -->
	</td>
</tr>
</table>

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$post[username]</td>
	</tr>
	<if condition="$show['profile']">
		<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]userid=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
	</if>
	<if condition="$show['pmlink']">
		<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
	</if>
	<if condition="$show['emaillink']">
		<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
	</if>
	<if condition="$show['homepage']">
		<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
	</if>
	<if condition="$show['search']">
		<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
	</if>
	<if condition="$post['userid']">
	<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
	</if>
	</table></if></if></if></if></if></if></if></if></if></if></if>
</div>
<!-- / post $post[postid] popup menu -->

<if condition="$show['spacer']"><if condition="!$post['islastshown']"></div></if>$spacer_close</if>
<!-- / post #$post[postid] -->
</if>
Basically, what I want the template to do, is take the posts in forums 22,23,24 and give them a large headline, a byline and a date (and maybe put the body copy in a different font, so it look different from the posts), plus any photos attached. No Avatar, no number of posts, nothing ? like an ESPN.com story, for lack of a better example.

Just giving this template another read, it seems overly complicated for what I'm looking for. Suggestions? Ideas?

Mike
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:38 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03970 seconds
  • Memory Usage 2,323KB
  • Queries Executed 16 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (1)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete