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
  #342  
Old 08-29-2009, 04:04 PM
kent_lkc kent_lkc is offline
 
Join Date: Feb 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

which part ?
Reply With Quote
  #343  
Old 09-01-2009, 07:08 PM
CGhostGroup CGhostGroup is offline
 
Join Date: Oct 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All of it, searching for something like that too
Reply With Quote
  #344  
Old 09-02-2009, 07:28 PM
kent_lkc kent_lkc is offline
 
Join Date: Feb 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

everything do exactly as this MOD then do alteration as below:-

(I would like to apologize for bad English and i'm not a coder)

In this case, changes made to postbit_first
Original template of postbit_first was duplicate from postbit_legacy, so, it looks like below:-

Code:
$template_hook[postbit_start]
blah . . .blah . . blah...
.
.
.
.
.
	$template_hook[postbit_user_popup]
	</table>
</div>
<!-- / post $post[postid] popup menu -->
Duplicate above scripts as shown below:-
Red color texts are those i added.
Code:
$template_hook[postbit_start]
 <if condition="$forum['showfirstpost'] AND $vbulletin->GPC['pagenumber'] > 1">
<!-- first_post_stuck -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tbody>
 
	<tr>
		<td class="tcat" colspan="5">
			
			<a style="float:right" href="#top" onclick="return toggle_collapse('showfirstpost')"><img id="collapseimg_showfirstpost" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
            <span class="smallfont" style="float:$stylevar[right]">(<a href="#top" title="" onclick="return toggle_collapse('first_post'); return false; ">Collapse/Expand</a>)&nbsp;</span>			

     
			<div class="bigfont" align="center">Topic Discuss : <strong>$post[title]</strong></div>
			
		</td>
	</tr>
 
</tbody>

<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
    <tbody id="collapseobj_showfirstpost" style="">
<tr>
blah . . .blah . . blah...
.
.
.
.
.
	$template_hook[postbit_user_popup]
	</table>
</div>
<!-- / post $post[postid] popup menu -->

</tbody>
</table></if>
<!-- /first_post_stuck -->

 <if condition="$forum['showfirstpost'] AND $vbulletin->GPC['pagenumber'] < 2">
$template_hook[postbit_start]
blah . . .blah . . blah...
.
.
.
.
.
	$template_hook[postbit_user_popup]
	</table>
</div>
<!-- / post $post[postid] popup menu -->
</if>
Below :-$template_hook[postbit_signature_end]
Code:
		$template_hook[postbit_signature_end]

		<if condition="$show['postedited']">
		<!-- edit note -->
			<div class="smallfont">
				<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
				<em>
					<if condition="$show['postedithistory']">
						<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
					<else />
						<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
					</if>
					<if condition="$post['edit_reason']">
						$vbphrase[reason]: $post[edit_reason]
					</if>
				</em>
			</div>
		<!-- / edit note -->
Replace with:-
Code:
		$template_hook[postbit_signature_end]
		<!-- Information -->
			<div class="smallfont">
				<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
				<em>
      <table border="0" cellpadding="0" cellspacing="0"> 
        <tr> 
          <td> 
            <a href=""><img src="http://www.yourdomain.com/images/attention.png" width="32" height="32" border="0" alt="Information" title="Information" /></a> 
          </td> 
          <td>&nbsp;&nbsp;&nbsp;</td> 
          <td style="font-weight:bold;"> 
            <a href="">Information</a><br /><span style="font-weight:normal;font-size:90%;color:#8BFF4D;line-height:200%;">This is the first post of the thread you are reading.  It will appear at the top of every page.!</span> 
          </td> 
        </tr> 
      </table> 
				</em>
			</div>

		<!-- / Information -->
Change www.yourdomain.com to your site URL and upload attention.png to images folder.

That's the best i can explain.

Attached a copy of png format image and my edited postbit_first for your reference.

Typically upper portion of postbit_first, whatever you don't want to display can be deleted.
Reply With Quote
  #345  
Old 12-10-2009, 11:54 PM
GTX2 GTX2 is offline
 
Join Date: May 2006
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got it working but the first post now has lower lenght than all other posts.. !!
any hint?
Reply With Quote
  #346  
Old 11-17-2012, 02:46 PM
iraqiboy90 iraqiboy90 is offline
 
Join Date: Sep 2012
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there anything like this for vb 4.x.x?
Reply With Quote
  #347  
Old 11-21-2012, 01:15 PM
Bro_Joey_Gowdy's Avatar
Bro_Joey_Gowdy Bro_Joey_Gowdy is offline
 
Join Date: May 2002
Location: Hickory Flat MS 38633
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iraqiboy90 View Post
is there anything like this for vb 4.x.x?
Yes, it can be found here:

https://vborg.vbsupport.ru/showthread.php?t=239282

Reply With Quote
  #348  
Old 10-18-2013, 02:42 PM
scriptycan scriptycan is offline
 
Join Date: Oct 2013
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi is there a version that will work on vb 5?
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 10:45 AM.


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.04697 seconds
  • Memory Usage 2,282KB
  • Queries Executed 22 (?)
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
  • (4)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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