vb.org Archive

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

bhkien 07-30-2009 04:22 PM

I created a thread with postbit articles. After, I edit the first post and choose postbit, the result view look normal but the first post is always on top of all pages.

Is this possible to make it back to its original?

Thanks,

RedHacker 08-28-2009 06:15 AM

Can be input only in one thread....?

vitrag24 03-15-2010 09:38 PM

update for vb 4.0 plz.
thx.

MoMan 08-01-2010 10:17 PM

If someone else hasn't mentioned this, there's a bug in the hook at postbit_display_complete which breaks the 'view post' functionality for postbit_ignore. See below for my fix.

PHP Code:

// get ignored users
$ignore = array();
if (
trim($vbulletin->userinfo['ignorelist']))
{
    
$ignorelist preg_split('/( )+/'trim($vbulletin->userinfo['ignorelist']), -1PREG_SPLIT_NO_EMPTY);
    foreach (
$ignorelist AS $ignoreuserid)
    {
        
$ignore["$ignoreuserid"] = 1;
    }
}

$myignore $post['userid'];


// Bug fix by Adam
// This conditional breaks the 'view post' link in postbit_ignore; just add AND $ignore["$myignore"] != 1 to the conditionals below instead

/*
if ($ignore["$myignore"] == 1)
{
$this->templatename = 'postbit_ignore';
}
else
{
*/
if ($this->forum['ada_forum'] == AND $post['postid']==$this->thread['firstpostid'] AND $ignore["$myignore"] != 1)
{
$this->templatename 'ada_postbit_articles';
}
else
{
if (
$this->forum['ada_forum'] == AND !$post['isdeleted'] AND $ignore["$myignore"] != 1)
{
switch (
$this->forum['ada_style'])
{
case 
0$this->templatename 'ada_postbit_comment'; break;
case 
1$this->templatename 'postbit'; break;
case 
2$this->templatename 'postbit_legacy'; break;
case 
3$this->templatename 'ada_postbit_flipped'; break;
}
}
}
/* } 
*/ 


evershawn 03-27-2011 08:43 AM

Has there been any update to this for 4.X?

MissKalunji 05-10-2011 01:42 PM

no i haven't seen one.

anyone figured out how to fix multi-quote?

citeman 07-05-2012 10:37 AM

Would this cause duplicate content issue in terms of SEO? As all the pages on a thread start with the same content.


All times are GMT. The time now is 05:12 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.01289 seconds
  • Memory Usage 1,736KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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