Module - Rapleaf

This is a discussion on Module - Rapleaf within the Module Release forums, part of the v4 Help & Support category; Rapleaf Module This module allows you to integrate Rapleaf's rating & reputation functionality into your website. About Rapleaf Rapleaf’s goal ...


Go Back   68 Classifieds Forums > v4 Help & Support > Module Release

 
LinkBack Thread Tools Display Modes
  #1  
Old 10-19-2007, 01:13 PM
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 3,815
Rep Power: 88
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, 15 views)
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | Submit a Ticket

Last edited by Eric Barnes; 10-19-2007 at 01:55 PM.
Reply With Quote
  #2  
Old 10-22-2007, 06:45 PM
Member
 
Join Date: Oct 2007
Posts: 41
Rep Power: 4
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 06:53 PM. Reason: did i fix it? lol
Reply With Quote
  #3  
Old 06-30-2008, 02:58 PM
Member
 
Join Date: Jun 2007
Posts: 51
Rep Power: 7
Exclamation How to enter the API key in settings.php?

Hi! I'm trying to get this rapleaf mod to work and I'm not seeing where I should put the API key in settings.php. I tried just slapping it in the file, but it didn't work. Is there some code that needs to go with this API key?

Thanks!
Reply With Quote
  #4  
Old 06-30-2008, 03:03 PM
Moderator
 
Join Date: Mar 2006
Posts: 3,116
Rep Power: 78
Default

Hmmm.

Aside from the comments there is only one line in the file that looks like this......

$r_apikey = 'your_key_here';

You would place your API key....well.....right where it says your_key_here.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #5  
Old 06-30-2008, 03:07 PM
Member
 
Join Date: Jun 2007
Posts: 51
Rep Power: 7
Default

Ok, I am not seeing that code. Is it in administration/settings.php? Or, is there another file I'm supposed to be looking at?
Reply With Quote
  #6  
Old 06-30-2008, 03:13 PM
Moderator
 
Join Date: Mar 2006
Posts: 3,116
Rep Power: 78
Default

Quote:
Originally Posted by dphibb View Post
Ok, I am not seeing that code. Is it in administration/settings.php? Or, is there another file I'm supposed to be looking at?
No, its in the settings.php file that comes with rapleaf. Which, you install by copying to your modules folder. so it would be in /modules/rapleaf/settings.php
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #7  
Old 06-30-2008, 03:17 PM
Member
 
Join Date: Jun 2007
Posts: 51
Rep Power: 7
Default

Oh boy! Ok, thank you so much!!!
Reply With Quote
  #8  
Old 06-30-2008, 03:33 PM
Member
 
Join Date: Jun 2007
Posts: 51
Rep Power: 7
Default One more thing (Sorry!)

I'm sorry to bother you again, but now I am getting a broken image when I put the viewlisting.php code in. Ahhh!

If it helps, I would like to get the rapleaf_score feature.

Last edited by dphibb; 06-30-2008 at 03:39 PM.
Reply With Quote

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 06:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22