Translate
Sub Menu
Links Menu
Online Users

In total there are 67 users online :: 0 registered, 0 hidden and 67 guests

Most users ever online was 372 on Thu May 09, 2019 3:50 am

Registered users: No registered users based on users active over the past 60 minutes

Last Online
In order to view the online list you have to be registered and logged in.



We are a free and open
community, all are welcome.

Click here to Register

portal pages

Support for IntegraMOD 150

portal pages

PostAuthor: JMS » Fri May 24, 2013 1:35 pm

My Iframes look decent but my bottom forum link go away when I use them.

The reason I have to use them is the length of the html file I am using, seams when I type in raw html data into the block management it allows me to type 500 lines but when I navigate to the portal page it is acting like a hack. all links gone and page is split into three blank sections.

my iframe coding is this
Code: Select all
<!DOCTYPE html>
<html>
<body>
<iframe src="http://mercnetstudios.com/List/submit.html" width="100%" height="485" align="middle" scrolling="auto"
</iframe>


</body>
</html>


Does the importal not support iframes?

JMS
Members
Members
 
Posts: 43
Joined: Wed Sep 26, 2012 6:06 pm

Re: portal pages

PostAuthor: JMS » Fri May 24, 2013 1:42 pm

Adding a second Iframe fixed the bottom links but It will not show the second Iframe

Page is layout1

blocks are center
blocks areactive
blocks are view by all

Maybe it's the localize titlebar issue

JMS
Members
Members
 
Posts: 43
Joined: Wed Sep 26, 2012 6:06 pm

Re: portal pages

PostAuthor: Helter » Sat May 25, 2013 1:16 pm

there seems to be a prob with iframe and Ill see if I can find it.
Some of your code also has open tags that can break the rest of the site.
try this
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
h2 {text-align:right}
td.sub {
text-align:center;
}
.sub, .sub th {
background-color:#B8A74D;
background-image: url('http://mercnetstudios.com/forums/IM150/templates/fisubice/images/black/pattern.png');
color:rgb(255,255,35);
font-size:18px;
text-align:left;
}
h1 {font-size:150%;color:#ffd700;}
h2 {font-size:100%;}
.right {
right:100px;
}
input, textarea {
background-color:#DCD4A8;
position:relative;
text-align:left;
}

th.chek input{display:inline;}
</style>
<title>Ship Submission</title>
</head>
<body>
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
  <tr>
   <td style="font-family:verdana;padding:20px;border-radius:10px;border:10px solid #FFD700;"><h1>By completing this form you are telling GoldWing Command what ships you own in the game Star Citizen</h1></td>
  </tr>
  <tr>
   <td class="sub">
   <form action="http://mercnetstudios.com/forums/IM150/cgi-bin/FormMail.pl" method="post">
    <input type="hidden" name="recipient" value="sin7@gmx.de" />
    <input type="hidden" name="subject" value="From the Ships list submit form" />
    <input type="hidden" name="redirect" value="http://mercnetstudios.com/forums/IM150/portal.php?page=13" />
<hr>
<div style="font-family:verdana;padding:0px;font-size:12px;background-color:#b8a74d;color:rgb(255,255,35);">
<table width="100%">
  <tr>
    <th>
    If you want to submit any further details about the ships that you own, <br />please use the following field<br />
    <textarea name="comments" cols=80 rows=3></textarea>
   </th>
    <th class="chek">
    Your name:(in game for identification)<br />
    <input name="name" type="text" size=50> <br />
    Your email address:(So we can send the confirmation e-mail)<br />
    <input name="email" type="text" size=50><br />
   </th>
  </tr>
</table>
<table width="100%">
  <tr>
    <th class="chek" width="50%">
    Do you own a Origin 300i
    <input type="checkbox" Name="300i_yes"> Yes <input type="checkbox" Name="300i_no">No<br />
    If you answered yes, please indicate number of 300i owned
      <input type="text" Name="300i_amount" size="10">
   </th>
    <th class="chek" width="50%">
    Do you own an Aurora
      <input type="checkbox" name="Aurora_yes" class="left"> Yes <input type="checkbox" Name="Aurora_no" class="left"> No<br />
    If you answered yes, please indicate number of Aurora owned
      <input type="text" Name="Aurora_amount" Size="10">
   </th>
  </tr>
</table>
<table width="100%">
  <tr>
    <th class="chek" width="50%">
    Do you own an Caterpillar
      <input type="checkbox" name="Caterpillar_yes"> Yes <input type="checkbox" Name="Caterpillar_no"> No<br />
    If you answered yes, please indicate number of Caterpillar owned
      <input type="text" Name="Caterpillar_amount" Size="10">
   </th>
    <th class="chek" width="50%">
    Do you own an Constellation
      <input type="checkbox" name="Constellation_yes"> Yes <input type="checkbox" Name="Constellation_no"> No<br />
    If you answered yes, please indicate number of Constellation owned
      <input type="text" Name="Constellation_amount" Size="10">
   </th>
  </tr>
</table>
<table width="100%">
  <tr>
    <th class="chek" width="50%">
    Do you own a Drake Interplanetary Cutlass
      <input type="checkbox" name="Cutlass_yes"> Yes <input type="checkbox" Name="Constellation_no"> No<br />
    If you answered Yes Please indicate Number of Cutlass Owned
      <input type="text" Name="Cutlass_amount" Size="10">
   </th>
    <th class="chek" width="50%">Do you own an MISC Freelancer
      <input type="checkbox" name="Freelancer_yes"> Yes <input type="checkbox" Name="Freelancer_no"> No<br />
    If you answered Yes Please indicate Number of Freelancer Owned
      <input type="text" Name="Freelancer_amount" Size="10">
   </th>
  </tr>
</table>
<table width="100%">
  <tr>
    <th class="chek" width="50%">Do you own an Gladiator
      <input type="checkbox" name="Gladiator_yes"> Yes <input type="checkbox" Name="Gladiator_no"> No<br />
    If you answered Yes Please indicate Number of Gladiator Owned
      <input type="text" Name="Gladiator_amount" Size="10">
   </th>
    <th class="chek" width="50%">Do you own an Anvil Aerospace Hornet
      <input type="checkbox" name="Hornet_yes"> Yes <input type="checkbox" Name="Hornet_no"> No<br />
    If you answered Yes Please indicate Number of Hornet Owned
      <input type="text" Name="Hornet_amount" Size="10">
   </th>
  </tr>
</table>
<table width="100%">
  <tr>
    <th class="chek" width="50%">Do you own an Idris
      <input type="checkbox" name="Idris_yes"> Yes <input type="checkbox" Name="Idris_no"> No<br />
    If you answered Yes Please indicate Number of Idris Owned
      <input type="text" Name="Idris_amount" Size="10">
   </th>
    <th class="chek" width="50%">Do you own an M50
      <input type="checkbox" name="M50_yes"> Yes <input type="checkbox" Name="M50_no"> No<br />
    If you answered Yes Please indicate Number of M50 Owned
      <input type="text" Name="M50_amount" Size="10">
   </th>
  </tr>
</table>
<table width="100%">
  <tr>
    <th class="chek" widt="50%">Do you own an Retaliator
      <input type="checkbox" name="Retaliator_yes"> Yes <input type="checkbox" Name="Retaliator_no"> No<br />
    If you answered Yes Please indicate Number of Retaliator Owned
      <input type="text" Name="Retaliator_amount" Size="10">
   </th>
    <th class="chek" width="50%">Do you own an Scythe
      <input type="checkbox" name="Scythe_yes"> Yes <input type="checkbox" Name="Scythe_no"> No<br />
    If you answered Yes Please indicate Number of Scythe Owned
      <input type="text" Name="Scythe_amount" Size="10">
   </th>
  </tr>
</table>
<table  width="100%">
  <tr>
    <th class="chek" width="50%">
    Do you own an Starfarer
      <input type="checkbox" name="Starfarer_yes"> Yes <input type="checkbox" Name="Starfarrer_no"> No<br />
    If you answered Yes Please indicate Number of Starfarer Owned
      <input type="text" Name="Starfarrer_amount" Size="10">
   </th>
  </tr>
</table>

<table>
  <tr>
    <th><input type="checkbox" name="Update_yes">Update</th>
    <th><input type="checkbox" name="New_Member">New Member</th>
  </tr>
</table>
<div class="right"><input type="submit" value="Send"><input type="reset" value="Reset"></div>
</div>
</form>

   </td>
  </tr>
</table>
</body>
</html>

also your block can be much simpler like this
Code: Select all
<iframe src="../test.html" width="100%" height="485"</iframe>

You can also paste the html code directly into the html block. I added it here
http://www.integramod.com/forum/portal.php?page=20
this is full code without the html info pasted into the block.
here is the code
Code: Select all
<style>
h2 {text-align:right}
td.sub {
text-align:center;
}
.sub, .sub th {
background-color:#B8A74D;
background-image: url('http://mercnetstudios.com/forums/IM150/templates/fisubice/images/black/pattern.png');
color:rgb(255,255,35);
font-size:18px;
text-align:left;
}
h1 {font-size:150%;color:#ffd700;}
h2 {font-size:100%;}
.right {
right:100px;
}
input, textarea {
background-color:#DCD4A8;
position:relative;
text-align:left;
}

th.chek input{display:inline;}
</style>
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
  <tr>
   <td style="font-family:verdana;padding:20px;border-radius:10px;border:10px solid #FFD700;"><h1>By completing this form you are telling GoldWing Command what ships you own in the game Star Citizen</h1></td>
  </tr>
  <tr>
   <td class="sub">
   <form action="http://mercnetstudios.com/forums/IM150/cgi-bin/FormMail.pl" method="post">
    <input type="hidden" name="recipient" value="sin7@gmx.de" />
    <input type="hidden" name="subject" value="From the Ships list submit form" />
    <input type="hidden" name="redirect" value="http://mercnetstudios.com/forums/IM150/portal.php?page=13" />
<hr>
<div style="font-family:verdana;padding:0px;font-size:12px;background-color:#b8a74d;color:rgb(255,255,35);">
<table width="100%">
  <tr>
    <th>
    If you want to submit any further details about the ships that you own, <br />please use the following field<br />
    <textarea name="comments" cols=80 rows=3></textarea>
   </th>
    <th class="chek">
    Your name:(in game for identification)<br />
    <input name="name" type="text" size=50> <br />
    Your email address:(So we can send the confirmation e-mail)<br />
    <input name="email" type="text" size=50><br />
   </th>
  </tr>
</table>
<table width="100%">
  <tr>
    <th class="chek" width="50%">
    Do you own a Origin 300i
    <input type="checkbox" Name="300i_yes"> Yes <input type="checkbox" Name="300i_no">No<br />
    If you answered yes, please indicate number of 300i owned
      <input type="text" Name="300i_amount" size="10">
   </th>
    <th class="chek" width="50%">
    Do you own an Aurora
      <input type="checkbox" name="Aurora_yes" class="left"> Yes <input type="checkbox" Name="Aurora_no" class="left"> No<br />
    If you answered yes, please indicate number of Aurora owned
      <input type="text" Name="Aurora_amount" Size="10">
   </th>
  </tr>
</table>
<table width="100%">
  <tr>
    <th class="chek" width="50%">
    Do you own an Caterpillar
      <input type="checkbox" name="Caterpillar_yes"> Yes <input type="checkbox" Name="Caterpillar_no"> No<br />
    If you answered yes, please indicate number of Caterpillar owned
      <input type="text" Name="Caterpillar_amount" Size="10">
   </th>
    <th class="chek" width="50%">
    Do you own an Constellation
      <input type="checkbox" name="Constellation_yes"> Yes <input type="checkbox" Name="Constellation_no"> No<br />
    If you answered yes, please indicate number of Constellation owned
      <input type="text" Name="Constellation_amount" Size="10">
   </th>
  </tr>
</table>
<table width="100%">
  <tr>
    <th class="chek" width="50%">
    Do you own a Drake Interplanetary Cutlass
      <input type="checkbox" name="Cutlass_yes"> Yes <input type="checkbox" Name="Constellation_no"> No<br />
    If you answered Yes Please indicate Number of Cutlass Owned
      <input type="text" Name="Cutlass_amount" Size="10">
   </th>
    <th class="chek" width="50%">Do you own an MISC Freelancer
      <input type="checkbox" name="Freelancer_yes"> Yes <input type="checkbox" Name="Freelancer_no"> No<br />
    If you answered Yes Please indicate Number of Freelancer Owned
      <input type="text" Name="Freelancer_amount" Size="10">
   </th>
  </tr>
</table>
<table width="100%">
  <tr>
    <th class="chek" width="50%">Do you own an Gladiator
      <input type="checkbox" name="Gladiator_yes"> Yes <input type="checkbox" Name="Gladiator_no"> No<br />
    If you answered Yes Please indicate Number of Gladiator Owned
      <input type="text" Name="Gladiator_amount" Size="10">
   </th>
    <th class="chek" width="50%">Do you own an Anvil Aerospace Hornet
      <input type="checkbox" name="Hornet_yes"> Yes <input type="checkbox" Name="Hornet_no"> No<br />
    If you answered Yes Please indicate Number of Hornet Owned
      <input type="text" Name="Hornet_amount" Size="10">
   </th>
  </tr>
</table>
<table width="100%">
  <tr>
    <th class="chek" width="50%">Do you own an Idris
      <input type="checkbox" name="Idris_yes"> Yes <input type="checkbox" Name="Idris_no"> No<br />
    If you answered Yes Please indicate Number of Idris Owned
      <input type="text" Name="Idris_amount" Size="10">
   </th>
    <th class="chek" width="50%">Do you own an M50
      <input type="checkbox" name="M50_yes"> Yes <input type="checkbox" Name="M50_no"> No<br />
    If you answered Yes Please indicate Number of M50 Owned
      <input type="text" Name="M50_amount" Size="10">
   </th>
  </tr>
</table>
<table width="100%">
  <tr>
    <th class="chek" widt="50%">Do you own an Retaliator
      <input type="checkbox" name="Retaliator_yes"> Yes <input type="checkbox" Name="Retaliator_no"> No<br />
    If you answered Yes Please indicate Number of Retaliator Owned
      <input type="text" Name="Retaliator_amount" Size="10">
   </th>
    <th class="chek" width="50%">Do you own an Scythe
      <input type="checkbox" name="Scythe_yes"> Yes <input type="checkbox" Name="Scythe_no"> No<br />
    If you answered Yes Please indicate Number of Scythe Owned
      <input type="text" Name="Scythe_amount" Size="10">
   </th>
  </tr>
</table>
<table  width="100%">
  <tr>
    <th class="chek" width="50%">
    Do you own an Starfarer
      <input type="checkbox" name="Starfarer_yes"> Yes <input type="checkbox" Name="Starfarrer_no"> No<br />
    If you answered Yes Please indicate Number of Starfarer Owned
      <input type="text" Name="Starfarrer_amount" Size="10">
   </th>
  </tr>
</table>

<table>
  <tr>
    <th><input type="checkbox" name="Update_yes">Update</th>
    <th><input type="checkbox" name="New_Member">New Member</th>
  </tr>
</table>
<div class="right"><input type="submit" value="Send"><input type="reset" value="Reset"></div>
</div>
</form>

   </td>
  </tr>
</table>
Image
Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4125
Joined: Sat Mar 11, 2006 4:46 pm
Location: Seattle Wa

Re: portal pages

PostAuthor: JMS » Sat May 25, 2013 5:29 pm

Sorry for the double post.
Is there a character limit for adding html code into a portal block?

I can get the shorter code to work as html without the need for an iframe
for example my ship submit form

but my longer code the ship list spreadsheet needs to be in a iframe for some reason

I would prefer not to use Iframes at all

JMS
Members
Members
 
Posts: 43
Joined: Wed Sep 26, 2012 6:06 pm

PostAuthor: Helter » Sun May 26, 2013 12:45 pm

Ive never run into a limit before. If your sure it is a size issue, you can open 'phpbb_blocks' in phpmyadmin.
Where 'content' is type 'text', change to 'mediumtext'. As always be sure to backup your table before altering it.

you might also try to turn off the cache for the block when you create it to avoid other possible limitations.
Image
Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4125
Joined: Sat Mar 11, 2006 4:46 pm
Location: Seattle Wa

Re: portal pages

PostAuthor: JMS » Tue May 28, 2013 6:29 pm

Since another member has control of the list. An Iframe actually works for this case. I just wrote it and check the code periodically. He has ftp access to the list, and when he updates the list, it automatically updates on the forum too.

Just having to always add a second Iframe is annoying, it seams to do the trick.

JMS
Members
Members
 
Posts: 43
Joined: Wed Sep 26, 2012 6:06 pm


Return to IntegraMOD 150

Who is online

Registered users: No registered users

cron