SMF For Free Support Forum
Signup For Free Forum
July 24, 2014, 11:56:23 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register Chat  

Pages: [1]
  Print  
Author Topic: Important!! - Code Updater  (Read 6544 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Moderator
*****
Offline Offline

Posts: 834


Do not PM me for Code Support or Request


View Profile
Total Badges: 25
Badges: (View All)
Poll Voter Level 5 Seventh year Anniversary Sixth year Anniversary Arcade Highscore
« on: June 27, 2009, 05: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:
<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:
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/UserPage.js'><\/script>");
Replace that line, with this one:
Code:
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:
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/UserBlog.js'><\/script>");
Replace that line, with this one:
Code:
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:
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/shop1.js'><\/script>");
Replace that line, with this one:
Code:
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:
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/BuildB.js'><\/script>");
Replace that line, with this one:
Code:
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:
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/BuildBPortal.js'><\/script>");
Replace that line, with this one:
Code:
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:
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/CodePanel.js'><\/script>");
Replace that line, with this one:
Code:
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 Smiley
« Last Edit: June 27, 2009, 05:42:07 pm by Agent Moose » Logged

Check out Revolution X's Brand new Code Index!
Seldom Fail
Global Moderator
*
Offline Offline

Posts: 2082


Helping for 3 years! :)


View Profile WWW
Total Badges: 24
Badges: (View All)
Apple User Search Poll Voter Level 5 Webmaster
« Reply #1 on: June 28, 2009, 12:01:45 pm »

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
Logged

<--- Donate to SMF For Free! Cheesy
Andrew
Global Moderator
*
Offline Offline

Posts: 2055

Andrew at your service


View Profile WWW
Total Badges: 24
Badges: (View All)
Webmaster Fourth year Anniversary Search Level 5 Windows User
« Reply #2 on: June 28, 2009, 12:03:19 pm »

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"
Logged

Seldom Fail
Global Moderator
*
Offline Offline

Posts: 2082


Helping for 3 years! :)


View Profile WWW
Total Badges: 24
Badges: (View All)
Apple User Search Poll Voter Level 5 Webmaster
« Reply #3 on: June 28, 2009, 12:04:31 pm »

Yes I know sign-ups have ended. I'm saying the existing pages will continue to work Wink
Logged

<--- Donate to SMF For Free! Cheesy
simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« Reply #4 on: June 28, 2009, 12:22:43 pm »

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, 12:37:24 pm by simply sibyl » Logged
simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« Reply #5 on: June 28, 2009, 12:33:28 pm »

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, 12:36:09 pm by simply sibyl » Logged
Seldom Fail
Global Moderator
*
Offline Offline

Posts: 2082


Helping for 3 years! :)


View Profile WWW
Total Badges: 24
Badges: (View All)
Apple User Search Poll Voter Level 5 Webmaster
« Reply #6 on: June 28, 2009, 12:34:23 pm »

Oh ok thanks Sibyl.
Logged

<--- Donate to SMF For Free! Cheesy
Andrew
Global Moderator
*
Offline Offline

Posts: 2055

Andrew at your service


View Profile WWW
Total Badges: 24
Badges: (View All)
Webmaster Fourth year Anniversary Search Level 5 Windows User
« Reply #7 on: June 28, 2009, 01: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:
document.write("

So would it just be?:
Code:
<script src='http://209.85.62.24/365/94/0/f367129/UserPage.js'><\/script>
?
Logged

Agent Moose
Moderator
*****
Offline Offline

Posts: 834


Do not PM me for Code Support or Request


View Profile
Total Badges: 25
Badges: (View All)
Poll Voter Level 5 Seventh year Anniversary Sixth year Anniversary Arcade Highscore
« Reply #8 on: June 28, 2009, 03:54:19 pm »

Correct.

For the UserPage code, and ONLY the userpage code, you can replace the whole code with this:
Code:
<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.
Logged

Check out Revolution X's Brand new Code Index!
ipwnedx
SMF For Free Newbie
*
Offline Offline

Posts: 10



View Profile
Total Badges: 11
Badges: (View All)
Topic Starter Combination Level 2 Level 1 10 Posts
« Reply #9 on: November 23, 2009, 08:48:17 pm »

Good.
Logged

K I L L A
SMF For Free Full Member
*
Offline Offline

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
« Reply #10 on: May 22, 2010, 06:58:34 pm »

www.globalgamereviews.smfforfree.com


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

simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« Reply #11 on: May 22, 2010, 10: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?
Logged
K I L L A
SMF For Free Full Member
*
Offline Offline

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
« Reply #12 on: May 25, 2010, 06: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.
Logged

Agent Moose
Moderator
*****
Offline Offline

Posts: 834


Do not PM me for Code Support or Request


View Profile
Total Badges: 25
Badges: (View All)
Poll Voter Level 5 Seventh year Anniversary Sixth year Anniversary Arcade Highscore
« Reply #13 on: May 26, 2010, 10:34:10 pm »

Yes, this topic really doesn't need to be here anymore.  Closing time!
Logged

Check out Revolution X's Brand new Code Index!


Pages: [1]
  Print  
 
Jump to:  



Powered by SMF 1.1.19 | SMF © 2013, Simple Machines