vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Chief First Post - Every Page - 3.6.x (https://vborg.vbsupport.ru/showthread.php?t=156141)

Atakan KOC 08-23-2007 10:00 PM

Chief First Post - Every Page - 3.6.x
 
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.

Qunsys 08-24-2007 02:19 PM

Thanx!

kaptanblack 08-24-2007 02:28 PM

Thanks Atakan KOÇ

Installed...

Legendery. 08-24-2007 02:40 PM

Thank you very much.
Sağol..

cynthetiq 08-24-2007 02:56 PM

can be set by usergroup so that only mods/admin can set as article etc?

UK Jimbo 08-24-2007 02:59 PM

The description for this mod totally fails to explain what the mod is/does although you can second guess by looking at the screenshots.

AzzidReign 08-24-2007 03:38 PM

Agreed^ lol

But after looking at the screen shots, this is awesome! This will be great for all my tutorial sections!!

ericgtr 08-24-2007 04:54 PM

Quote:

Originally Posted by UK Jimbo (Post 1324801)
The description for this mod totally fails to explain what the mod is/does although you can second guess by looking at the screenshots.

Agreed, I would like to see a more practicle example or explanation of this modification.

semauae 08-24-2007 05:05 PM

mmm

Is this hack same vb.org ?

thnx :)

gforce75 08-24-2007 05:07 PM

What does it do really?

memorex 08-24-2007 05:13 PM

kinda like vb.org as in the first post will show on all pages after the first page. So the original post that started the thread will be seen first on page 6, 7, 8, .. etc ...

I notice the first post also changes to article by default?

kambiz 08-24-2007 05:36 PM

wow. I'm using the 3.5.X version right now. I'll switch to this asap!

beduino 08-24-2007 06:18 PM

Installed of course :D
But ... i understand show first post in every page ... ok.
However if you have examples to flipped postbit ... I appreciate.
Tks Atakan !
Joao Barroca
aka beduino

Kirk Y 08-24-2007 07:22 PM

Very nice Atakan. I was wondering when someone would copy the vB.org release postbit.

Some suggestions:
Implement Usergroup Permissions so Administrators can restrict the ability to choose the Thread Type.

Set the Normal Postbit as default - it's a little annoying to have to select it each time you create a thread.

When you edit a thread, the Thread Type isn't set to the Thread's current Thread Type - you might want to fix this.

BuRaCh 08-24-2007 07:40 PM

very lol atakan :D
superb working;)
installed..

egyptsons 08-24-2007 10:40 PM

would you please give us some description for this MOD
I didn't get the idea even from the Screen Shoot :rolleyes:

maroceve 08-24-2007 11:45 PM

Is there a way to have it use the basic postbit by default cause it uses the articles one and it's not very pretty on my forums :( and having to change the postbit thread by thread is kind of a boring task :(

Kihon Kata 08-25-2007 03:13 AM

what is this?

kambiz 08-25-2007 04:31 AM

Quote:

Originally Posted by egyptsons (Post 1325086)
would you please give us some description for this MOD
I didn't get the idea even from the Screen Shoot :rolleyes:

Quote:

Originally Posted by Kihon Kata (Post 1325179)
what is this?

It shows the first post on every page (like ypu can see in vb.org) plus some features (e. 4 types for postbit).

Spermy 08-25-2007 04:53 AM

Hope this helps for the postbit problems. I use legacy so this is what I did.

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 Legacy</option>
<option value="2">Postbit Flipped</option>
<option value="3">Postbit Normal</option>
<option value="4">Postbit Article</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_legacy';
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.

Skavenger 08-25-2007 05:39 AM

thanks for this!

i think it would be better to have the settings in vb options instead of in each forum, it's annoying editing EVERY forum...
btw, agree with Kirk Y suggestions :)

radarhunter 08-25-2007 05:53 AM

nice hack man

but is there any way we can remove this Thread type from the new thread link ?????

Cause i`m using this hack for the movie reviews and this won`t fit in ......

some ideas how to remove it from the xml file itself..........

Hornstar 08-25-2007 06:02 AM

I will keep track of this mod for sure, now that I understand what this does, I may use this instead of another hack that im using currently. Would be great for admins to be able to turn it on and off per forum, and have certain usergroups be able to change it, and have it set to a specific setting per forum as well.

Rat1972 08-25-2007 08:53 AM

I don't like the sign in the first post, so i removed it. So the first thread looks a lot better without an anoying sign.


All you have to do is this:

Go to postbit_articles

Find:
PHP Code:

        <if condition="$post['signature']">
        <!-- 
sig -->
            <
div>
                
__________________<br />
                
$post[signature]
            </
div>
        <!-- / 
sig -->
        </if> 

And delete it.

Atakan KOC 08-25-2007 09:58 AM

Quote:

Originally Posted by Kirk Y (Post 1324979)
Very nice Atakan. I was wondering when someone would copy the vB.org release postbit.

Some suggestions:
Implement Usergroup Permissions so Administrators can restrict the ability to choose the Thread Type.

Set the Normal Postbit as default - it's a little annoying to have to select it each time you create a thread.

When you edit a thread, the Thread Type isn't set to the Thread's current Thread Type - you might want to fix this.

I try not be a copy of the Kirk Y; vborg, in the existing article part, lot of members would like to use it. From the PMs I receive I see that there is need. If it is a problem I can change the postbit_articles template or change completly.

I did not think of arrange it for user groups. The reason is that the user groups can be changed in different forums from AdminCP. If needed I can write an additionally.

Symmetrical? 08-25-2007 03:17 PM

wow thnx Atakan KO? but look picture?

https://vborg.vbsupport.ru/

ssslippy 08-25-2007 09:34 PM

A small bug, rating should not show if there is no rating.

Skavenger 08-26-2007 04:36 AM

another bug related to rating:
'(x votes - x average)' is not showing
http://img182.imageshack.us/img182/3224/asdwv5.jpg

and here
http://img245.imageshack.us/img245/7423/asdfo0.jpg
the font should use 'smallfont' class i think

Atakan KOC 08-26-2007 10:47 AM

v1.0.1 - 26 August 2007
-Rating Phrase fixed

Symmetrical? 08-26-2007 11:11 AM

when i use php or code tag look picture

http://img514.imageshack.us/img514/162/soruncv2.jpg

memorex 08-27-2007 01:49 AM

A nice feature would be the ability to minimize the first post.

Thanks for this awesome mod, something I've been looking for.

rainyleaves 08-27-2007 03:51 PM

Awesome!!!
Just Installed + MOTM.
Thanks.

PimvanJ 08-27-2007 04:23 PM

Great work Atakan, nice job.
Installed and MOTM

Thank you!

Capt. GannA 08-27-2007 05:51 PM

Nice mod. Got just one question for you..

Does this add any templates? If so, which ones?

I need to edit the size/space of the avatar area. It's a bit small for my forum :o..

Thanks.

ReQueM 08-27-2007 11:03 PM

süper olmuş eline sağlık
installed +MOTM

welovehiphop 08-28-2007 02:29 AM

good job!

stan111 08-30-2007 09:56 PM

thank you so much
this is wat i am loooking for

Invalid ID 09-01-2007 03:25 PM

Cool, very handy.

How can I make "Postbit normal" to my default choice?

Spermy 09-02-2007 12:24 AM

Take a look at my post and instead of Legacy, just change it to postbit.

Expat 09-02-2007 09:24 AM

Quote:

Originally Posted by maroceve (Post 1325113)
Is there a way to have it use the basic postbit by default cause it uses the articles one and it's not very pretty on my forums :( and having to change the postbit thread by thread is kind of a boring task :(


I tend to agree with you. While the hack has potential, I'm not crazy about the repagination of pages. If it used the postbit by default, I wouldn't have uninstalled it.


All times are GMT. The time now is 06:35 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.01512 seconds
  • Memory Usage 1,820KB
  • 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
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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