Tutorials

Limit osclass login / throttling login attempts

How can I “throttle logins” or “how can I limit login attempts” is a common question raised from time to time among web application developers and website owners. Multiple failed login attempts might be a security issue of a risk to your website. Wouldn’t it be better if we could control the number of login limit a user can make. Most of the custom web application build today have a login limit integrated. Limit osclass login? We can limit osclass login attempts on osclass website too with LOGIN ATTEMPTS PLUGIN. Login Attempt is a premium osclass plugin that throttles user login attempts and limits the number of login attempts a user can make. Now you can limit the number of login attempts by users. Download the plugin and after the installation click on the configure button on the plugins table and setup your login attempts. Features: Custom number of user login…

How to configure osclass ads and add Adsense to Osclass?

Osclass ads ? How do I earn money with my osclass website ? How do I utilize my website’s traffic ? How do I display ads on my Osclass website ? How to add Adsense to Osclass? You can monetize your osclass website with premium items ads. You can mark an item on your osclass website as premium and it will be highlighted, and you can charge the client for the premium item. Most of the modern osclass themes supports displaying of advertisement on the website. You can use any advertiser’s scripts to display ads on your site as long as the osclass theme supports. Most of the theme supports 5 ads format or 5 ads placement which is as follows: Header 728×90 ( 728px X 90px ) Homepage 728×90 ( 728px X 90px ) Search results 728×90 (top of the page – 728px X 90px ) Search results 728×90 (middle of the…

How to protect osclass admin panel

Osclass ships with backend admin panel to customize and control the website. However if you have worked with osclass then its easy to guess the admin panel for an osclass website. For instance lets say your osclass website is hosted on www.yourdomain.com then its obvious that the admin panel login will be found at www.yourdomain.com/oc-admin/index.php?page=login Hackers and other developer might try to break your website by loging in to your website’s admin panel. So the big question is how do we secure our osclass hosted website’s admin panel. How to protect osclass admin ? Osclasswizards’s admin protect plugin will help you solve this problem . The plugin will cost you $15 USD and its worth the price. Features : Custom admin slug. Hides your admin URL. Lets you rename your admin login URL. How does admin protect plugin work? After you have installed the plugin go to the configure page…

How to add osclass custom page

Page are an integral part of any website, with the help of pages we pass on information about the website to our users. Besides login, signup’s, admin panel and  posting ads on osclass website we can add pages to our sites. Osclass has WYSIWYG ( what you see is what you get ) editor for building and adding pages. How to add a page in osclass? Login to you admin panel at www.yourwebsite.com/oc-admin/ On the left hand side menu click on PAGES ( it might be hidden under see more menu at the bottom ). Beside manage pages title click on add new button. Enter the title for your page. what is internal name?  internal name will appear in the URL if you have enabled friendly urls Eg : If we have entered Hello world as the inter name, when you visit your page the url of the page will…

3 Benefits of enqueuing styles and scripts in osclass

We all wish that our website stand out in comparison to others and don’t want to get noticed for being slow to load. With the help of custom style and script we try and make our website stand out. But loading lots of style and scripts can be a real pain when it gets jumbled and starts to conflict with each other eventually causing problems in terms of functionality, user experience and SEO. A number of osclass themes and plugins are still doing it the wrong way which causes the website to break. Osclass Enqueue function will help you ease this situation. What is osclass enqueue function ? It is an osclass recommendation and best practice to load styles and scripts with the enqueue function. The way you add style and style is as import as the content of the file. Osclass two enqueue fucntion osc_enqueue_script() and  osc_enqueue_style(). The osc_enqueue_script() function will load…

Osclass hooks explained, how to add and run osclass hooks

A hook is a small piece of code that allows you to insert more code (plugin) in the middle of certain Osclass’ actions. For instance we want a certain job or functionality to be triggred when the user has registered or when the user has posted a new item and you want to send an email to the user that’s when hooks come into play. Hooks are very useful when you are building osclass plugins. It will help you achieve great functionality in your osclass plugin. Hooks are trigged even when your plugin is installed and uninstalled. There are many osclass build in hooks you can use while building plugins. How to add hooks ? Osclass has a inbuilt function name osc_add_hook(‘hook_name’, ‘function_name’); which will help you trigger the hook. <?php function my_simple_fucntion(){ echo ‘this is a sample hook’; } osc_add_hook(‘before_main’, ‘my_simple_function’); We have created a function my_simple_function() and it will…

How to install osclass?

This article will help you install osclass classified scripts and get started in 5 minutes. For this article we will be using XAMPP read more about xampp here Osclass installation requirements : PHP version >= 5.x MySQLi extension for PHP GD extension for PHP Folder oc-content/uploads exists oc-content/uploads folder is writable Folder oc-content/downloads exists oc-content/downloads folder is writable Folder oc-content/languages folder exists oc-content/languages folder is writable Root directory is writable config-sample.php file exists Step 1 : Download osclass zip file from osclass download’s page. You will get the latest osclass zip file for installation. Copy / Move the zip files to the desired location on your server and unzip it . Step 2 ( screen 1 ): Navigate to the url where you have unzipped the osclass installation files. Eg : http://localhost/osclass/ you will see the following error on your screen. Click on install button and proceed Step 3  ( screen 2 ) : On the following screen osclass will…

Navigate