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)

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 07:24 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.01124 seconds
  • Memory Usage 1,731KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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