Author Topic: A couple of newbie questions...  (Read 12309 times)

0 Members and 1 Guest are viewing this topic.

Offline DrAwesome

  • Pre-Newbie
  • Posts: 7
    • View Profile
A couple of newbie questions...
« on: December 15, 2006, 01:55:29 PM »
Hello, a few questions to ask.

I'm looking for an addon / script where the user can get HTML / BB code for displaying the image in a forum / website. Very much like this -
http://userbars.us/details.php?image_id=7562

Any idea if such a thing exists? Also, how do you change the page width?

Thanks for help.

manurom

  • Guest
Direct link to images
« Reply #1 on: December 15, 2006, 02:21:02 PM »
Hello, and welcome.
First, you will have to do the modification described by V@no here: http://www.4homepages.de/forum/index.php?topic=4907.msg20807#msg20807, as we need to call the {image_path} tag in the template.

Next, go to your template folder, and edit the file "details.html".

Find in the code:
Code: [Select]
{download_zip_button}
Just after, add this code:
Code: [Select]
<br />
        <form>
          <p align="center" class="smallfont"><strong>HTML - For Direct linking </strong><br>
              <input name="directurl" type="text" class="smallfont" onFocus="this.select();" value="{image_path}" size="40" readonly>
              <br>
              <input type="button" name="clipboard" value="select html code" onClick="javascript:this.form.directurl.focus();this.form.directurl.select();">
          </p>
          <p align="center" class="smallfont"><strong>BB Codes - For Forums</strong><br />
                      <input name="directurlbbc" class="smallfont" type="text" class="directurl" onFocus="this.select();" value="[url=http://www.your_domain.com][img]{image_path}[/img][/url]" size="40" readonly>
              <br>
              <input type="button" name="clipboard" value="select bb code" onClick="javascript:this.form.directurlbbc.focus();this.form.directurlbbc.select();">
          </p>
          <p align="center" class="smallfont"><strong>Img Codes - For MySpace, Orkut etc </strong><br />
                      <input name="directurlbbc2" class="smallfont" type="text" class="directurl" onFocus="this.select();" value="&lt;a href=&quot;http://www.your_domain.com&quot; target=&quot;_blank&quot; title=&quot;Thousands of FREE Userbars at your_domain.com&quot;&gt;&lt;img src=&quot;{image_path}&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;" size="40" readonly>
              <br>
              <input type="button" name="clipboard2" value="select img code" onClick="javascript:this.form.directurlbbc2.focus();this.form.directurlbbc2.select();">
          </p>
        </form>

Change "www.your_domain.com" to your 4images website URL. Save the file, and it's done.

Offline DrAwesome

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: A couple of newbie questions...
« Reply #2 on: December 16, 2006, 12:27:31 AM »
Hey, thanks for help so far. I got it working except that when I use the <img src="{image_path}"> in a textbox it actually shows the image on the page, and i don't know why!

it'll show the text box with <img src=" written in it then then the image will show next to it ;/

Any ideas?
« Last Edit: December 16, 2006, 12:37:58 AM by DrAwesome »

manurom

  • Guest
Re: A couple of newbie questions...
« Reply #3 on: December 16, 2006, 12:39:17 AM »
Hello;
can you provide a link to your live site, or else, the code of your template file "details.html"?

Offline DrAwesome

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: A couple of newbie questions...
« Reply #4 on: December 16, 2006, 01:02:30 AM »

Offline DrAwesome

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: A couple of newbie questions...
« Reply #5 on: December 16, 2006, 01:09:14 AM »
Code: [Select]
{header}
<table width="640" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>
      <table width="640" border="0" cellspacing="0" cellpadding="0" class="tablehead">
        <tr>
          <td colspan="4"><img src="{template_url}/images/header_top.gif" width="640" height="6" alt="" /></td>
        </tr>
        <tr>
          <td width="6"><img src="{template_url}/images/header_left.gif" width="6" height="60" alt="" /></td>
          <td width="405"><img src="{template_url}/images/header_logo.gif" width="405" height="60" alt="" /></td>
          <td width="225" align="right">
            <form method="post" action="{url_search}">
              <table border="0" cellspacing="0" cellpadding="1">
                <tr>
                  <td>
                    <input type="text" name="search_keywords" size="15" class="searchinput" />
                  </td>
                  <td>
                    <input type="submit" value="{lang_search}" class="button" name="submit" />
                  </td>
                </tr>
                <tr valign="top">
                  <td colspan="2"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td>
                </tr>
              </table>
            </form>
          </td>
          <td align="right" width="6"><img src="{template_url}/images/header_right.gif" width="6" height="60" alt="" /></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td class="bordercolor">
      <table width="640" border="0" cellspacing="1" cellpadding="0">
        <tr>
          <td class="tablebgcolor">
            <table width="638" border="0" cellspacing="1" cellpadding="0">
              <tr>
                <td height="23" class="navbar">
                  <table width="636" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />{clickstream}</td>
                      <td align="right"> <a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp; <a href="{url_new_images}"><b>{lang_new_images}</b></a>&nbsp; </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table width="638" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="150" valign="top" class="row2">
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">{user_box}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
                  {if random_cat_image}
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1"> <br />
                        {random_cat_image} <br />
                        <br />
                      </td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
                  {endif random_cat_image} </td>
                <td width="1" class="bordercolor" valign="top"><img src="{template_url}/images/spacer.gif" width="1" height="1" alt="" /></td>
                <td width="18" valign="top"><img src="{template_url}/images/spacer.gif" width="18" height="18" alt="" /></td>
                <td width="450" valign="top"><br />
                  <b class="title">{image_name}</b>{if image_is_new} <sup class="new">{lang_new}</sup>{endif
                  image_is_new}
                  <hr size="1" />
                  {if msg}<b>{msg}<br />
                  <br />
                  </b>{endif msg}
                  <div align="center">
  {image}
{if admin_links}<br />
                    {admin_links}<br />
                    {endif admin_links}<br />
                    {lightbox_button}&nbsp;&nbsp;{postcard_button}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{download_button}&nbsp;&nbsp;{download_zip_button}

<br />
<br />
        <form>
          <p align="center" class="smallfont"><strong>HTML - For Direct linking </strong><br>
              <input name="directurl" type="text" class="smallfont" onFocus="this.select();" value="{image_path}" size="40" readonly>
              <br>
              <input type="button" name="clipboard" value="select html code" onClick="javascript:this.form.directurl.focus();this.form.directurl.select();">
          </p>
          <p align="center" class="smallfont"><strong>BB Codes - For Forums</strong><br />
                      <input name="directurlbbc" class="smallfont" type="text" class="directurl" onFocus="this.select();" value="[url=http://www.your_domain.com][img]{image_path}[/img][/url]" size="40" readonly>
              <br>
              <input type="button" name="clipboard" value="select bb code" onClick="javascript:this.form.directurlbbc.focus();this.form.directurlbbc.select();">
          </p>
          <p align="center" class="smallfont"><strong>Img Codes - For MySpace, Orkut etc </strong><br />
                      <input name="directurlbbc2" class="smallfont" type="text" class="directurl" onFocus="this.select();" value="<a href="http://www.your_domain.com" target="_blank" title="Thousands of FREE Userbars at your_domain.com"><img src="{image_path}" border="0"/></a>" size="40" readonly>
              <br>
              <input type="button" name="clipboard2" value="select img code" onClick="javascript:this.form.directurlbbc2.focus();this.form.directurlbbc2.select();">
          </p>
        </form>

                  <br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="bordercolor">
                        <table width="100%" border="0" cellpadding="3" cellspacing="0">
                          <tr>
                            <td class="head1" valign="top" colspan="2">{image_name}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_description}</b></td>
                            <td valign="top" class="row1">{image_description}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_keywords}</b></td>
                            <td valign="top" class="row2">{image_keywords}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_date}</b></td>
                            <td valign="top" class="row1">{image_date}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_hits}</b></td>
                            <td valign="top" class="row2">{image_hits}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_downloads}</b></td>
                            <td valign="top" class="row1">{image_downloads}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_rating}</b></td>
                            <td valign="top" class="row2">{image_rating} ({image_votes}
                              {lang_votes})</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_file_size}</b></td>
                            <td valign="top" class="row1">{image_file_size}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_added_by}</b></td>
                            <td valign="top" class="row2">{user_name_link}</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                  {if iptc_info}
<br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="bordercolor">
                        <table width="100%" border="0" cellpadding="3" cellspacing="0">
                          <tr>
                            <td class="head1" valign="top" colspan="2">IPTC Info</td>
                          </tr>
                          {iptc_info}
                        </table>
                      </td>
                    </tr>
                  </table>
                  {endif iptc_info}
{if exif_info}
<br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="bordercolor">
                        <table width="100%" border="0" cellpadding="3" cellspacing="0">
                          <tr>
                            <td class="head1" valign="top" colspan="2">EXIF Info</td>
                          </tr>
                          {exif_info}
                        </table>
                      </td>
                    </tr>
                  </table>
                  {endif exif_info}
{if rate_form}
                  <br />
<div align="center">{rate_form}</div>
                  {endif rate_form}
{if allow_comments}
<a name="comments"></a>
<br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr>
                      <td class="head1" valign="top">
                        <table width="100%" border="0" cellpadding="3" cellspacing="1">
                          <tr>
                            <td valign="top" class="head1">{lang_author}</td>
                            <td valign="top" class="head1">{lang_comment}</td>
                          </tr>
                          {comments}
                        </table>
                      </td>
                    </tr>
                  </table>
                  <br />
                  {comment_form} {endif allow_comments} <br />
                  <br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="bordercolor">
                        <table width="100%" border="0" cellspacing="0" cellpadding="3">
                          <tr valign="top">
                            <td class="row2"> {if prev_image_name}{lang_prev_image}<br />
                              <b><a href="{prev_image_url}">{prev_image_name}</a></b>
                              <!-- <br /><br /><a href="{prev_image_url}"><img src="{prev_thumb_file}" border="1"></a> -->
                              {endif prev_image_name}&nbsp;</td>
                            <td align="right" class="row2"> &nbsp;{if next_image_name}{lang_next_image}<br />
                              <b><a href="{next_image_url}">{next_image_name}</a></b>
                              <!-- <br /><br /><a href="{next_image_url}"><img src="{next_thumb_file}" border="1"></a> -->
                              {endif next_image_name}</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                  <p>&nbsp;</p>
                </td>
                <td width="20" valign="top"><img src="{template_url}/images/spacer.gif" width="19" height="19" alt="" /></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
      <table width="640" border="0" cellspacing="0" cellpadding="0" class="tablebottom">
        <tr>
          <td width="6"><img src="{template_url}/images/footer_left.gif" width="6" height="19" alt="" /></td>
          <td width="405">&nbsp;</td>
          <td width="225">&nbsp;</td>
          <td width="6"><img src="{template_url}/images/footer_right.gif" width="6" height="19" alt="" /></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
{footer}

manurom

  • Guest
Re: A couple of newbie questions...
« Reply #6 on: December 16, 2006, 01:15:51 AM »
Okay;
it seems you have missed some bit of code.
Here is the entire code for your file "details.html":
Code: [Select]
{header}
<table width="640" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>
      <table width="640" border="0" cellspacing="0" cellpadding="0" class="tablehead">
        <tr>
          <td colspan="4"><img src="{template_url}/images/header_top.gif" width="640" height="6" alt="" /></td>
        </tr>
        <tr>
          <td width="6"><img src="{template_url}/images/header_left.gif" width="6" height="60" alt="" /></td>
          <td width="405"><img src="{template_url}/images/header_logo.gif" width="405" height="60" alt="" /></td>
          <td width="225" align="right">
            <form method="post" action="{url_search}">
              <table border="0" cellspacing="0" cellpadding="1">
                <tr>
                  <td>
                    <input type="text" name="search_keywords" size="15" class="searchinput" />
                  </td>
                  <td>
                    <input type="submit" value="{lang_search}" class="button" name="submit" />
                  </td>
                </tr>
                <tr valign="top">
                  <td colspan="2"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td>
                </tr>
              </table>
            </form>
          </td>
          <td align="right" width="6"><img src="{template_url}/images/header_right.gif" width="6" height="60" alt="" /></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td class="bordercolor">
      <table width="640" border="0" cellspacing="1" cellpadding="0">
        <tr>
          <td class="tablebgcolor">
            <table width="638" border="0" cellspacing="1" cellpadding="0">
              <tr>
                <td height="23" class="navbar">
                  <table width="636" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />{clickstream}</td>
                      <td align="right"> <a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp; <a href="{url_new_images}"><b>{lang_new_images}</b></a>&nbsp; </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table width="638" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="150" valign="top" class="row2">
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">{user_box}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
                  {if random_cat_image}
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1"> <br />
                        {random_cat_image} <br />
                        <br />
                      </td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
                  {endif random_cat_image} </td>
                <td width="1" class="bordercolor" valign="top"><img src="{template_url}/images/spacer.gif" width="1" height="1" alt="" /></td>
                <td width="18" valign="top"><img src="{template_url}/images/spacer.gif" width="18" height="18" alt="" /></td>
                <td width="450" valign="top"><br />
                  <b class="title">{image_name}</b>{if image_is_new} <sup class="new">{lang_new}</sup>{endif
                  image_is_new}
                  <hr size="1" />
                  {if msg}<b>{msg}<br />
                  <br />
                  </b>{endif msg}
                  <div align="center">
  {image}
{if admin_links}<br />
                    {admin_links}<br />
                    {endif admin_links}<br />
                    {lightbox_button}&nbsp;&nbsp;{postcard_button}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{download_button}&nbsp;&nbsp;{download_zip_button}

<br />
<br />
        <form>
          <p align="center" class="smallfont"><strong>HTML - For Direct linking </strong><br>
              <input name="directurl" type="text" class="smallfont" onFocus="this.select();" value="{image_path}" size="40" readonly>
              <br>
              <input type="button" name="clipboard" value="select html code" onClick="javascript:this.form.directurl.focus();this.form.directurl.select();">
          </p>
          <p align="center" class="smallfont"><strong>BB Codes - For Forums</strong><br />
                      <input name="directurlbbc" class="smallfont" type="text" class="directurl" onFocus="this.select();" value="[url=http://myspacebars.net][img]{image_path}[/img][/url]" size="40" readonly>
              <br>
              <input type="button" name="clipboard" value="select bb code" onClick="javascript:this.form.directurlbbc.focus();this.form.directurlbbc.select();">
          </p>
          <p align="center" class="smallfont"><strong>Img Codes - For MySpace, Orkut etc </strong><br />
                      <input name="directurlbbc2" class="smallfont" type="text" class="directurl" onFocus="this.select();" value="&lt;a href=&quot;http://myspacebars.net&quot; target=&quot;_blank&quot; title=&quot;Thousands of FREE Userbars at Myspacebars.net&quot;&gt;&lt;img src=&quot;{image_path}&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;" size="40" readonly>
              <br>
              <input type="button" name="clipboard2" value="select img code" onClick="javascript:this.form.directurlbbc2.focus();this.form.directurlbbc2.select();">
          </p>
        </form>

                  <br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="bordercolor">
                        <table width="100%" border="0" cellpadding="3" cellspacing="0">
                          <tr>
                            <td class="head1" valign="top" colspan="2">{image_name}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_description}</b></td>
                            <td valign="top" class="row1">{image_description}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_keywords}</b></td>
                            <td valign="top" class="row2">{image_keywords}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_date}</b></td>
                            <td valign="top" class="row1">{image_date}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_hits}</b></td>
                            <td valign="top" class="row2">{image_hits}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_downloads}</b></td>
                            <td valign="top" class="row1">{image_downloads}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_rating}</b></td>
                            <td valign="top" class="row2">{image_rating} ({image_votes}
                              {lang_votes})</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_file_size}</b></td>
                            <td valign="top" class="row1">{image_file_size}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_added_by}</b></td>
                            <td valign="top" class="row2">{user_name_link}</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                  {if iptc_info}
<br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="bordercolor">
                        <table width="100%" border="0" cellpadding="3" cellspacing="0">
                          <tr>
                            <td class="head1" valign="top" colspan="2">IPTC Info</td>
                          </tr>
                          {iptc_info}
                        </table>
                      </td>
                    </tr>
                  </table>
                  {endif iptc_info}
{if exif_info}
<br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="bordercolor">
                        <table width="100%" border="0" cellpadding="3" cellspacing="0">
                          <tr>
                            <td class="head1" valign="top" colspan="2">EXIF Info</td>
                          </tr>
                          {exif_info}
                        </table>
                      </td>
                    </tr>
                  </table>
                  {endif exif_info}
{if rate_form}
                  <br />
<div align="center">{rate_form}</div>
                  {endif rate_form}
{if allow_comments}
<a name="comments"></a>
<br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr>
                      <td class="head1" valign="top">
                        <table width="100%" border="0" cellpadding="3" cellspacing="1">
                          <tr>
                            <td valign="top" class="head1">{lang_author}</td>
                            <td valign="top" class="head1">{lang_comment}</td>
                          </tr>
                          {comments}
                        </table>
                      </td>
                    </tr>
                  </table>
                  <br />
                  {comment_form} {endif allow_comments} <br />
                  <br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="bordercolor">
                        <table width="100%" border="0" cellspacing="0" cellpadding="3">
                          <tr valign="top">
                            <td class="row2"> {if prev_image_name}{lang_prev_image}<br />
                              <b><a href="{prev_image_url}">{prev_image_name}</a></b>
                              <!-- <br /><br /><a href="{prev_image_url}"><img src="{prev_thumb_file}" border="1"></a> -->
                              {endif prev_image_name}&nbsp;</td>
                            <td align="right" class="row2"> &nbsp;{if next_image_name}{lang_next_image}<br />
                              <b><a href="{next_image_url}">{next_image_name}</a></b>
                              <!-- <br /><br /><a href="{next_image_url}"><img src="{next_thumb_file}" border="1"></a> -->
                              {endif next_image_name}</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                  <p>&nbsp;</p>
                </td>
                <td width="20" valign="top"><img src="{template_url}/images/spacer.gif" width="19" height="19" alt="" /></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
      <table width="640" border="0" cellspacing="0" cellpadding="0" class="tablebottom">
        <tr>
          <td width="6"><img src="{template_url}/images/footer_left.gif" width="6" height="19" alt="" /></td>
          <td width="405">&nbsp;</td>
          <td width="225">&nbsp;</td>
          <td width="6"><img src="{template_url}/images/footer_right.gif" width="6" height="19" alt="" /></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
{footer}
Copy attached.

Offline DrAwesome

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: A couple of newbie questions...
« Reply #7 on: December 16, 2006, 01:25:56 AM »
its still showing the image :(

manurom

  • Guest
Re: A couple of newbie questions...
« Reply #8 on: December 16, 2006, 01:42:34 AM »
How do you update your file?
In the correct file, at line 117, the code is:
Code: [Select]
<input name="directurlbbc2" class="smallfont" type="text" class="directurl" onFocus="this.select();" value="&lt;a href=&quot;http://myspacebars.net&quot; target=&quot;_blank&quot; title=&quot;Thousands of FREE Userbars at Myspacebars.net&quot;&gt;&lt;img src=&quot;{image_path}&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;" size="40" readonly>
              <br>
              <input type="button" name="clipboard2" value="select img code" onClick="javascript:this.form.directurlbbc2.focus();this.form.directurlbbc2.select();">
          </p>

But when i look your code it shows:
Code: [Select]
<input name="directurlbbc2" class="smallfont" type="text" class="directurl" onFocus="this.select();" value="<a href="http://myspacebars.net" target="_blank" title="Thousands of FREE Userbars at Myspacebars.net"><img src="{image_path}" border="0"/></a>" size="40" readonly>
              <br>
              <input type="button" name="clipboard2" value="select img code" onClick="javascript:this.form.directurlbbc2.focus();this.form.directurlbbc2.select();">
          </p>

Look at what is different after "value".
Have you tried to upload the file in the attached zip?

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: A couple of newbie questions...
« Reply #9 on: December 16, 2006, 01:50:53 AM »
... the "<a href= " problem was described already here ...
... I think there is also a solution ...
http://www.4homepages.de/forum/index.php?topic=6692.msg81434#msg81434

Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

manurom

  • Guest
Re: A couple of newbie questions...
« Reply #10 on: December 16, 2006, 01:57:02 AM »
Many thanks, Mawenzi.
I was thinking the problem was on the server, but waiting for answer, as the uploaded file contains the wrong code.

Offline DrAwesome

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: A couple of newbie questions...
« Reply #11 on: December 16, 2006, 02:08:17 AM »
Before I was updating it via the admin panel, but I just tried to do it via FTP and it didn't work either. It seems to be changing those tags after value when i upload it. :S

manurom

  • Guest
Re: A couple of newbie questions...
« Reply #12 on: December 16, 2006, 02:12:27 AM »
Please look in your PM.

Offline DrAwesome

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: A couple of newbie questions...
« Reply #13 on: December 16, 2006, 02:55:29 AM »
Hey,

I got it to work! Thanks for all your help Manurom, I could have never figured this out myself. Now, next question :P How do I change the page width again?

manurom

  • Guest
Re: A couple of newbie questions...
« Reply #14 on: December 16, 2006, 10:38:50 AM »
Look for:
Code: [Select]
<table width="640" border="0" cellspacing="0" cellpadding="0" align="center">and change "table width="640"" with "table width="xxx"" where xxx are the number of pixels of your table width (750 should be a good value for you).

Maybe you will have also to change "table width="450"" by "table width="100%"" to get it more stable.

Changes have to be made in each html file in the template.