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 ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
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>
{$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
__________________
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. |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||
|
||||
|
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! |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
||||
|
||||
|
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?
|
|
#6
|
||||
|
||||
|
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 |
|
#7
|
||||
|
||||
|
Oh boy! Ok, thank you so much!!!
|
|
#8
|
||||
|
||||
|
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. |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|