vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Looking for a Chief First Post Mod (https://vborg.vbsupport.ru/showthread.php?t=201016)

crkgb 01-07-2009 11:58 PM

Looking for a Chief First Post Mod
 
I am looking for a mod to display the first post on all the pages of the topic.

Chief First Post by Atakan KOC does not really fit, due to offering way too many things I do not need. I simply want the first post to be displayed on all the pages. Running 3.8.

Thank you very much for your help.

Dismounted 01-08-2009 03:08 AM

Can't you just disable the features you don't need?

crkgb 01-08-2009 04:26 AM

Unfortunately there is no option to disable "Thread Type:" in this mod.

Lynne 01-08-2009 02:49 PM

Just look at the plugins. One of them sets the postbit for the first post. Use that plugin and also look to see if there is any other code you need to go along with that plugin and use it also.

Lynne 01-08-2009 04:57 PM

Somebody bumped a thread on vb.com that I had posted this on:

Quote:

Originally Posted by Lynne
- Create your own first post template - "postbit_myown"
- Create a plugin using hook "postbit_display_complete":

PHP Code:

    if ($post['postid']==$this->thread['firstpostid'])
{
$this->templatename 'postbit_myown';


I think that should work. I was using that when I had my 3.7 test board up.


Dismounted 01-09-2009 05:25 AM

I think he wants the functionality of the first post being displayed on all pages. Not the functionality of changing postbits. :)

@crkjb: Just remove the template modification that added the Thread Type option.

Lynne 01-09-2009 02:39 PM

Quote:

Originally Posted by Dismounted (Post 1705963)
I think he wants the functionality of the first post being displayed on all pages. Not the functionality of changing postbits. :)

Ack! You are right. :o

plazzman 10-02-2010 09:50 PM

Is there a way to get CFP to be user-set instead of forum set? So it can be done in any forum, so long as the user chooses it, sort of like how they can choose whether or not to have a poll or not.

Currently using 3.8

Thanks and sorry for revival/hijacking


All times are GMT. The time now is 03:18 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.01013 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete