My First jQuery Extension | JavaScript setInterval/clearInterval

I'm a Sunday Javascript-coder. Using my C++ skills and the 'basicest' of JS knowledge I sometimes manage to pull out what I need out of JS. This is my replacement for the setInterval/clearInterval Javascript function pack. I needed something to work in jQuery style ... even if it can be used without. I wanted an object where to stop / start the interval easily and I managed to do it.

It's [probably] not optimal and probably a JS guru would humiliate me with this code but this is it, take it or leave it and enjoy it. Wondering what can be achieved with it? Look on your right at the fading ads. That's what I needed it for. I'll create some nice news tickers too using this.

Read the rest of this entry »

Building On elWpAPI | Extending My Wordpress XMLRPC Class

I need to tell you this. Don't make any change to the actual elWpAPI class. If there's a bug, poke me and I'll fix it but, if you need extra functionality tailored to your needs, always extend the elWpAPI XMLRPC Class.

So, to build your own version, do this. Create a new class myWpAPI and extend the elWpAPI with it.

<?php
require_once('elwapi.php');
class myWpAPI extends elWpAPI{
... your new functions come here ...
};
?>

This is it. When I will make updates you won't need to make changes and alter my code to fit in your updates. Keep it clean and well organized and ejoy it or it could get messy :)

Major Changes To The Site And An Affiliate System

The blog was down for about 30 minutes and I upgraded all the plugins, elib and added a selfmade affiliate system. To access the Affiliate System one must:

  1. Register, if not already registered
  2. Login, if not already logged in
  3. Click the big a$$ banner or the red bottom left link in /wp-admin/

You will need to make a $0.10 donation to Paypal to validate your Paypal E-Mail for payments and once you have validated the E-Mail you will get access to linking structure and reports and so on. Just have mercy and don't flood me with traffic. Do read the Agreement before anything and stay up to date with it proactively. Those who added the Paypal E-Mail to your profile validate it also to be effective.

Upfront commission is 40% of any sale / donation where I get a profit (the $0.10 verification is all taken by Paypal). The Affiliate System already has reports available but I will improve it over time. Right now it just works with no bells and whistles.

Percentage may grow up to 60% based on performance ... this is at my sole discretion.  I won't define the concept of performance until I actually see what affiliates can do.

I'd say the stuff I offer is quite niche and unique and could be promoted by you for the professionals visiting your blogs/sites. Just don't put your hopes up too high due to the staggering amount of freebies and presell everything as I suck at selling stuff.

Wordpress XMLRPC | rSQL [Remote SQL] Addon

This is the second biggest Wordpress XMLRPC Addon provided with the elWpAPI. It's called rSQL [Remote SQL] and it does exactly what is says. It can run SQL queries at a distance and return results. It allows you to do so very much using SQL directly in the database and, combined with the rFC Addon, can do virtually anything.

It gives you access to most of $wpdb functions: get_var, get_col, get_row, get_results, update, insert, escape, query plus several other non-$wpdb functions as I needed them: get_prefix, get_tables, blog_tables, get_db, get_schemas, get_blogs. There's one very cool function [get_blogs] that will return all blog prefixes existing in all databases to allow you to work into another blog from a distance :)
Read the rest of this entry »

Wordpress XMLRPC | rFC [Remote Function Call] Addon

As you have noticed, with the elWpAPI class I also added a plugin which adds some extra functionality to Wordpress XMLRPC. It's time to explain one of those addons and I'll start with rFC [Remote Function Call].

I wrote 5ub.rFC to allow me to execute arbitrary functions on Wordpress through XMLRPC. I also wanted an alternative to the Wordpress XMLRPC and this can do virtually anything ... with more / less code.

To call 5ub.rFC you need to this:

  1. Instantiate a new elWpAPI class $wp = new elWpAPI(xmlrpc, user, pass);
  2. And call: $wp->doRpcRequestUP('5ub.rFC', function_name, [param1, param2]);

As you can see it needs the 5ub.rFC module mentioned, a function name and optional parameters. It can not get easier than this.
Read the rest of this entry »

As Of Today … I’m Oficially Dumber

I'm just too smart and decided to medically dumb myself down a notch, just to fit in :)

So I went to the dentist and had a wisdom tooth removed ... hence I'm less wise.
Read the rest of this entry »

Wordpress XMLRPC API | Change Log

To those who bought the elWpAPI class make sure you subscribe to the comment feed for this new page. Every change I will make to the class will reflect in a new comment added here explaining the new changes. When something new is posted here make sure you get the new code.
Read the rest of this entry »

Wordpress XMLRPC API | Remote Control Wordpress

WARNING:

THIS TOOL HAS RELOCATED: XMLRPC-API.wp (site will launch soon). WORDPRESS 3.1+ READY AND HEAVILY IMPROVED.
PRODUCT IS NO LONGER AVAILABLE HERE.

Before anything: Be aware that this is the easiest to use yet most complex Wordpress XMLRPC script you will find out there. Make sure you bookmark this page as you will return here if you're serious about your XMLRPC needs. See also a basic autoblog engine example.

WORPDRESS.MU BLOGS MANAGEMENT SUPPORT WAS ADDED.

Got this comment and several others along the same lines.

Hey 5ub,

The new Theme Plugins Manager System is cool and stuff but you promised, quite a while ago, to republish the paid-version of your WP.XMLRPC class.
Theme Plugins are cool but automated content is a bit more important to me right now and I'm waiting ... and waiting.

I understand you're busy with your other stuff but don't forget about those STILL WAITING!

Thanks.

Read the rest of this entry »

Pula Non Stop | Croatia Toursim Campaign

In Croatia there is a nice resort called Pula. Unfortunately, where I live (ROMANIA), pula means dick. Not penis but dick! The offsensive not technical word ;)

Now imagine how many tears I've shed laughing while watching this video. I can't take it anymore. It's like the most insane and unfortunate coincidence I've ever seen.

YouTube Video _tw7Gd9j7l4

Pula = Dick (not penis ... but dick)

This is a campaign for tourism and I think they pretty much convinced my 'eager' fellow countrywomen: DICK NON STOP!

Theme Plugins Management System - Teaser

See this dedicated page. It's wider to fit the movies.