Advertise Here

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

0 Members and 1 Guest are viewing this topic.

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 #30 on: November 30, 2008, 03:29:41 pm »
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)
Hmm great idea :) Thanks

Offline B E N E L

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

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: [Code] Add Box Above Ads
« Reply #31 on: June 19, 2009, 04:16:58 pm »
Can u change it so i want title, donations and the img url can u please do that, all credit goes for u ;)
BEST RSPS CLICK SIG DL THE CLIENT Here Runelocus CLICK HERE JOIN!!

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: [Code] Add Box Above Ads
« Reply #32 on: June 19, 2009, 04:26:01 pm »
Can u change it so i want title, donations and the img url can u please do that, all credit goes for u ;)

I don't understand what you're looking for. Could you please explain a little better?
<--- Donate to SMF For Free! :D

Offline мσנσвσנσ82

  • SMF For Free Sr. Member
  • *
  • Posts: 310
    • View Profile
    • Darkilscape

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add Box Above Ads
« Reply #33 on: June 19, 2009, 06:25:00 pm »
Hey Moose.
Nicely done code.
But for some reason it doesn't work on my forum.
Forum Url:
www.darkilscape.com

Code: [Select]
<script>
var Title = "SOTW 1 Winner | Render";
var Winner = "Didds";
var Image = "http://i422.photobucket.com/albums/pp309/didds_bucket/AndrewDragonsig.png";

//Created by Agent Moose (smcodes.smfforfree3.com)
$("#bodyarea").before('<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><div class="windowbg"><b>Winner</b>: ' + Winner + '<br><img src="' + Image + '"/></div></table></div>');
</script>

I tried that with under Ads and On top of ads.
Maybe is it because I removed ads on forum?



Offline мσנσвσנσ82

  • SMF For Free Sr. Member
  • *
  • Posts: 310
    • View Profile
    • Darkilscape

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add Box Above Ads
« Reply #34 on: June 21, 2009, 04:54:42 pm »
Bump



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: [Code] Add Box Above Ads
« Reply #35 on: June 21, 2009, 05:31:45 pm »
Mojo - I checked your source code, you have the code in your HEADERS.

Put the code in your footers and it will work for you ;)
<--- Donate to SMF For Free! :D

Offline мσנσвσנσ82

  • SMF For Free Sr. Member
  • *
  • Posts: 310
    • View Profile
    • Darkilscape

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add Box Above Ads
« Reply #36 on: June 22, 2009, 02:19:42 am »
Oh. Ok. Thanks



Offline мσנσвσנσ82

  • SMF For Free Sr. Member
  • *
  • Posts: 310
    • View Profile
    • Darkilscape

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add Box Above Ads
« Reply #37 on: June 22, 2009, 02:22:58 am »
Yay! It works. Now is there a way to center it?


Edit:

I think theres a glitch.
I see the Picute and winner and title everything up the top. But anywhere in the "Manage Styles" in the Admin Pannel
It pop's up on the top and it pops up here.

The Top Image is up the top. Where it's meant to be.

The 2nd one isn't meant to be there?

On top of the
This is the Style Editor for your forum

Style Picker:
« Last Edit: June 22, 2009, 03:03:18 am by мσנσвσנσ82 »



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: [Code] Add Box Above Ads
« Reply #38 on: June 22, 2009, 06:35:19 am »
I checked your source code... something was wrong with the code you used.

Use this one instead
Code: [Select]
<script>
var Title = "SOTW 1 Winner | Render";
var Winner = "Didds";
var Image = "http://i422.photobucket.com/albums/pp309/didds_bucket/AndrewDragonsig.png";

//Created by Agent Moose (smcodes.smfforfree3.com)
$("#bodyarea").before('<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><div class="windowbg"><b>Winner</b>: ' + Winner + '<br><img src="' + Image + '"/></div></table></div>');
</script>


To center it, you'll need to do this:
Code: [Select]
<script>
var Title = "SOTW 1 Winner | Render";
var Winner = "Didds";
var Image = "http://i422.photobucket.com/albums/pp309/didds_bucket/AndrewDragonsig.png";

//Created by Agent Moose (smcodes.smfforfree3.com)
$("#bodyarea").before('<div id="SOTW"><div class="tborder" style="margin-top: 1ex;"><div style="text-align: center;" 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><div style="text-align: center;" class="windowbg"><b>Winner</b>: ' + Winner + '<br><img src="' + Image + '"/></div></table></div>');
</script>
« Last Edit: June 22, 2009, 06:44:39 am by Seldom Fail »
<--- Donate to SMF For Free! :D

Offline мσנσвσנσ82

  • SMF For Free Sr. Member
  • *
  • Posts: 310
    • View Profile
    • Darkilscape

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add Box Above Ads
« Reply #39 on: June 22, 2009, 06:42:35 am »
Now it's doing this




EDIT:

« Last Edit: June 22, 2009, 06:51:16 am by мσנσвσנσ82 »



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: [Code] Add Box Above Ads
« Reply #40 on: June 22, 2009, 06:52:26 am »
That's because of the "group image" code you are using. That has nothing to do with this code.
<--- Donate to SMF For Free! :D

Offline мσנσвσנσ82

  • SMF For Free Sr. Member
  • *
  • Posts: 310
    • View Profile
    • Darkilscape

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Add Box Above Ads
« Reply #41 on: June 22, 2009, 07:24:31 am »
That's because of the "group image" code you are using. That has nothing to do with this code.
Ok. Well I've just removed that code.
When I add a staff member I'll use Name across board



Offline SpazzinOut

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

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Add Box Above Ads
« Reply #42 on: May 16, 2011, 06:34:28 pm »
how do u add cbox chat into the code? i tried the webpage editor and using that code but it doesn't come up. its just the whole cbox code written out with errors on the top of the site

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: [Code] Add Box Above Ads
« Reply #43 on: May 16, 2011, 08:07:43 pm »
SpazzinOut - can you give us:

  • Your forum URL
  • The code you used
  • And EXACTLY what you tried. (settings, where you put the code, etc.)
<--- Donate to SMF For Free! :D

Offline SpazzinOut

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

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Add Box Above Ads
« Reply #44 on: May 17, 2011, 03:09:52 pm »
i decided to go with the ez portal. So nevermind my post and ty andrew  ;)

 

Related Topics

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