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
  #22  
Old 12-12-2004, 10:47 PM
TrangNgoc TrangNgoc is offline
 
Join Date: Jun 2004
Location: Dallas
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, installed :-)
Reply With Quote
  #23  
Old 12-18-2004, 02:20 PM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how could i achieve this:

i want like... the first post to be the Vertical Vb3 one, and the rest of the posts to be vb2 (legacy)
Reply With Quote
  #24  
Old 12-18-2004, 02:21 PM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also, the 1st post isnt showing up on everypage... :\
Reply With Quote
  #25  
Old 12-19-2004, 01:28 PM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*bump* any help??
Reply With Quote
  #26  
Old 12-19-2004, 01:56 PM
phprus phprus is offline
 
Join Date: Jul 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Prompt how to add please a conclusion attachments in the firstpost?
Reply With Quote
  #27  
Old 12-20-2004, 02:53 PM
phprus phprus is offline
 
Join Date: Jul 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well unless nobody knows as it to make?
Reply With Quote
  #28  
Old 12-20-2004, 04:31 PM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im still tryin to get help on my problem.
the support seems very poor on this hack
Reply With Quote
  #29  
Old 12-20-2004, 10:07 PM
Sulaiti Sulaiti is offline
 
Join Date: Mar 2002
Location: Qatar
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

run

UPDATE thread SET showfirstpost = 1
Reply With Quote
  #30  
Old 12-21-2004, 12:37 AM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still isnt workin.
and i know i followed the hack correctly :\

EDIT: wait. on the first page its the old vb2 posbit (which is default) and on the 2nd page it shows up how i want it, the new vb3 one....

how do i make it so that the vb3 postbit is on every page?
Reply With Quote
  #31  
Old 12-21-2004, 08:00 AM
Sulaiti Sulaiti is offline
 
Join Date: Mar 2002
Location: Qatar
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fix :nervous:

in showthread.php
find:

PHP Code:
if ($post['isdeleted']) 
        { 
            
$template 'postbit_deleted'
        } 
underneath that add:

PHP Code:
else if($post['postid']==$threadinfo['firstpostid']) 
        { 
            
$template ='postbit_firstpost'
        } 
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 02:17 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.04838 seconds
  • Memory Usage 2,308KB
  • 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
  • (2)bbcode_php
  • (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