Instead of:
Code: Select all
//-- BEGIN Quote Post Back Link
//-- Add
global $qpbl;
if (!isset($this->qpbl) || $this->qpbl instanceof quote_post_back_link === false)
{
global $cache, $config, $db, $user, $phpEx;
require "{$phpbb_root_path}includes/mods/quote_post_back_link/quote_post_back_link.{$phpEx}";
$this->qpbl = new quote_post_back_link($cache, $config, $db, $user, $phpEx, $this);
}
//-- END Quote Post Back Link
Code: Select all
//-- BEGIN Quote Post Back Link
//-- Add
global $qpbl;
if (!isset($this->qpbl) || $this->qpbl instanceof quote_post_back_link === false)
{
global $cache, $config, $db, $user, $phpEx;
if (!class_exists('quote_post_back_link'))
{
require "{$phpbb_root_path}includes/mods/quote_post_back_link/quote_post_back_link.{$phpEx}";
}
$this->qpbl = new quote_post_back_link($cache, $config, $db, $user, $phpEx, $this);
}
//-- END Quote Post Back Link
2) bbcode.html:
Instead of:
Code: Select all
<!-- MOD: Quote Post Back Link -->
<!-- BEGIN quote_username_post_open --><blockquote><div><cite>{USERNAME} {L_WROTE} {L_IN} <a href="{QPBL_POST}" title="{QPBL_TITLE}">{QPBL_TITLE}</a>:</cite><!-- END quote_username_post_open -->
<!-- BEGIN quote_post_open --><blockquote><div><cite><a href="{QPBL_POST}" title="{QPBL_TITLE}">{QPBL_TITLE}</a>:</cite><!-- END quote_post_open -->
<!-- /MOD: Quote Post Back Link -->
Code: Select all
<!-- MOD: Quote Post Back Link -->
<!-- BEGIN quote_username_post_open --><blockquote><div class="quotetitle"><cite>{USERNAME} {L_WROTE} {L_IN} <a href="{QPBL_POST}" title="{QPBL_TITLE}">{QPBL_TITLE}</a>:</br></div><div class="quotecontent"></cite><!-- END quote_username_post_open -->
<!-- BEGIN quote_post_open --><blockquote><div><cite><a href="{QPBL_POST}" title="{QPBL_TITLE}">{QPBL_TITLE}</a>:</div><div class="quotecontent"></cite><!-- END quote_post_open -->
<!-- /MOD: Quote Post Back Link -->