Tensor is a sleek template that can fit many different websites. It can have a…
Shopping/Ecommerce Plugin Solutions For WordPress
Here is a list of Shopping/Ecommerce Plugin Solutions For WordPress. I thought i would start this post purely because i spent most of the day trying to find a ecommerce plugin that actually works. So hopefully it helps you too! Jigoshop Jigoshop is an eCommerce plugin for WordPress developed by...
06
Jul
2011
1 Comment
Read More
Good SEO practices – How to beat Google panda
Last week we did a post on Google panda “Has your site been Google Panda slapped?”. This week I want to share with you some ideas and practice that you can apply to your website to help improve and beat the panda! Google has released Panda update 2.2, just as...
27
Jun
2011
No comments
Read More
Sliding login panel with jQuery
Came across this great script for slide down login This script is based on a previous script “Show/Hide Login Panel with Mootools 1.2″ but now works with jQuery 1.3.2 instead of Mootools 1.2. Please note the Login and Register forms in this demo will not work “out of the box”...
22
Feb
2011
No comments
Read More
YouTube Clone Script
http://www.clipsharetemplates.com clone script allows you to run your own video sharing portal like YouTube.com, Metacafe, DailyMotion, and others The ClearWater template is a stunning and light design featuring stylish mouseover effects and will be a great addition to any video sharing website using Clipshare 4.1 Professional. The Clearwatter template utilizes...
10
Oct
2010
1 Comment
Read More
PHP Coupon Clone Script
Easy-to-use SEO friendly coupon script which allow you to create Discounts/Promotion Coupons web site. Earn affiliate commissions while offering discounts for your visitors! With 9 different designs you will be able to create perfect coupon web site in any niche! Add website/store with Seo title, keywords and affiliate url Activate...
23
Sep
2010
No comments
Read More
Image Sharing Script
Create your own popular image sharing website. Allow users to share their picture and photos with everyone. Host images instantly with this image hosting script. Features Rate Images Users can rate images with the 5 star rating system (ajax). Rate Images Security Users are only allowed to vote once per...
14
Jul
2010
1 Comment
Read More
Yahoo answers clone scriptYahoo answers clone script
Looking to create your own Yahoo Answer Website. Well here is the script that will help you achieve that goal! Question Answer Script with a large and highly customizable set of key features makes it the best of php answer script available. Question answer script has the question & answer...
30
May
2010
No comments
Read More
Domain Auctions Script Flippa clone script
This fantastic script can be used to create your very own Flippa website. Not only can it be used as a flippa type website, but it’s great for any marketplace niche. With this Clone Script you will be able to produce a marketplace website within minutes. PRICE: $57 DEMO...
29
May
2010
2 Comments
Read More
OK so we finally managed to crack this bad boy for Joomla 1.5.9 . This script allows users to add a Captcha form to there Sobi2 contact page, helping the prevention of spam. Snake was kind enough to modify and donate this script to us. This Captcha script can be used for any component in Joomla 1.5.x. If you need help setting it up please use our forum and we will assist with the setup and integration into your components. But this should be easy to setup.
This specific demo will show you how to set it up using joomla 1.5 and Sobi2. I’ve attached the files to be downloaded from here.
Firstly you need to download the Font file and Capctha file ( Download Here: Captcha (1231) ) ( This script is built of the one from Simon Jarvis ). Copy these two files into your root folder. Then open your details template “sobi2.details.tmpl” and copy and paste the code below. ( please note if you wish to use this function else where, you can ignore the sobi2.details.tmpl and add the form to your component of choice.
For Sobi2 Only ( Testing done in legacy mode )
$task = mosGetParam( $_REQUEST, 'task', '' );
$mySobi_id = $mySobi->id ;</span></em>
case 'email' :
emaillisting($mySobi_id);
}
function emaillisting($mySobi_id) {
global $database, $mainframe;
global $mosConfig_live_site, $mosConfig_mailfrom, $mosConfig_fromname;
$directory_email = mosGetParam( $_POST, ‘directory_email’, ” );
$directory_name = mosGetParam( $_POST, ‘directory_name’, ” );
$v_firstname = mosGetParam( $_POST, ‘name’, ” );
$v_email = mosGetParam( $_POST, ‘email’, ” );
$v_telephone = mosGetParam( $_POST, ‘telephone’, ” );
$v_comments = mosGetParam( $_POST, ‘comments’, ” );
$v_province = mosGetParam( $_POST, ‘province’, ” );
$number = intval( mosGetParam( $_POST, ‘number’, 0 ) );
$othernumber = intval( mosGetParam( $_POST, ‘othernumber’, 0 ) );
$sum = intval( mosGetParam( $_POST, ‘sum’, 0 ) );
$DIRECTORY_CONTACT_LETTER=(“
Name: %s
Email: %s
Telephone: %s
Province: %s
Message: %s”);
$query_text = sprintf($DIRECTORY_CONTACT_LETTER, $v_firstname, $v_email, $v_telephone, $v_province, $v_comments, $mosConfig_fromname );
//$session =& JFactory::getSession(‘captcha_word’);
$session =& JFactory::getSession();
$code = $session->get(‘captcha_word’);
if(($code == $_POST['captcha_word']) && (!empty($code)) ) {
$success = mosMail( $email, $mosConfig_fromname , $directory_email, “yourdomain.com Website Enquiry”, $query_text, 0, null,null,null,$v_email,$v_firstname );
$success = mosMail( $email, $mosConfig_fromname , $mosConfig_mailfrom, “Copy of yourdomain.com Website Enquiry for ” . $directory_name, $query_text, 0, null,null,null,$v_email,$v_firstname );
mosRedirect(“index.php?option=com_sobi2&sobi2Task=sobi2Details&sobi2Id=$mySobi_id”, “Message sent successfully..”);
} else {
mosRedirect(“index.php?option=com_sobi2&sobi2Task=sobi2Details&sobi2Id=$mySobi_id”, “Message sending failed. Please insert the correct details in security box..”);
}
}
?>
Then you need to add the form of your choice, here is one that we made. ( change the fields to suit your needs )
If you wish to use the code above you need to alter it a bit to suit the component needs. The basics you will need is a simple function and a form:
function form () {
global $database, $mainframe;
//$session =& JFactory::getSession(‘captcha_word’);
$session =& JFactory::getSession();
$code = $session->get(‘captcha_word’);
if(($code == $_POST['captcha_word']) && (!empty($code)) ) {
echo “Great Success, very nice”;
} else {
echo “wrong code”;
}
}
?>
Please don’t forget to add your form. The jfactory frame works had to be added to the function in order to make it work. For Joomla 1.5 sessions work differently to Joomla 1.0.
Feel free to use our forum for support, Snake and the moderaters will assist there.

Not understand. Why details.tmpl? Why not add entry form tmpl?
php open tag is not necessary?
Help, note found script, problem ” ou ” ou ”?
It doesnt work? I cant understand where to put the script
Font File?
@ olvier Script gets copied into your root folder
hi i want to add captcha but i couldnt understande the code example.
let me explain the issues i am having.
1- where to put the script files? in joomla root folder or in joomla/component/sobi2??
2- why to put that code in sob2.details.tmpl ok for some reason i put that code. but there is another code sinppt and and whole fucntion. where to put that in sob2.details.tmpl or sobi2.entry.php
3- where to put the captcha what if i want to add in entry form?
4- in which file i need to put that captcha function into.
please help me out cuase this is the only solution but its not very clear.
Hi Naseem
1) In the Root of joomla
2)first ask yourself where you want to use a captcha form. in this case it was use in the details template as a enquiry form. In short what form to you want to protect?
3) Captcha stays in root, but just copy code sniplet in your from.tmpl
4) The file where you want the form to display
I tried it . However , I think I am going wrong somewhere .
I have downloaded and put the two files in the root folder .
Now there are two frames of code :
Lets say the first is A .
second is B .
function emaillisting is C .
function form is D .
I want Captcha for Entry form for Sobi2 .
Do i need to put all A B C and D into sobi2.entry.php .
Snake / Somebody :
Please guide .
regards ,
Ambar .