Archive for June, 2010

New Affiliate System – More $$$ Hosting Commission!

Friday, June 25th, 2010

Hi,

NEW AFFILIATE SYSTEM URL: https://track.cirtex.com

Please read this email carefully if you’re an existing CIRTEX AFFILIATE as we’re bringing many POSITIVE changes for our affiliates with this major upgrade & Change of our system.

Summary:
——————————————

- Base commission is now $50/referral, max is $150/referral after 20 referrals.

- New affiliate system & URL – more accurate tracking & many new features

- MUST LOGIN & Update Paypal Address in NEW SYSTEM

- New passwords for existing affiliates migrated over to NEW SYSTEM

- New Tracking URLs very flexible

- OLD SYSTEM will remain online until end of this year!

——————————————

*** NOTE – Affiliate tracking URLs have changed ****

NEW Affiliate link: http://www.cirtexhosting.com/#username  or http://www.hostv.com/#username
You may also change it to any pages such as

http://www.cirtexhosting.com/video-hosting.shtml#username

or

http://www.hostv.com/vps-hosting.shtml#username

Just add #username to the end of any PAGE on HostV.com or CirtexHosting.com and it will track your leads, this new system is 100% accurate.

*** NOTE – Affiliate tracking URLs have changed ****

—————————————————————————————————————-

We’re very excited to announce the opening of our new affiliate tracking system.
The new affiliate system is fully integrated into our billing system and tracks commissions with 100% accuracy along with dozens of new features.

********************************************************
Please note you should receive an email from “Cirtex Affiliate Tracker – noreply@track.cirtex.com” with your new password. Your username shall remain the same.
********************************************************
We’ve increased BASE COMMISSION to $50/referral. The new tier will now be $50, $75, $100, $125 and $150 (highest)
If you’re an approved affiliate on $150 tier already, please email payment@cirtex.com and we will have to move you to highest tier manually in the new system.
The commission tier will also stay at $150 for over 1 year once you reach it, and will not reset for that next year. (You can apply to be premium $150 affiliate afterwards)
********************************************************

—————————————————————————————————————-

1) To login to the new system with your new password, please visit: http://track.cirtex.com/affiliates/login.php

****************************************************************************************************************
Please login and update your PAYPAL EMAIL in “My Profile -> Payment Details” as this has been reset and it is very important you update it.
****************************************************************************************************************

—————————————————————————————————————-

2) You may choose to use the banners located in “PROMOTIONS” Promotions as it will create full REPORT on each banner and how they perform.
or You can stay with same banners right now, but you MUST** Change your affiliate URL Link to new format.

*** NOTE – Affiliate tracking URLs have changed ****

General affiliate link: http://www.cirtexhosting.com/#username  or http://www.hostv.com/#username
You may also change it to any pages such as http://www.cirtexhosting.com/video-hosting.shtml#username  or http://www.hostv.com/vps-hosting.shtml#username
Just add #username to the end of any PAGE on HostV.com or CirtexHosting.com and it will track your leads, this new system is 100% accurate.

*** NOTE – Affiliate tracking URLs have changed ****

—————————————————————————————————————-

3) With the new system, you can create CHANNELS in “Promotions -> Ad Channels” and with that, track even better each sale which WEBSITE it came from. Example would be linking with http://www.cirtexhosting.com/#a_aid=username&chan=yourchannelname

—————————————————————————————————————-

4) There is now option for DIRECTLINK Referrals. If you wish to join that, basically any visitors that come from your website even without referral link, just regular www.hostv.com or www.cirtexhosting.com link, they will be counted as commission.
However you’ll have to prove ownership & that the website is under your management. Please submit your link for approval within your affiliate panel Promotions area.

—————————————————————————————————————-

5) We’d like to encourage marketing to both www.hostv.com & www.cirtexhosting.com , please note that we have many landing pages and will be updating our promotions page as well periodically.
If you have any questions, please contact sales@cirtex.com and we’ll answer them asap.

The old affiliate system will remain online until end of this year or when we feel it is no longer used and your commissions in there will be there until all paid out. For now, please switch all links to new system.

Thank you again for your continued support, if you have any questions please let us know!

Be sure to connect with us on FACEBOOK, LINKEDIN & TWITTER!

Link to new affiliate system = https://track.cirtex.com

If you have any questions about password, or the new system, please email sales@cirtex.com

Popularity: 5% [?]

Share and Enjoy:
  • email
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google Bookmarks
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot

Tutorial to Make a White Board Using Red5 and Flash

Thursday, June 24th, 2010

This quick tutorial is going to show you how to make an application that will serve as a white board. The entire application can be put together using a Red5 Server and Flash. Before getting started with the tutorial itself, let’s go over some of the basics that we will use to create the application itself to make sure you are familiar with the terminology.

Shared Object – These are data storage units that will be in place across multiple sessions. They are similar to a cookie in a web browser that stores data for multiple visits to a website and ‘remembers’ the user. A given application is capable of retrieving a Shared Object from either a local machine (your computer) or a remote machine (a web server).

Action Script Drawing API – This is a type of API that can be used to draw objects on the local computer or remotely via a Movie clip.

Java Server Application: This is the application that will run on the Red5 server and serve as the host for the remote Shared Objects.

Now, let’s take a look at the creation of the white board, step by step, beginning with the server.

The Shared Object is going to be created when the Red5 server starts up the application. The Java code needs to be the following:

Public Boolean appStart() {
createSharedObject(Red5.getConnectionLocal().getScope(), “myline_so”, false);
log.debug(“White Board Application Started!”);
return true;
}

There are two parts on the client sidem one is the Moderator (source) and the other is Attendee (destination). Moderator will feed its information to the server and then the server will show the details it received to each Attendee.

To understand this, we need to look at how the source informs the server when a line gets drawn onto the White Board.

A line will begin when a mouse button is pressed on the movie clip and it runs as long as the button is held down and the cursor continues to move. Once the button is released, the line stops.

This means we have to capture different events in the White Board movie clips such as Mouse Press (where the line begins), Mouse Move and Release (which ends the line). To do this, use the action script code show below:

whiteboard.onPress = function(){
myConnectionToServer.call(“onLineDraw”,null, “START-LINE”,this._xmouse, this._ymouse);
}

whiteboard.onMouseMove = function(){
myConnectionToServer.call(“onLineDraw”,null, “DRAW-LINE”,this._xmouse, this._ymouse);
}

whiteboard.onRelease = function(){
myConnectionToServer.call(“onLineDraw”,null, “STOP-LINE”, this._xmouse, this._ymouse);
}

The function myConnectionToServer is a NetConnection object and it holds the connection for the Red5 Server.

The call to the onLineDraw remote server method accepts 3 parameters: “STOP-LINE”, this.ymouse and this._xmouse. Here is that call:

myConnectionToServer.call(“onLineDraw”,null, “STOP-LINE”, this._xmouse, this._ymouse);

That is house the client Moderator transfers data to the server. Here is how the server receives the data and informs the Attendee:

public void onLineDraw(Object[] params){
line_SO = getSharedObject(Red5.getConnectionLocal().getScope(),”myline_so”);
line_SO.setAttribute(params[0].toString()+”~”+params[1].toString()+”~”+params[2].toString());
}

With line_SO we have the variable ISharedObject while retrieves the instance of myline_so, a shared object that got created during startup. The Moderator then sends 3 parameters which will be assigned as attributes to a shared object. The method setAttribute from Moderator invokes the onSync event on the remote Atendee client’s local machines.

Now, let’s take a look at the way the Attendee machines receive the information, keeping in mind that line_SO is a copy of SharedObject stored on Attendee’s local computer the way a browser cookie would be:

line_SO = SharedObject.getRemote(“line_SO”, myConnectionToServer.uri, false);
//Creating instance of remote option
line_SO.connect(myConnectionToServer);
line_SO.onSync = function(infoList)
{
In “change” event:
var dataFromServer = this.data[id];
var todrawData:Array = dataFromServer.split(“~”);
var lineAction = todrawData[0];
var lineX = todrawData[1];
var lineY = todrawData[2];

Using the above parameters you will now be able to draw on your White Board. That is all you need to know to put your very first White Board to work today.

Popularity: 7% [?]

Share and Enjoy:
  • email
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google Bookmarks
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot

Creating an Application with Flash and Red5 is Simple with This Tutorial

Monday, June 21st, 2010

To prove just how easy it is to get a simple application made using the right technologies, this tutorial was built to show how Red5 and Flash help you build something from scratch in a very short amount of time once you have the right code in place. In five quick steps we will show you how to get your first app up and running!

First Step -

You will need a default application template which you can find inside your Red5 directory on your hardrive, usually located here:

C:\Program Files\Red5\doc\templates\myapp

Copy the folder about into this directory:

C:\Program Files\Red5\webapps\

Easy enough. Once that’s taken care of, it’s time to move on to the next step.

Second Step -

Since the default template is in the right place to run the server side application we want, we can now change its configuration to meet that need. All you need to do is change the name of the “myapp” directory to “sample”. The directory’s title is the name of your application. Next, let’s edit the configuration files within this sample directory.

We’ll structure our application so that it has Sample linking with WEB-INF and lib. The WEB-INF will link directly to:

red5.web.properties
red5-web.xml
web.xml
log4j.properties

Now we open red5-web.properties and edit the contextPath to the folder “sample” to look like this:

webapp.contextPath=/sample
webapp.virtualHosts=localhost, 127.0.0.1

Then we open web.xml so we can change the webAppRootKey and display to look like this:

My tutorial application made with Red5

webAppRootKey /sample

Then we are going to open red5-web.xml so we can alter the application names to look like this:

class="org.xyz.Application"
singleton="true" />

In the example above, org.xyz represents the package structure we’re using. You could replace it with the application’s real structure if you wanted to. In this instance, the lib directory will have the application’s jar file inside it.

Third Step -

Now that we’re prepared for the server side configuration of the application we will make the application itself so that it can work with the Flash client.

Using a Java IDE such as Eclipse, you need to create a new Java project. You’ll name this sample and give it a structure where Sample links to:

src (which links to org that in turn links to xyz)
classes
lib

The folder named “src” will hold the application package structure we’ve named org.xyz, our compiled class file will reside within the “classes” folder and the folder “lib” will hold the jar file of our compiled class.

It’s time to create build.xml so we can build this project a tool. Our build file will look like this:









In the “jar” target we’ve made a copy of the jar file we created within the folder where our application is, “webapps” inside the Red5 installation. You can copy and paste it by hand.

Remember, add red5.jar from your Red5 installation in CLASSPATH of Eclipse so it will know where to find the Red5 libraries to compile the application. Otherwise you are bound to receive errors.

Fourth Step -

It is now time to create the source file we need. make a new Java file named Application.java

Now we will create our source file. Create a java file, name it to Application.java

Here is the code that needs to be in the Application.java file:

package org.xyz;

//log4j classes
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

//Red5 classes
import org.red5.server.adapter.ApplicationAdapter;
import org.red5.server.api.IClient;
import org.red5.server.api.IConnection;
import org.red5.server.api.IScope;

/**This is the sample application class */

public class Application extends ApplicationAdapter{
/**Variable used for generating the log*/
private static final Log log = LogFactory.getLog(Application.class);

/**This method will execute when Red5 server will start*/
public boolean appStart(IScope app){
if(super.appStart(app) == false){
return false;
}
log.info(“Application start method of Application called”);
return true;
}

/**This method will execute when first client will connect to Red5 server*/
public boolean roomStart(IScope room){
if(super.roomStart(room) == false){
return false;
}
log.info(“Inside room start of Application”);
return true;
}

/**This method will execute everytime when a client will connect to Red5 server*/
public boolean roomConnect(IConnection conn, Object params[]){
if(super.roomConnect(conn, params) == false){
return false;
}
log.info(“Inside room connect method of Application”);
return true;
}

/**This method will be called when a client disconnect from the room*/
public void roomDisconnect(IConnection conn){
super.roomDisconnect(conn);
log.info(“Inside room disconnect method of Application”);
}

/**This method will be called when a client will be disconnected from application*/
public void appDisconnect(IConnection conn){
log.info(“Inside app disconnect method of Application”);
}

/**This method will be called from the client. This method will show “Hello World!” on *the flash client side .
*/
public String sayHello(Object[] params){
log.info(“I got your name:-”+params[0].toString());
return “Hello World!” + params[0].toString();
}

} ////////End of Application class

That file gives us a feel of what the server side code needs to look like. The documentation that comes with Red5 gives further details on the methods for the ApplicationAdapter class. We defined a method called sayHello and this gets the user name from the Flash client and adds it to the “Hello World!” statement before passing it back to the Flash client.

It’s time to run the jar task of our build.xml file to compile the application class, generate the jar we need, and copy it to the application directory we placed inside the Red5 installation.

Fifth and Final Step -

We’ve now prepared our server side application so we can start on the Flash application in order to connect it with the Red5 server.

Now you need to create a new Flash document, so:

Go to window-components in the library and drag an Alert component out. Open the Action-Frame and inside there you need to write this code:

import mx.controls.Alert;

var nc:NetConnection = new NetConnection();

nc.val = this;
nc.onStatus = function(info){
switch(info.code){

case “NetConnection.Connect.Success”:
Alert.show(“Got connected with application);
this.val.callServer();
break;

case “NetConnection.Connect.Failed”:
Alert.show(info.application);
break;

case “NetConnection.Connect.Rejected”:
Alert.show(info.application);
break;

case “NetConnection.Connect.Closed”:
Alert.show(“Client Disconnected”);
break;
}
};
nc.connect(“rtmp://localhost/sample”);

function callServer(){
var resultObj:Object = new Object();
nc.call(“sayHello”, resultObj,”Your Name”);
resultObj.onResult = function(str){
Alert.show(str); //This will display “Hello World! Your Name”
}
};
}

After the code is in place, save the application with the name sample.fla(user preferred)

Since this code shown above is Action Script 1 code it can also be put into an external .As file which can be referred to from within the application but we aren’t covering that method in this tutorial. Nevertheless, it is a valid option.

At last, you can run the Flash client and it should successfully connect with the Red5 server to show an alert box that reads, “Hello World! Your Name”

It really is that simple and now that you know the basics, expanding upon your knowledge will allow you to get the most from your Red5 experience!

Popularity: 13% [?]

Share and Enjoy:
  • email
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google Bookmarks
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot

5 Tips for Leaving Quality Comments

Friday, June 18th, 2010

Most people who run a website already know that they are going to need to spend a significant amount of time building incoming links if they want to have a lot of visitors, but very few people really understand how to do this in a smart and effective way. If you run your own site, whether it is a blog or not, or if you are thinking about setting up your own site then you really do need to think about how you are going to bring in visitors and one of the best ways is by leaving comments on other blogs. However, you shouldn’t just go around leaving comments at random because there are techniques you need to know about and basic etiquette you should understand.

Let’s cover 5 simple tips that will give you an edge when you go to leave comments and help make sure they are of the quality that will be appreciate by the blog owner:

Keep Comments Relevant – This is perhaps the most obvious rule, but far too many people ignore it in the quest to develop back links. You do not want to put funny little quotes like “Great read!” or “Nice site you have here” because that only makes the blog owner want to delete what you left. Not only will it annoy the site’s owner, but even if it does end up staying live, it is going to irritate potential visitors who will never click on your commenter name to visit your site. Respond to the written content or find something different to comment on.

Stick within Your Niche or Genre – If you run a music site, don’t go to a tax advice site to post comments. If you are thinking that any link is a good link, you are right. However, most blogs now are “no follow” which means they are not going to help your search engine rankings for your site. This means your comments need to appeal to human readers. Show the readers something that they will be interested in because it relates to what they have just read.

Show Some Personality – All this etiquette may make you a bit timid to say or do the wrong thing. Don’t worry about that when you first start leaving comments. You want to develop your personality as a webmaster and help build credibility for your site’s name and your name or nickname. If something makes you mad, be honest about it in your comment. Being a people pleaser won’t work constantly so allow yourself the full range of emotions you would normally have.

Stay Consistent – If you are building the reputation of your site then you need to try and visit the same blogs every once in a while to leave comments. Instead of scouring the net to drop one little comment on every applicable blog, find a handful of real movers and shakers. Concentrate on these blogs and let people get used to who you are and what you have to say. This establishes your identity and builds your reputation as a real person not just a hired commenting automaton.

Stick with it – You are going to need a lot of comments if you want to see a real effect on your site’s traffic. This means you need to comment at least a couple times a week for as long as you can stick with it. After a while it will become evident to both search engines and human surfers that you are real and your site is something they should check out. Long term efforts equal large scale rewards, keep that in mind.

Popularity: 5% [?]

Share and Enjoy:
  • email
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google Bookmarks
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot

The Art of Increasing Website Participation Through FFMpeg Videos

Tuesday, June 15th, 2010

One of the biggest changes to the internet in recent years has been the ever increasing reliance shown on not just text, but the higher end multimedia offerings such as sound and video. People are no longer content to read articles and glance at images; they want the full meal deal. They want to be given something that’s only a bit less than what they would see offline, TV. All you have to do is take a look at the massive amounts of traffic flowing to video sites like Daily Motion, Metacafe or YouTube each day and you will see that videos drive traffic like nearly nothing else. More sites have begun to use videos thanks to the simple embedding features offered by the big video sites, but many sites now also have their very own scripts that they use, too. Because these scripts are comprehensive in allowing you to host a wide range of material that you can easily pick up from more mainstream sources, in addition to content that you want to add by hand, they have been helping many sites take advantage of the FFMpeg solution that helps compress video in any size you are looking to use. It is easy enough to find quite a lot of content this way and that is going to help you have a nice set of lures to pull visitors in, but that’s not the primary advantage of using video on your website.

The fact is, the more people get involved with the content of your site, the more likely they are to actually commit to visiting it regularly. If you are approaching them only with text and images, you are only striking the visual core of the mind, but once you add motion the way videos can, you activate another part of their mind. Sound in the video brings in the audio processing part of the brain and creates more hooks for the memories to remain stronger and longer. That’s great for establishing your brand in the mind of the consumer, but the best part is that it encourages interaction. Videos have proven time and again to emotionally involve surfers faster and more effectively than text and photos ever will. The human element is simply stronger with videos so this is no real surprise. However, the effect is especially useful because it means people will comment back on the videos and share them with friends. That is incredibly valuable site participation that would be difficult to develop if you did not offer videos. Since FFMpeg is able to compress them so nicely and with such speed, you will be able to have these videos on your site in no time, provided you make use of a web hosting solution that actually gives you the ability to serve this type of video – which most state of the art hosting services are going to be capable of doing for you.

Effective website design means a serious eye out for interaction. Web 2.0 is here now and it is time for any site, from a blog to a traditional set of static web pages to full fledged community sites all to have videos available.

Popularity: 2% [?]

Share and Enjoy:
  • email
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google Bookmarks
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot