Software Discounts

Account manager/Listing manager

In 2010, when we were in the throes of The Transition, I created a simple account manager that made it easy to log in. I may have sold a few. After we had the ability to turn listings on and off, I created a listing manager.

The old video has been set to private. The new one, as seen below, includes some musing by myself on what it would take to make it usable for typical Niteflirt users. I haven’t figured that part out yet, having started on a tutorial but gotten bogged down in details.

Asianguyprogrammer has a day job and may not be doing anything for Niteflirt users in the foreseeable future.

Simple Niteflirt listing template generator

A lot of flirts have complained over the years about how hard it is to create that first listing, since many of them have no experience writing code. They could hire a designer, and maybe shell out a lot of money and get more than they wanted, which is just a simple listing that isn’t broken.

I’ve created a simple listing generator that is perfect for someone who wants something simple. There are no options to get confusing. All you need to do is fill in a few form fields and you get valid code to paste into your listing. And it’s free!

Here’s an example of one I made. Click the thumbnail to view the listing live.

site thumbnail image

Simple Listing Template Generator

If you are registered as a user on this site…

It appears some people who are not malevolent bots registered on this blog in the past. There was only one person who I invited to register, and there were quite a few random registrations from strangers on the web who were no doubt looking for an insecure blog where they could post links to the site paying them or malware.

Registration is closed. If anyone has a real need to be registered here for some reason, I will register you by hand myself.

When cleaning out all the old spam members, I probably cleaned out a few who were not of ill-intent. Oh, well.

Broken listings and Niteflirt code: a history

Note: I wrote this originally right after the code change took place. I have edited it yet again to try to make it informative.

Of course, way back in the days before I started working Niteflirt (which has been around since 1999), there were few restrictions on code that flirts were permitted to use. When I started working on Niteflirt in 2005, I could still see some evidence of things that flirts used to do but were no longer permitted to do. But by the time I started, there were a number of things which had been banned. Listings could not be edited that contained these things. I suspect there were some listings that had been suspended because they contained malware or other such evil or manipulative stuff, like the listing that sent a payment mail to every member who landed on that page.

Before the Transition (which happened in September of 2008), Niteflirt permitted flirts to use whatever code they wanted, provided they didn’t use things that were forbidden. But for the most part, the site was very forgiving of invalid code usage. Some things displayed in a more or less okay manner, even though they weren’t quite right. In particular, broken code was acceptable for use, even if the net effect was broken listings.

Then came the transition. When things settled down, flirts were still permitted to use their listings that were full of broken code, but they were also able to use a number of more advanced features of the web, which made listings much more versatile and attractive.

That changed.

Now there is what I call a “code munger” that scans your submitted listing code, looking for banned tags and random errors. Only certain types of tags are usable, and they have to be used in a certain way. There are defaults that are different on a flirt’s homepage and listings, so code will likely not look the same on one page as the other. Some of the tags we are not permitted to use mean some common features flirts used to use are no longer available, even though other tags that would work with them are supposedly available but are actually useless now. There are a lot of tags that nobody but programmers who write magazine articles about programming would ever want to use.

That’s right. It’s like a joke they played on flirts, giving us lots of useless tags, while making it very hard (and character-intense) to do normal stuff. They’ve added even more unusable tags lately, too.

Unless you are brand new to Niteflirt, you know that you enter your code (or just typing) into the window and hit “submit”. If the code does not pass, the next window you see will have a textarea with what you typed and one below, what they want you to change it to. If you hit the preview button, you will see what their code will give you. If you want to edit, you will have to hit your browser back button.

They could have highlighted the code they thought was invalid, to help flirts with the process, but they didn’t.

So it’s just a lot harder for flirts to edit listings than it used to be.

Sending Niteflirt email on an Android

Someone may find this helpful. My current android is able to fully navigate and use Niteflirt’s email system.

I recall a while back people were complaining about not being able to send email on an Android. This week I am out of town, reading my email but unable to respond while I am out of my hotel room, as the same clients send email after email hoping for a response.

I got tired of that. In the old days we used to have a text email version, which might have done it. But that’s not available anymore, and what is is so junked up with javascript that you can’t type in the text window.

So I just made a little form to send regular email. That’s all it does. No PTV, no free minutes offers.

The link. You can use it right where it is hosted, and it will work on the account you happen to be logged in to. If that’s what you want to do, bookmark it.

Or you can view the source, copy, and host it yourself. And of course, bookmark it.

Sending mail on an Android is still a bit of a pain in the ass, but at least it’s doable with this.

Listing availability manager script

You know how you have to go into each listing while your account is set to available and do a series of clicks in order to shut that listing off when you want to change the availability status of one or more of your listings? This is a new feature that came in with the transition. It actually works okay if you want to turn off some listings and then leave your account just like that for a while. If you want to turn on just one listing once, it’s pretty inconvenient. If you want to change frequently, you probably find it pretty inconvenient, too. If you have more than one account you want to do this to, well, OMG it can take forever.

Now the old pre-transition feature enabled a flirt to turn off the whole account, then force turn on just one listing. As soon as she changed her account availability again, the settings were lost. So it wasn’t useful for, say, shutting of your cam listings while you are on vacation, because the settings would not stay.

Don’t know what I’m talking about? Well, lucky you. Never you mind.

For those of you who are suffering with this feature, I’ve written a little script, which is an HTML page that you save to your hard drive, bookmark, and open in your browser. When you are logged into your account, you can turn any listing off or on with just one fast click. I made a video demo to show just how easy it is to use.

This is hard-coded with your listing categories and SID numbers, which I would take directly from your listings. I would not need any special account access to code it, though if you have any hidden listings you wanted included, you would have to send me the links.

The info is not self-updating. That means that if you wanted to use the listing title it would be out of date when you change your listing title. Listing category doesn’t change, which is why I selected that. If you wanted additional information to appear in a separate column to remind you which listing is which, for example, that would have to be extra, depending on how much extra work it turned out to be.

Listings will be in the order they presently appear. If your listing order changes due to activity and ratings on new or previously quiet listings, that won’t change unless you get it edited (or edit it yourself, which a person who is very good with HTML form submission might be comfortable doing).

The cost is $10 plus $1 a listing to do all your listings. If you need it edited to add more listings later, the cost would be $5 plus $1 per each new listing added. To delete a listing at a later date would be $5.

If you have hidden listings you want included, you will have to give me links to them.

If Niteflirt changes their code so it stops working, I will fix it for free.

Email me through Niteflirt if you are interested. Blocked? There is now a little form at the top of the sidebar where you can unblock yourself.

Amazon.com wishlist tutorial and code creator

The tutorial will help you create the wishlist, and the HTML code creator will create a buton code for you from your Amazon.com wishlist permalink and your choice of the following buttons:

It’s really simple. Button images only work on Niteflirt.

Amazon.com wishlist button code creator

Your first blog post

One more thing about images before starting to write.

If you click Media in the left sidebar and add new, you will come to your WordPress uploader. So if you want to use it for your photos or videos in your blog, go right ahead. It won’t take the place of FTP for anything else, though.

Now it’s time to write. Log in to your dashboard, if you are not already there. You can start a New blog post by clicking the down arrow in the Posts button on the upper right-hand side of the window or the one in the left sidebar. I don’t know about you, but my title is going to be Test Post. You should probably pick something that sounds less like a tutorial blog.

When you click down in the main textarea and start typing, you will see your permalink to that post appear. If you change your mind and change your title, you can click the edit button to edit it. Post names in the permalink need to be in the same format as slugs. So my post name is currently /test-post/. If I wanted to change the title to This Is A Test Post, the name slug in the permalink could be /this-is-a-test-post/. You can’t use symbols and punctuation except for hyphens in the post name slug.

Type several paragraphs.

If you want a picture, upload one and code it like this:

<img src="photo link url">

If you want a small photo with text running alongside it, you will need to add an align attribute to the image to align it to the left or the right.

<img src="photo link url" align="left" >

or

<img src="photo link url" align="right" >

When you are finished with your post, go to the right sidebar. You probably want to add a category or two for your post. Categories are something you expect to write a lot of posts for, that people may later want to sort through your posts to find all of one type. Click the +Add New Category link, enter the new category, and click the button. New categories you add while writing a post will be automatically selected.

Go down to the Post Tags. Tags are not limited to something you may expect to write a lot of. You can add all your tags at the same time, by putting commas between them. You can use multiple word tags and category names, too.

Now scroll down to the All in one SEO Pack box at the bottom of the page. Enter your post title at the top, a 160 character or less description, and keywords at the bottom. Some themes nowadays may already be optimized. Others are not. Don’t worry about it right now.

Now scroll back up and click the Preview button in the Publish section of the right-hand sidebar. A new tab or window should open with your preview in it. If you like it, publish. If not, keep editing it until you have it as you like it.

One more thing. If you click the Edit link next to Publish immediately, you can change the publishing date of your post to any other date in the past you want. If you pick a date in the future, your post will post automatically at that time. So you can write your posts ahead of time and have them post for you on a schedule.

I’m done for now. Feel free to make requests.

Uploading photos, videos, and other files

The issue most people have with uploading photos is that they are used to using a photo-uploading site like photobucket. You visit an account page in your browser, you click an “uploader” button to select files, it uploads, and then it gives you the URL to access your photo.

When you upload through FTP, it is actually simpler, because what you are doing is just putting the photos where you want them. You know where you put them, or at least you will after you get the hang of it, so you don’t have to be given a code.

Here you are looking at your domain on your server. The domain is selected, so you can see all the folders and files within it. What you want to do is right-click in the bottom frame, select Create Directory, and name the new directory photos. Then right click again, create a new directory, and name it videos. I am using lower case letters intentionally. It can get confusing and easy to mess up if you mix them, so most people just use lower-case.

It will look like this.

Now click on the photos directory to select it. The contents will display below. It is empty.

We want to put an index page in there. Go to the domain directory on your computer where you put the blank index page you created in Notepad yesterday.

Upload it into your empty photos folder.

Do the same for your videos folder.

Now, let’s view that index page. How do we know what its URL is? Well, remember in a previous post where you learned that “Remote site:” is the directory you are in.

In this case the directory is displayed as

‘/example.help4flirts.com/photos’

Remember a url has to start with ‘http://’ to work. So we will have to add

‘http:/’ + ‘/example.help4flirts.com/photos’

to get

‘http://example.help4flirts.com/photos’

Do that with yours. Copy it into your browser and see what you get. If you have done everything right, you should get a blank page. If you get an error page, check to make sure the url starts with ‘http://’, two slashes, not one or 3. Start by viewing your domain, then add your /photo folder to it. The reason you see that blank page is because the browser always looks for an index page in a directory, if you did not tell it which file to look for.

Now view your videos index page in the same way.

You will also view your index.html pages in your photo and video directories by adding them to the end of the folder url. So if the folder is

‘http://examples.help4flirts.com/photos’

and we want to add

‘index.html’

to it, we just add them. But we have to put a slash between the folder and the file to show your browser that the folder holds the file.

‘http://examples.help4flirts.com/photos’ + ‘/’ + ‘index.html’
or
‘http://examples.help4flirts.com/photos/index.html’

It’s time to put a photo in my photo folder. I of course have some photos on my computer. Before you look below the screenshot, what is the photo URL? Check to verify by copying it into the address bar at the top of the page and viewing it.

The URL of the photo is

http://examples.help4flirts.com/photos/img0.jpg

I have put a video in the video folder. What is the video URL?

The URL of the video is

http://examples.help4flirts.com/videos/video.avi

One last example. What is the photo URL?

http://examples.help4flirts.com/photos/photo-sets/photos.jpg

When naming files or folders for the web, you should never use blank spaces. Use hyphens, underscores, or leave out the spaces.

Valid filenames: my_photo.jpg, my-photo.jpg, myphoto.jpg
Invalid filename: my photo.jpg

One last thing, how do you use the image? I have a code generator, but if you got through this, you are ready to do it yourself.

HTML tags start with a ‘<’ and end with a ‘>’. The image tag contains an ‘img src=’ which stands for ‘image, source equals’. That is telling the browser that the URL is next. Put the URL in quotes and here is the link for my first image:

<img src="http://examples.help4flirts.com/photos/img0.jpg">

Adding plugins and themes to your WordPress

First of all, you will need to make sure you have an unzip utility on your computer. I have a free download I use. A lot of people have recommended 7-zip to me, so if I needed one, that is the one I would install. Plugins and themes contain many files and come in a .zip format, so you will have to unzip them to install. If you have winzip and know how to use it, great. If not, try 7-zip.

I have two plugins I want you to install. Create a new folder in your Web Folders directory named Blogs, and in that create a folder named Plugins and another named Themes.

First you are going to download Bad Behavior, which is designed to block comment spam from spambots. The download you need will be found in the second paragraph, under the title Stable. The text is bad-behavior.2.0.38.zip. The link doesn’t work here because I want you to download it from their site. When you click to download in Firefox, you will be asked if you wish to save. Click yes. Then, right click the Bad Behavior download in the download popup list (not showing? Click Tools => Downloads to make the popup appear) and select Open containing folder from the menu. When it opens, the file will be highlighted. Right-click it and choose the option that says “extract to”. From the menu, select the Plugins directory in your new Blogs directory and accept.

Now, in Filezilla, find that Plugins Directory. Note that there is a bad behavior folder within a bad behavior folder. Click the outermost folder and you will be able to see its contents down below. It should look something like this:

Now click the Plugins directory.

Click the bad-behavior folder to select it.

Now look at the two frames in the right-hand side of your Filezilla window. When examples.help4flirts.com is selected in the top window, you can see your blog directories and files below.

Click the ‘+’ sign to the left of the domain name and the folders will display above.

Now click on wp-content in the top frame.

Click the ‘+’ sign next to it.

Click the plugins directory.

Now you can right-click the folder in the lower left-hand frame, select upload, and the entire bad behavior folder will upload into your plugins directory.

Next, I want you to download All-in-one SEOpack, which will help make your blog much more search engine friendly. The process is the same. Download, unzip, then upload into your plugins directory.

Let’s go set up these plugins. Select Plugins in your left-hand sidebar. You will now see Bad Behavior listed as one of your plugins. Click the activate link to the left of that plugin. There is also a Bad Behavior link in the Settings file, which you can visit if you are curious. You can wait on that, as it probably doesn’t need to be changed.

All in one SEO pack is going to be a little trickier to set up. Click the activate link next to the plugin on the plugins page. A red stripe will appear at the top of the plugins page telling you that you need to go to the admin page to enable and configure your plugin. Click the link in that message to go there.

Scroll down to plugin status. Select enabled.
Home title: pick the title you want to display in the blue strip across the top of the browser window. I have chosen “Homepage of WordPress demo blog.”
Home description: I have used “This blog is being used as a demo to go with the domain registration, hosting, wordpress setup, and file upload series of tutorials on my blog at http://help4flirts.com”.
Home keywords: Pick words that you want people to find your site for. I have selected “WordPress, installation demo, tutorials, hosting, domain registration, file uploads”.

That’s probably all you need at the moment. Scroll down to the bottom and update options.

I was going to show you how to install a new theme, if you don’t like the ones that came with your blog and find one out there you do like. But you already know how to do it. Download the theme and unzip it into a Themes directory you will create in the same Blog directory where your Plugin directory is. Then upload it into your Themes directory in your wp-content directory. It will automatically appear in the list of themes you have available to you on your Themes page you can get to by clicking the Themes link in the left-hand sidebar here.

A note about themes: some of them are tricky to set up. Some of them are tricky to use. Be prepared to give up and try something else if the first one doesn’t work for you.

Maybe tomorrow I can finish up the blog by having you write a new post. Then all we need to do is show you how to upload files.