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

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

Category: Show Thread Enhancements - Version: 3.7.0 Rating:
Released: 05-05-2008 Last Update: 05-05-2008 Installs: 447
Uses Plugins Template Edits Auto-Templates
 
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

v1.1.0 - 6 May 2008
-vBulletin 3.7 release
-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 05-07-2008, 11:25 PM
sinucello sinucello is offline
 
Join Date: Apr 2006
Location: dutch-german border
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
Quote:
Originally Posted by Vtec44 View Post

Code:
<option value="1">Postbit Article</option>
<option value="2">Postbit Legacy</option>
<option value="3">Postbit Flipped</option>
<option value="4">Postbit Normal</option>
really great add-on. Could you please phrase the template selection mentioned above?

thank you - all the best,
Sacha
Reply With Quote
  #43  
Old 05-08-2008, 06:01 AM
D.Ilyin D.Ilyin is offline
 
Join Date: Oct 2005
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Installed and nominated! But.... needs improvments .

1. Phrase all templates
2. Forum options:
a) enable FPOAP: yes\no
b) default template: Postbit Normal\Postbit Article\Postbit Legacy\Postbit Flipped
c) enable user change default template: yes\no
d) enable usergroup permisions override forum first post default template settings
3. User group permisions:
a) enable user change default first post template: yes\no

Please!
Reply With Quote
  #44  
Old 05-08-2008, 11:02 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

1. Is it possible that only defined usergroups are allowed to change the postbit type?
2. It would be nice to be able to set the postbit default tpye for every single forum. Can this be done?

/jluerken
Reply With Quote
  #45  
Old 05-08-2008, 12:15 PM
semauae's Avatar
semauae semauae is offline
 
Join Date: Sep 2006
Location: UaE
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For me the 4 types are same

when I changed, I don't find any differences
Reply With Quote
  #46  
Old 05-08-2008, 07:36 PM
maf1973 maf1973 is offline
 
Join Date: Oct 2005
Location: Earth
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is possible to disable the Thread Type Setting ?
Reply With Quote
  #47  
Old 05-08-2008, 08:43 PM
arena's Avatar
arena arena is offline
 
Join Date: Oct 2006
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks....

Usta bunun Türkçe versiyonunuda yüklersen çok makbule geçecek..

Çalışmalarında başarılar diliyorum...

Saygılar
Reply With Quote
  #48  
Old 05-08-2008, 09:13 PM
maf1973 maf1973 is offline
 
Join Date: Oct 2005
Location: Earth
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used the following modification to only allow usergroup 6 to choose the Thread type.
Thanks Spermy

Quote:
Originally Posted by Spermy View Post
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
  #49  
Old 05-08-2008, 09:25 PM
urdu urdu is offline
 
Join Date: Apr 2007
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by D.Ilyin View Post
Thanks!
Installed and nominated! But.... needs improvments .

1. Phrase all templates
2. Forum options:
a) enable FPOAP: yes\no
b) default template: Postbit Normal\Postbit Article\Postbit Legacy\Postbit Flipped
c) enable user change default template: yes\no
3. User group otions:
a) enable user change default first post template: yes\no

Please!
Quote:
Originally Posted by jluerken View Post
Hi,

1. Is it possible that only defined usergroups are allowed to change the postbit type?
2. It would be nice to be able to set the postbit default tpye for every single forum. Can this be done?

/jluerken
i am also want as you suggestion
Reply With Quote
  #50  
Old 05-09-2008, 12:18 PM
Animparadise's Avatar
Animparadise Animparadise is offline
 
Join Date: Sep 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i installed this version, it make first post chief but still using old postbit_lagency (old threads) but in new threads its working fine, how to solve this problem?

comment: i used this hack beforce but for some problems (here : https://vborg.vbsupport.ru/showpost....&postcount=190) removed this hack.
Reply With Quote
  #51  
Old 05-09-2008, 12:25 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you need to edit forum settings in admincp to tick if you want chief first post to be applied
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:13 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.12862 seconds
  • Memory Usage 2,322KB
  • 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
  • (5)bbcode_code
  • (4)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_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