-
Source Code – Eliminating HTML Margins
Since the inception of the very first HTML document, margins existed that surrounded the document, like in the case with this document.
The margins are there to act as a cushion between the edges of the browser and the contents of the page, so it’s easier to read the content.
As good as margins are, wouldn’t it be nice to be able to eliminate them in some cases, where the design of the page calls for their termination? While most webmasters think it is not possible to “flush out” the default margins of a HTML document, it actually is, although only possible in IE 3+, and NS 4+. In this tutorial, I’ll show you how.
Eliminating The Document Margin In IE 3+
To get rid of the document margin in IE 3 and above, so content presses right against the edges of the browser, use the IE exclusive “leftmargin” and “topmargin” attributes:<body leftmargin=”0″ topmargin=”0″>
It’s as simple as that!
Eliminating The Document Margin In NS 4+
To get rid of the document margin in NS 4 and above, use the NS 4 exclusive “marginwidth” and “marginheight” attributes instead:<body marginwidth=”0″ marginheight=”0″>
Putting It All Together.
By putting the two techniques together, we can create a document that flushes out its’ margins in both IE 3+ and NS 4+:<body leftmargin=”0″ topmargin=”0″ marginwidth=”0″ marginheight=”0″>
Try out the above coding on your page, and you’ll see what I mean.
Article written by Lee
-
Building Your Brand – Business Basics
Many online businesses have a good solid brand name attached to them already for example, ARS (http://www.adultrevenueservice.com), Webair (http://www.webair.com) and, WEG (http://www.wegcash.com). These companies have worked long and hard to build up their own brand name on the internet and, specifically, in the adult industry where, it almost seems that everyone is out to make a name for themselves so, how do you as a small business owner get a piece of this branding pie?
Branding Basics.
The word ‘Brand’ or ‘Branding’ can refer to several items when used as a noun to describe a company name, product, service or, trademark. Branding started centuries ago when cattle ranch owners used to place their unique insignia on their cattle so that surrounding ranch owners knew who the cattle belonged to and, so that the owners of the brand knew if their cattle were being stolen by others.Starting The Branding Process.
From the very first site you build you should start working on your own inimitable brand name or logo, perhaps it will consist of a small logo on top of every page you build or even a simple text link for your sites domains, either way, the one thing that is important in recognizing a brand is being able to place it to a product instantly.Building Your Brand Name.
Now that you have started the branding process how can you continue to grow your businesses brand name or product even further? This is what we will take a look at next.Domain Name Registration.
Buy the domain name that is representative of your ‘brand name’ if your brand is going to be 123pornosex then go and register 123pornosex.com be cautious though, just because you think of a brand name, you should ensure the domain is available to register BEFORE you start using that brand in detail.Getting The Word Out.
This may seem like the hardest of tasks at first but, once you make a start in branding your site or, yourself this is relatively easy to keep up on an ongoing basis.Visit the boards, use your tagline as often as possible and, either mention your brand name in the tagline or, link to your brand names website. This is especially easy to do if you run a TGP or some other site that needs to attract webmaster traffic in order for it to succeed.
Start your own newsletter, this may seem an odd way to build your brand up but, if you name your newsletter the same as your brand name for example you might have a text link saying:
Join the BRANDNAME Newsletter.
This keeps the branding process alive and well. The next step you should take it to ensure that the sender address of the email is something like brandname@brandname.com again, even though you have collected the email addresses by sending out mailings from an address like the one above you have more of a chance of your brand name actually staying in the mind of the newsletter recipient.
In addition to a newsletter, you might also like to consider having a designer make you a logo or button you can use on your site/s this will come in handy for several uses for example, if you own a traffic site you can use this logo as a reciprocal link, you can use it in your signature on message forums and, you can even include it on sites you build.
You might also like to consider writing articles for other sites to use, usually the sites that publish your articles will place a link or a small bio to you or your site, this is another way to increase the ‘exposure’ of your brand.
Branding Overview.
All in all, building a brand name for yourself or your business need not be a hard and tedious task in fact, if you start off almost immediately building up name recognition for you and your sites. Regardless of what type of product, service or site you operate getting your brand name recognized by both webmasters and surfers can lead to a lot of money long term, start now and reap the benefits later in your career.Article written by Lee.
-
Using .htaccess Effectively
The .htaccess file is an ASCII text document that can be placed in any directory on your site. It can be used to control access to files and directories, and customize some server operation in your site. A .htaccess file can be created in any word processor but must be saved as text only. You must use FTP software in ASCII mode to upload or edit your .htaccess file. For the examples provided here, place the .htaccess file in your root directory.
There are a variety of functions that you can control using .htaccess some of the more useful of these are explained below:
Custom Error Messages.
Add the following to the .htaccess file::
ErrorDocument 404 /notfound.html
After “ErrorDocument” specify the error code, followed by a space, and then the path and filename of the .html file you would like to be displayed when the specified error is generated, each specific error code is detailed below with the recommended codes to be used in the .htaccess file in bold :
200 OK
206 Partial content
301 Document moved permanently
302 Document found elsewhere
304 Not modified since last retrieval
400 Bad request
403 Access forbidden
404 Document not found
408 Request timeout
500 Internal server error
501 Request type not supportedUsing the codes above your error section of the .htaccess file should look like this:
ErrorDocument 301 /notfound.html
ErrorDocument 400 /notfound.html
ErrorDocument 403 /notfound.html
ErrorDocument 404 /notfound.html
ErrorDocument 500 /notfound.html
ErrorDocument 501 /notfound.htmlRedirect to a Different Folder.
Add the following to the .htaccess file:
RewriteEngine on
RewriteRule ^/oldfolder(.*)$ /newfolder/$1 [R]This redirects the user from /oldfolder/anyfile.html to /newfolder/anyfile.html, when the .htaccess file is uploaded to the otherwise empty “/oldfolder” directory.
Denying User Access.
Add the following to the .htaccess file:
<Limit GET>
order allow,deny
deny from 000.00.00.
deny from 000.000.000.000
allow from all
</Limit>This is an example of a .htaccess file that will block access to your site to anyone who is coming from any IP address beginning with 000.00.00 and from the specific IP address 000.000.000.000 . By specifying only part of an IP address, and ending the partial IP address with a period, all sub-addresses coming from the specified IP address block will be blocked. You must use the IP addresses to block access, use of domain names is not supported
Redirect a Machine Name.
Add the following to the .htaccess file:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
# Rewrite Rule for machine.domain-name.net
RewriteCond %{HTTP_HOST} machine.domain-name.net $
RewriteCond %{REQUEST_URI} !machine/
RewriteRule ^(.*)$ machine/$1This will redirect requests for the machine name machine.domain-name.net to the directory machine on the site domain-name.net.
Different Default Home Page.
Add the following to the .htaccess file:
DirectoryIndex filename.html
Then a request for http://domain-name.net/ would return http://domain-name.net/filename.html if it exists, or would list the directory if it did not exist.
To automatically run a cgi script, add the following to the .htaccess file:
DirectoryIndex /cgi-local/index.pl
This would cause the CGI script /cgi-bin/index.pl to be executed.
If you place your .htaccess file containing the DirectoryIndex specification in the root directory of your site, it will apply for all sub-directories at your site.
Preventing Hot Linking.
Add the following to the .htaccess file:
# Rewrite Rule for images
RewriteCond %{HTTP_REFERER} <URL of page accessing your domain>
RewriteRule ^(.*)$ http://<same as above URL>You would replace the <URL of page accessing your domain> above with the domain name and path of the page that is referring to your domain. For example: www.theirdomain.com/users/mypage/
The RewriteCond directive states that if the {HTTP_REFERER} matches the URL that follows, then use the RewriteRule directive. The RewriteRule directive will redirect any reference back to the referring web page.
Using the above you should, safely be able to publish your sites on the internet knowing that you will not be privy to bandwidth thieves via hotlinking and also, that you will not lose any traffic through pages that are ‘not found’.
Article Written By Lee
-
Gay Adult Marketing 101
There is a myth out there that gay traffic is hard to convert because a gay surfer is reluctant to buy. This isn’t so. Conversions come down to two things:
- The gay surfer is discriminating; a membership to a site that has exactly what we want
- The gay surfer is loyal; I, believe, this comes from our experience as a community. When a Gay surfer decides to purchase a membership, it’s typically for a longer period of time.
This is evident with the better Gay Pay Sites; conversions may be lower than a straight hardcore site however, membership tend to be longer than the industry average. The gay surfer is discriminating; we look for a long-term membership with a site that has we want whether it’s teens, bears, amateurs, etc.
With that idea, I always advocate that age-old niche free site philosophy use a variety of sponsor programs on your sites. Typically, my free sites will have one main sponsor (I use Quality Males) then I’ll break my other banner slots down one Teen site, a Twink site and maybe a product like Viagra. But this will vary depending on the “flavor” or “personality” of your site – if you have a gay leather site, my main sponsor will be a Leather sponsor or product, with a variety of other sponsors (one mega site, a teen site, and maybe an adult toy store).
One marketing option, I tend to see working well is the full-page ad vs. only banners. I, honestly, do not know whether it’s a quality issue, a larger ad or the surfer’s disgust with banner ads, but it works well in our market.
One thing that experience has proven to me, it makes no difference whether you’re a webmaster to gay or straight traffic, you need to analyze your traffic. If you’re sending traffic out to sponsors and your not seeing the conversions, maybe you need to really look who your surfers are. If you’re lucky enough to know who your surfers are, then look for a specialty sponsor (whether partnership or click-thru program). It’s all a matter of finding the right sponsor programs and tweaking your site (and we all know how that can be). Don’t be afraid to experiment. It’s the long term that we need to be looking at. Remember that this isn’t “Who wants to be a Millionaire is 30 days or less”.
Gay traffic isn’t difficult to manage as many people think. It’s a matter of patience and understanding your market. And the best way to understand that market, is to ask a successful webmaster in the gay adult market..
Article written by Gary-Alan
-
What’s A CHMOD?
CHMOD is another name for setting the permissions of files on your server.
All UNIX based web servers understand the concept of permissions. these are broken down into three distinct areas.
Permissions for the person who OWNS the file.
Permissions for the group (all users are members of one or more groups).
Permissions for everyone else.Permissions are listed one of two ways either using numbers such as 755 or, using letters such as rwx-xr-x however they both mean the same thing.
The first number or first group of three letters stands for the permissions of the owner (IE 7 or rwx).
The second number or second group of letters stands for the permissions of the group (IE 5 or xr).
The third number or third group of letters stands for the permissions of everyone else (IE 5 or x).The way the system works is as follows:
1 = x = you are able to execute (run) this program.
2 = w = you are able to write to this file.
4 = r = you are able to read the contents of this file.so if you add it up rwx = 7.
So, in the example given above (755 or rwx-xr-x) the owner is allowed to read and write the file AND execute it.
The group is allowed to execute and write to the file.
Everyone else can execute the file.We hope this gives you a little more insight to how CHMOD’ing or, setting the permissions on your server can affect how files act.
Article written by Lee
-
Online Adult Laws – Privacy Policies
To many webmasters and companies working online the fundamental basics of their business is to turn a profit through effective online marketing campaigns and promotions however, within all of this profit making there is a side of business that is so often overlooked or, forgotten entirely, what is this business practice? The law.
In this brief article we will take a look at one such law that comes into effect in California on the 1st July 2004 namely, that all ‘web sites that collect any personal information from consumers to post a privacy policy’. Whilst this in itself is the first law of its kind in the United States it is worth mentioning that this is only a State law that affects California however, that said, where one state starts, others are sure to follow especially considering the huge potential left for the growth of the internet.
Privacy Policies – How Does This Effect You?
The main factor that you must take into consideration with this new law from California is that, because the Internet is truly global, you have no way of telling where one of your surfers are coming from thus, a surfer entering your site from California, may be making you break the law by not displaying a privacy policy should you collect their information. Incidentally, this new privacy policy law does not state what ‘collected’ information requires you to post a policy however, it would seem that personal information such as addresses, phone numbers and email addresses would be the primary target of this new Californian online law.Privacy Policies – The Basics.
So what is a privacy policy, in essence, it is a document informing your site visitors / customers that any information you collect from them, including user submitted information will be used in a specific way, this might be a case of solely being used by yourself or, specifically if you rent out this information you need to tell your surfers / customers exactly who you are renting this information to.Privacy Policies – Overview.
Whether you collect personal information from you site visitors or not the one thing that makes sense is to have a page created ready for the 1st July 2004 so that you can have it online for when you need it, perhaps storing this page on a central domain and linking to that page from all of your other web sites would be the best method to go as far as ensuring you are covered from prosecution or, perhaps creating a keyword rich privacy policy which you can get listed in the search engines is the way to go after all, just because this will become a legal requirement for you it does not mean that you cant profit from the potential traffic going to that page.Article written by Lee
-
Domain Name Registration Services What To Look For
Once upon a time, if you wanted to register a domain name, you could only do it by visiting Network Solutions at http://www.networksolutions.com/ and paying them whatever they asked for, about $35.00 per year.
Then ICANN, http://www.icann.org/, The Internet Corporation for Assigned Names and Numbers (ICANN) that is the non-profit corporation that was formed to assume responsibility for the IP address space allocation, protocol parameter assignment, domain name system management, and root server system management functions previously performed under U.S. Government contract by IANA and other entities, decided to change the rules.
The initial testing phase of the new competitive Shared Registry System for the .com, .net, and .org domains quietly began to take place in April of 1999.
It started with five participants who were the first to implement the new system for competition in the market for .com, .net, and .org domain name registration services.
Previously, registration services in the .com, .net, and .org domains were provided by Network Solutions, Inc. under an exclusive contract with the United States government.
In the two years since this program began, things have really changed.
Just this last week, ICANN reported that two of their registrars, Tucows and New York-based Register.com, had recorded more new registrations for Top Level Domains (dot-com, dot-net and dot-org) than VeriSign’s Network Solutions.
This marks the first time ever that VeriSign’s Network Solutions was out-sold by any of the registrars and signals that their past dominance of domain name registration is certainly fading.
Why?
Because besides others being allowed to make domain name registrations, these new registrars are also cutting prices.
The Rules have most certainly changed.
The Shared Registration System (“SRS”), ICANN’s accredited registrars program, allows people to submit application to become a registrar along with a non-refundable $1000 filing fee.After someone is accepted into the program then they must pay a yearly fee of $5000 to maintain their status as an accredited registrar.
This situation has created a very competitive environment which can only be beneficial to all of us as the price to register a domain name has fallen like a rock from a very tall building.
However, if you plan to register a new domain name using a virtual unknown registrar, make certain they do indeed have the legal accreditation from ICANN by visiting the ICANN web site and viewing their posted list of ALL accredited vendors:
http://www.icann.org/registrars/accredited-list.htmlIt will only take you a few moments to make sure you are dealing with a reputable vendor of domain names. Those few moments will make the entire process legal and worry-free.
Article written by Lee
-
Moving To A New Hosting Company
Moving to a new hosting provider does not have to be a frustrating task if done properly.
Adult webmasters usually have to upgrade their hosting services once their respective Web sites become popular, usually because their current host cannot provide an effective level of scalability or technical support or, perhaps even the cost of bandwidth becomes to high.
In order to transfer service efficiently, in the event that it becomes necessary, webmasters should ensure that all their content, including Web pages, databases and scripts, are properly archived.
You should always back up your data at regular intervals in case of unexpected data loss or hardware failure. Ensure that all data is archived recursively. This will ensure that all your data is archived and compressed in its original directories, which is very important if you want to retain the full working integrity of your Web sites.
You may also find that your new hosting company may be able to transfer the files directly from your old server to the new one you are getting with them, ask before hand if this is something that they can do for you as it is generally a lot quicker for them to do it than for you to upload the files yourself for instance, Web Air will do this work for you.Once you have recursively archived your site, make arrangements to purchase your new hosting services. Make sure that any new solution you select includes basic services that approximate and excel the service that you where obtaining with your previous hosting provider. It makes no sense to replace your present hosting service with another Web hosting solution that equally cannot fulfill your technical or financial requirements.
The best resource to use to find a better hosting firm specific to the adult hosting industry is Adult Hosting Companies, the largest adult Web hosting resource directory with currently over 250 hosts listed.
Once your new solution is activated, upload your archived Web pages, database and scripts to the new host. You will be allocated an IP number from the new hosting company. Take time to debug and test the new site from the individual IP number, not forgetting things like your cgi scripts may need altering.
Once your site is entirely debugged and you verify that all site functionality is operative, then transfer your domain name service (DNS) servers over from your old server to your new server.
During this DNS transition period, which is referred to as the “propagation period,” your Web site will be resolved by both your new and old host, as the new DNS information about your Web site filters through the Internet globally. It typically takes about 10 days for the transfer to fully propagate around the Internet; so keep your old site running in case you get visitors whose ISP’s have cached your site on the old server.
It is important however that you retain both your old and new hosting services during your propagation period of 10 days. You will need to check your e-mail from both hosting providers since different regions of the Internet will remit e-mail to your original host while other regions will remit mail to the new server during this time.
Once a week or two have elapsed, cancel the account with the previous hosting company. Only cancel your old account when e-mail stops arriving from your old hosting provider.
If you follow these steps carefully, then your host change should be easy and stress free.
Article written by Lee
-
Do You Keep The Surfers Attention?
A new discovery says that people are born to respond to information a certain way. It also indicates that when we use our in-born or natural style to process information, we relax and feel good. The same research also indicates that 92% of thousands tested have changed that style to one they think works better. The change causes stress. So 92% of the viewers of your site are stressed. Because people often visit your site and click off almost instantly, you face the problem of getting their attention and keeping it long enough to persuade them to buy.
The fact is that people today have shortened attention spans. If you don’t get them in the first few seconds, you lose them! You can either build a terrific web site — or just end up with “click thrus.” Many site owners think it enhances a site to add animation or cool sounds. But the answer is to make your site appeal to the individual. Great sites of the future will know how to “individualize” their message.
Even though we all have to learn how to use a computer, high tech has not made people think the same way. You are not battling high technology; you are fighting to keep the attention of three (3) basic in-born styles. This may sound overwhelming, but it is really a simple matter of anticipating a viewer’s response before he or she gets to your site. Anticipation of responses makes or breaks your site.
So how do you anticipate how a viewer responds before it happens? It is really simple. You start by learning how you personally respond to information. Why is this the beginning place? It is because you and the way you react when receiving or giving out information influences everything about your site. Next you learn about the other ways people respond to information. It is easy to begin anticipating reactions as you get a whole new perspective on how people are born to process information. Things start to make sense to you and people are no longer such a mystery.
These conclusions are drawn after over 20 years of research. The research verifies that it is possible to appeal to most views rather than 2 – 4 in a thousand. So, when someone tells you how to write killer copy, or make your site jazzy with new technology, you are hearing from only one of the basic in-born styles. Take everything with a grain of salt until you evaluate it according to the simple guide that lets you appeal to ALL styles rather than only one.
Article written by Lee
-
JavaScript – Redirecting Foreign Surfers
At some point or another we are no doubt going to have the need to redirect some or all of our surfers based on the language they speak, this snippet of JavaScript when placed on your page will enable you to do just that without the need for .php or other more complex scripting.
Here is the coding that you need to place between your <head> and </head> tags:
<SCRIPT LANGUAGE=”JavaScript1.2″>
<!– Begin
if (navigator.appName == ‘Netscape’)
var language = navigator.language;
else
var language = navigator.browserLanguage;if (language.indexOf(‘en’) > -1) document.location.href = ‘english.shtml';
else if (language.indexOf(‘nl’) > -1) document.location.href = ‘dutch.shtml';
else if (language.indexOf(‘fr’) > -1) document.location.href = ‘french.shtml';
else if (language.indexOf(‘de’) > -1) document.location.href = ‘german.shtml';
else if (language.indexOf(‘ja’) > -1) document.location.href = ‘japanese.shtml';
else if (language.indexOf(‘it’) > -1) document.location.href = ‘italian.shtml';
else if (language.indexOf(‘pt’) > -1) document.location.href = ‘portuguese.shtml';
else if (language.indexOf(‘es’) > -1) document.location.href = ‘Spanish.shtml';
else if (language.indexOf(‘sv’) > -1) document.location.href = ‘swedish.shtml';
else if (language.indexOf(‘zh’) > -1) document.location.href = ‘chinese.shtml';
else
document.location.href = ‘english.shtml';
// End –>
</script>To add additional language redirects to this JavaScript all you need to do is duplicate the:
else if (language.indexOf(‘zh’) > -1) document.location.href = ‘chinese.shtml';
Section of the coding changing the (‘zh’) language code to that of the language you wish to redirect.
Article written by Lee
Premium Sponsors
Categories
- 2257
- Billing Solutions
- Blogging
- Branding
- Content
- Domain Names
- Employment
- Forms & Contracts
- General
- Hosting
- Link Lists
- Opt-in Mail
- Paid Traffic
- Pic Posts
- Promotion
- Scripts
- Search Engine Optimization
- Sponsors
- TGP
- Traffic
- Tutorials
- Viral Marketing
- WebDesign
- Writing