vForums Support :: Programming & Coding :: Code Requests & Support :: [F] Info Center Code Fix... - View Topic
 |  |
| This topic was locked 10th Jul 08 at 7:16pm by Michael | dog199200 Guest | [F] Info Center Code Fix... (8th Jul 08 at 8:50pm UTC) | | Can someone find out where this code is broken....It works, but it seems as if its not closed right or something and I can not see where.
 Code: - <table align="center" cellpadding="0" cellspacing="1" class="border" width="100%" id="info_center">
- <tr>
- <td class="title1" valign="middle" align="center" width="21%">
-
- <center><font size="2"><b><u>Private Messages</u></b></font></center>
-
- </td>
- <td class="title1" valign="middle" width="58%">
-
- <center><font size="2"><b><u>Forum Statistics</u></b></font></center>
-
- </td>
- <td class="title1" valign="center" align="center" width="21%">
-
- <center><font size="2"><b><u>Online Statistics</u></b></font></center>
-
- </td>
- </tr>
- <tr>
- <td class="window1" valign="middle" align="center" width="21%">
-
-
- {if:guest}<a href="action/login">Sign In</a> Or <a href="action/register">Register</a> <br>To View{/if:guest}
-
- {if:member}
- <div align="left">
- <font size="1"><b>
- *Your New PM's:
- <a href="/action/pm/">{new_pms}</a><br/>
- *Your PM Inbox
- <a href="action/pm&view=1">{total_pms}</a> <br/>
- *<a href="action/pmprefs">Set PM Preference</a>
- </b></font>{/if:member}
-
- </td>
- <td class="window1" valign="left" align=center width="58%">
-
- <font size="1">
- *Last Post Is {last_post}, made by {last_post_user}, {last_post_date}.<br/><br/>
-
- *Welcome the newest member to the Forum:
- {newest_members:1}</font><br/>
-
- </td>
- <td class="window1" valign="center" align="left" width="21%">
-
- <font size="1">
- *Guests: {guest_on}
- <br/> *Members: {member_on}
- <br/> *Staff: {staff_on}
- </b></font><br/></td></b></font>
-
- </td>
- </tr>
- <tr>
- <td class="title1" valign="middle" align="middle" width="19%">
-
- <center><font size="2"><b><u>Links & Events</u></b></font></center>
-
- </td>
- <td class="title1" valign="middle" align="middle" width="60%">
-
- <center><font size="2"><b><u>Currently Online</u></b></font></center>
-
- </td>
- <td class="title1" width="19%" align="middle">
-
- <center><font size="2"><b><u>Board Stats</u></b></font></center>
-
- </td>
- </tr>
- <tr>
- <td class="window1" valign="middle" align="left" width="19%">
-
- <font size="1"><b>
- {if:events}
- *Number Of Event{event_plural}: {event_total}<br/>{/if:events}
- {ifnot:events} *No Events To Display<br>{/ifnot:events}
- {if:birthdays} *Number Of Birthday{birthday_plural}: {birthday_total}<br/>{/if:birthdays}
- {ifnot:birthdays} *No Birthdays Today<br>{/ifnot:birthdays}
- *MoM of May; <font color=orange><a href="http://fmaadvanced.virtualforums.co.uk/action/view_profile/user/zain/">zain</a></font>
- </b></font>
-
- </td>
- <td class="window1" valign="middle" align="left" width="60%">
-
- <font size="1"><center><b>There is now {online_total} member{online_plural} online.<b> Currently logged in are:</b>
- <br/>
- <font size="1"><center>{online_str}
- <br/>
- <br/>
- Users Online Today:<br>{today_str}
- </font></center>
- <br/>
-
- </td>
- <td class="window1" width="19%" align="left">
-
-
- <font size="1"><b>
- *Total Members: <a href="action/members">{total_members}</a><br/>
- *# Of Topics: {total_topics}<br/>
- *# Of Posts: {total_posts}<br />
- *# Of Boards: {total_boards}<br/>
- *# Of Categories: {total_categories}<br/>
- </b></font>
-
- </td></tr></table>
- <table align="center" cellpadding="0" cellspacing="1" class="border" width="100%" id="info_center">
- <tr>
- <td class="title1" align="center" width="100%">
-
- <center><font size="3"><b><u>Affiliates</u></b></font></center></td>
-
- </tr>
- <tr>
- <td class="window1" align="center" width="100%">
-
- <script type="text/javascript">
- /*Random Affiliate Display*/
-
- /*Only Edit Below*/
-
- var affiliates = Array();
- affiliates[0] = Array('http://pokemondshelp.proboards62.com', 'http://i25.photobucket.com/albums/c51/dog199200/Pokemon/pokemonaffilaite.png', 'Pokemon DS Help');
- affiliates[1] = Array('http://keiraalchemist.proboards82.com', 'http://h1.ripway.com/webmasterjesse/Affiliate/FAW.png', 'Fullmetal Alchemist World');
- affiliates[2] = Array('http://trinityforsaken.proboards79.com/', 'http://h1.ripway.com/jasjitk/TBF/affiliate.jpg', 'Trinity Blood Forsaken');
- affiliates[3] = Array('http://hogwartz4.proboards85.com/index.cgi?', 'http://www.geocities.com/phoenixrayne4/hogaffil.png', 'Us Against The World');
- affiliates[4] = Array('http://101support.proboards43.com', 'http://img171.imageshack.us/img171/1794/e3ke7.gif', 'eCreations');
- affiliates[5] = Array('http://fma.vforums.co.uk', 'http://i185.photobucket.com/albums/x20/magedesigns/fmaaffiliate.gif', 'Fullmetal Alchemist RPG V3');
- affiliates[5] = Array('http://ffnation.vforums.co.uk', 'http://i185.photobucket.com/albums/x20/magedesigns/ffn/affiliate/FFN_affiliate.gif', 'FF Nation');
- affiliates[6] = Array('http://freunion.vforums.co.uk', 'http://i185.photobucket.com/albums/x20/magedesigns/ffn/affiliate/frsephaffiliate.gif', 'FF Reunion');
- affiliates[7] = Array('http://magedesigns.virtualforums.co.uk', 'http://i185.photobucket.com/albums/x20/magedesigns/vfmdskin/vfmdaffiliate.gif', 'Mage Designs');
-
- affiliates[8] = Array('http://zainbruger.proboards50.com/index.cgi', 'http://i231.photobucket.com/albums/ee218/shaadownut/abbutton23.jpg', 'Alchamists Blood');
-
-
- /*Only Edit Above*/
-
- for(i=0; i<7; i++) {
- var rand = Math.floor(Math.random() * affiliates.length);
- document.write('<a href="'+ affiliates[rand][0] +'"><img src="'+ affiliates[rand][1] +'" alt="'+ affiliates[rand][2] +'" /></a>');
- affiliates.splice(rand, 1);
- }
- </script>
- <br/>
-
- <div align="left"><a href="board/viewallafiliate">View All</a> ~ <script>
- function affPopup(){ prompt("Press CTRL + C to copy.","<a href='http://fmaadvanced.virtualforums.co.uk'><img src='http://i25.photobucket.com/albums/c51/dog199200/FMA%20Images/FMAAJBanner.gif' border='0' alt='Fullmetal Alchemist Advanced Journey' title='Fullmetal Alchemist Advanced Journey' /></a>"); }
- </script>
- <a href="javascript: affPopup();">Get Affiliate Code</a>
- </div>
-
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
| |
| Graham Support Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 1,642 Status: Offline Gender: Male Location: Sussex, UK Age: 40 Joined:
Additional Groups: Support Team
  
pmwww | Re: Info Center Code Fix... (8th Jul 08 at 8:57pm UTC) | | I could be wrong, but i think it's the spare </font> tag on line 93. Remove that and see if it works | |
| dog199200 Guest | Re: Info Center Code Fix... (8th Jul 08 at 9:15pm UTC) | | if anything i'd be removing the <font size="1"> from line 89 and using that </font> to expand the feild instead of multiple font tags for the same size, but that doesn't work
if you look here, http://www.fmaadvanced.vforums.co.uk, if you cant tell its a little off, the skin changer is pushed to the side because of the info center and the quick login is extremely stretched accost the screen as well. | |
| Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Info Center Code Fix... (8th Jul 08 at 9:47pm UTC) | | 1 x </div>
Missing
1 x </b> 1 x </font> 2 x </td> 1 x <font size="1"> 1 x <center> 1 x </tr> 1 x </table> Extra
If that's the COMPLETE code then the code below is the altered version with unclosed, or unopened tags removed.
 Code: - <table align="center" cellpadding="0" cellspacing="1" class="border" width="100%" id="info_center">
- <tr>
- <td class="title1" valign="middle" align="center" width="21%">
- <center><font size="2"><b><u>Private Messages</u></b></font></center>
- </td>
- <td class="title1" valign="middle" width="58%">
- <center><font size="2"><b><u>Forum Statistics</u></b></font></center>
- </td>
- <td class="title1" valign="center" align="center" width="21%">
- <center><font size="2"><b><u>Online Statistics</u></b></font></center>
- </td>
- </tr>
- <tr>
- <td class="window1" valign="middle" align="center" width="21%">
- {if:guest}<a href="action/login">Sign In</a> Or <a href="action/register">Register</a> <br>To View{/if:guest}
- {if:member}
- <div align="left">
- <font size="1"><b>
- *Your New PM's:
- <a href="/action/pm/">{new_pms}</a><br/>
- *Your PM Inbox
- <a href="action/pm&view=1">{total_pms}</a> <br/>
- *<a href="action/pmprefs">Set PM Preference</a>
- </b></font></div>{/if:member}
-
- </td>
- <td class="window1" valign="left" align=center width="58%">
- <font size="1">
- *Last Post Is {last_post}, made by {last_post_user}, {last_post_date}.<br/><br/>
-
- *Welcome the newest member to the Forum:
- {newest_members:1}</font><br/>
-
- </td>
- <td class="window1" valign="center" align="left" width="21%">
-
- <font size="1">
- *Guests: {guest_on}
- <br/> *Members: {member_on}
- <br/> *Staff: {staff_on}
- </b></font><br/>
- </td>
-
-
- </tr>
- <tr>
- <td class="title1" valign="middle" align="middle" width="19%">
-
- <center><font size="2"><b><u>Links & Events</u></b></font></center>
-
- </td>
- <td class="title1" valign="middle" align="middle" width="60%">
-
- <center><font size="2"><b><u>Currently Online</u></b></font></center>
-
- </td>
- <td class="title1" width="19%" align="middle">
-
- <center><font size="2"><b><u>Board Stats</u></b></font></center>
-
- </td>
- </tr>
- <tr>
- <td class="window1" valign="middle" align="left" width="19%">
-
- <font size="1"><b>
- {if:events}
- *Number Of Event{event_plural}: {event_total}<br/>{/if:events}
- {ifnot:events} *No Events To Display<br>{/ifnot:events}
- {if:birthdays} *Number Of Birthday{birthday_plural}: {birthday_total}<br/>{/if:birthdays}
- {ifnot:birthdays} *No Birthdays Today<br>{/ifnot:birthdays}
- *MoM of May; <font color=orange><a href="http://fmaadvanced.virtualforums.co.uk/action/view_profile/user/zain/">zain</a></font>
- </b></font>
-
- </td>
- <td class="window1" valign="middle" align="left" width="60%">
-
- <font size="1"><center><b>There is now {online_total} member{online_plural} online.<b> Currently logged in are:</b>
- <br/>
- {online_str}
- <br/>
- <br/>
- Users Online Today:<br>{today_str}
- </font></center>
- <br/>
-
- </td>
- <td class="window1" width="19%" align="left">
-
-
- <font size="1"><b>
- *Total Members: <a href="action/members">{total_members}</a><br/>
- *# Of Topics: {total_topics}<br/>
- *# Of Posts: {total_posts}<br />
- *# Of Boards: {total_boards}<br/>
- *# Of Categories: {total_categories}<br/>
- </b></font>
-
- </td>
- </tr>
- </table>
- <table align="center" cellpadding="0" cellspacing="1" class="border" width="100%" id="info_center">
- <tr>
- <td class="title1" align="center" width="100%">
- <center><font size="3"><b><u>Affiliates</u></b></font></center>
- </td>
- </tr>
- <tr>
- <td class="window1" align="center" width="100%">
- <script type="text/javascript">
- /*Random Affiliate Display*/
-
- /*Only Edit Below*/
-
- var affiliates = Array();
- affiliates[0] = Array('http://pokemondshelp.proboards62.com', 'http://i25.photobucket.com/albums/c51/dog199200/Pokemon/pokemonaffilaite.png', 'Pokemon DS Help');
- affiliates[1] = Array('http://keiraalchemist.proboards82.com', 'http://h1.ripway.com/webmasterjesse/Affiliate/FAW.png', 'Fullmetal Alchemist World');
- affiliates[2] = Array('http://trinityforsaken.proboards79.com/', 'http://h1.ripway.com/jasjitk/TBF/affiliate.jpg', 'Trinity Blood Forsaken');
- affiliates[3] = Array('http://hogwartz4.proboards85.com/index.cgi?', 'http://www.geocities.com/phoenixrayne4/hogaffil.png', 'Us Against The World');
- affiliates[4] = Array('http://101support.proboards43.com', 'http://img171.imageshack.us/img171/1794/e3ke7.gif', 'eCreations');
- affiliates[5] = Array('http://fma.vforums.co.uk', 'http://i185.photobucket.com/albums/x20/magedesigns/fmaaffiliate.gif', 'Fullmetal Alchemist RPG V3');
- affiliates[5] = Array('http://ffnation.vforums.co.uk', 'http://i185.photobucket.com/albums/x20/magedesigns/ffn/affiliate/FFN_affiliate.gif', 'FF Nation');
- affiliates[6] = Array('http://freunion.vforums.co.uk', 'http://i185.photobucket.com/albums/x20/magedesigns/ffn/affiliate/frsephaffiliate.gif', 'FF Reunion');
- affiliates[7] = Array('http://magedesigns.virtualforums.co.uk', 'http://i185.photobucket.com/albums/x20/magedesigns/vfmdskin/vfmdaffiliate.gif', 'Mage Designs');
-
- affiliates[8] = Array('http://zainbruger.proboards50.com/index.cgi', 'http://i231.photobucket.com/albums/ee218/shaadownut/abbutton23.jpg', 'Alchamists Blood');
-
-
- /*Only Edit Above*/
-
- for(i=0; i<7; i++) {
- var rand = Math.floor(Math.random() * affiliates.length);
- document.write('<a href="'+ affiliates[rand][0] +'"><img src="'+ affiliates[rand][1] +'" alt="'+ affiliates[rand][2] +'" /></a>');
- affiliates.splice(rand, 1);
- }
- </script>
- <br/>
-
- <div align="left"><a href="board/viewallafiliate">View All</a> ~ <script>
- function affPopup(){ prompt("Press CTRL + C to copy.","<a href='http://fmaadvanced.virtualforums.co.uk'><img src='http://i25.photobucket.com/albums/c51/dog199200/FMA%20Images/FMAAJBanner.gif' border='0' alt='Fullmetal Alchemist Advanced Journey' title='Fullmetal Alchemist Advanced Journey' /></a>"); }
- </script>
- <a href="javascript: affPopup();">Get Affiliate Code</a>
- </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
if it isn't the complete code, please repost the complete code! | |
| dog199200 Guest | Re: Info Center Code Fix... (8th Jul 08 at 11:26pm UTC) | | ok taht works, but the login is still stretched out and the skin choose still is pushed to teh side | |
| dog199200 Guest | Re: Info Center Code Fix... (10th Jul 08 at 7:01pm UTC) | | bump | |
| Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Info Center Code Fix... (10th Jul 08 at 7:11pm UTC) | | Fixed! | |
| |
 |  |
|