Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: rendi - helmikuu 23, 2006, 11:22:40 IP

Otsikko: need help how to make new on.gif
Kirjoitti: rendi - helmikuu 23, 2006, 11:22:40 IP
hi
how to make new 4 on.gif this is my code

Lainaa
// Please insert your AdSense ID here. You may also completely change the content here with any 234X60 ad code.
           echo '
         <b><a href="', $scripturl, '?board=1.0" name="b1">
                     <script type="text/javascript"><!--
                     google_ad_client = "pub-xxxxxxxxxxxxxxxxx";
                     google_ad_width = 336;
                     google_ad_height = 280;
                     google_ad_format = "336x280_as";
                     google_ad_type = "text";
                     google_ad_channel ="7243975688";
                     google_color_border = "ECF3EB";
                     google_color_bg = "ECF3EB";
                     google_color_link = "000080";
                     google_color_url = "000001";
                     google_color_text = "000001";

                     //--></script>
                     <script type="text/javascript"
                       src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                     </script>
    </td>
    <td width="8%" align="center" class="CatBd2">
    <span class="smalltext">Main<br>forum
      </span>

    </td>
    <td width="46%"  class="CatBd2">
    <span class="smalltext">
         Last post on ', $context['current_time'], ' <br />
         in <a href="', $scripturl, '" title="Bispak Today">Bispak Today</a> by <a href="http://yahoo.org">Bispak</a>
    </span>

    </td>
    <td width="0%" style="background-image: url(' . $settings['images_url'] . '/C-TabR1a.gif);"></td>
  </tr>
  <tr>
    <td width="0%"></td>
    <td width="0%"><img src="' . $settings['images_url'] . '/C-TabB1.gif" width="53" height="7" alt="" /></td>
    <td width="33%" style="background-image: url(' . $settings['images_url'] . '/C-TabB2.gif);"></td>
    <td width="33%" style="background-image: url(' . $settings['images_url'] . '/C-TabB2.gif);"></td>
    <td width="34%" style="background-image: url(' . $settings['images_url'] . '/C-TabB2.gif);"></td>

    <td width="0%"><img src="' . $settings['images_url'] . '/C-TabB3.gif" width="7" height="7" alt="" /></td>
  </tr>
</table></div></div><br />';
   /* Each category in categories is made up of:
      id, href, link, name, is_collapsed (is it collapsed?), can_collapse (is it okay if it is?),
      new (is it new?), collapse_href (href to collapse/expand), collapse_image (up/down iamge),
      and boards. (see below.) */
   foreach ($context['categories'] as $category)
   {


and this is the image
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg47.imageshack.us%2Fimg47%2F9874%2Fnew4bm.jpg&hash=bed1262ddd89fa0389d391b5eb23e1f53371add6) (http://imageshack.us)
Otsikko: Re: need help how to make new on.gif
Kirjoitti: Primal_1 - helmikuu 23, 2006, 11:43:35 IP
Hi, I just did this myself on my new forum setup.

You need to find where that specific graphic is in the theme, that you are using, directory. All you need to do then is find out the size and make an new graphic, in the software of your choice, that will fit into where you want to replace it. Then simply remove the old gif and replace with the new gif you found or created.

My site is: http://primal1.com/forum and I've changed the buttons on it to match a theme I want.

I hope I understood you correctly and this is what you wanted.
Otsikko: Re: need help how to make new on.gif
Kirjoitti: rendi - helmikuu 24, 2006, 02:04:27 AP
Lainaus käyttäjältä: Primal_1 - helmikuu 23, 2006, 11:43:35 IP
Hi, I just did this myself on my new forum setup.

You need to find where that specific graphic is in the theme, that you are using, directory. All you need to do then is find out the size and make an new graphic, in the software of your choice, that will fit into where you want to replace it. Then simply remove the old gif and replace with the new gif you found or created.

My site is: http://primal1.com/forum and I've changed the buttons on it to match a theme I want.

I hope I understood you correctly and this is what you wanted.

no no no your misunderstood i mean how to make 4 button cause i can only make 1 new button as you can see this for google adsense advertiser

sorry my bad english