Announcement

Collapse
No announcement yet.

PLEASE HELP - I seem to have destroyed a template

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Robink
    replied
    For HTML, you can always use dreamweaver or Frontpage or something.

    A good tip about colours, it that he first 2 digits are for red, second two for Green, next two for blue. Thus a six digit number. And FF is max, 00 is lowest. So 0000FF is blue, FF0000 is red, FFFF00 is Reg+green = Yellow and so on...

    Leave a comment:


  • raxafarian
    replied
    Originally posted by ldfcao
    I don't know what I've just done. Now it seems to be working. Very strange.

    What's the best place to learn html? Or is there an editor that will let me manipulate this stuff in templates more easily than typing code by hand? (For example, what on earth is color #00088FF???) I'm tired of dancing on eggshells.

    Thank you!

    here are some color codes

    Leave a comment:


  • ldfcao
    replied
    Now it seems to be working...

    I don't know what I've just done. Now it seems to be working. Very strange.

    What's the best place to learn html? Or is there an editor that will let me manipulate this stuff in templates more easily than typing code by hand? (For example, what on earth is color #00088FF???) I'm tired of dancing on eggshells.

    Thank you!

    Leave a comment:


  • ldfcao
    started a topic PLEASE HELP - I seem to have destroyed a template

    PLEASE HELP - I seem to have destroyed a template

    Oh my. I was trying to customize the registeradult template and now it's somehow broken. I get an error when I try to preview it, even when I revert to the original. I may have modified the original because, as a newbie, it's possible that I am not making custom changes correctly...

    I would VERY much appreciate if someone could post the original text for registeradult. I'm using v 2.3.0.

    Thank you!!

    Here's what I have in there now - what's wrong??? :

    {htmldoctype}
    <html>
    <head>
    <title>$bbtitle Registration</title>
    $headinclude
    </head>
    <body>

    $header

    <br>

    <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
    <tr>
    <td><normalfont>In order to be able to post messages on the $bbtitle forums, you must first register.</normalfont></td>
    </tr>
    </table>

    <br>

    <form action="register.php" method="post">
    <input type="hidden" name="s" value="$session[sessionhash]">

    <table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
    <table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
    <!-- *** -->
    <tr>
    <td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Registration: Required Information</b></normalfont>
    <smallfont color="{tableheadtextcolor}" class="thtcolor">All fields are required. Please note that passwords are case sensitive.</smallfont></td>
    </tr>
    <!-- *** -->
    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>User Name:</b></normalfont></td>
    <td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="username" size="25" maxlength="$maxuserlength"></normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{firstaltcolor}"><normalfont><b>Password:</b></normalfont></td>
    <td bgcolor="{firstaltcolor}"><normalfont><input type="password" class="bginput" name="password" size="25" maxlength="15"></normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{firstaltcolor}"><normalfont><b>Enter Password Again:</b></normalfont></td>
    <td bgcolor="{firstaltcolor}"><input type="password" class="bginput" name="passwordconfirm" size="25" maxlength="15"></td>
    </tr>
    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>Email:</b></normalfont><br>
    <smallfont>Please enter a valid email address. You can choose to hide it below in the preferences section.</smallfont></td>
    <td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="email" size="25" maxlength="50"></normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>Enter Email Again:</b></normalfont></td>
    <td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="emailconfirm" size="25" maxlength="50"></normalfont></td>
    </tr>
    <!-- *** -->
    $imageregbit
    <!-- *** -->
    $customfields_required
    <!-- *** -->
    <tr>
    <td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Optional Information</b></normalfont>
    <smallfont color="{tableheadtextcolor}" class="thtcolor">All information will be viewable by other $bbtitle members.</smallfont></td>
    </tr>
    <!-- *** -->
    <tr>
    <td bgcolor="{firstaltcolor}"><normalfont><b>Homepage:</b></normalfont></td>
    <td bgcolor="{firstaltcolor}"><normalfont><input type="text" class="bginput" name="homepage" value="http://" size="25" maxlength="100"></normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>ICQ Number:</b></normalfont></td>
    <td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="icq" size="25" maxlength="20"></normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{firstaltcolor}"><normalfont><b>AOL Instant Messenger Handle:</b></normalfont></td>
    <td bgcolor="{firstaltcolor}"><normalfont><input type="text" class="bginput" name="aim" size="25" maxlength="20"></normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>Yahoo Messenger Handle:</b></normalfont></td>
    <td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="yahoo" size="25" maxlength="20"></normalfont></td>
    </tr>
    $referrer
    $birthday
    $customfields
    <!-- *** -->
    <tr>
    <td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}"><b>Preferences</b></normalfont></td>
    </tr>
    <!-- *** -->
    <tr>
    <td bgcolor="{firstaltcolor}" valign="top"><normalfont><b>Signature:</b></normalfont><br>
    <smallfont>Optional signature you may use to appear at bottom of your posts.<br><br>
    HTML code is $htmlonoff<br>
    <a href="misc.php?s=$session[sessionhash]&action=bbcode">vB Code</a> is $bbcodeonoff<br>
    [img] code is $imgcodeonoff<br>
    <a href="misc.php?s=$session[sessionhash]&action=showsmilies">Smilies</a> are $smiliesonoff
    </smallfont></td>
    <td bgcolor="{firstaltcolor}"><textarea name="signature" rows="5" cols="35" wrap="physical"></textarea></td>
    </tr>
    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>Allow Bulletin Board Administrators and Moderators To Send You Email Notices?</b></normalfont></td>
    <td bgcolor="{secondaltcolor}"><normalfont>
    <input type="radio" name="allowmail" value="yes" checked> yes
    <input type="radio" name="allowmail" value="no"> no
    </normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{firstaltcolor}"><normalfont><b>Invisible Mode?</b></normalfont><br>
    <smallfont>Selecting yes allows you to surf the forums without appearing in the 'Logged In Users' list.</smallfont></td>
    <td bgcolor="{firstaltcolor}"><normalfont>
    <input type="radio" name="invisible" value="yes"> yes
    <input type="radio" name="invisible" value="no" checked> no
    </normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>Hide Email Address?</b><br></normalfont>
    <smallfont>Clicking yes hides your email address in your public profile, so that it is not accessible by other users.</smallfont></td>
    <td bgcolor="{secondaltcolor}"><normalfont>
    <input type="radio" name="showemail" value="no" > yes
    <input type="radio" name="showemail" value="yes" checked> no
    </normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{firstaltcolor}"><normalfont><b>Automatically login when you return to the site? (uses cookies)</b></normalfont></td>
    <td bgcolor="{firstaltcolor}"><normalfont>
    <input type="radio" name="cookieuser" value="yes" checked> yes
    <input type="radio" name="cookieuser" value="no"> no
    </normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>Browse board with cookies?</b></normalfont><br>
    <smallfont>Clicking yes will use cookies to keep your id for this session. Clicking no will send it through the links. (Selecting no may cause problems with proxies)</smallfont></td>
    <td bgcolor="{secondaltcolor}"><normalfont>
    <input type="radio" name="nosessionhash" value="yes" checked> yes
    <input type="radio" name="nosessionhash" value="no"> no
    </normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{firstaltcolor}"><normalfont><b>Enable Private Messaging?</b></normalfont><br>
    <smallfont>Allows people to send Private Messages to you</smallfont></td>
    <td bgcolor="{firstaltcolor}"><normalfont>
    <input type="radio" name="receivepm" value="yes" checked> yes
    <input type="radio" name="receivepm" value="no"> no
    </normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>Send you an email when you receive a Private Message?</b></normalfont></td>
    <td bgcolor="{secondaltcolor}"><normalfont>
    <input type="radio" name="emailonpm" value="yes"> yes
    <input type="radio" name="emailonpm"value="no" checked> no
    </normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{firstaltcolor}"><normalfont><b>Pop up a box when you receive a Private Message?</b></normalfont><br>
    <smallfont>This will pop up a small warning box when you receive a Private Message asking whether you want to view the message.</smallfont></td>
    <td bgcolor="{firstaltcolor}"><normalfont>
    <input type="radio" name="pmpopup" value="yes"> yes
    <input type="radio" name="pmpopup" value="no" checked> no
    </normalfont></td>
    </tr>
    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>Default Thread View:</b></normalfont></td>
    <td bgcolor="{secondaltcolor}"><smallfont><select name="prunedays">
    <option value="-1" selected>Use forum default</option>
    <option value="1" >Show threads from last day</option>
    <option value="2" >Show threads from last 2 days</option>
    <option value="5" >Show threads from last 5 days</option>
    <option value="10" >Show threads from last 10 days</option>
    <option value="20" >Show threads from last 20 days</option>
    <option value="30" >Show threads from last 30 days</option>
    <option value="45" >Show threads from last 45 days</option>
    <option value="60" >Show threads from last 60 days</option>
    <option value="75" >Show threads from last 75 days</option>
    <option value="100" >Show threads from last 100 days</option>
    <option value="365" >Show threads from the last year</option>
    <option value="1000" >Show all threads</option>
    </select></smallfont></td>
    </tr>
    <tr>
    <td bgcolor="{firstaltcolor}"><normalfont><b>Default Posts per Thread:</b></normalfont><br>
    <smallfont>Number of posts that are shown on one page of a thread.</smallfont></td>
    <td bgcolor="{firstaltcolor}"><smallfont><select name="umaxposts">
    <option value="-1" $postsdefaultselected>Use forum default</option>
    $maxpostsoptions
    </select></smallfont></td>
    </tr>
    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>Start of the week</b></normalfont><br>
    <smallfont>Please choose the day of the week on which weeks start in your culture. This is so your calendar appears correct to you.</smallfont></td>
    <td bgcolor="{secondaltcolor}"><smallfont><select name="startofweek">
    <option value="1" SELECTED>Sunday</option>
    <option value="2">Monday</option>
    <option value="3">Tuesday</option>
    <option value="4">Wednesday</option>
    <option value="5">Thursday</option>
    <option value="6">Friday</option>
    <option value="7">Saturday</option>
    </select></smallfont></td>
    </tr>
    <tr>
    <td bgcolor="{firstaltcolor}"><normalfont><b>Time offset:</b><br>
    <smallfont>$timezone Please select your timezone from the list:</smallfont></normalfont></td>
    <td bgcolor="{firstaltcolor}"><smallfont><select name="timezoneoffset">
    <option value="-12">(GMT -12:00 hours) Eniwetok, Kwajalein</option>
    <option value="-11">(GMT -11:00 hours) Midway Island, Samoa</option>
    <option value="-10">(GMT -10:00 hours) Hawaii</option>
    <option value="-9">(GMT -9:00 hours) Alaska</option>
    <option value="-8">(GMT -8:00 hours) Pacific Time (US & Canada)</option>
    <option value="-7">(GMT -7:00 hours) Mountain Time (US & Canada)</option>
    <option value="-6">(GMT -6:00 hours) Central Time (US & Canada), Mexico City</option>
    <option value="-5">(GMT -5:00 hours) Eastern Time (US & Canada), Bogota</option>
    <option value="-4">(GMT -4:00 hours) Atlantic Time (Canada), Caracas</option>
    <option value="-3.5">(GMT -3:30 hours) Newfoundland</option>
    <option value="-3">(GMT -3:00 hours) Brazil, Buenos Aires, Georgetown</option>
    <option value="-2">(GMT -2:00 hours) Mid-Atlantic</option>
    <option value="-1">(GMT -1:00 hours) Azores, Cape Verde Islands</option>
    <option value="0" selected>(GMT) Western Europe Time, London, Lisbon</option>
    <option value="+1">(GMT +1:00 hours) CET(Central Europe Time), Brussels, Paris</option>
    <option value="+2">(GMT +2:00 hours) EET(Eastern Europe Time), South Africa</option>
    <option value="+3">(GMT +3:00 hours) Baghdad, Riyadh, Moscow, St. Petersburg</option>
    <option value="+3.5">(GMT +3:30 hours) Tehran</option>
    <option value="+4">(GMT +4:00 hours) Abu Dhabi, Muscat, Baku, Tbilisi</option>
    <option value="+4.5">(GMT +4:30 hours) Kabul</option>
    <option value="+5">(GMT +5:00 hours) Ekaterinburg, Islamabad, Karachi, Tashkent</option>
    <option value="+5.5">(GMT +5:30 hours) Bombay, Calcutta, Madras, New Delhi</option>
    <option value="+6">(GMT +6:00 hours) Almaty, Dhaka, Colombo</option>
    <option value="+7">(GMT +7:00 hours) Bangkok, Hanoi, Jakarta</option>
    <option value="+8">(GMT +8:00 hours) Beijing, Perth, Singapore, Hong Kong</option>
    <option value="+9">(GMT +9:00 hours) Tokyo, Seoul, Osaka, Sapporo, Yakutsk</option>
    <option value="+9.5">(GMT +9:30 hours) Adelaide, Darwin</option>
    <option value="+10">(GMT +10:00 hours) EAST(East Australian Standard), Guam</option>
    <option value="+11">(GMT +11:00 hours) Magadan, Solomon Islands, New Caledonia</option>
    <option value="+12">(GMT +12:00 hours) Auckland, Wellington, Fiji, Kamchatka</option>
    </select></smallfont></td>
    </tr>
    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>Use 'Email Notification' by default</b></normalfont><br>
    <smallfont>Using this option emails you whenever someone replies to a thread that you have participated in.</smallfont></td>
    <td bgcolor="{secondaltcolor}"><normalfont>
    <input type="radio" name="emailnotification" value="yes" checked> yes
    <input type="radio" name="emailnotification" value="no" > no
    </normalfont></td>
    </tr>
    <input type="hidden" name="showsignatures" value="yes">
    <input type="hidden" name="showavatars" value="yes">
    <input type="hidden" name="showimages" value="yes">
    <tr>
    <td bgcolor="{firstaltcolor}"><normalfont><b>Use vbCode quick links on your message input screens?</b></normalfont><br>
    <smallfont>Enabling this option allows you to quickly manipulate different aspects of your posts including color, font, and size.
    In addition you can click on smilies to have them inserted into your posts.
    You may disable this option if it causes problems for you.</smallfont></td>
    <td bgcolor="{firstaltcolor}"><normalfont>
    <input type="radio" name="vbcode" value="yes" checked> yes
    <input type="radio" name="vbcode" value="no"> no
    </normalfont></td>
    </tr>
    $stylecell
    $avatarbit
    </table>
    </td></tr></table>

    <br>

    <table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
    <tr>
    <td align="center"><normalfont>
    <input type="hidden" name="url" value="$url">
    <input type="hidden" name="action" value="addmember">
    <input type="submit" class="bginput" name="Submit" value="Submit">
    <input type="reset" class="bginput" name="Reset" value="Reset">
    </normalfont></td>
    </tr>
    </table>

    </form>

    $footer

    <script language="Javascript">
    <!--
    if (document.images.avatarpic != null) {
    document.images.avatarpic.src = document.forms[0].avatarsel[document.forms[0].avatarsel.selectedIndex].value;
    }
    // -->
    </script>

    </body>
    </html>
    Last edited by ldfcao; Mon 14 Apr '03, 5:37pm.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X