yAds is a classifieds script with integrated Paymentwall system

Have you ever wanted to run your own profitable classifieds website, but didn’t know where to start? Now you can launch your own classifieds website in seconds with the yAds php script that supports Paymentwall payment gateway system. You can either collect direct payments or let your users complete offers instead and interact with your classifieds website.

How it works

Free posts are limited to lay at the bottom of the main index page and only ten most recent ones will be displayed. Users can however bump their classifieds by purchasing a bump through the Paymentwall gateway. You can also enable offers so instead of paying you, a user could simply bump their message by completing an offer! The bumping system adds a clever competition element to the website.

Because each email address is allowed only one advertisement, it makes it tedious to create a new email address every time so instead the users will be drawn to bumping their ads or editing the details.

yads screenshot classifieds website script paymentwall

yads paymentwall bump vipThe same system that lets your users bump their classifieds, allows them to order a VIP membership or make their announcement stand out from the rest using featured ads.

VIP users will have unlimited free bumps and their advertisement will remain on top of the website within a paginated area so even if they don’t continue to bump any more, their advertisement can be seen on older pages.

Modifying the look of featured ads is as simple as editing a single CSS class!

Ad supported

yAds supports a 120×600 skyscraper advertisement block in the sidebar and two 300×300 rectangle blocks in the footer. All of these can be easily modified because each ad block’s content is in a separate .php file. Simply copy and paste your own ad codes and you’re golden!

The same is true for navigation links, simply edit their corresponding files and the script will automatically use the menu throughout the entire website.

Users can edit ads

When your user first creates their own classifieds ad, the script will generate a random password that can be used to edit the ad details or update the photo. Without the password, the ad cannot be edited, but ordering a VIP status or bumping still works.

Easy installation

After setting up your database, it’s only a matter of browsing to the install.php file using your internet browser and the script will create all the necessary MySQL tables for you.

Fully responsive

The basic theme that comes with yAds is fully responsive and perfect for all mobile devices. Some other cool features include:

1. Fixed header when scrolling down

2. Navigation menu toggle button on small screens

3. Passes W3 HTML validation

4. Uses Schema.org markup for SEO

Custom designs possible

The structure of yAds is so simple that anyone with a basic understanding of CSS can modify the main.css to suit their needs. Custom designs are also a possibility, just ask!

How to order

For just $27 USD you will get a license for 1 domain name and free lifetime support should anything break. Payments are processed through PayPal and I will send you the script to your PayPal email address within 24 hours after receiving your payment. Click here to go to place your order.

You can check a live demo here: http://ynef.net/yads/

Share!

Simple php guestbook script – Free download

I didn’t have anything better to do today so I decided to learn a little bit how to communicate with MYSQL databases using PHP. With this wonderful tutorial to help me I was able to construct a very basic guestbook script in about 4 hours. I know it shouldn’t take that long, but please keep in mind that this is my first ever attempt to create something like this with MYSQL and PHP.

Here’s a screenshot of the actual guestbook in action:

Ynef's random script screenshotAs you can see it’s very basic, nothing fancy.

You might notice that the title of my guestbook is ynef.net/b. Well, at first I wanted to create something similar to 4chan, but right now there is no option to post images- only text replies. I might add the option to browse and post images in the future when I learn more PHP.

What wasn’t mentioned in the above tutorial:

First of all if you follow the tutorial I mentioned above your script will work, but it will post an empty message every time someone visits or refreshes the page. To counter this I added if ($post != ”) right before the part where new posts are inserted into the MYSQL database.

This is a simple if statement that makes sure to only continue when the variable $post is not empty. Oh and don’t forget to put the code that inserts stuff into your database inside these brackets { }.

 

Another thing I added was the date of the post: $today = date(“F j, Y, g:i a”); Now you just have to echo the date variable $today along with your post.

 

I also tried making the guestbook a little bit more secure. By default if you follow the tutorial I mentioned your guestbook will be vulnerable to Cross Site Scripting attacks. In other words a bad person can submit malicious code along with his post and the next time someone visits the page that code will run. I looked into this briefly and I believe I was able to secure the guestbook by making sure that tags like <html> and <script> etc. are getting excluded when echoing the posts. It was really easy to implement with strip_tags();

 

Downloading and installing the free guestbook script

Download file: random.zip

 

Installing notes:

 

1. Open install.php in notepad and change the database variables to your own MYSQL database values

2. Upload install.php into your web directory and run it in your browser

3. Delete the install.php from your web directory

4. Open index.php in notepad and change the database variables to your own MYSQL database values

You can also change the title within the <title> tags and the guestbook name within the <h1> tags.

Yeah, I guess I could have just put the variables in one simple config file and included it in both install.php and index.php, but I was just too lazy.

5. Now upload both index.php and style.css to your web folder

 

If you followed the above steps then your guestbook should be working. If not please let me know!

 

*EDIT* Let’s see if spam robots find the guestbook: http://www.ynef.net/b/

Share!