Archive for December, 2007

Google labels Scriptygodess as pariah

Saturday, December 8th, 2007

A note to anyone brave enough to come here from Google: Scriptygoddess never has (and never will) distribute malware. I honestly have no idea where they got that idea from, unless this is their retribution for me pissing about their business practices previously.

All paid links have been removed from this site for some time now. The only ad on this site besides Google’s own adsense (which I make crap from by the way and will now probably just remove entirely) (Google’s ads have now been removed. If I’m not making money on this site, then neither will they) is an ad for the hosting company I personally use and have been recommending to people because I think they’re a good hosting company. (HostICan (now called “HostISuck” in my house) ad has been removed. I’ll probably make a post on them too soon) I have NEVER distributed malware. Never. Not once. So where they got that idea from is completely fabricated and a total lie.

You should know that I make NO money off this site now. It is purely a public service and information personal storage house.

I have asked for a reconsideration from Google, and they say that may take some time. (as in several weeks) Heh. I would greatly appreciate anyone’s/everyone’s help in this matter. Please make a post on your site that Scriptygoddess is alive and well and DOES NOT DISTRIBUTE MALWARE, despite the lie that Google tells.

update: So after further investigation, it seems my site had been hacked and in such a way that made it hard for me to even notice. A hacker was able to add a line of code to one of my template files and from the way it was written it seemed it wouldn’t even have shown up in the html unless you were specifically coming from Google. Google is supposedly in a war against spammers and hackers, and in their fight I guess they don’t mind punishing some victims as well. (How noble of them.) =puke=

The strange thing is that I am running the latest version of Wordpress, I am (obviously) not even using a customized template, I am using VERY FEW plugins… so now I’m left wondering what the deal is with Wordpress - or the few plugins I have running, that would allow the hack to go through. I’ve been searching around online to try and find more information, but I’m not getting anything back specific. (What I HAVE seen on the forums seems like a lot of defensiveness to me. People saying they have some kind of XSS hack on their site, and then other people trying to put the blame elsewhere) I’ve sent a few emails to a few Wordpress people - but haven’t heard back. This is distressing to say the least. I love Wordpress, but if it means having my site get hacked without my even knowing it and then getting banned and labeled by Google as a malware distributor… I don’t know…

Update: 12/18/07 - FINALLY! Google has lifted the “malware” curse on Scriptygoddess. Guess that was my belated Hanukkah present. Good thing too - because I’ve been very busy the last few weeks - have a post due probably after the holidays about a cool site I did using Wordpress - all kinds of custom templates for posts and pages, and basically stretching Wordpress’s CMS ability. As well - I did a very cool site using CubeCart and I have a few things I learned from that experience to post about. Stay tuned…

(oh, also, - seems I got a PR push as well - from a 3 to a 5. Of course, I used to sit comfortably at a PR6 - but I’ll take what I can get. LOL!)

Next Previous Posts in Same Category

Tuesday, December 4th, 2007

I’ve gotten a few emails about my (old) Next/Previous Post in Same Category plugin and about the fact that’s its broken - however, this functionality is now built into wordpress. (and I have it working on the site right now as a matter of fact). I’m a bit behind on what has been included with each new version of Wordpress, so I’m not sure when this made it’s way in there, but.. YAY! Now I don’t have to update the plugin! LOL! So, in any case, if you want to include links to the next/previous post in the same category as the one being viewed, you just need to do this (on the “single.php” template page INSIDE the “Loop“)

<?php previous_post_link('&laquo; %link', 'Previous post in category: %title', TRUE); ?>
<?php next_post_link('%link &raquo;', 'Next post in category: %title', TRUE); ?>

Where the first argument (where I have “&laquo; %link”) is the format of what is displayed… ie. if you want text before or a tag around the actual link (represented by “%link”) this is where you say how you want it to show.

And the second argument (where I have “Previous post in category: %title” is the text of the actual link. You don’t have to have the “%title” in there - but I think it’s useful) :)

Code to make a button in Flash link to another URL

Sunday, December 2nd, 2007

This is only just a small snippet of code and probably won’t be totally helpful unless you have a fairly good idea what you’re doing. I would make a full tutorial, except *I* don’t have a complete understanding of what I’m doing. LOL! I know just enough in Flash to be “dangerous”.

In any case, from what I can tell, in the latest version of Flash, there is a new way to make a button link to a URL. Instead of creating an action on the same layer as the button, you need to assign an instance name to your button. Then in another layer you have all the code for your buttons - similar to the following:

function gotoYahoo(event:MouseEvent):void
{
var mylink:URLRequest = new URLRequest("http://www.yahoo.com");
navigateToURL(mylink, "_self");
}
buttonInstanceName.addEventListener(MouseEvent.CLICK, gotoYahoo);

(If YOU know more about Flash, and have any corrections - they would be very welcome in the comments. I know how to do simple animations (like slideshows) and simple buttons - but beyond that I’m still in the very early learning stages)

Change class name assignment with javascript

Saturday, December 1st, 2007

Example:
<div id="mydiv" class="current">Content</div>

To change class assignment:
document.getElementById('mydiv').className = 'notcurrent';

To remove the class assignment:
document.getElementById('mydiv').className = '';