• Using Basic Server Side Includes (SSI)

    Date: 2011.02.24 | Category: WebDesign | Response: 0

    Server side includes are what their name sounds like.  A way to include the contents of another file into your current web page BEFORE the web page gets sent off to the surfer.  Not only does this include contents of a static file but you can also include the results of a CGI program and on some web servers, you can even have it display the current date and time.

    Now, many web hosts do not normally have server side includes turned on. You will have to ask your host if they have SSI turned on and if they do, what is the file name extension for SSI.  By default, SSI files have an .shtml extension.

    Sometimes, you can turn SSI on yourself.  If you host doesn’t have SSI turned on for you already, you can try adding the following two lines to your .htaccess file.  Then create a file with the .shtml extension, include a SSI command and see if it works.

    AddType text/html .shtml
    AddHandler server-parsed .shtml

    When you use SSI commands, you place them exactly in the location within your web page where you want the output of the SSI command to appear when you finally browse the page.  If you have SSI, then you can use the following command to include a file.  When you include a file, you can either give it a path name to the file or you can give a URL to the file. I’ll list both here.

    <!–#include file=”/some/path/above/my/web/to/my/header.html” –>

    This is an example of how to include a file based on its path name.  Now,
    here’s the same file put included with its URL.

    <!–#include virtual=”/to/my/header.html” –>

    And this is an example of how to use a URL.  With a URL however, it cannot be a complete URL such as http://www.somesite.com/somefile.html.  It has to be within your current website.  You can also use the URL method to run a CGI script!  Here’s an example of that:

    <!–#include virtual=”/cgi-bin/somescript.cgi?myfirstarg=1amp;mysecondarg=2″
    –>

    As you can see, we can even pass arguments to the CGI script just as if you typed it into your browser!  There is also another way of running a CGI script but this is not as widely used any more and you should use the #include virtual method instead.  Here is the same example so that you will know what it means when you see it.

    <!-exec cgi=”/cgi-bin/somescript.cgi?myfirstarg=1amp;mysecondarg=2″ –>

    As I mentioned earlier, you can use SSI to display the current time and date. Here’s how:

    <!-echo “$DATE_LOCAL” –>

    This will display the current date and time. SSI is usually used when you  want to have a standard header or footer on each page.  It’s also used for displaying rotating banners or page counters. As you see above, you can also  use it to display the current date and time or the date when the page was  last modified.

    SSI has also been used for cloaking and some tracking  software uses SSI to track each incoming hit to the web page.  If you would  like more information about SSI, go to
    http://www.apache.org/docs/mod/mod_include.html.  This is the definitive guide on SSI on the Apache web server.

    Most other web servers that use SSI also follow these conventions.

    Article written by Lee

  • JavaScript Know How

    Date: 2011.02.22 | Category: Scripts | Response: 0

    JavaScript can be one of the most useful additions to any web page. It comes packaged as standard in Microsoft’s Internet Explorer and, Netscape Navigator and allows webmasters to perform field validations, mouse-over’s, pop ups and a whole entourage of other nifty little features on our sites.

    In this article we will show you how to:

    – Display the browser name and version number
    – Change the text in the status bar of the browser
    – Use an input box to get text from the user
    – Use a message box to display text to the user
    – Change the title of the browser window

    Before that, however, we need to know how to setup our web page so that it can run the JavaScript. JavaScript code is inserted between opening and closing script tags: <script> and </script>, like this:

    <script language=”JavaScript”>

    –> JavaScript code goes here <–

    </script>

    These script tags can be placed anywhere on the page, however, it’s common practice to place them between the <head>and </head> tags. A basic HTML page that contains some JavaScript looks like this:

    <html>
    <head>
    <title> My Test Page </title>
    <script language=”JavaScript”>

    function testfunc()
    {
    var x = 1;
    }

    </script>
    </head>
    <body>
    <h1>Hello</h1>
    </body>
    </html>

    For the examples in this article, you should use the basic document format I have just shown you, inserting the JavaScript code between the <script> and </script>tags. When you load the page in your browser, the JavaScript code will be executed automatically.

    Displaying the browsers name and version number.

    The “navigator” object in JavaScript contains the details of the user’s browser, including its name and version number. They can be displayed in a browser using the document.write function:

    document.write(“Your browser is: ” + navigator.appName);
    document.write(“<br>Its version is: ” + navigator.appVersion);

    I run Windows 2000 and Internet Explorer version 6, so the output from the code above looks like this in my browser window:

    Your browser is: Microsoft Internet Explorer
    Its version is: 4.0 (compatible; MSIE 6.0b; Windows NT 5.0)

    Changing the text in the status bar of the browser.

    To change the text in the status bar of a browser window, just change the “status” member of the “window” object, which represents the entire browser window:

    window.status = “This is some text”;

    Using an input box to get text from the user.

    Just like in traditional windows applications, you can use an input box to get some text input from the user. The “prompt” function is all you need:

    var name = prompt(“What is your name?”);
    document.write(“Hello ” + name);

    The prompt function accepts just one argument (the title of the input box), and returns the value entered into the text box. In the example above, you get the users name and store it in the “name” variable. You then use the “document.write” function to output their name into the browser window.

    Using a message box to display text to the user.

    You can display a message box containing an OK button. These are great when you want to let the user know what is happening during their time on a particular page. You can use a message box to display the “name” variable from our previous example:

    var name = prompt(“What is your name?”);
    alert(“Your name is: ” + name);

    The “alert” function takes one argument, which is the text to display inside of the message box.

    Changing the title of the browser window.

    To change the title of a web browser’s window, simply modify the “document.title” variable, like this:

    document.title = “My new title”;

    One bad thing about the “document.title” variable is that it can only be manipulated in Microsoft Internet Explorer. Netscape’s implementation of JavaScript doesn’t allow for modification.

    In Closing.

    As you can see from the examples in this article, JavaScript is a powerful scripting language that can be used to enhance a visitor’s experience with our site. However, you shouldn’t use JavaScript too much because in some cases it can annoy visitors and send them packing before your site even loads!

    Article Written By Lee

  • How To Become A Gay Porn Star

    Date: 2011.02.22 | Category: Employment, General | Response: 0

    A quick look across the gay side of the adult industry will show it is lacking in one thing that its straight counterpart has in an abundance, amateur male models with their own adult porn sites. With that said, if you wanted to tap into this market how could you go about doing so and, more importantly, could you make money from working on the other side of the camera for a change? This is what we will look at in this article.

    Becoming A Porn Star – The Basics.

    Any web cam model will tell you, to have your own porn site will take a lot of persistence, time and, more importantly, personality, not least from the webmaster side of the industry however, in my opinion I think the pressure that a webmaster may face breaking into the gay male porn side of the adult industry might just be a bit harsher than what the bubbly web cam girls have to contend with, not only because as a male you will be appearing in content but, because your primary traffic base, whether you like it or not, will be a mixture of women and gay males.

    Male Amateur Sites – Getting Ready.

    Before you start to even put your first ideas down on paper you need to do one thing, spend some time to research what is needed in order to start your own amateur porn site. In doing so, you will see that not only is everything in the two paragraphs above true but, you will also learn a little about yourself and, more importantly, about other webmasters and your surfers. Now you have the fundamental questions you need to ask yourself these are, What equipment do you need to run a male amateur site? What amount of investment in both time and money do you need to put into building your site? How much will you charge your surfers for access to your site? and, Is this going to be a long term commitment from yourself that could be possibly better spent elsewhere? Answer those questions as honestly as you can before proceeding and furthermore, think long and hard about the answers.

    Gay Amateur Web Sites – The Alternatives.

    So lets stop for a moment and consider that you have realized you do not want to build and maintain your own male amateur site but, you would still like to be male porn material, where do you go from here? Well there are companies who can put you on their books and give you work from time to time such as http://www.redbagproductions.com a male modeling agency for the adult industry, this will in all likelihood be the place for you to start your search, find out how many places there are that can get you talent work and, what type of modeling work you will be required to do.

    Becoming A Gay Porn Star – An Overview.

    With sites online such as Every Stag and the slew of other male modeling agencies finding a medium to start your modeling career wont be hard but, with this career comes uncertain hours, hard work (in more ways than one) and, to some extent, fame amongst the gay adult porn surfer. If this is something that you feel you can devote the time and energy towards and, are able to cope with the voyeuristic side of your personality then go for it, if however, you are still unsure after reading this brief article, perhaps becoming a gay pornstar isn’t for you?

    Article written by Lee

  • Promo Material – Make The Most Of Your Marketing

    Date: 2011.02.22 | Category: Promotion | Response: 0

  • Using JavaScript To Auto Scroll Text

    Date: 2011.02.24 | Category: Scripts | Response: 0

    Using JavaScript To Auto Scroll Text.

    There may come a time when you would like to have some text on a page that is simply just to big to fit on a single page. Of course, you could always create a new document for this text but, what if you could make the text actually scroll through the surfers browser?

    The following JavaScript will do just that.

    Place the following section of JavaScript coding between your <head> and </head> tags:

    <SCRIPT LANGUAGE=”JavaScript”>
    <!–

    function scrollit() {
    for (I=1; I<=1200; I++) window.scroll(1,I);
    }

    // –>
    </SCRIPT>

    Along with the following JavaScript coding someone in the Body of your page:

    <FORM>
    <INPUT type=button value=”scroll” onClick=”scrollit()”>
    </FORM>

    Have a play around with the numbers in the first section of the JavaScript to speed up and slow down the rate of scrolling until you find a speed that is easy on the eye.

    Article written by Lee

  • HTML Page Load Times – Making Them Quicker

    Date: 2011.02.22 | Category: WebDesign | Response: 0

    Surfers on the web are here for one thing and one thing only, they want information, they want it to be correct and, more importantly, they want it now. We cant always help when it comes to getting the information however we can help them so far as making sure that when one of the surfers clicks on our pages they load quickly.

    Taking Control Of Speed.

    For many webmasters hand coding their HTML pages is an often timely and costly method and, because of this they turned to the WYSIWYG (What You See Is What You get) editors such as Dreamweaver and Frontpage to create their pages for them however, even this in itself requires some manually intermission on the webmaster part. Many of the older style WYSIWYG Editors added a fair amount of un-needed code to the HTML so, spending a few minutes after you have your pages created to physically go through the HTML code and clean up the junk html can in effect, cut down your page size by up to 25% in some instances.

    HTML Quotations And Hyphens.

    In addition to un-needed HTML tags you may also want to consider removing any quotation marks or hyphens from your HTML code, both of these can quickly clutter up a page and laden it down with more code than is actually required.

    For example, ‘HTML Coding’ makes just as much sense as me telling you HTML Coding when read in sequence. The trick with using quotations and hyphens is actually knowing at what point in your text you can ‘get away’ with removing them and, this is only something you will know yourself after proofing your completed page.

    Hyperlinks.

    If you are only going to provide links from one page of your site to another then, why use absolute paths? http://www.domain.com/linking.html is the same as /linking.html when you use it in a link from one page on your site to another and, well, in all honesty you have increased the load time of your page by only linking to the relative url instead of the absolute and that’s what we are trying to do here right? Make our pages load faster.

    White Space.

    White space on a web page can be a good marketing tool however, white space in your HTML code is a bad thing, placing spaces between certain parts of your HTML code can quickly bog down your load times instead, try to use the tab key to separate certain parts of code likewise, keep the use of &nbsp to a minimum, this can quickly become the most relevant term on your page if used in excess.

    One other benefit of making your pages as small as possible is that a webmaster wanting to steal your HTML code is going to have a harder time finding the exact piece of coding if the HTML is all on a single line than they would if the code was laid out nicely however, this in itself is only a deterrent and it wont stop those webmasters determined to steal your HTML code.

    Page Load Time Overview.

    Hopefully this brief article has given you some idea of ways in which you can practically reduce the load time of your pages without affecting the overall look and feel of your site and, who knows, if your page loads quicker, then you have a better chance of your surfer getting to your sponsor quicker.

    Article written by Lee

  • Blogging For Traffic – An Alternate View

    Date: 2011.02.21 | Category: Blogging | Response: 0

    Just recently the adult industry seems to have gone ‘blog’ crazy in fact, it is almost a daily occurrence that webmasters mention a blog of some description on several message forums however, when it comes down to it, does blogging really matter at all? This is what we will take a look at in this article.

    What Is A Weblog Or Blog?

    A Weblog, or ‘Blog’ for short, is a kind of website or a part of a website. It is usually, but not always, run by a single person and they publish bits of writing on the Weblog. These bits of writing, called ‘entries’ or ‘posts,’ generally appear on the front page of the weblog in reverse chronological order, that is, with the newest entry at the top of the page, with older entries progressively further down.

    So How Can Blogging Help Me?

    Quite honestly, I don’t think it can. Think about it for a moment, you spend an hour or so a day writing a page in your online journal only for it to be erased or archived at a later date, doesn’t that seem strange to you? Instead of blogging why don’t you actually do something constructive such as making a .html page out of the text you were going to use for your blog, keyword it up and upload that directly onto your server? After all this in itself will benefit you in the long term much more than a quick page that will eventually disappear from existence. Of course there will always be those people who do successfully use blogs as a part of their marketing strategy and, kudos to them however, looking at the bigger picture, it makes much more sense to have a fresh HTML page which will remain indefinitely on your site that you can keyword and SEO for the search engines rather than something that is going to become relatively short lived.

    Blogging – Overview.

    To be perfectly honest with you, all of this talk of creating a blog to get additional traffic is, in itself just ‘hype’ unless you have a source of blog owners to link back to your blog or, an hour or so to kill each day wasting your time writing your blog your time really would be much better served coding HTML pages. After all, HTML pages have worked for the last 30 years, why all of a sudden have webmasters stopped using them?

    Article written by Lee.

  • AVS Changes – Is The Proverbial Sky Falling?

    Date: 2011.02.24 | Category: General, Promotion | Response: 0

    With the announcement yesterday from several of the large AVS systems, Free Age Card, Sex Key and, Gay Passport (also speculation on and off the forums state that Mass Pass were aware of this happening) that they will no longer allow webmasters to use the terms; AVS, Adult Verification Service, AGE Verification Service and, Access to thousands of other sites what does this hold in store long term for AVS webmasters?

    Quite simply, it looks at first glance as if these changes have something to do with the speculation surrounding VISA and AVS systems from a few months ago.

    In fact, these changes have been on the horizon for some time now however, until yesterday webmasters seemed to be unsure as to what, if anything will be changing. Even though the speculation has been circulating for some time, one of the first AVS systems to envoke these new rules, Sex key, came out with the following statement; ‘While we knew changes were coming, we just now found out what we believe are the new requirements. With this new information, we are trying to comply as quickly as humanly possible.’ quickly followed by; ‘We felt it was better to give people a chance to modify their sites this weekend rather than to not be in compliance Monday.’- Craig Tant.

    One thing is certain, come Monday, there WILL be a lot of unhappy webmasters

    So apart from the added workload for webmasters what other issues is this likely to bring up in the immediate future, well, again, based on the rumors and, i should stress that is all they are up to this point in time, from a few months ago we could expect one or more of the following items to happen to the AVS model as we know it.

    1) Visa starts to charge the AVS companies the $750 fee just to process memberships.
    2) Visa starts to charge individual webmasters the $750 fee to use an AVS service.
    3) AVS Systems cease to exist.

    So, lets break each of the above items down and see how it will have a long term effect on both AVS webmasters and, the adult industry as a whole.

    AVS Companies Charged $750 Visa Fee’s.

    In itself this isn’t a big issue that we should be immediately worried about, after all the AVS company will be the one footing this bill and, with the amount of traffic and sales that these programs get $750 is a relatively small pebble at the foot of a mountain. That said however, some of the smaller AVS systems might end up having to close because they cant afford the fees in much the same way that some Amateur paysite owners had to close their aff programs.

    Webmasters Charged $750 Visa Fee’s.

    This is the option that i am most concerned with, after all, with thousands of AVS sites being built each day and being submitted to literally hundreds of AVS companies the potential cost of this could run into thousands for individual webmasters.

    Of course, with this expense there also comes some benefits. The immediate benefit that comes to mind is that a lot of the dishonest webmasters will refuse to or, be unable to pay this fee that in itself will lighten the strain for the rest of the industry.

    There is also the possibility that webmaster may need to pay this fee for each and every AVS that they submit to which, in itself will not only harm the individual webmasters but, it will also see the rise and, dare i say it, fall of some of the smaller or less profitable (from a webmasters point of view) AVS companies. No doubt if this did ever happen the likes of Cyberage, UGAS, Global Male Pass et al will be unaffected as, they have enough of a webmaster following and traffic base to ride this potential storm out.

    AVS Systems Cease To Exist.

    This is potentially the worst case scenario and, whilst i will be the first to admit that this is VERY unlikely to happen, the possibility needs to be looked at.

    What happens to all of your sites you have in the AVS systems? What happens to all of your potential rebills? What happens to all of that AVS traffic?

    Well i would say for the most part, changing your sites from AVS to the free model wont be such a big deal for webmasters however, the financial losses to individual webmasters and companies could run into hundreds of thousands a month. With these financial losses will more webmasters leave the industry or, will more of the AVS webmasters start running TGP’s and dilute the traffic quality even further?

    Speaking of traffic, we all know by now that AVS traffic is qualified potent traffic but, what will happen when this traffic, should the AVS be closed down, hit the adult web again? Quite simply long term the effects of such a force could have positive and negative effects ranging from paysite memberships sales rising to the onslaught and proliferation of free porn being searched for again – good news for TGP owners.

    As you can see from the above, all of the speculation, rumors and, facts speak for themselves in so much as, if you are an AVS webmaster, you NEED to start diversifying your business model to ensure that even if the worst doesn’t happen, you are still able to be profitable online.

    Article written by Lee

  • Basic Bookkeeping For Adult Webmasters

    Date: 2011.02.21 | Category: Forms & Contracts | Response: 0

    Knowing how much you are spending on expenses for your online enterprise each month can be a very powerful tool. Taking out that shoe box at the end of the year and giving it to the Accountant is one way. But a very simple bookkeeping system can provide you with exactly how much you made each month after all expenses. In this article I will provide you with the knowledge to setup a simple system to track your revenues and expenses. Not only will you then know exactly what your Net Income or Loss is each month but at the end of the year you will have a nice neat little package to hand your Accountant. Which will result in lower accounting fees at tax time.

    The first thing you need to do is find a way to file all receipts. Your receipts are the backup for all your transactions. Go to your local office supply store and buy an accordion file labeled with monthly slots. Each time you receive a business related receipt, file in correct month. Remember you need to file all your receipts for your numbers to be accurate. When you receive an email receipt for content or hosting print it out and file it. File sponsor cheque stubs, credit card receipts, ISP bill, etc. At the end of each month take out all your receipts and divide into revenue and expenses. Remember you must have a receipt in order to claim the expense. The receipt should show the detail of the purchase, vendor, amounts and date. Ensure that the expenses are needed or used to generate revenue for your business.

    Now the next step depends on how much detail you would like.
    Revenue-Expenses=Net Income or Loss. For a quick snapshot of the month add up the revenue receipts, staple all receipts together and put the total on the front either adding machine tape or handwritten. Repeat with all your expense receipts. You can put a quick summary of the month in a spreadsheet program. Or for a very small investment you can setup a computerized tracking system. I recommend buying a very inexpensive software such as Quicken. Most major banks, credit cards and even paypal are setup to download transactions to Quicken. You can purchase the Personal Finance version of Quicken for around $70. There are several other inexpensive personal finance software packages that you can purchase that will work as just well. But I personally prefer Quicken. The software you choose will have a list of business accounts already setup. For an adult enterprise you will need to customize the account names. This is very easy and quick to do. Add in accounts for content purchase, hosting, isp, traffic purchase, etc.

    Once a week you will open up your program download your transactions from your bank account, credit card, paypal etc. If you have an expense that you pay cash for you will need to add that transaction in. I am assuming that all your sponsor cheques are being deposited into a bank account or paypal. If you receive a check and cash it, manually add the transaction in. After you have finished entering your transactions for the week ensure that the receipts that you have balance to what you have entered in the software.

    You will be amazed at how simple it is to use a software package such as Quicken to track your revenue and expenses. These software packages come with pre-made report tools. Such as income statement, analysis of expenditures, cash flow projections. You can even setup budget numbers for your business.

    If your business consists of a lot of transactions in a month you might want to consider using a bookkeeping/accounting service. There are many online and locally owned businesses that charge a very low rate for doing small business bookkeeping. Remember you don’t need an Accountant to do general bookkeeping. Many small business owners think they need an Accountant to do the monthly bookkeeping. This could result in unnecessary fees. Depending on the size of your enterprise and your passion for numbers sometimes employing a bookkeeper to do the data entry can be a blessing! Most bookkeeping providers will even provide customized reporting based on your needs.

    Article written by Lorna

  • Message Boards – Getting The Postings

    Date: 2011.02.23 | Category: General | Response: 0

    There are plenty of free scripts available on the web which will enable you to start your own online discussion forum.

    However, having the most sophisticated and advanced features in a forum does not mean it will be successful by any means. It is the people who post on the forums that make them good not the scripts used to maintain them. This article is dedicated to getting people posting on your forums.

    It can be really quiet on your forum especially at the beginning when there are no real discussions going on, this is because people don’t want to be the first to post. They want to see some topics that interest them already being discussed, they want to be able to read through some posts first before having to post themselves. With this in mind, you should also be aware that just because a forum doesn’t seem busy, it can in fact get thousands of hits a day. Lurkers make message boards what they are, and, for this reason alone you should act professionally and courteously when making posts on any forums, one day, you might have to do business with one of these so-called ‘lurkers’ and, if they have seen you in a bad light on a forum, the chances are they wont want to know you. So what do you do to get your message board off the ground? There are a number of things actually and, some of these are as follows.

    First of all, make sure the signup process is as simplistic as possible, even better, ensure if the user doesn’t want to register, they don’t have to! To attract people to post on your boards why not get a few of your friends together and start some discussions of your own, you could even register a couple of different usernames so that your forums look busier than they actually are thus cementing the thought that your forums are active and will have worthwhile discussions taking place.

    To find some current topics for your forums why not visit some of the other message boards and see what people are discussing, if a topic is receiving a lot of interest, post about it on your forums. This is especially a good idea if your forums are specific to one area after all, if your competitions forums posters are interested in this topic, your forums users will be too.

    Another great way to get people to start talking on your discussion forums is to use a contest. For example, currently on European Webmasters we have a content giveaway whereby for each post you make you gain a point and, once you have reached a certain level of points you will be able to download exclusive content sets. If you are going to start a competition then make sure people are aware of it, post some information about it online and get something to giveaway that everyone wants.

    One other method to get additional posts is to put up subject lines and links to the topic threads from your main website page. Again, if you publish articles on your site create a link to your discussion forums and invite people to openly discuss the articles in question, not only will you get people posting on your message board but, you will also gain invaluable information from your user as to what they look for and want in articles you write.

    If you publish a newsletter, again, this is another great way to build interest in your message board. Simply ask them to post, tell them you are building up a great resource and, you need their help as much as you need theirs to make this happen. If you have provided them with high quality information in your newsletter the chances are they will repay you by posting on your message board.

    In conclusion, you should basically try and plug your message board wherever you can by doing the above, create banners for it and display them on your website, place a note in your signature file encouraging people to visit and post if they require assistance with anything. Its hard work but, once you have a few regular posters it will take off.

    Article Written By Lee

Premium Sponsors















Categories

Site Links