Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Solved] Moving Affiliates



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  TheRedFox

TheRedFox
Newbie
Newbie
  • Description:
Hey everyone. I'm doing some work on a forum for a friend and we are wanting to move the Affiliates board from the side of the site, to the bottom. I've insert the proper script under the chatbox as per the tutorials and set the script up but every time I save and publish the site nothing happens. The site does currently have another Affiliates board on the side, but I don't think that would be interfering. Has anyone had this problem before or know what might be the issue. Thank you all very much for your time and help. It is greatly appreciated!

Affiliate script:
Code:
<div id="affiliate_box">
          <div id="affiliate_title">Affiliates</div>
          <a href="http://alphawolf.gotop100.com/in.php?ref=1666" target="_blank"><img src="http://alphawolf.gotop100.com/lists/alphawolf/custombanners/19991.png" /></a> <a href="http://topcanine100.gotop100.com/in.php?ref=396" target="_blank"><img src="http://topcanine100.gotop100.com/lists/topcanine100/custombanners/14818.png" /></a> <a href="http://intusincedniak9elites.gotop100.com/in.php?ref=302" target="_blank"><img src="http://intusincedniak9elites.gotop100.com/lists/intusincedniak9elites/custombanners/46279.png" /></a>  <br/>,  <a href="http://dreamrealm-roleplay.forummotions.com/" target="_blank"><img src="http://imageshack.com/a/img43/6751/3g13.jpg" /></a> <a href="http://phantasiaimagination.forumotion.com/" target="_blank"><img src="http://i43.tinypic.com/25s0qj8.jpg" /></a> <a href="http://imperiumvividae.forumotion.com/" target="_blank"><img src="http://i1294.photobucket.com/albums/b620/alr2006/LinkBanner_zpsbc787987.jpg" /></a> <a href="http://sverige.icyboards.net/" target="_blank"><img src="http://i1292.photobucket.com/albums/b576/SverigeRPG/keitabutton_zps4a4e9bfe.png" /></a> <a href="http://fiveclansfate.proboards.com/" target="_blank"><img src="http://i1126.photobucket.com/albums/l611/dotdotprada/affiliation_button.png" /></a> <a href="http://grassbeneathmypaws.proboards.com/" target="_blank"><img src="http://i.picresize.com/images/2013/10/05/QMcVI.jpg" /></a> <a href="http://nymeria.freeforums.net/" target="_blank"><img src="http://i1323.photobucket.com/albums/u584/themirrorsedgerealm/LoN2.png" /></a>  <br/>,  <a href="http://breathlessxx.boards.net " target="_blank"><img src="http://i61.tinypic.com/eg4k86.jpg " /></a> <a href="http://serenity-river-pack.forumotion.com/" target="_blank"><img src="http://i1293.photobucket.com/albums/b600/destyface/SRPAffiliate_zpseee383ec.png" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a>  <br/>,  <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> 
        </div>

Code:
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <!-- BEGIN message_admin_titre -->
   <tr>
      <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
   </tr>
   <!-- END message_admin_titre -->
   <!-- BEGIN message_admin_txt -->
   <tr>
      <td class="row1" rowspan="3" align="center" valign="middle">
      <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
      </td>
   </tr>
   <!-- END message_admin_txt -->
</table>
<!-- END message_admin_index -->

<!-- BEGIN switch_user_login_form_header -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
                  <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
                  <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%" class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle" align="right">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
                           <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
                           <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_header -->
{CHATBOX_TOP}
{BOARD_INDEX}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td width="50%" valign="top">
         <!-- BEGIN switch_user_logged_in -->
         <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
         <!-- END switch_user_logged_in -->
         <!-- BEGIN switch_delete_cookies -->
         <br /><span class="gensmall"><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a></span>
         <!-- END switch_delete_cookies -->
      </td>
      <td width="50%" align="right">
         <span class="gensmall">
            <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a><br />
            <a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a><br />
            <a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a>
            <!-- BEGIN switch_on_index -->
               <!-- BEGIN switch_delete_cookies -->
               <br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
               <!-- END switch_delete_cookies -->
            <!-- END switch_on_index -->
         </span>
      </td>
   </tr>
</table>

<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
                  <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
                  <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%" class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
                           <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
                           <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" 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></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_footer -->

<!-- BEGIN disable_viewonline -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td class="catHead" colspan="2" height="28">
      <!-- BEGIN switch_viewonline_link -->
      <span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></span>
      <!-- END switch_viewonline_link -->

      <!-- BEGIN switch_viewonline_nolink -->
      <span class="cattitle">{L_WHO_IS_ONLINE}</span>
      <!-- END switch_viewonline_nolink -->
      </td>
   </tr>
   <tr>
      <td class="row1" rowspan="6" align="center" valign="middle"><img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" /></td>
      <td class="row1" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />
      {TOTAL_USERS}<br />
      {NEWEST_USER}</span></td>
   </tr>
   <tr>
      <td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />
      {RECORD_USERS}<br />
      <br />
      {LOGGED_IN_USER_LIST}</span></td>
   </tr>
   {L_CONNECTED_MEMBERS}
   {L_WHOSBIRTHDAY_TODAY}
   {L_WHOSBIRTHDAY_WEEK}
   <tr>
      <td class="row1"><span class="gensmall">{LEGEND}&nbsp;:&nbsp;{GROUP_LEGEND}</span></td>
   </tr>
   <!-- BEGIN switch_chatbox_activate -->
   <tr>
      <td class="row1">
         <span class="gensmall">{TOTAL_CHATTERS_ONLINE}&nbsp;:&nbsp; {CHATTERS_LIST}<br />
            <!-- BEGIN switch_chatbox_popup -->
            <div id="chatbox_popup"></div>
            <script type="text/javascript">
            //<![CDATA[
            insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
            //]]>
            </script>
            <!-- END switch_chatbox_popup -->
         </span>
      </td>
   </tr>
   <!-- END switch_chatbox_activate -->
</table>
<!-- END disable_viewonline -->
{CHATBOX_BOTTOM}
        <div id="affiliate_box">
  <div id="affiliate_title">Affiliates</div>
  <a href="http://alphawolf.gotop100.com/in.php?ref=1666" target="_blank"><img src="http://alphawolf.gotop100.com/lists/alphawolf/custombanners/19991.png" /></a> <a href="http://topcanine100.gotop100.com/in.php?ref=396" target="_blank"><img src="http://topcanine100.gotop100.com/lists/topcanine100/custombanners/14818.png" /></a> <a href="http://intusincedniak9elites.gotop100.com/in.php?ref=302" target="_blank"><img src="http://intusincedniak9elites.gotop100.com/lists/intusincedniak9elites/custombanners/46279.png" /></a>  <br/>,  <a href="http://dreamrealm-roleplay.forummotions.com/" target="_blank"><img src="http://imageshack.com/a/img43/6751/3g13.jpg" /></a> <a href="http://phantasiaimagination.forumotion.com/" target="_blank"><img src="http://i43.tinypic.com/25s0qj8.jpg" /></a> <a href="http://imperiumvividae.forumotion.com/" target="_blank"><img src="http://i1294.photobucket.com/albums/b620/alr2006/LinkBanner_zpsbc787987.jpg" /></a> <a href="http://sverige.icyboards.net/" target="_blank"><img src="http://i1292.photobucket.com/albums/b576/SverigeRPG/keitabutton_zps4a4e9bfe.png" /></a> <a href="http://fiveclansfate.proboards.com/" target="_blank"><img src="http://i1126.photobucket.com/albums/l611/dotdotprada/affiliation_button.png" /></a> <a href="http://grassbeneathmypaws.proboards.com/" target="_blank"><img src="http://i.picresize.com/images/2013/10/05/QMcVI.jpg" /></a> <a href="http://nymeria.freeforums.net/" target="_blank"><img src="http://i1323.photobucket.com/albums/u584/themirrorsedgerealm/LoN2.png" /></a>  <br/>,  <a href="http://breathlessxx.boards.net " target="_blank"><img src="http://i61.tinypic.com/eg4k86.jpg " /></a> <a href="http://serenity-river-pack.forumotion.com/" target="_blank"><img src="http://i1293.photobucket.com/albums/b600/destyface/SRPAffiliate_zpseee383ec.png" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a>  <br/>,  <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> <a href="http://ageofthewolves.forumotion.com/" target="_blank"><img src="http://imagizer.imageshack.us/a/img673/3541/iAvbV1.jpg" /></a> 
</div>
<br clear="all" />
<!-- BEGIN switch_legend -->
<table border="0" cellspacing="3" cellpadding="0" align="center">
   <tr>
      <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NEW_POSTS}</span></td>
      <td></td>
      <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
      <td>&nbsp;&nbsp;</td>
      <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
      <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
   </tr>
</table>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
   appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
    status: true,
    cookie: true,
    xfbml: true,
   oauth: true
});
//]]>
</script>
  <div id="fb-root"></div>
    <script>
      window.fbAsyncInit = function() {
        FB.init({
          appId      : '{your-app-id}',
          status    : true,
          xfbml      : true
        });
      };

      (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/all.js";
        fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'facebook-jssdk'));
    </script>
<!-- END switch_fb_index_login -->


  • Information:
Forum:ageofthewolves.forumotion.comVersion:PHPBB2
Type:Errors in codeTags:Moving,Affiliates

Powered by PunBB
Currently 0 users have thanked TheRedFox for this post:

2
Offline

  TheRedFox

TheRedFox
Newbie
Newbie
For some reason instead of editing the first post, it posted this which I can't delete. So please disregard this little thing.

Powered by PunBB
Currently 0 users have thanked TheRedFox for this post:

3
Offline

  Shadow

Shadow
Administrator
Administrator
Hmm, looks like it works fine when I'm trying to implement this piece of code at your forum:

[Solved] Moving Affiliates 2FMzGnr

Try to delete cookies and caches.

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

4
Offline

  TheRedFox

TheRedFox
Newbie
Newbie
That's the problem. Right now on the forum the code is in place and published on the template so it should be in effect just under the Cbox (for members) or at the bottom of the page for guests. I don't see any reason why it wouldn't be working. I cleared my cookies and cache and it did nothing. The only thing I can think of is it has to be something somewhere in the site, or an actual problem with the Forumotion admin panel that would be keeping this from not working. Unless I need to put the site into maintenance or something to get it to work. Which would be odd.

Powered by PunBB
Currently 0 users have thanked TheRedFox for this post:

5
Offline

  TheRedFox

TheRedFox
Newbie
Newbie
Well I found the problem. It was set to Force Default Template so it wasn't allowing the modifications to take affect. Problem solved, thank you all so much for the help.

Powered by PunBB
Currently 0 users have thanked TheRedFox for this post:

6
Offline

  Van-Helsing

Van-Helsing
★Moderator★
★Moderator★
[sucesso="Marked as Solved"]The question(s) in this topic have been answered and the owner has been able to solve the problem. Because of this, the topic has been marked as Solved.

If you have further questions, please open a new topic.[/sucesso]

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

7
Offline

  Sponsored content



Powered by PunBB
Currently 0 users have thanked Sponsored content for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML

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