Author Topic: [Guide] How To Add A Banner!  (Read 50206 times)

0 Members and 1 Guest are viewing this topic.

Offline Games

  • SMF For Free Member
  • *
  • Posts: 43
    • View Profile
    • Games

  • Total Badges: 11
    Badges: (View All)
    Apple User Topic Starter Combination Level 2 Level 1
Re: [Guide] How To Add A Banner!
« Reply #15 on: June 14, 2009, 02:36:16 pm »
Forum Url: http://everygame.smfforfree.com
Nice guide.

The admin area upload banner will add statistics of your forum, which can be quite annoying and can ruin a banner. How do you get rid of these?

www.everygame.smfforfree.com
If you even remotely like games, join today!

Offline Seldom Fail

  • Helpers
  • *
  • Posts: 2082
  • Helping for 3 years! :)
    • View Profile
    • My Site!

  • Total Badges: 26
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Apple User Search Poll Voter
Re: [Guide] How To Add A Banner!
« Reply #16 on: June 14, 2009, 02:46:52 pm »
Those are automatically put on there through that feature.

Make your image through an image creator program (paint, GIMP, PhotoShop, etc.)

Upload your image to a image hoster (tinypic, photobucket, etc.)

Retrieve the URL and use that one ;)
<--- Donate to SMF For Free! :D

Offline Games

  • SMF For Free Member
  • *
  • Posts: 43
    • View Profile
    • Games

  • Total Badges: 11
    Badges: (View All)
    Apple User Topic Starter Combination Level 2 Level 1
Re: [Guide] How To Add A Banner!
« Reply #17 on: June 14, 2009, 06:17:55 pm »
Those are automatically put on there through that feature.

Make your image through an image creator program (paint, GIMP, PhotoShop, etc.)

Upload your image to a image hoster (tinypic, photobucket, etc.)

Retrieve the URL and use that one ;)

Alright thanks :)

www.everygame.smfforfree.com
If you even remotely like games, join today!

Offline Mago

  • SMF For Free Full Member
  • *
  • Posts: 137
    • View Profile

  • Total Badges: 18
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Level 4 Fourth year Anniversary Search
Re: [Guide] How To Add A Banner!
« Reply #18 on: July 13, 2009, 11:41:59 am »
Forum Url: http://runescapmoparscpe.smfforfree4.com
Hay Loads of people have been asking me 'how do i add a banner'

well this is for them..

Step 1:
get the banner you want to add, and go to photobucket.com and upload it....

Step 2:
go on your forums and go to
Code: [Select]
Admin-->Manage Styles-->Edit Headers/Footers
Step 3:
Add this code to your headers..
Code: [Select]
<img src="DIRECT LINK" border="0" alt="Banner">
In the DIRECT LINK put the direct link code form photo bucket

If you want the banner centered:

Code: [Select]
<div align="center">
    <img src="IMAGE URL" alt="" />
</div>

Step 4:

DONE =]

thanx for reading =]!

Thanks very much for this info, this is what I have accheived.

http://irishroadracers.smfforfree.com/index.php

Offline quendra

  • SMF For Free Member
  • *
  • Posts: 39
    • View Profile

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Guide] How To Add A Banner!
« Reply #19 on: July 22, 2009, 02:07:54 am »
I have a question, what is the right size? thanx.  8)

Offline Seldom Fail

  • Helpers
  • *
  • Posts: 2082
  • Helping for 3 years! :)
    • View Profile
    • My Site!

  • Total Badges: 26
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Apple User Search Poll Voter
Re: [Guide] How To Add A Banner!
« Reply #20 on: July 22, 2009, 06:20:22 am »
Because we all use different screen resolutions, there is no "right size"

Your forum may be a certain width on your monitor but completely different on someone else's. ;)
<--- Donate to SMF For Free! :D

Offline Zion

  • SMF For Free Full Member
  • *
  • Posts: 104
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 100 Posts
Re: [Guide] How To Add A Banner!
« Reply #21 on: October 01, 2009, 02:37:31 am »
Simple Guide, but well written. :)
I'm Back and trying harder.

Offline Raven Star

  • SMF For Free Member
  • *
  • Posts: 37
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Guide] How To Add A Banner!
« Reply #22 on: November 19, 2009, 04:39:29 pm »
Wow nice guide ... What is the max size I can use on my forums? 750 by 300? ???

Offline santaorb

  • SMF For Free Newbie
  • *
  • Posts: 10
    • View Profile

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Guide] How To Add A Banner!
« Reply #23 on: January 13, 2010, 11:56:13 am »
thanks just what i needed :D

Offline Branimir2412

  • SMF For Free Newbie
  • *
  • Posts: 2
    • View Profile

  • Total Badges: 3
    Badges: (View All)
    Topic Starter Level 1 First Post
Re: [Guide] How To Add A Banner!
« Reply #24 on: November 03, 2011, 09:04:01 am »
Hi

I have big problem with puting banner on smf 2.0 RC5 forum. I have follow this tutorial and didn't get what I need.

This is code that I have put on this place: // Custom banners and shoutboxes should be placed here, before the linktree.

<div align="center">
    <a href="http://battlelog.battlefield.com/bf3/gate/?returnUrl=|bf3|servers|show|34694cfe-665b-4bcb-947a-d0c4be70f868|Playomania-by-Diabolic|"><img src="http://www.playomania.com/uploads/battlefiel3_banner.png" alt="" title="Click here to return to the index!" /></a>
</div>

and when I do that I get this error:



Uploaded with ImageShack.us

Can someone help me with this?

Here is code from 159 to 238 line with my code for banner:

function template_body_above()
{
   global $context, $settings, $options, $scripturl, $txt, $modSettings;

   echo !empty($settings['forum_width']) ? '
<div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '
    <div id="header">
        <div id="userarea" class="smalltext">';
         if ($context['user']['is_logged']){
         echo '
        <ul class="reset">
             <li class="greeting"><strong>', $txt['hello_member_ndt'], ' <span>', $context['user']['name'], '</span></strong></li>';
         echo '
             <li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
             <li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>
             <li>', $context['current_time'],'</li>
         </ul>';}

   // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
   elseif (!empty($context['show_login_bar']))
   {
      echo '
            <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script>
            <form id="guest_form" action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
               <div class="info">', $txt['login_or_register'], '</div>
               <input type="text" name="user" class="inputs" size="10" />
               <input type="password" name="passwrd" style="background: #1e1e1e; color: #c9c9c9; border-top: 1px solid #000000; border-right: 1px solid #454545; border-bottom: 1px solid #454545; border-left: 1px solid #000000; font-size: 90%; padding: 2px;" size="10" />
               <input type="submit" value="', $txt['login'], '" class="button_submit" /><br />';

      if (!empty($modSettings['enableOpenID']))
         echo '
               <br /><input type="text" name="openid_identifier" id="openid_url" size="25" class="input_text openid_login" />';

      echo '
               <input type="hidden" name="hash_passwrd" value="" />
            </form>';
     }
   echo '
     </div>';

  // Show a random news item? (or you could pick one from news_lines...)
   if (!empty($settings['enable_news']))
   {
      echo '<div id="news">
        <b>', $txt['news'], ':</b> ', $context['random_news_line'], '</div>';
   }
    echo '
           <div id="logo">
          <a href="'.$scripturl.'" title=""></a>
        </div>';
      echo '
   </div>
       <br class="clear" />';

   // Show the menu here, according to the menu sub template.
  echo '
<div id="toolbar-l">
    <div id="toolbar-r">
        <div id="toolbar">
          ',template_menu(),'
       </div>
     </div>
  </div>';

         if(!empty($context['user']['unread_messages'])) {     
   echo '<br /><br /><div class="categoryframe tborder" style="width: 90%; text-align: center; margin: auto;"><h3 class="catbg headerpadding"><center>';       
   echo '<a href="', $scripturl, '?action=pm">', $txt['msg_alert_you_have'], ' ', $context['user']['messages'], ' ', $context['user']['messages'] != 1 ? $txt['msg_alert_messages'] : $txt['message_lowercase'], $txt['newmessages4'], ' ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'] , '.</a>';       
   echo '</center></h3></div>'; }

   // The main content should go here.
   echo '
       <div id="bodyarea">';

   // Custom banners and shoutboxes should be placed here, before the linktree.

<div align="center">
    <a href="http://battlelog.battlefield.com/bf3/gate/?returnUrl=|bf3|servers|show|34694cfe-665b-4bcb-947a-d0c4be70f868|Playomania-by-Diabolic|"><img src="http://www.playomania.com/uploads/battlefiel3_banner.png" alt="" title="Click here to return to the index!" /></a>
</div>

   // Show the navigation tree.
   theme_linktree();
}



Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Guide] How To Add A Banner!
« Reply #25 on: November 03, 2011, 09:12:20 am »
Branimir2412  -  wrong Support Forum  :)   Your forum is not hosted with our service. 

Offline Branimir2412

  • SMF For Free Newbie
  • *
  • Posts: 2
    • View Profile

  • Total Badges: 3
    Badges: (View All)
    Topic Starter Level 1 First Post
Re: [Guide] How To Add A Banner!
« Reply #26 on: November 03, 2011, 09:17:36 am »
Oh, my bad.
Thanks

Offline WVaGAL

  • SMF For Free Full Member
  • *
  • Posts: 177
  • Live everyday like it's your last!
    • View Profile
    • Dezarae's Politics & More

  • Total Badges: 21
    Badges: (View All)
    Level 5 Fifth year Anniversary Fourth year Anniversary Third year Anniversary Second year Anniversary
Re: [Guide] How To Add A Banner!
« Reply #27 on: February 15, 2012, 12:12:03 am »
I am pleased that I ran across this topic..I have been wanting a banner for my forum..Thanks! :)
http://dezaraespoliticsmore.freesmfhosting.com/index.php

Come Visit Us..We Would Love To Have You!

Offline WVaGAL

  • SMF For Free Full Member
  • *
  • Posts: 177
  • Live everyday like it's your last!
    • View Profile
    • Dezarae's Politics & More

  • Total Badges: 21
    Badges: (View All)
    Level 5 Fifth year Anniversary Fourth year Anniversary Third year Anniversary Second year Anniversary
Re: [Guide] How To Add A Banner!
« Reply #28 on: February 19, 2012, 03:18:21 am »
Where are some good places to find banners?  :smiley6600:
http://dezaraespoliticsmore.freesmfhosting.com/index.php

Come Visit Us..We Would Love To Have You!

Offline Andrew

  • Helpers
  • *
  • Posts: 2059
  • Andrew at your service
    • View Profile
    • The Tech Cadet

  • Total Badges: 29
    Badges: (View All)
    Seventh year Anniversary Sixth year Anniversary Apple User Mobile User Fifth year Anniversary
Re: [Guide] How To Add A Banner!
« Reply #29 on: February 19, 2012, 09:26:04 am »
Where are some good places to find banners?  :smiley6600:

Google