[SOLVED]Contact Us ...
 
Notifications
Clear all

[SOLVED]Contact Us page problem and one small header issue

12 Posts
3 Users
0 Reactions
1,985 Views
(@inthemoonlight)
Posts: 76
Trusted Member
Topic starter
 

URL to your site: http://www.inthemoonlightfiction.com
Version of eFiction: v3.3.1
Bridged?: No
Mods: Challenges
PHP Version: 5.4.2
MySQL Version: 5.0.27-standard
Did you search for your problems: Yes but it gave me no results found
If yes, what did you search with?: contact us, text not showing
State nature of your problem:

Ok.  So here is my problem.  When I click the link in the menu for the Contact us page, it shows up with Comments first, then the fields for email and subject (I don't know how it got out of order but at the moment...doesn't really matter)  When viewing it in IE there is no text box for Comments.  Yet when I view it in Firefox it's there.  I checked the source code with both browsers and it is the same code.  Any idea what might have happened?

I also have a second minor issue, when I click on the challenges page and then Issue a Challenge, the header image isn't there even though the code says it should be.  It's just a giant blank spot with an x in the corner.

Ok thank you in advance.  (I should go write my dang paper on adjudicatory process and discretion...)


My Site: In The Moonlight
eFiction: v3.4.3
PHP: 5.2.4
MySQL: 5.0.27-standard
Mods: Challenges, Submit Time and Word Count

 
Posted : 27/10/2007 11:45 am
 Elle
(@jenny)
Posts: 594
Honorable Member
 

The header issue is caused because the issue a modules challenge takes you to a /modules/challenges/ and the URL for the image is: skins/Moonlight/Images/header.jpg.

In the header.tpl, change the URL to the absolute path and it should work.


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 27/10/2007 12:15 pm
(@inthemoonlight)
Posts: 76
Trusted Member
Topic starter
 

Um, the header.tpl file in the skin?  I checked and it has the absolute path (the whole skins/Moonlight/Images/header.jpg).  So I'm not sure exactly what you mean.


My Site: In The Moonlight
eFiction: v3.4.3
PHP: 5.2.4
MySQL: 5.0.27-standard
Mods: Challenges, Submit Time and Word Count

 
Posted : 27/10/2007 12:36 pm
(@jacynthe)
Posts: 242
Estimable Member
 

edit the header.tpl to says this instead


<img src=""{skindir}/images/header.jpg">"

as saying skins/moonlight makes it look for the image in modules/challenges/skins/moonlight.... BTW, I will be joining your site when I have a minute because I just love the show Moonlight! πŸ™‚


Jacynthe

Archives: http://fanfics.e-authors.net
Version: 3.5.3
Modified? Somewhat...
PHP:  5.3.3
MySQL: 5.0.91-community

 
Posted : 27/10/2007 1:20 pm
(@inthemoonlight)
Posts: 76
Trusted Member
Topic starter
 

I get it now!!!!!

And Yay to new members!!!  I love new members...they make me do a happy dance.  Will you be posting any fics? I hope so...want lots and lots of Moonlight-y goodness!

Err....that didn't work.  Now the header is gone from everything.  I tried adding a $ in front of skindir as I've seen that in code before but it didnt work so I put it back to skins/Moonlight for now.


My Site: In The Moonlight
eFiction: v3.4.3
PHP: 5.2.4
MySQL: 5.0.27-standard
Mods: Challenges, Submit Time and Word Count

 
Posted : 27/10/2007 1:38 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

Change it to this:


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 27/10/2007 2:50 pm
(@inthemoonlight)
Posts: 76
Trusted Member
Topic starter
 

*tackles* err...sorry bout that....it worked!! so one problem down.

Anyone have suggestions on the pesky contact us page?


My Site: In The Moonlight
eFiction: v3.4.3
PHP: 5.2.4
MySQL: 5.0.27-standard
Mods: Challenges, Submit Time and Word Count

 
Posted : 27/10/2007 2:59 pm
(@jacynthe)
Posts: 242
Estimable Member
 

Can you check your contact.php file and check for the output so that it is in this order?


$output .= "<form method="POST" enctype="multipart/form-data" style="width: 400px; margin: 0 auto;" action="contact.php">
                <table width="400" border="0" cellspacing="2" cellpadding="1">
                <tr>
                  <td width="22%"><label for="email">"._YOUREMAIL.":</label></td><td><INPUT type="text" class="textbox" name="email"></td></tr>";
if(!$action) $output .= "<tr><td width="22%"><label for="subject">"._SUBJECT.":</label></td><td><INPUT  type="text" class="textbox" name="subject"></td></tr>";
else if($action == "report") $output .= "<tr><td width="22%"><label for="subject">"._REPORT.":</label></td><td><select class="textbox" name="subject">
<option>"._RULESVIOLATION."</option>
<option>"._BUGREPORT."</option>
<option>"._MISSING."</option>
</select>
<input type='hidden' name='reportpage' value='".descript($_GET['url'])."'><br /></td></tr>";
$output .= "<tr><td colspan="2"><label for="comments">"._COMMENTS.":</label> <TEXTAREA  class="textbox" name="comments" cols="50" rows="6"></TEXTAREA><br /></td></tr>";
if(!USERUID && !empty($captcha)) $output .= "<tr><td colspan="2"><div><span class="label">"._CAPTCHANOTE."</span><input MAXLENGTH=5 SIZE=5 name="userdigit" type="text" value=""><br /><img width=120 height=30 src="""._BASEDIR."includes/button.php"" style="border: 1px solid #111;"></div></td></tr>";
$output .= "<tr><td colspan="2"><div style="text-align: center;"><INPUT name="submit" class="button" type="submit" value=""._SUBMIT.""></div></td></tr></table></form>";
}

$tpl->assign( "output", $output );

As for the disappearing box in IE... maybe it's in the CSS of the skin you based your Moonlight skin on?


Jacynthe

Archives: http://fanfics.e-authors.net
Version: 3.5.3
Modified? Somewhat...
PHP:  5.3.3
MySQL: 5.0.91-community

 
Posted : 27/10/2007 4:39 pm
(@inthemoonlight)
Posts: 76
Trusted Member
Topic starter
 

that would explain it.  I guess I deleted some code when I added an extra field for the report option.  I just copied the last bit and its all happy now!  In both browsers!  Hooray!  Problems solved.  And I think that's all the stuff that was wrong with the site...


My Site: In The Moonlight
eFiction: v3.4.3
PHP: 5.2.4
MySQL: 5.0.27-standard
Mods: Challenges, Submit Time and Word Count

 
Posted : 27/10/2007 4:57 pm
(@jacynthe)
Posts: 242
Estimable Member
 

Cool!! πŸ™‚ Glad that was as simple as that!


Jacynthe

Archives: http://fanfics.e-authors.net
Version: 3.5.3
Modified? Somewhat...
PHP:  5.3.3
MySQL: 5.0.91-community

 
Posted : 27/10/2007 5:02 pm
(@inthemoonlight)
Posts: 76
Trusted Member
Topic starter
 

glad you joined!!


My Site: In The Moonlight
eFiction: v3.4.3
PHP: 5.2.4
MySQL: 5.0.27-standard
Mods: Challenges, Submit Time and Word Count

 
Posted : 27/10/2007 6:07 pm
(@jacynthe)
Posts: 242
Estimable Member
 

It may take me a while to get any fanfic going but I promise to try sooner than later. Now if life would just settle down a bit so I could get around to resuming my writing I'd be ecstatic! *rolleyes*


Jacynthe

Archives: http://fanfics.e-authors.net
Version: 3.5.3
Modified? Somewhat...
PHP:  5.3.3
MySQL: 5.0.91-community

 
Posted : 27/10/2007 8:30 pm
Share: