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
  #72  
Old 08-08-2005, 02:18 AM
vBintense's Avatar
vBintense vBintense is offline
 
Join Date: May 2005
Location: Omnipresent
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope it is now just one import, the updates thru out the thread where fixed in the import , and no file edits are needed thanks to kirby
Reply With Quote
  #73  
Old 08-09-2005, 04:43 AM
ricker ricker is offline
 
Join Date: Jun 2003
Location: Apple Valley, CA
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just downloaded an installed this plugin yesterday, and thought it was great. Today, my posts are disappearing. It seems that whichever post should be first on all subsequent pages is being "covered up" by the plugin. Does that make sense?

Anyway, when I disabled the product, I can see my posts again. Has anyone else experienced this? I have no code edits and I used the fresh postbit template with only a few edits. The rest of my board uses the postbit_legacy. Running 3.5Rc2.
Reply With Quote
  #74  
Old 08-09-2005, 06:29 AM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm. For some reason I am managing to complicate the simple.

I have installed the xml file, in the Product manager, and added the additional template.

I am running RC2 and the legacy style of postbit but for some reason the first post is not showing up. Can't think what I am doing wrong.
Reply With Quote
  #75  
Old 08-09-2005, 09:06 AM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ricker
I just downloaded an installed this plugin yesterday, and thought it was great. Today, my posts are disappearing. It seems that whichever post should be first on all subsequent pages is being "covered up" by the plugin. Does that make sense?

Anyway, when I disabled the product, I can see my posts again. Has anyone else experienced this? I have no code edits and I used the fresh postbit template with only a few edits. The rest of my board uses the postbit_legacy. Running 3.5Rc2.
Same problem .. disabled plugin and posts re-appeared !?
Reply With Quote
  #76  
Old 08-09-2005, 09:45 AM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had this same problem on my board. Though I'm not using your hack at the moment, I've created my own long ago in 3.0.7 for my hack system. When I had this problem, it was caused by a condition I was using. This was the condition.

HTML Code:
<if condition="$forum[ishack] == 1 AND $post[postid] == $GLOBALS['FIRSTPOSTID']">
&nbsp
<else />
<!-- the rest of the postbit template here -->
</if>
I don't know if you using a simalar condtion, but that will grab the first post and hide it. The only problem is, that will grab the first post on everypage...

The only way I was able to fix this was to create a query that grabed the firstpostid out from the thread table.

Hope this helps you out some. I havn't used your hack yet, But I do plan on using it for my upgraded version of my hack install system.
Reply With Quote
  #77  
Old 08-09-2005, 03:22 PM
ricker ricker is offline
 
Join Date: Jun 2003
Location: Apple Valley, CA
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, I haven't learned enough about the plugin system yet to troubleshoot this. For now, it seems that this is a very big bug and this should at least be noted in the first post.
Reply With Quote
  #78  
Old 08-09-2005, 03:54 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this hack on my test board, and it's working fine. All post are showing up as they should. I tested with old threads that have mutiable pages, and a created 2 new threads that split into mutiable pages. Seems everything is working just fine for me.
Reply With Quote
  #79  
Old 08-09-2005, 04:01 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Live Wire
I just installed this hack on my test board, and it's working fine. All post are showing up as they should. I tested with old threads that have mutiable pages, and a created 2 new threads that split into mutiable pages. Seems everything is working just fine for me.
Same here.

Do you have a different postbit for the first message?
Reply With Quote
  #80  
Old 08-09-2005, 04:20 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually the last Post of every Page (that is not the first Page) disappears into Nirvana.
Explaining in detail why this does happen is not that easy, therefor i'll just post the fix

Hook: showthread_postbit_create
PHP Code:
if ($post['postid'] == $thread['firstpostid'] AND $vbulletin->GPC['pagenumber'] > 1)
{
    
$counter--;

Edit:
As this Hack already has Code on this Hook, replace that with
PHP Code:
if ($forum['showfirstpost'] AND $vbulletin->GPC['pagenumber'] > 1)
{
    if (
$post['postid'] == $thread['firstpostid'])
    {
        
$counter--;
        
$post['postcount'] = '';
    }
    else
    {
        
$post['postcount']--;
    }

Reply With Quote
  #81  
Old 08-09-2005, 04:24 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We replace all of this with that?

PHP Code:
 if($forum['showfirstpost'] AND $vbulletin->GPC['pagenumber'] > 1)
{
    if (
$post['postid'] == $thread['firstpostid'])
    {
        
$post['postcount'] = '';
    } else
    {
        
$post['postcount']--;
    }

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:11 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.17652 seconds
  • Memory Usage 2,325KB
  • Queries Executed 27 (?)
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_html
  • (3)bbcode_php
  • (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
  • (1)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_postinfo_query
  • fetch_postinfo
  • 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