Warning: The author of this contribution does not provide support for it anymore.

Red Blinking PM

Was blinking, now not after installing BannerScroll - Red Blinking PM

Was blinking, now not after installing BannerScroll

by nhseacoast » Fri Dec 27, 2013 5:17 pm

It was blinking, but when I installed Banner Scroll MOD, it stopped. Here's my <head> section.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<!-- IF S_ENABLE_FEEDS -->
   <!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
   <!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
   <!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
   <!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
   <!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->
   <!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
   <!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&amp;t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<!-- IF S_AUTO_ADVERTISE_PUBLIC_FEED -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="{U_SMARTFEED_URL}?{U_RSS_PARAMETERS}" />
<link rel="alternate" type="application/atom+xml" title="ATOM" href="{U_SMARTFEED_URL}?{U_ATOM_PARAMETERS}" />
<!-- ENDIF -->


<script type="text/JavaScript">
// &lt;![CDATA[
function getElement(iElementId)
{
   if (document.all)
   {
      return document.all[iElementId];
   }
   if (document.getElementById)
   {
      return document.getElementById(iElementId);
   }
}

function toggleElement(oElement)
{
   if (oElement.style.display == "none")
   {
      oElement.style.display = "";
   }
   else
   {
      oElement.style.display = "none";
   }
}
// ]]&gt;
</script>
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
   popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
<!-- ENDIF -->

function popup(url, width, height, name)
{
   if (!name)
   {
      name = '_popup';
   }

   window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
   return false;
}

function jumpto()
{
   var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
   var per_page = '{PER_PAGE}';
   var base_url = '{A_BASE_URL}';

   if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
   {
      if (base_url.indexOf('?') == -1)
      {
         document.location.href = base_url + '?start=' + ((page - 1) * per_page);
      }
      else
      {
         document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * per_page);
      }
   }
}

/**
* Find a member
*/
function find_username(url)
{
   popup(url, 760, 570, '_usersearch');
   return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
   var parent = document.getElementById(id);
   if (!parent)
   {
      eval('parent = document.' + id);
   }

   if (!parent)
   {
      return;
   }

   var rb = parent.getElementsByTagName('input');
   
   for (var r = 0; r < rb.length; r++)
   {
      if (rb[r].name.substr(0, name.length) == name)
      {
         rb[r].checked = state;
      }
   }
}

<!-- IF ._file -->

   /**
   * Play quicktime file by determining it's width/height
   * from the displayed rectangle area
   *
   * Only defined if there is a file block present.
   */
   function play_qt_file(obj)
   {
      var rectangle = obj.GetRectangle();

      if (rectangle)
      {
         rectangle = rectangle.split(',')
         var x1 = parseInt(rectangle[0]);
         var x2 = parseInt(rectangle[2]);
         var y1 = parseInt(rectangle[1]);
         var y2 = parseInt(rectangle[3]);

         var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
         var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
      }
      else
      {
         var width = 200;
         var height = 0;
      }

      obj.width = width;
      obj.height = height + 16;

      obj.SetControllerVisible(true);

      obj.Play();
   }
<!-- ENDIF -->

// ]]>
</script>
<!-- INCLUDE gallery/plugins_header.html -->
   
<!-- IF (S_RBPM_ENABLE or S_RBPM_INSC_ENABLE) and S_USER_NEW_PRIVMSG -->
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/jquery-blink.js"></script>
<script type="text/javascript" charset="utf-8">
// <![CDATA[
$(document).ready(function(){
        $('.blink').blink();
});
// ]]>
</script><!-- ENDIF -->

<!-- Banner Scroll Mod by phpbb3world.com -->
   <link rel="stylesheet" type="text/css" href="{ROOT_PATH}js/css/totemtickersub2.css"/>
   <script type="text/javascript" src="{ROOT_PATH}js/jquery.min.js"></script>
   <script type="text/javascript" src="{ROOT_PATH}js/jquery.totemticker.js"></script>
<script type="text/javascript">
// <![CDATA[
   $(function(){
         $('#vertical-ticker').totemticker({
         row_height   :   '100px',
         next      :   '#ticker-next',
         previous   :   '#ticker-previous',
         stop      :   '#stop',
         start      :   '#start',
         mousestop   :   true,
      });
   });
// ]]>   
</script>
<!-- End Banner Scroll Mod by phpbb3world.com -->
</head>

If I switch Banner scroll code and RBPM, it will blink but then the Banner Scroll MOD won't scroll. Clearly some type of conflict. Is there a fix? Thanks.
User avatar
nhseacoast
Registered User
Posts: 518
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Was blinking, now not after installing BannerScroll

by Jessica » Fri Dec 27, 2013 5:35 pm

Try removing <script type="text/javascript" src="{ROOT_PATH}js/jquery.min.js"></script> and see if that makes both mods work.
Please do not PM me for support unless it is absolutely necessary
Pro-choice, Atheist, Pro-LGBT rights

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
Jessica
Former Team Member
Posts: 4341
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: Was blinking, now not after installing BannerScroll

by nhseacoast » Fri Dec 27, 2013 5:43 pm

That seemed to do the trick! Thank you!
User avatar
nhseacoast
Registered User
Posts: 518
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Was blinking, now not after installing BannerScroll

by nhseacoast » Fri Dec 27, 2013 10:17 pm

UPDATE: It didn't work. When I removed that line, the RBPM worked, but Banner Scroll stopped scrolling. :/
User avatar
nhseacoast
Registered User
Posts: 518
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Was blinking, now not after installing BannerScroll

by all4phone » Tue Mar 04, 2014 9:45 am

Try remowing from RBPM code section:

Code: Select all

<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/jquery-1.7.2.min.js"></script>

restore to BannerScroll code section:

Code: Select all

<script type="text/javascript" src="{ROOT_PATH}js/jquery.min.js"></script>


and check that both mods works.
Make sure that RBPM code is higher than the BS code in your script of overall_header.html
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact: