Advertise Here

Author Topic: [Code] Add Box Above Ads  (Read 18699 times)

0 Members and 1 Guest are viewing this topic.

Offline Supernovadelta

  • SMF For Free Member
  • *
  • Posts: 92
  • Supernovadelta Productions.
    • View Profile
    • supernovadelta

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add Box Above Ads
« Reply #15 on: June 20, 2008, 07:51:59 pm »
Thanks so much for this Agent Moose. ;D

Offline atlantic reefer

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

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add Box Above Ads
« Reply #16 on: June 20, 2008, 07:56:15 pm »
ok got another quick question for moose.  is there a way to maybe modify the code to have it be like the box that it is below the ads but just add scrolling text instead of having the entire three rows,  like a html section?  i hope this makes since
Shane
My Forums (still under construction) - , http://tropiccentral.smfforfree4.com/ <--- maintenance mode

Offline Molly

  • SMF For Free Full Member
  • *
  • Posts: 157
    • View Profile
    • Oak Grove

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add Box Above Ads
« Reply #17 on: June 22, 2008, 05:00:15 pm »
Forum Url: http://oakgrove.smfforfree4.com
I have been playing with it (to add more of the graphics to it is all) and finally got it where it would do what I wanted only to discover that I have this issue.  :uglystupid2: If you go to the site you shall see....it covers my banner at the top and that just aint right LOL Can ya fix that? btw here is the code where I tweaked it just in case I did something to it. (which is always a good possiblity.)

Code: [Select]
<script>
var Title = "Extras";
var Wikia = "<a href='http://oakgrove.smfforfree4.com/pages/oakgrove/wikia.php'>Oak Groves Wikia</a>";
var Image = "http://i255.photobucket.com/albums/hh144/jemsworld/hokeypokey1.gif";
var MarketPlace = "<a href='http://oakgrove.smfforfree4.com/pages/oakgrove/marketplace.php'>MarketPlace</a>";
var Image = "http://i255.photobucket.com/albums/hh144/jemsworld/hokeypokey1.gif";
var Chat = "<a href='http://oakgrove.smfforfree4.com/index.php/board,150.0.html'>Chat</a>";
var Image = "http://i255.photobucket.com/albums/hh144/jemsworld/hokeypokey1.gif";

//Created by Agent Moose (smcodes.smfforfree3.com)
$(".maintab_last").parent().parent().parent().after('<div id="SOTW"><div class="tborder" style="margin-top: 1ex;"><div class="catbg" style="padding: 5px 5px 5px 10px;">' + Title + '</div><table id="upshrinkHeader2" width="100%" cellpadding="4" cellspacing="0" border="0"><tr><td class="titlebg2"></td></tr><td class="windowbg"><b>Wikia</b>: ' + Wikia + '<br><img src="' + Image + '"/></td><td class="windowbg"><b>MarketPlace</b>: ' + MarketPlace + '<br><img src="' + Image + '"/></div></td><td class="windowbg"><b>Chat</b>: ' + Chat + '<br><img src="' + Image + '"/></div></td></table></div>');
</script>

Thanks :)

Offline Mystic_kid2k6

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

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Add Box Above Ads
« Reply #18 on: November 22, 2008, 02:29:10 pm »
Hey, how come when I add this it goes above the adds and down below like right above the forum stats?

Offline Andrew

  • Helpers
  • *
  • Posts: 2060
  • Andrew at your service
    • View Profile
    • Alabama Weather Prediction

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: [Code] Add Box Above Ads
« Reply #19 on: November 27, 2008, 02:23:57 pm »
Very cool Moose, we could use a code like this

Offline ReNeGaDe

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

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Code] Add Box Above Ads
« Reply #20 on: November 27, 2008, 03:21:14 pm »
is there any way i could embed a chatbox in this?

Offline Andrew

  • Helpers
  • *
  • Posts: 2060
  • Andrew at your service
    • View Profile
    • Alabama Weather Prediction

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: [Code] Add Box Above Ads
« Reply #21 on: November 27, 2008, 05:09:44 pm »
Hey, how come when I add this it goes above the adds and down below like right above the forum stats?
Possibly cause you added it to headers AND footers, pick one, dont use both :)

Offline Andrew

  • Helpers
  • *
  • Posts: 2060
  • Andrew at your service
    • View Profile
    • Alabama Weather Prediction

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: [Code] Add Box Above Ads
« Reply #22 on: November 27, 2008, 05:10:43 pm »
is there any way i could embed a chatbox in this?
Depends, do you use a chat box that is dirrectly to your site, or do you have your own seperate group?

Offline ReNeGaDe

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

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Code] Add Box Above Ads
« Reply #23 on: November 28, 2008, 08:23:15 am »
directly to my site

Offline Andrew

  • Helpers
  • *
  • Posts: 2060
  • Andrew at your service
    • View Profile
    • Alabama Weather Prediction

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: [Code] Add Box Above Ads
« Reply #24 on: November 30, 2008, 01:12:01 am »
OK then do this
>Admin CP
>webpage editor
there should be a thing for chat there, make the URL as you wish :)

NOTE:that will be everywhere on your site, even when you go to different parts of it

Offline - Lawrence -

  • SMF For Free Hero
  • *
  • Posts: 549
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add Box Above Ads
« Reply #25 on: November 30, 2008, 05:05:51 am »
I am a little confussed  :idiot2: Where abouts will this show up?

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: [Code] Add Box Above Ads
« Reply #26 on: November 30, 2008, 05:21:33 am »
It will be just under the tab bar (Home, Help, Search, etc.) at the top of your forum..   above the ads

Offline BBfan940

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

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add Box Above Ads
« Reply #27 on: November 30, 2008, 07:46:16 am »
Can you post an image on what it would look like? Just curious before I edit my settings ;)

Thanks

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: [Code] Add Box Above Ads
« Reply #28 on: November 30, 2008, 07:49:48 am »
Can you post an image on what it would look like? Just curious before I edit my settings ;)

Thanks

It looks pretty much exactly like the News Fader..   it will be just under the tabs and centered.  It will show on all pages on your forum instead of just the Board Index.
You can put the code(s) in and if you dont care for it remove the code(s)  or use a test forum to test things out on so that you know how they look and work before you put them on your real forum  (thats the best way to do it)

Offline - Lawrence -

  • SMF For Free Hero
  • *
  • Posts: 549
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add Box Above Ads
« Reply #29 on: November 30, 2008, 11:41:30 am »
Forum Url: http://tio.smfforfree3.com
Can you post an image on what it would look like? Just curious before I edit my settings ;)

Thanks

This is a forum I created to test out this Box:

http://tio.smfforfree3.com/

 

Related Topics

  Subject / Started by Replies Last post
21 Replies
12542 Views
Last post August 16, 2009, 09:16:42 pm
by [FailSafe]
8 Replies
4079 Views
Last post October 08, 2007, 10:37:44 am
by R u n e s c a p e
8 Replies
4341 Views
Last post November 15, 2007, 11:58:56 am
by simply sibyl
8 Replies
7252 Views
Last post July 09, 2008, 07:17:47 pm
by LaundryLady
1 Replies
2060 Views
Last post November 12, 2008, 07:59:32 am
by simply sibyl