Advertise Here

Author Topic: [Code] Change Text where it says your board name up top  (Read 5800 times)

0 Members and 1 Guest are viewing this topic.

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
[Code] Change Text where it says your board name up top
« on: May 12, 2007, 08:56:55 pm »
Add this to your headers if you don't have it:
Code: [Select]
<script> src="/jquery.js"></script>
Code: [Select]
<script>
function headertext(Text){
//Created by Agent Moose (smcodes.smfforfree3.com)
$("div.tborder table tbody tr td.catbg span").html(Text);
});}
headertext("TEXT");
</script>
Put in Footer.

This will change the text where it says the board name uptop, well, you can change it, but normally it would say the board name uptop, it is also where the logo goes.

TEXT = The Text that you want the board name part to be.

Enjoy :)
« Last Edit: May 02, 2008, 09:11:59 pm by Agent Moose »
Check out Revolution X's Brand new Code Index!

Offline Kimmie

  • SMF For Free Master
  • *
  • Posts: 2010
    • View Profile
    • Kimmie's Caverns

  • Total Badges: 19
    Badges: (View All)
    Topic Starter Combination Level 4 Level 3 Level 2
Re: Change Text where it says your board name up top
« Reply #1 on: May 12, 2007, 11:05:36 pm »
We can pretty much already do this by going to Admin CP > Forum Settings > Forum Title. You can use tags such as <b> and <i> in there too :) (http://theplayground.smfforfree2.com/index.php  my test site so you can see my Welcome title).  ;)

My ? is....since all the initial welcome emails, emails people get when they have it set to notify them via email about PM's, etc, pull from this section and appear as the "From" heading in those emails, does your code affect that as well?  :)

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: Change Text where it says your board name up top
« Reply #2 on: May 13, 2007, 12:12:02 am »
I don't know if it does affect it or not, Haven't tested it yet.
Check out Revolution X's Brand new Code Index!

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: Change Text where it says your board name up top
« Reply #3 on: May 13, 2007, 12:24:03 am »
I didnt think it would because it does not actually change the "forum title" field.   It only replaces the board name in that catbg area ;)   You'll notice your forum name will still be the same just above the first board on your forum.

But.. I tested it at my mysmf.com test site.   Set it up.. sent myself some pms.   They come in fine, as they should  :)
« Last Edit: May 13, 2007, 12:30:36 am by simply sibyl »

Offline Kimmie

  • SMF For Free Master
  • *
  • Posts: 2010
    • View Profile
    • Kimmie's Caverns

  • Total Badges: 19
    Badges: (View All)
    Topic Starter Combination Level 4 Level 3 Level 2
Re: Change Text where it says your board name up top
« Reply #4 on: May 13, 2007, 02:37:26 am »
I didnt think it would because it does not actually change the "forum title" field.   It only replaces the board name in that catbg area ;)   You'll notice your forum name will still be the same just above the first board on your forum.

But.. I tested it at my mysmf.com test site.   Set it up.. sent myself some pms.   They come in fine, as they should  :)

Awesome!  Thanks for testing it out :)

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: Change Text where it says your board name up top
« Reply #5 on: May 13, 2007, 11:26:38 am »
Ok, the main reason why I made this is because if you do use HTML where you can change it without use my code, it shows it up at the top of your browser because it acts like it is part of the title.
Check out Revolution X's Brand new Code Index!

 

Related Topics

  Subject / Started by Replies Last post
15 Replies
4364 Views
Last post October 20, 2007, 06:44:16 pm
by Mary
15 Replies
7959 Views
Last post December 16, 2008, 05:33:15 pm
by simply sibyl
1 Replies
10077 Views
Last post July 03, 2008, 07:51:18 pm
by Kalphiter
4 Replies
2141 Views
Last post November 05, 2008, 10:43:36 pm
by Vitality
10 Replies
5873 Views
Last post April 18, 2009, 11:36:04 am
by Andrew