SMF For Free Support > SMF For Free Codes and Support

Important!! - Code Updater

(1/3) > >>

Agent Moose:
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>
--- End code ---

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>");
--- End code ---
Replace that line, with this one:

--- Code: ---document.write("<script src='http://209.85.62.24/365/94/0/f367129/UserPage.js'><\/script>");
--- End code ---

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>");
--- End code ---
Replace that line, with this one:

--- Code: ---document.write("<script src='http://209.85.62.24/365/94/0/f367130/UserBlog.js'><\/script>");
--- End code ---

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>");
--- End code ---
Replace that line, with this one:

--- Code: ---document.write("<script src='http://209.85.62.24/365/94/0/f367133/shop1.js'><\/script>");
--- End code ---

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>");
--- End code ---
Replace that line, with this one:

--- Code: ---document.write("<script src='http://209.85.62.24/365/94/0/f367135/BuildB.js'><\/script>");
--- End code ---

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>");
--- End code ---
Replace that line, with this one:

--- Code: ---document.write("<script src='http://209.85.62.24/365/94/0/f367137/BuildBPortal.js'><\/script>");
--- End code ---

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>");
--- End code ---
Replace that line, with this one:

--- Code: ---document.write("<script src='http://209.85.62.24/365/94/0/f367138/CodePanel.js'><\/script>");
--- End code ---


If you have any Questions or Problems, please tell :)

Seldom Fail:
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.
--- End quote ---

That was taken from this link: http://pages.google.com/-/about.html#faq2

Andrew:
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"

Seldom Fail:
Yes I know sign-ups have ended. I'm saying the existing pages will continue to work ;)

simply sibyl:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version