Category — Development

New Translations

From our last post a few weeks ago “Translators Wanted” we had an outstanding amount of comments, emails, and coupons given out. In the next release of 68 Classifieds we will be including the following language files:

  • Bosanski
  • Bulgarian
  • Dutch
  • French
  • Spanish

Hopefully with us having all these language files it will help current and future customers from having to do a lot of work to get 68 Classifieds running in your language.

June 13, 2008   2 Comments

Translaters Wanted

We are looking for some people that would be interested in translating a file from English to your language. For anyone that translates the file we will give you a $100 coupon good for anything on this site. We are mainly needing the following languages:

  • French
  • Spanish
  • Dutch

If you are fluent in a different one then we can probably extend the offer to you as well. Please contact us before translating to make sure someone else hasn’t already started.

Here is a link to the file.
Here is a link to instructions for modifying it.

May 12, 2008   27 Comments

Administration Refferer Check

Inside the administration of v4 we added a new check to prevent people from making post requests to your administration unless it comes from your domain name. This check was added as a security feature to prevent trying to bypass any forms. Although this was added for safety you can by pass it by adding this to the connections/classifieds.php file:

define('NO_REFERRER_CHECK', TRUE); 

April 28, 2008   No Comments

Adding include templates with modules

Warning: Geek Coding Speak Ahead

New in v4 is the ability to have template hooks which integrate with the module system. This is great for adding new features without having to modify any of the template files themselves. One thing I came across today was wanting to include a template file in the location of the hook.

Inside your mod_user.php file you add a hook function just like normal except make $class_tpl global and return the fetched template. Here is an example:

function example_admin_tpl_userinfo()
{
	global $class_tpl;
	$include = $class_tpl->fetch('orders/customer_table.tpl');
	return $include;
}

Now when the module is installed and the user visits the page with the hook a new template file will be added.

April 21, 2008   No Comments

68 Classifieds Category Tag Cloud

Category Tag CloudWe have just released a Smarty plugin that allows you to have a category tag cloud. You can see an example in the image on the right.

If you wish to add this to your site please visit this forum thread.

Available Parameters

Below is a list of parameters you can use when calling this plugin. Please note these are optional.

min
(integer) The minimum size for the category with the least listings.
max
(integer) The maximum size for the category with the most listings.
pixel
(string) What size you want. Default is “em”. Could be % or px.

April 2, 2008   No Comments