Seven Hacks for v242 All these zips are hacks to b2evolution v2.4.2, have the same path that your blog has (although you might not have a "blogs" folder), and contain the original files with _ORIGINAL in the name. I use these hacks so I know they work, but hey you got your own server and maybe your own hacks so you should examine the files with something like winmerge to see what I changed ... or how what I changed might fit in with your hacks.
Download it, unzip it, and upload it to your installation following the path structure in the unzipped package. THIS WILL OVER-WRITE NINETEEN FILES IN TWO FOLDERS!!!
This is, in many regards, a pointless hack. All it does is put line breaks in your widgets so that when you "view source" for like troubleshooting issues like validation errors you won't have the entire sidebar on one line. To me that is just sloppy, so there you go. Oh and this one also changes the comment in the top of the file from a generic "This file implements the xyz Widget class" to say what 'xyz' the file actually refers to. So technically speaking this is two (pointless) hacks in one, but the corrected comment hardly merits it's own download.
By the way if you want to use this one you need to do it first. A couple of other hacks affect the files in this one, and are all made after I made this one, so yeah that means this one has to be first if at all.
Download it, unzip it, and upload it to your installation following the path structure in the unzipped package. THIS WILL ADD or OVER-WRITE ONE FILE IN ONE FOLDER!!!
What this one does is really simple: it stops b2evolution from using your footer to promote their idea of hosting services and other unrelated crap. Instead it gives one linkback to b2evolution.net - nothing else. Getting rid of the splog links requires editing your skin ... and is up to you to take care of. Oh and it uses the conf/hacks.php file so if you have one you will want to make sure and not over-write yours. There is no original.
Download it, unzip it, and upload it to your installation following the path structure in the unzipped package. THIS WILL OVER-WRITE ONE FILE IN ONE FOLDER!!!
Here's what happens: when you visit your dashboard page your blog will call home to see if there is anything that you probably need to know about. New releases, probably bug fixes, maybe security related info. Stuff like that. The problem here is that it also sends a shit ton of information about your server configuration back to b2evolution.
Do you consider collecting information about your installation and your server without your knowledge or consent to be something other than spyware? If your answer is "no" you're an idiot.
My answer in this hack is to completely kill the call home. You will not get cute little messages saying "your blog is up to date", but so what: you also won't be telling b2evolution who owns your installation and your folders. If you are worried about getting important updates grab the syndication feed from http://b2evolution.net/news.php and be happy.
Download it, unzip it, and upload it to your installation following the path structure in the unzipped package. THIS WILL OVER-WRITE SEVEN FILES IN SEVEN FOLDERS!!!
What this does is lets you use a keyword "All" in your "blogs to aggregate" field when you want to aggregate all blogs into one. Much nicer than having to type in all the blog IDs yah? This hack must be done AFTER the "Clean up your sidebar" hack because that one will over-write a file in this one.
Download it, unzip it, and upload it to your installation following the path structure in the unzipped package. THIS WILL OVER-WRITE THREE FILES IN TWO FOLDERS!!!
This is a groovy hack that requires more hacking. I like it but it is ... complicated to say the least. So basically if you use a lot of plugins that make toolbars then you get a lot of toolbars stacked up on top of each other. I didn't like that, so I added new hooks for toolbars to latch on to. That is all this hack does: it adds the hooks a toolbar plugin *could* use. The problem is that no plugins exist which will use these hooks, so you will have to hack your plugin to take advantage of the new hooks. Directions to do that are included in the hack.
Oh and hey this one also works for v241 if for some reason you are still using that old pig ![]()
Download it, unzip it, and upload it to your installation following the path structure in the unzipped package. THIS WILL OVER-WRITE ONE FILE IN ONE FOLDER!!!
This hack will do the same for v242 that this hack did for v241, which is basically to not "make posts" as published items. Instead it will save it as a draft and take you to the appropriate page in your back office to either 'publish now' or edit as you see fit.
Download it, unzip it, and upload it to your installation following the path structure in the unzipped package. THIS WILL OVER-WRITE ONE FILE IN ONE FOLDER!!!
b2evolution tells you to delete your 'install' folder, which I find to be bullshit for a couple of reasons. First: I like my server directory to match my copy on my computer. Second: phpinfo.php is in your install folder, which is a good file to have handy and certainly presents no risk to your server or blog. So I re-wrote the bit that checks for "is there an install folder" bit into "if there is an install folder check to see if seven very specific file names exist" because it makes more sense to look for the risky files than to assume the presence of a folder means the files are still there.
This competes with the 'clean sidebar' hack for the most useless hack on the list. I leave it up to you to decide which is more useless...
Used the stop spam in the footer, worked excellent. Thanks for the help!
Had one of those DOH! wish I found this yesterday moments, when I found your site
I used the "Spyware Kill" and the footer files. Placed them in the folders where they belong, tried to access my page and it's all just blank. Every page has nothing on it now. What happened? Can you tell me how to fix this or why it happened? Thank you
Hi Bryan. Dunno what to tell you on this. It works as expected on my blog, and I just installed both of those on a brand new blog without issue. You could try downloading the zips again, then unzip them and re-upload them to see if maybe something got corrupted along the way. Or you could open the folders in the ant-spyware hack and notice how it is really only one file that has a copy of itself with _ORIGINAL in it, then remove that bit from that file name and restore your blog's functionality. The footer anti-spam hack adds a file called hacks.php so for that one all you have to do is delete that file from your server.
Hi! Well, as far as Im a fan of the b2evo, I just notice about this security risk that happen with that connection (I thought it was just a rss that feature, like it is in any other open source!) Why on earth the b2evo community allow this kind of thing! Anyway, thanks for giving all of us the security freaks a solution!
I have been working as an SEO for a couple months and finally turned my attention to my own blogs- only to realize they were full of backlinks that were damaging my pagerank (Google must think I am some spammy link sharing page with all the junk links in the footer).Recently (04/24/09) the zim wrote Twitter Messaging at David's web. Check it out!
Hi Ozk. Hi David. Unfortunately the b2evolution community of users has no say in the matter. When footer spam first appeared I told the main developer "remove either it or my name and link from the very next release". He chose to remove my name and link.