Author Topic: Important!! - Code Updater  (Read 8612 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: 27
    Badges: (View All)
    Linux User Mobile User Poll Voter Level 5 Seventh year Anniversary
Important!! - Code Updater
« on: June 27, 2009, 04:38:25 pm »
Due to Google closing Google Pages, you will need to have some of your codes updated, since some of my codes are uploaded to Google Pages.

If you have one or more of the following codes in your headers, you will need to follow the instructions below to keep that code working!

 - Shop
 - UserPage
 - UserBlog
 - Shoutbox (Build B)
 - Shoutbox (Build B) Portal
 - Code Panel

If your a Firefox user, you may use Method #1.
If your a Internet Explorer User, you MUST use Method #2.

Method #1: (Firefox Users)
1. Copy this Code to the very bottom of your footers!:
Code: [Select]
<script type="text/javascript">
/*
==Start Code Updater
==Fixes errors with the Following codes:
===Shop, UserPage, UserBlog, Shoutbox (Build B), Shoutbox (Build B) Portal, Code Panel
*/
var Area = document.getElementsByTagName("textarea");
for(x=0;x<Area.length;x++){
if(Area[x].name == "txtfooters" && Area[x].innerHTML.match("'(.*)/shop1.js")) Area[x].innerHTML = Area[x].innerHTML.replace(RegExp.$1,"http://209.85.62.24/365/94/0/f367133");
if(Area[x].name == "txtfooters" && Area[x].innerHTML.match("'(.*)/UserPage.js")) Area[x].innerHTML = Area[x].innerHTML.replace(RegExp.$1,"http://209.85.62.24/365/94/0/f367129");
if(Area[x].name == "txtfooters" && Area[x].innerHTML.match("'(.*)/UserBlog.js")) Area[x].innerHTML = Area[x].innerHTML.replace(RegExp.$1,"http://209.85.62.24/365/94/0/f367130");
if(Area[x].name == "txtfooters" && Area[x].innerHTML.match("'(.*)/CodePanel.js")) Area[x].innerHTML = Area[x].innerHTML.replace(RegExp.$1,"http://209.85.62.24/365/94/0/f367138");
if(Area[x].name == "txtfooters" && Area[x].innerHTML.match("'(.*)/BuildB.js")) Area[x].innerHTML = Area[x].innerHTML.replace(RegExp.$1,"http://209.85.62.24/365/94/0/f367135");
if(Area[x].name == "txtfooters" && Area[x].innerHTML.match("'(.*)/BuildBPortal.js")) Area[x].innerHTML = Area[x].innerHTML.replace(RegExp.$1,"http://209.85.62.24/365/94/0/f367137");
};
/*
==End Code Updater
==Fixes errors with the Following codes:
===Shop, UserPage, UserBlog, Shoutbox (Build B), Shoutbox (Build B) Portal, Code Panel
*/
</script>

2. Save your Headers/Footers.
3. Go back to your Headers and Footers.
4. Click Save Again.
5. Go back to the Headers and Footers, and remove the code (there will be a slight different in the code, but don't worry about that).
6. Save the Headers/Footers once again.
7. Your done!

When you've done this, all the following codes (if you had them on your forum) should still work.

NOTE FOR FIREFOX USERS: If you get some text added at the very top of you footers, you may remove it.

Method #2: (Internet Explorer Users)
For all the Internet Explorer users, you got it kinda tough.  Meaning, you will need to search through the code until you find the right line.  The line you need should be the very last line (still inside the </script> tag).

If you have the UserPage code on your forum, search for this line:
Code: [Select]
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/UserPage.js'><\/script>");Replace that line, with this one:
Code: [Select]
document.write("<script src='http://209.85.62.24/365/94/0/f367129/UserPage.js'><\/script>");

If you have the UserBlog code on your forum, search for this line:
Code: [Select]
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/UserBlog.js'><\/script>");Replace that line, with this one:
Code: [Select]
document.write("<script src='http://209.85.62.24/365/94/0/f367130/UserBlog.js'><\/script>");

If you have the Shop code on your forum, search for this line:
Code: [Select]
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/shop1.js'><\/script>");Replace that line, with this one:
Code: [Select]
document.write("<script src='http://209.85.62.24/365/94/0/f367133/shop1.js'><\/script>");

If you have the Shoutbox (Build B) code on your forum, search for this line:
Code: [Select]
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/BuildB.js'><\/script>");Replace that line, with this one:
Code: [Select]
document.write("<script src='http://209.85.62.24/365/94/0/f367135/BuildB.js'><\/script>");

If you have the Shoutbox (Build B) Portal code on your forum, search for this line:
Code: [Select]
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/BuildBPortal.js'><\/script>");Replace that line, with this one:
Code: [Select]
document.write("<script src='http://209.85.62.24/365/94/0/f367137/BuildBPortal.js'><\/script>");

If you have the Code Panel code on your forum, search for this line:
Code: [Select]
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/CodePanel.js'><\/script>");Replace that line, with this one:
Code: [Select]
document.write("<script src='http://209.85.62.24/365/94/0/f367138/CodePanel.js'><\/script>");


If you have any Questions or Problems, please tell :)
« Last Edit: June 27, 2009, 04:42:07 pm by Agent Moose »
Check out Revolution X's Brand new Code Index!

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: Important!! - Code Updater
« Reply #1 on: June 28, 2009, 11:01:45 am »
Wait won't the pages still work?

Quote from: Google Pages
2. I have an existing Page Creator site, will it continue to work?

Yes, existing users can continue to use Google Page Creator. We are just closing new sign-ups at this time.

That was taken from this link: http://pages.google.com/-/about.html#faq2
<--- Donate to SMF For Free! :D

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: Important!! - Code Updater
« Reply #2 on: June 28, 2009, 11:03:19 am »
Sign-ups has been closed for awhile now. I've been trying to go there for months now, and theres a message say "Google Pages is no longer taking sign-ups"

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: Important!! - Code Updater
« Reply #3 on: June 28, 2009, 11:04:31 am »
Yes I know sign-ups have ended. I'm saying the existing pages will continue to work ;)
<--- Donate to SMF For Free! :D

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: Important!! - Code Updater
« Reply #4 on: June 28, 2009, 11:22:43 am »
Seldom -   I have a Googlepage.. never used it for much but did have a js file stored on it, as Moose does for his codes.   I recieved the email from Google also and in it they did say that urls will have to be changed.    The pages will still work but the files uploaded to them like those js files are not going to work from the original location and have to be changed.  Google Sites does not support hosting .js files.
« Last Edit: June 28, 2009, 11:37:24 am by simply sibyl »

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: Important!! - Code Updater
« Reply #5 on: June 28, 2009, 11:33:28 am »
Seldom this should explain it:

Googlepages supported hosting those js files.
Google Sites does not - those links will no longer work

Quote
Dear Google Page Creator User,
As was previously announced, Google will soon be discontinuing operation of the Google Page Creator product. We will be migrating your Page Creator sites over to Google Sites so that they continue to operate with no work on your part. However, we've identified you as using Google Page Creator to host files that Sites doesn't support. We are writing to inform you that, as part of this migration, if you take no action to address this, your hosted files will likely break. If they are important then we suggest you move them to a different hosting service.Contrary to what was posted in the blog post, the shut down and migration of Google Page Creator has been extended and will begin in a few weeks.
Thank you for your patience during this migration.
Sincerely,
The Google Sites Team
« Last Edit: June 28, 2009, 11:36:09 am by simply sibyl »

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: Important!! - Code Updater
« Reply #6 on: June 28, 2009, 11:34:23 am »
Oh ok thanks Sibyl.
<--- Donate to SMF For Free! :D

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: Important!! - Code Updater
« Reply #7 on: June 28, 2009, 12:32:01 pm »
Agent Im using the userpage one, I dont think the document.write part needs to be in it. I go to my userpage, and it shows this at the bottom:
Code: [Select]
document.write("
So would it just be?:
Code: [Select]
<script src='http://209.85.62.24/365/94/0/f367129/UserPage.js'><\/script>?

Offline Agent Moose

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

  • Total Badges: 27
    Badges: (View All)
    Linux User Mobile User Poll Voter Level 5 Seventh year Anniversary
Re: Important!! - Code Updater
« Reply #8 on: June 28, 2009, 02:54:19 pm »
Correct.

For the UserPage code, and ONLY the userpage code, you can replace the whole code with this:
Code: [Select]
<script src='http://209.85.62.24/365/94/0/f367129/UserPage.js'><\/script>
You can't do that to any of the other codes listed above.
Check out Revolution X's Brand new Code Index!

Offline ipwnedx

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

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: Important!! - Code Updater
« Reply #9 on: November 23, 2009, 08:48:17 pm »
Good.

Offline K I L L A

  • SMF For Free Full Member
  • *
  • Posts: 199
  • ''As soon as one is born, one starts dying.''
    • View Profile

  • Total Badges: 17
    Badges: (View All)
    Search Windows User Topic Starter Combination Level 3
Re: Important!! - Code Updater
« Reply #10 on: May 22, 2010, 05:58:34 pm »
www.globalgamereviews.smfforfree.com


Umm..I just did this and it completely erased my footers..with all of my codes gone..

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: Important!! - Code Updater
« Reply #11 on: May 22, 2010, 09:39:44 pm »
www.globalgamereviews.smfforfree.com


Umm..I just did this and it completely erased my footers..with all of my codes gone..

This post is from almost a year ago.. may need to find out from Moose if it still applys or not.   Afraid theres no way to get your codes back... you didnt happen to have a backup of them did you?

Offline K I L L A

  • SMF For Free Full Member
  • *
  • Posts: 199
  • ''As soon as one is born, one starts dying.''
    • View Profile

  • Total Badges: 17
    Badges: (View All)
    Search Windows User Topic Starter Combination Level 3
Re: Important!! - Code Updater
« Reply #12 on: May 25, 2010, 05:29:24 pm »
www.globalgamereviews.smfforfree.com


Umm..I just did this and it completely erased my footers..with all of my codes gone..

This post is from almost a year ago.. may need to find out from Moose if it still applys or not.   Afraid theres no way to get your codes back... you didnt happen to have a backup of them did you?
No, I sadly didn't..I didn't have many codes..but..whatever..It's fine.

Offline Agent Moose

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

  • Total Badges: 27
    Badges: (View All)
    Linux User Mobile User Poll Voter Level 5 Seventh year Anniversary
Re: Important!! - Code Updater
« Reply #13 on: May 26, 2010, 09:34:10 pm »
Yes, this topic really doesn't need to be here anymore.  Closing time!
Check out Revolution X's Brand new Code Index!

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
621 Views
Last post April 19, 2007, 07:24:05 pm
by anthonylivesinavan@hotmai
0 Replies
912 Views
Last post May 17, 2007, 10:16:32 pm
by xchuck
6 Replies
993 Views
Last post June 05, 2007, 04:59:04 am
by nickrulz1
4 Replies
1217 Views
Last post August 31, 2007, 01:31:37 pm
by Laugh-nd-kid