The other day I found myself needing to be able to create a database, user, and assign the user on a shared host from a script. Didn’t have root access so I didn’t think I would be able to use the cpanel api. After struggling with some settings on my development machine it turns out [...]
Do you like learning with video? For a long long time I was a book junkie. Hated tutorials on-line, and just wanted the paper in my hands. I’d read a book a day – both reading and learning kinds. However, kids change the time I’ve got available to me to do those things…. Now I [...]
This is the first post in what will probably be a half dozen or so by the time we are done. You can see them all by going here: Facebook Programming. Warning: You will be programming here. There is a plug and play solution that costs money. You can read about that here: Plug in [...]
WordPress has a handy dandy file in it called class-ixr.php that if you just include it in a php file you get to do a bunch of things. For this to work, you need to have class-IXR.php loaded up on the server you are working on (or on your local machine). I’ve always just hit [...]
So if you are like many of the others out there struggling to automatically post to wordpress, I figured I’d give a little help today. We’ve gone into a lot more detail inside the codebank, however, this should be enough to get anyone going. (warning: Wordpress does like to garble code and I’m to lazy [...]
It’s been a few months since I mentioned e-cigs to my readers here. I had stepped back a bit because I was “sure” the FDA was going to kill them before now. With an actual lobbying group running, and the obvious benefits of using electronic cigs – well it’s time to be an affiliate if [...]
Here is another little trick – that might get more folks to log in your site and leave a comment with facebook. Open up your theme editor in WP. Find sidebar.php or sidebar2.php and just after the sidebar Div Tags add something like this: <h2> Who is New?</h2> <ul> <?php $usernames = $wpdb->get_results(“SELECT user_nicename, user_url [...]
I just got done helping a client that had their WordPress Blog hacked into. Normally when a blog is hacked into the actual theme files are modified. A fix is as simple as opening the files up and finding the offending injected code and doing a global find and replace through the command line, or [...]
Twitter offers a handy dandy API for posting to itself. It’s not hard to work with (you just have to organize your data the right way). You need to have a few variables set up prior to running this. $message (what you are posting to twitter — a day or so ago I provided the [...]
Sometimes you need to convert a url to a new one on the fly. Tinyurl offers a very easy to use API to do that. You can do it complicated with curl or you can just use file_get_contents and make it a one line function. function ShortURL($ToConvert) { $short_url= file_get_contents(“http://tinyurl.com/api-create.php?url=” . $ToConvert); return $short_url; } [...]
Codebank Latest Releases
Codebank Recently released: Location Generator Magic Keyword Plugin Magic Rss Linker 4 new tutorialsCategories
- 30 Day Website Network
- Black Hat Experiments
- Changing Affiliate World
- CodeBank
- Contests
- Digest
- Facebook Programming
- Featured Articles
- Features
- Internet Marketing Tips
- Network Building
- Network Progress Report
- Newbie Corner
- Online Tools
- Overview
- Rambling
- Rss Marketing
- Tutorials
- Uncategorized
- What Are We Going To Do Today?
Rss Notifications