Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
First post on every page of thread. Details »»
First post on every page of thread.
Version: 1.0.1, by vBintense vBintense is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 08-04-2005 Last Update: 08-08-2005 Installs: 351
DB Changes Uses Plugins
 
No support by the author.

I had a use for it, so I thought I would share it.

Requires no file edits (Thanks Kirby!).
Adds no quarys when viewing threads

This is something like here on vbulletin.org , it allows you to select forums where the first post of the thread is shown thru out the thread.

It uses stock template looks now , if someone wishes to make a template and share it feel free.

I will offer support as I can.

Ps. If you install this hack please click the install :nervous:

Templates for first post:
https://vborg.vbsupport.ru/showpost....&postcount=124
https://vborg.vbsupport.ru/showpost....&postcount=161

Show Your Support

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

Comments
  #192  
Old 02-22-2006, 12:00 PM
vBintense's Avatar
vBintense vBintense is offline
 
Join Date: May 2005
Location: Omnipresent
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by katholic
If you look at this thread http://www.insimenator.net/showthread.php?t=478 you will notice the first post is formated differently than the rest of the posts. How can I fix it where they all display the same? I want them to all display as post 2 does.
I was unable to see your community , but if you mean you wish them all to look like legacy then just simply copy your legacy template into the firstpost template.

I hope that works for what your wishing to do.
Reply With Quote
  #193  
Old 02-22-2006, 12:20 PM
katholic katholic is offline
 
Join Date: Nov 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I am updating right now so I kind of broke something lol.
Reply With Quote
  #194  
Old 03-03-2006, 10:41 PM
Krose Krose is offline
 
Join Date: Feb 2006
Location: Japan
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed!..thanx a lot!!..nice hack! :banana:
Reply With Quote
  #195  
Old 03-04-2006, 09:22 PM
BeaLzeBuB's Avatar
BeaLzeBuB BeaLzeBuB is offline
 
Join Date: Mar 2006
Location: Turkey
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx its great, i installed it and i have edited for my own. i can see in att.

Code:
<!-- post #$post[postid] -->
<if condition="$show['spacer']">
	$spacer_open
	<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
	<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>	
</if>


<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="thead" colspan="4" $post[scrolltothis] align="center">
		<div class="normal" style="float:$stylevar[right]">
			&nbsp;
			<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
			<if condition="$show['inlinemod']">
			<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" />
			</if>
		</div>
		
		<div class="normal">
			<!-- status icon and date -->
				<a style="float:$stylevar[left]" name="post$post[postid]">
					<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />&nbsp;
				</a> 
				$post[firstnewinsert]
			<!-- / status icon and date -->
				<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>
	</td>
</tr>

<tr>
	<td class="alt2" rowspan="3" width="75" style="vertical-align:top;">
		<img class="inlineimg" src="images/firstpost.gif" alt="" border="0" />		
	</td>
	<td class="alt2">
		<table>
			<tr>
				<td>
				  	<strong>Son Giriş:</strong> $post[postdate]
				</td>
			</tr>
			<tr>
				<td>
					<if condition="$show['detailedtime']">
						<strong>Post Time :  </strong> $post[posttime]
					</if>
				</td>
			</tr>
		</table>
	</td>
	<td class="alt2"><br><center><if condition="$show['messageicon']">
					<img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" />
				</if>
				<if condition="$post['title']"><strong><font color="darkred" size="3">$post[title]</font></strong></if></center>
		
	</td>
	<td class="alt2" rowspan="3">
		<table>
			<tr>
				<td>
					<!-- user info -->
					<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">
								<a href="member.php?$session[sessionurl]u=$post[userid]">
								<img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
							</div>
						</if>
						<!-- user info -->
					</td>
				</tr>
									
			</table>				
	</td>
</tr>

<tr>
	<td class="alt1" style="vertical-align:top;">
		<div class="normal">
			<!-- status icon and date -->
					$post[onlinestatus]
					$post[iplogged]<if condition="$show['reportlink']">
			<a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">
				<img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="Report Bad Submition" border="0" />
			</a>
		</if>
		</div>

	</td>
	<td class="alt1">
		<div class="normal">
			<!-- status icon and date -->
			<if condition="$show['reputationlink']">
				<a href="#" onclick="reputation($post[postid]); return false;">
					<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['reputation']">
				<if condition="$show['reppower']">
					<a style="float:$stylevar[left]" name="~">$vbphrase[reppower]: $post[reppower] 
				</if>
					$post[reputationdisplay]&nbsp;</a>
			</if>				
		</div>
	</td>
</tr>





<tr>
	<td class="alt2">
		<if condition="$show['postedited']">
			<strong>Konunun Son D?zenlenmesi:</strong> $post[edit_date],  $post[edit_time]
		<else />
			<strong>Konunun Son D?zenlenmesi:</strong>&nbsp;Hi?
		</if>
	</td>
	<td class="alt2">
		<if condition="$thread['rating']">
			<span style="float:$stylevar[center]">
				<strong>Konuya Verilen Puan:</strong>
					<img alt="" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" title="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" />
			</span>
		<else />
			<strong>Konuya Verilen Puan:</strong>&nbsp;Yazık ya hi? puan vermemişsiniz adam o kadar emek vermiş
		</if>
	</td>
</tr>

<!-- / user info -->
<tr style="vertical-align: top">
	<td class="alt1" colspan="3" id="td_post_$post[postid]">
		<table width="100%">
			<tr width="100%">
				<td width="100%">
					<!-- message -->
					<div id="post_message_$post[postid]">$post[message]</div>
					
				</td>
			</tr>
			<tr>
				<td width="100%">
					<!-- attachments -->
					<if condition="$show['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['moderatedattachment']">
							<fieldset class="fieldset">
								<legend>$vbphrase[attachments_pending_approval]</legend>
								<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
								$post[moderatedattachments]
								</table>
							</fieldset>		
						</if>
					</if>
					</div>
					<!-- / attachments -->
				</td>
			</tr>
			<tr>
				<td>
					<if condition="$show['attachments']">
						<!-- attachments -->				
						<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>
						<!-- / attachments -->
					</if>	
				</td>
			</tr>
		</table>
				<!-- / message -->
	</td>
	<td class="alt1" align="center" width="250">
		<div align="left">
			<fieldset style="border: 1px dashed #99CCFF; height: 380px;" ><legend>Konuyu A?anın Bilgileri:</legend>
				<table>
					<tr>
						<td>
							<div class="smallfont">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
						</td>
					</tr>
					<tr>
						<td>
							<div class="smallfont">
								<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
							</div>
						</td>
					</tr>
					<tr>
						<td>
							<div class="smallfont">							
								<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
							</div>
						</td>
					</tr>
					<tr>
						<td>
							<div class="smallfont">													
								<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
							<div>
						</td>
					</tr>
					<tr>
						<td>
							<div class="smallfont">													
								$vbphrase[posts]: $post[posts] <br><br><br><table align="center"><script type="text/javascript"><!--
google_ad_client = "pub-3975276571572787";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "880000";
google_color_bg = "FFFFFF";
google_color_link = "880000";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></table>
							</div>
						</td>
					</tr>
				</table>
			</fieldset>
		</div>			
	</td>
</tr>
		<!-- / attachments -->

	<!-- message, attachments, sig -->
	
<tr>
	<td class="alt2" colspan="4" align="left">
		<div class="normal" style="float:$stylevar[right]"> &nbsp; <if condition="$post['editlink']"> 
          <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><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]" rel="nofollow"><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="$show['quickreply'] AND !$show['threadedmode']"> 
          <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a> 
          </if> <if condition="$show['moderated']"> <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" /> 
          </if> </div>
			
	</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]u=$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;u=$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]" rel="nofollow"><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;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
	</if>
	<if condition="$post['userid'] AND $show['member']">
	<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>
</div>
<!-- / post $post[postid] popup menu -->




<if condition="$show['spacer']">
	</div>
	$spacer_close
</if>
<!-- / post #$post[postid] -->
i translate to Turkish, if you like that, edit your own lang... thx again
Reply With Quote
  #196  
Old 03-15-2006, 10:06 PM
blacklancer's Avatar
blacklancer blacklancer is offline
 
Join Date: Jan 2006
Location: so cal
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok...i installed this and made the template. i see the option to put the first post when i edit the forum, but nothing is showing up.... did i miss something?

does this work on 3.5.4??
Reply With Quote
  #197  
Old 03-20-2006, 04:20 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how does the "Last Update " work?
Reply With Quote
  #198  
Old 03-20-2006, 06:44 AM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine in 3.5.4. I'm using this at my site, though I have changed the template around alot! http://www.vbhackers.com/forum/showthread.php?t=1412
Reply With Quote
  #199  
Old 03-21-2006, 09:03 PM
ffevo's Avatar
ffevo ffevo is offline
 
Join Date: Feb 2003
Location: California
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ho wwould i even test this to see if it works? ho wdo i set something as the first post? when i upload the poroduct it seems to give me some sort of error, but redirects to quickly to let me see it.
Reply With Quote
  #200  
Old 04-04-2006, 05:17 PM
D.Ilyin D.Ilyin is offline
 
Join Date: Oct 2005
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Someone, please, give me suggestion's or tip's how to give permision to group, edit only first post of th tread (with this hack installed)
Reply With Quote
  #201  
Old 04-11-2006, 03:40 AM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone have template for vbadvance postbit?
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 07:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05220 seconds
  • Memory Usage 2,338KB
  • Queries Executed 25 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete