vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - Chief First Post - Every Page [Forum Based] (https://vborg.vbsupport.ru/showthread.php?t=194832)

mykkal 12-05-2009 02:34 AM

Hey there, i'm able to "chief" every post on the first page but i'm only able to use one template. i'm not exactly sure which postbit template is being used...Doesn't matter which one I select as the default for the forum.

Does anyone know how to fix this?

marshal_ramdev 12-13-2009 06:08 AM

thanks ...

taffy056 12-22-2009 01:27 PM

Quote:

Originally Posted by LightInClouds (Post 1918344)
Can this mod be transferred to vB 4.0.

Just tried it on vb4.0 and got a database error, think it needs to be ported over

ZexTasy 12-23-2009 12:00 AM

Check the plugin for the hook "showthread_query"

Current Code:
Code:

    $ids .= ",$thread[firstpostid]";
    $postids = "post.postid IN (0" . $ids . ")";

Should be changed to:
Code:

    $ids[] = $thread[firstpostid];
    $postids = "post.postid IN (0" . implode(',', $ids) . ")";

I use Legacy Postbit, I haven't tested anything else, but for me it works now in vbulletin 4.0.

- ZexTasy

iyama 01-01-2010 02:59 PM

Thnx ZexTasy: works here on vb4 gold

arena 01-06-2010 03:18 PM

Quote:

Originally Posted by ZexTasy (Post 1935918)
Check the plugin for the hook "showthread_query"

Current Code:
Code:

    $ids .= ",$thread[firstpostid]";
    $postids = "post.postid IN (0" . $ids . ")";

Should be changed to:
Code:

    $ids[] = $thread[firstpostid];
    $postids = "post.postid IN (0" . implode(',', $ids) . ")";

I use Legacy Postbit, I haven't tested anything else, but for me it works now in vbulletin 4.0.

- ZexTasy

thank you my friend I am posbit works

laztrix 01-08-2010 06:10 AM

Sorry guys but I couldn't find the settings page in Vbulletin Options.
Where do I get to the setting page?

Taurus1 01-08-2010 02:43 PM

Quote:

Originally Posted by laztrix (Post 1950165)
Sorry guys but I couldn't find the settings page in Vbulletin Options.
Where do I get to the setting page?

Man this is awesome!! Works 100% on 3.8.4 P2

And to your question, there is no setting in your vb Options. Open your Forums & Moderators tab on the left in your ACP. Select Forum Manager......select the forum you want to enable this on.....scroll right to the bottom....Chief First Post ....and make your selection....Save...

Done!! ;)

LuckyNeo 01-10-2010 09:35 AM

Please! Make this hack on vB4!!! Please!

iyama 01-15-2010 09:47 AM

See #77. Its work on vb4.01


All times are GMT. The time now is 01:07 PM.

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.01127 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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