Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
First Post on every pages Details »»
First Post on every pages
Version: 1a, by AnhTuanCool AnhTuanCool is offline
Developer Last Online: Sep 2006 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 10-31-2004 Last Update: 11-15-2004 Installs: 36
 
No support by the author.

Fully tested on vb 3.0.3
Request by Johnny

Hacks Stats:
Install diffuculty: medium
File to edit: 4
File to add: none
Template to edit: 3
Template to add: 1
Query to run: 1
Install time: less than 5 min

Description:
This hack add an additional option to show FIRSTPOST of the thread on every pages after page#1. Can be considered useful for some competition or request or chat chitting threads that need to review the rules or some marked things showed on the firstpost.

Feature:
- Show option to enable show firstpost for mod only
- Show option to enable for old thread too
- Show firstpost (if enable for thread) on everypage and doesn't count for postcount
- Click edit or quote as normal
- postbit Template
- show username and avatar as default

Feature has not achieved yet:
- Attachment in firstpost
- postbit_legacy template support
- Lessen 1 query for showthread.php

Update:
- The update came with a preset for forum that automatically enable this hack when new thread is made and option to turn on or off this hack overal (see attachment)

Installing instruction:
attachment

If you find this hack useful and want to inform any update, plz click INSTALL. Have fun

EDIT: I've been gone and will be long from now, sorry if I can't support my hack as I specified before.

Show Your Support

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

Comments
  #32  
Old 12-21-2004, 09:46 AM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet, that worked.
now how do i put the first post above the NEW REPLY button, and the page nav and the thread drop downs?

but it still has to look good, i added it above it, and it was all messed up lookin
Reply With Quote
  #33  
Old 12-22-2004, 10:07 AM
phprus phprus is offline
 
Join Date: Jul 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help me please to change this hack that it showed the Attachments files.
Reply With Quote
  #34  
Old 12-22-2004, 10:24 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not working here on my test site

[kicks self]

actually it is. I didn't find the First Post on every page option coz I was looking under the wrong menu :blush:
Reply With Quote
  #35  
Old 12-22-2004, 10:44 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's good

Installed and clicked

Just one quick question. Will you be adding ACP support at any point or is this not something that you are considering at the moment?
Reply With Quote
  #36  
Old 12-23-2004, 02:56 AM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

id still like my post to be addressed

"
Quote:
now how do i put the first post above the NEW REPLY button, and the page nav and the thread drop downs?

but it still has to look good, i added it above it, and it was all messed up lookin
"
Reply With Quote
  #37  
Old 12-23-2004, 09:39 PM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about the last post on every page? would seem more useful.
Reply With Quote
  #38  
Old 12-23-2004, 09:44 PM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sebastian
what about the last post on every page? would seem more useful.

Urghhh how is that proved useful?
Reply With Quote
  #39  
Old 12-28-2004, 02:39 PM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well you can see what the last post was... just a reminder of what was last said on the previous page..
Reply With Quote
  #40  
Old 12-29-2004, 01:03 AM
AnhTuanCool's Avatar
AnhTuanCool AnhTuanCool is offline
 
Join Date: Jul 2004
Location: Albuquerque
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@BlindChild02 - you do want to put the new first post on top of the POST REPLY button and the thread navigation right?
This might help:
Open template SHOWTHREAD, erase
Code:
<if condition="$pagenumber != 1">
<div id="firstpost">$postbits_firstpost</div>
</if>
<div id="posts">$postbits</div>
Find:
Code:
<!-- controls above postbits -->
Add ABOVE:
Code:
<if condition="$pagenumber != 1">
<div id="firstpost">$postbits_firstpost</div>
</if>
<div id="posts">$postbits</div>
Done

@peteska2 - I didn't get what you said, do you mean about the update part?
Reply With Quote
  #41  
Old 12-29-2004, 02:08 AM
Takamine334 Takamine334 is offline
 
Join Date: Aug 2004
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, excellent hack. Quick question. I read that attachments in the first post aren't supported. Is this still the case?

I'd definitely use it, but I'd need to let people have attachment access since I run a music site.
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 01:13 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.05472 seconds
  • Memory Usage 2,309KB
  • 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
  • (3)bbcode_code
  • (2)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
  • (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