Advertise Here

Author Topic: [Code] Change "Hello" Text  (Read 4891 times)

0 Members and 1 Guest are viewing this topic.

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 "Hello" Text
« Reply #15 on: June 13, 2007, 06:13:49 pm »
Forum Url: http://sickgaming.smfforfree2.com
It didn't work for me. It still shows up as "Hello __________".

Help

are you using the main header code that is needed to run these scripts?

Code: [Select]

 <script language="JavaScript" type="text/javascript" src="http://209.85.48.12/9581/134/upload/p4217340.ibf">//Jquery code</script>



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 "Hello" Text
« Reply #16 on: June 13, 2007, 06:21:29 pm »
this part of your script is wrong:

Code: [Select]

$("table td.titlebg2 span").contains("Hello").html(text).append("&nbsp;<b>"+a+"</b>");


Where the "&nbsp" is, yours says "&ensp"

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 "Hello" Text
« Reply #17 on: June 13, 2007, 06:36:14 pm »
Sorry that I didn't post this in the earlyer, but I helped him out.  I couldn't remember what the thing for spacing was, so I used another one for him that i did remember.

The reason why it wasnt working is because he didn't have the part that your supposed to have with all my codes at the top of the headers.
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 "Hello" Text
« Reply #18 on: June 13, 2007, 06:40:04 pm »
Sorry that I didn't post this in the earlyer, but I helped him out.  I couldn't remember what the thing for spacing was, so I used another one for him that i did remember.

The reason why it wasnt working is because he didn't have the part that your supposed to have with all my codes at the top of the headers.

ahhhh ok. Yeah, that was my first guess - so I went and looked at his headers/footers and saw that he had that header code so then I went through each line of code to see if there was an error.

Maybe edit your original post and put that header code in for people so they know to use it?  ;)

Offline LAzArUs ™

  • SMF For Free Member
  • *
  • Posts: 63
    • View Profile
    • AFP Alliance Forum

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: Change "Hello" Text
« Reply #19 on: June 13, 2007, 07:40:35 pm »
so it's the "&ensp" thing that made it wrong. i try to add it before and it didnt work but now its fine.  :)

thank you.  ;)



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 "Hello" Text
« Reply #20 on: June 13, 2007, 08:18:06 pm »
so it's the "&ensp" thing that made it wrong. i try to add it before and it didnt work but now its fine.  :)

thank you.  ;)




no that part of the code is what puts a blank space "space" between the words Hello and the members name so the words wont run together.

The reason why the script didnt work is because in addition to these scripts, you also need to insert the main script in your headers that make them work. (i posted the code a few posts back). If this code isnt in your headers, most, if not all of Moose's codes will not work.

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] Change "Hello" Text
« Reply #21 on: February 20, 2009, 06:15:07 pm »
Just added this one on my test server.
I changed the word to "Ahoy"

And what is displayed it "Ahoy 27"

 

Related Topics

  Subject / Started by Replies Last post
35 Replies
9593 Views
Last post February 02, 2010, 08:22:56 am
by Agent Moose
6 Replies
2767 Views
Last post January 26, 2009, 03:25:41 pm
by Agent Moose
11 Replies
5082 Views
Last post June 23, 2007, 12:35:24 am
by Agent Moose
3 Replies
3265 Views
Last post July 27, 2007, 05:10:31 pm
by doggiedoo86
3 Replies
2225 Views
Last post September 01, 2009, 12:32:55 am
by Jish