vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   First Post on every pages (https://vborg.vbsupport.ru/showthread.php?t=71224)

AnhTuanCool 10-31-2004 10:00 PM

First Post on every pages
 
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.

nexialys 10-31-2004 11:00 PM

i like that idea... i was planning to build something similar, so it's good !

Amavisca 10-31-2004 11:52 PM

NOt sure gonna use yet but seem nice to me. Thnx

Johnny 11-01-2004 03:38 AM

this is one awsome mod for my site, AnhTuanCOol im gonna call you the god of vb3 hacking, you been making some awsome mods these few days. i been looking and trying to figure out how to create this mod for months and now its finally made. this is going to go perfect for my site when its done.

but is their anyway to have the option so the check box is already checked on certain forums already.

HiDeo 11-01-2004 07:15 AM

Nice job, thanks

AnhTuanCool 11-01-2004 12:39 PM

Quote:

Originally Posted by Johnny
this is one awsome mod for my site, AnhTuanCOol im gonna call you the god of vb3 hacking, you been making some awsome mods these few days. i been looking and trying to figure out how to create this mod for months and now its finally made. this is going to go perfect for my site when its done.

but is their anyway to have the option so the check box is already checked on certain forums already.


You can use this script (in attachment) put in under yor admincp directory and run http://yourdomain/admincp/firstpostreset.php?do=edit or contact me invidually. Have fun ;)

PS: thank everyone

Johnny 11-01-2004 01:47 PM

it works perfect just not able to view what forum ids i used.

AN-net 11-01-2004 02:17 PM

so this is thread specific?

AnhTuanCool 11-01-2004 02:55 PM

Quote:

Originally Posted by AN-net
so this is thread specific?

Thread that has option to show. Just like close or open.

James T Brock 11-06-2004 05:35 AM

Can I use this to set it to automatically show the first post of a thread(on every page) on any subforum I want, or would I or th thread starter have to do it manually to every thread? or can this be made into a preset only in a certain subforum?


All times are GMT. The time now is 05:59 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.01213 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete