vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - First post on all pages (https://vborg.vbsupport.ru/showthread.php?t=239282)

Alucard^ 08-29-2010 01:16 PM

Quote:

Originally Posted by Pander23 (Post 2068277)
Installed.

Would be much easier if i can include the forums which should use the first post addon. I've added over 50 forum id's for exclude. ;)

Is there any possibility that implement this? I want to enable only in certain forums, and i have a lot of forums... so is really hard to use (and maybe i will have more forums/subforums, so i have to remember to set that forum in the options).

This should be more dynamic.

Sry for my english.

kreacions 10-22-2010 09:34 AM

1 Attachment(s)
Installed, Thanks!


Quote:

Originally Posted by Pander23 (Post 2068277)
Installed.

Would be much easier if i can include the forums which should use the first post addon. I've added over 50 forum id's for exclude. ;)


go to Plugin & Products > Plugin Manager

edit RV060 and RV065 and change "!in_array" with "in_array" on Plugin PHP Code box

thats it, only need to remove "!"

Edit: upload an exclude/include version

my123world 10-22-2010 12:07 PM

Great Mod... Works On VB 4.0.8!!

Juggernaut 10-23-2010 11:27 PM

Thank you, Installed. And also thanks for the tip Kreacions :D

Taurus1 10-24-2010 04:37 AM

Quote:

Originally Posted by kreacions (Post 2112679)
Installed, Thanks!





go to Plugin & Products > Plugin Manager

edit RV060 and RV065 and change "!in_array" with "in_array" on Plugin PHP Code box

thats it, only need to remove "!"

Edit: upload an exclude/include version

Thanks for this mod. Works great on 4.0.8, and a special thanks to kreacions, used your xml, and works a charm!!

tafreeh 11-03-2010 08:35 PM

thank you.. but postbit template does not use for first post.. why is that?

AfterWorldForum 11-10-2010 04:56 PM

Another neat addition could be to make this mod customizable by users. I.e. add a field to the userprofile that allows the user to set the mod to on or off, and have the mod do its work based on that (or not).

Martini-man 01-07-2011 06:55 PM

I wanted this mod to use a different template on the first post, so it could be different, but when I put a different template on the field that supposedly does that, nothing happens...

Can anybody help?

OldSchoolDSL 01-07-2011 10:14 PM

Installed and working

4.1 PL2

onehost 01-07-2011 11:37 PM

I do not understand the need for this...why not just stick a thread?

OldSchoolDSL 01-07-2011 11:53 PM

Quote:

Originally Posted by onehost (Post 2145692)
I do not understand the need for this...why not just stick a thread?

This sticks the 1st post within a thread and not the thread it's self. Which can be useful if you have threads which are 5+ pages long.

Another way to look at it... Is that it works just like vBulletin.org (here)

onehost 01-14-2011 04:16 PM

Found no instructions how to actually setup first post.

all i see in admincp is go to postbit...

I am not a coder, so this pretty much tells me nothing....

Can someone please explain how i can get my first post setup...

Thank-You

RichieBoy67 01-16-2011 03:04 PM

Quote:

Originally Posted by onehost (Post 2149019)
Found no instructions how to actually setup first post.

all i see in admincp is go to postbit...

I am not a coder, so this pretty much tells me nothing....

Can someone please explain how i can get my first post setup...

Thank-You

Onehost..
I do not think you understand.. It just takes the first post in a thread and it keeps on top so when you go to the second page of that thread, the post will still be there. It is just like VBorg.. if you go to the top of this thread you can see the authors post?? It stays on top on all pages of the thread.. there is no set up really..

-----------
Author
Great mod!!
------
Everyone
I would like to change this a bit though to separate the first post from the other threads. I notice here at VBorg it has "comments" as the label for the posts.. That works.. I think I may just add a bit of space or something as well..

Has anyone done anything like that yet??

Thanks,
Richie

wonderfulwat 02-27-2011 08:02 PM

I have created a custom template for the first posts which I've called "postbit1". I just copied the postbit's code and slimmed it down.

I'm stuck on how to make the {vb:raw memberaction_dropdown} a smaller text size. Can anyone help? Here's an example, where I want "UrbanWaterloo" to be a smaller text (I can change the usertitle easily). I want the other posts to remain the same, this is only for the first post.

Thanks!

Code:

                        <div class="contact">
                                <div class="username_container" style="position:relative; top: -4px; margin-left: 6px;">
                                        <vb:if condition="$post['userid']">
                                                {vb:raw memberaction_dropdown}
                                        <span class="usertitle">
                                                {vb:raw post.usertitle}
                                        </span>
                                                {vb:raw post.onlinestatus}
                                        <vb:else />
                                                <span class="username guest">{vb:raw post.username}</span>
                                        </vb:if>
                                        {vb:raw template_hook.postbit_userinfo_left}
                                </div>
                        </div>


soletrader 02-28-2011 01:13 AM

Very nice. Would it be possible to have an expand link? so it will still show the first post across all pages but giving the ability for users to expand the first post box to view all content. (in case first post is too long) Thanks.

wonderfulwat 03-01-2011 09:35 PM

+1 on having an expansion link.

onehost 03-02-2011 12:18 AM

Quote:

Originally Posted by RichieBoy67 (Post 2150041)
Onehost..
I do not think you understand.. It just takes the first post in a thread and it keeps on top so when you go to the second page of that thread, the post will still be there. It is just like VBorg.. if you go to the top of this thread you can see the authors post?? It stays on top on all pages of the thread.. there is no set up really..

ok, I understand how it works. I am just not sure how I could use this. It is ok
for a forum like this to use it because of important mod info, etc...but for a
common forum just to stick a common post at the top of each thread
really would not make much since....so you start a thread and say, my
mother got sick, so...then you would see my mother got sick at
the top of each thread....or this could be used for important announcements
for like certain threads...I just can not see a use for this for common forum.

BANDiT600 03-10-2011 02:30 PM

It works for me for 4.1.2. But it will be cool make a different background to the first post.

Wordplay 03-27-2011 12:05 PM

i can't get it to work, i set it to show postbit, on all forums it still shows postbit legacy.

running 4.1.2.

Danasy 03-27-2011 05:07 PM

Installed.
Great mod, it works fine on VB 4.1.0. Thanks

Wordplay 03-31-2011 04:40 AM

if you set it to a template other than the template your posts use, does it show the one you sepcify or the one your posts usually use?

my posts usually use postbit_legacy, when i set it to postbit, it still shows that thread in postbit legacy.

pransis 04-19-2011 12:22 AM

Yes, changed from postbit to postbit_legacy but still looks like postbit_legacy to me. It might also be good if you have an option to just enable it on a specific forum. Right now, if you enable it, you have to list all the forum numbers where you don't want the product to affect.

Acido 06-23-2011 02:45 PM

Quote:

Originally Posted by pransis (Post 2186149)
Yes, changed from postbit to postbit_legacy but still looks like postbit_legacy to me.

Yep, is not taking the template choose selection. Always postbit_legacy for first post. I hope a fix for it.

whitey92lx 06-24-2011 03:26 PM

seems to be working great for me so far..

Thanks!

Acido 06-24-2011 04:27 PM

Quote:

Originally Posted by whitey92lx (Post 2212240)
seems to be working great for me so far..

Thanks!

what vb version are you running ?

whitey92lx 06-24-2011 06:28 PM

4.0.3

Popa Andrei 07-01-2011 07:41 AM

Sometimes the first post doesent display at all.Anyone got this error untill now?

K!nG 07-02-2011 11:12 PM

working just fine for me on 4.1.4 . Thanks :)

Popa Andrei 07-04-2011 05:30 AM

Yes that error was from another plugin.
Sry for rong reporting.

pantani 07-06-2011 12:46 PM

Works like it's told, only like the previous posts, would be nice if we could make it work on sertain topics, nice job ;)

Jman423 07-10-2011 01:39 PM

As mentioned earlier, this MOD forces the Private Message system to use whatever template is defined in the settings (of the MOD).

There has to be a way to exclude the PM system from using this postbit style.

EDIT: I just got this issue resolved for myself

Just change the plugin "First Post's Template" to the following code, and it will not affect the PM system.

Code:

if (THIS_SCRIPT != 'private') {
global $vbulletin;       
if($vbulletin->options['fpoap_active']){
        if(!in_array($this->thread['forumid'], explode(',', $vbulletin->options['fpoap_excluded_forums']))){
                if($this->thread['firstpostid'] == $this->post['postid']){
                        $this->templatename = $vbulletin->options['fpoap_template'];
                }
        }
    }
}

Please keep in mind, I am not a coder, I just messed around until it worked. This may not be the best way to achieve the desired outcome.

Sharkyman 08-01-2011 04:57 PM

I'm going mad. Installed this. Enabled it but it's not working. On 4.0.8. When people start a thread where is the option to make it always the first post?

Sharkyman 08-01-2011 05:18 PM

Tried version 2. I used to use a forum which only allow mods and admin to do this first post is always top thing?

Can't see anything in the usergroup manager.

Help, please.

maxie 09-17-2011 12:48 AM

installed perfectly 4.1.2

silpher 09-17-2011 01:22 AM

Working on 4.1.4

barakuda 10-02-2011 07:32 PM

this was i'm looking for
Thank you

letsjoy 10-04-2011 10:09 PM

Thanks a lot for this MOD
Installed + 5 stars :)

MyPeSePe 10-04-2011 11:30 PM

installed thanks

MalluParadise 10-23-2011 11:45 PM

working in 4.1.7 ?

ryancooper 11-10-2011 10:39 PM

1 Attachment(s)
Just installed on 4.1.7 Patch Level 2.

Attached is the same thing just ONLY list the forums you would like INCLUDED


All times are GMT. The time now is 01:04 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.01669 seconds
  • Memory Usage 1,819KB
  • 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
  • (2)bbcode_code_printable
  • (8)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
  • (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