68 Classifieds Forums  

Go Back   68 Classifieds Forums > v4 Help & Support > v4 Modules / Modifications > Free Modules
Register Projects FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Thread Tools Display Modes
  #1  
Old 10-19-2007, 02:13 PM
suzkaw suzkaw is offline
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 2,655
Default Module - Rapleaf

Rapleaf Module

This module allows you to integrate Rapleaf's rating & reputation functionality into your website.

About Rapleaf

Rapleaf’s goal is to make it more profitable to be ethical. Rapleaf is the only email-based reputation lookup on the web. We encourage you to lookup people’s Rapleaf reputation before transacting, hiring, or even interacting with them. We also encourage you to endorse your friends and leave feedback on buyers and sellers.

Requirements

Minimum version 4.0.0

Instructions

Download the zip file and upload it to your modules directory. Next visit administration -> manage modules -> regenerate and activate the module.

Open the settings.php file and insert your Rapleaf API key. You can obtain an API key from here:
http://www.rapleaf.com/developer/api_key

Next modify the viewlistings template file and add this code:
Code:
<a href="{$rapleaf_profile_URL}"><img src="{$rapleaf_image_small}" border="0" /></a>
The following variables are available:
{$rapleaf_image_small} - Small Image
{$rapleaf_image} - Large Image
{$rapleaf_score} - This is the 'rapleaf score' that you see on a person's rapleaf badge on their profile. Basically, the higher the score of a person, the more feedback they have received and given.
{$rapleaf_profile_URL} - The link to the users profile.

Demo

You can see a live demo in our extensions directory here:
http://www.68classifieds.com/extensi...af-Module.html


Help & Support

If you need any help just reply below and we will try and help.

Download
Attached Files
rapleaf.zip (15.8 KB, 5 views)
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Knowledge Base | User Manuals

Last edited by suzkaw : 10-19-2007 at 02:55 PM.
Reply With Quote
  #2  
Old 10-22-2007, 07:45 PM
outthere outthere is offline
Member
 
Join Date: Oct 2007
Posts: 31
Default

where exactly would i put the code in viewlistings.tpl so it shows up like the demo? it is currently at the bottom

ok i changed it placement and it is now to the right of the username

<td>
{if $preview!="Y"}
<a href="viewmember.php?member={$owner}">{$username}</a>
{else}
{$username}
{/if}
<a href="{$rapleaf_profile_URL}"><img src="{$rapleaf_image_small}" border="0" /></a>
</td>

will this be ok? I dont want to cause errors..
thanks

Last edited by outthere : 10-22-2007 at 07:53 PM. Reason: did i fix it? lol
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:42 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.