Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Chief First Post - Every Page - 3.6.x Details »»
Chief First Post - Every Page - 3.6.x
Version: 1.01, by Atakan KOC Atakan KOC is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.8 Rating:
Released: 08-23-2007 Last Update: 08-25-2007 Installs: 339
Uses Plugins Template Edits
 
No support by the author.

Chief First Post - Every Page
With this mod, you can convert the view of the thread in to 4 different type. Additionally you can change the view as you edit click the edit button. The 1st message of the thread will stay at top all the time even while you are checking other messages related to this subject.


Thread Type
Postbit Article
Postbit Flipped
Postbit Normal
Postbit Legacy


install

Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-chiefpost.xml' from your computer then press 'Import'

Modifications Info

Plugin : 12
Phrases : 3
Template : 3
Setting : 0

Versions:
v1.0 - 24 August 2007
-First release

v1.0.1 - 26 August 2007
-Rating Phrase fixed

With this mod, you can convert the view of the thread in to 4 different type. Additionally you can change the view as you edit click the edit button. The 1st message of the thread will stay at top all the time even while you are checking other messages related to this subject.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 09-02-2007, 12:33 PM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Atakan KOC

Looks great

Install
Reply With Quote
  #43  
Old 09-02-2007, 04:32 PM
kellogs kellogs is offline
 
Join Date: May 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great add on Spermy ... that works really well for us who are using postbit legacy and i like the feature that only admin is allowed to use it

Also kudo for Atakan KOC on creating this mod!
Reply With Quote
  #44  
Old 09-03-2007, 03:19 AM
Spermy Spermy is offline
 
Join Date: Oct 2005
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those that want just postbit for default.


1. In the postbit_select template

Default
Code:
<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
<tr>
<td>
$vbphrase[cp_ttype]:<br />
<select name="ttype" tabindex="1">
<option value="1">Postbit Article</option>
<option value="2">Postbit Flipped</option>
<option value="3">Postbit Normal</option>
<option value="4">Postbit Legacy</option>
</select>
</td>
</tr>
</table>
Change to
Code:
<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
<tr>
<td>
$vbphrase[cp_ttype]:<br />
<select name="ttype" tabindex="1">
<option value="1">Postbit Normal</option>
<option value="2">Postbit Flipped</option>
<option value="3">Postbit Article</option>
<option value="4">Postbit Legacy</option>
</select>
</td>
</tr>
</table>
2. In Chief Post - Postbit Display Complete Plugin

Default
Code:
if ($this->forum['chiefpost']==1 AND $post['postid']==$this->thread['firstpostid'])
{
switch ($this->thread['ttype'])
{
case 1: 
$this->templatename = 'postbit_articles';
break;
case 2: 
$this->templatename = 'postbit_flipped';
break;
case 3: 
$this->templatename = 'postbit';
break;
case 4: 
$this->templatename = 'postbit_legacy';
break;
default:
$this->templatename = 'postbit_articles';
break;
}
}
Change to
Code:
if ($this->forum['chiefpost']==1 AND $post['postid']==$this->thread['firstpostid'])
{
switch ($this->thread['ttype'])
{
case 1: 
$this->templatename = 'postbit_legacy';
break;
case 2: 
$this->templatename = 'postbit_flipped';
break;
case 3: 
$this->templatename = 'postbit';
break;
case 4: 
$this->templatename = 'postbit_articles';
break;
default:
$this->templatename = 'postbit';
break;
}
}
And i added <if condition="is_member_of($bbuserinfo, 6)"> at the begining In the postbit_select template and </if> at the end so only Admins can use this.

Hope this helps you guys using normal postbit.
Reply With Quote
  #45  
Old 09-04-2007, 02:30 AM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack! I hope you improve it soon!
Reply With Quote
  #46  
Old 09-05-2007, 04:54 AM
nul7 nul7 is offline
 
Join Date: Sep 2006
Location: USA
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, what am I missing? I installed as instructed with the plugin manager, and nothing changed with how the threads were handled? I can start a new thread as usual, with nothing added like stated in the first post...am I suppose to modify all the templates manually?
Reply With Quote
  #47  
Old 09-05-2007, 05:20 AM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have some comments:

Only Postbit article and Postbit flipped works. By default I'm using postbit legacy and when I choose Postbit Normal it doesn't change to Normal postbit.

Any suggestion
Reply With Quote
  #48  
Old 09-05-2007, 12:41 PM
AzaDiyaR AzaDiyaR is offline
 
Join Date: Oct 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you very much

this mod very nice installed
Reply With Quote
  #49  
Old 09-06-2007, 01:20 AM
brskhrmn brskhrmn is offline
 
Join Date: Aug 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

teşekkürler üstad..
Reply With Quote
  #50  
Old 09-06-2007, 09:14 PM
Jelmertjee Jelmertjee is offline
 
Join Date: Oct 2006
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

interesting mod, it just needs to have forum selection to make it perfect for me, also thanks to spermy's (lol weird name) hack/edit, thanks.
Reply With Quote
  #51  
Old 09-07-2007, 06:32 AM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is great really good option insted gars now you need add option to admin cp installed and voted
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 06:36 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.04970 seconds
  • Memory Usage 2,312KB
  • 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
  • (4)bbcode_code
  • (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_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