|
#21
|
|||
|
|||
|
Hello! Is it possible to modify this slightly, so that an email is sent to me whenever a photo is rated, so that I don't have to check my admin panel? And also tell me which one was rated in the email? I'm guessing it would act similarly to the way it works with comments?
ie. ________ was rated with __ stars on ______ . Any advice would be awesome! |
|
#22
|
|||
|
|||
|
noobie question
I am new to pixelpost, and I love the idea of the rating addon, but I fail to understand what I need to do for it to work...
Here is what I did : - I copied ratings.php in the /addons folder - I copied the overlib folder at the root (then, tried to place it in /includes) - I copied the img folder at the root (not sure there) If I understand the way pixelpost works, I probably need to call the addon with a tag I have to insert in my template (or some code, maybe). That's the thing, I don't know what I am supposed to add for this to work. There's no text file explaining this, and it's the first addon I am installing. Please bear with me and give me some help ! Thanks, David |
|
#23
|
|||
|
|||
|
just insert, in your image_template.html file, the following code:
Code:
<div>rate this image:<IMAGE_RATING_STARS></div>
|
|
#24
|
|||
|
|||
|
Thanks Steff !
Works like a charm. PixelPost is really great, and this rating addon is really cool, but how was I supposed to find the info ? If I want to find out the same thing for other addons... I might have missed something, but I didnt find the info where I usually get them (though I know quite a bit about CMS's...). Is there some place this is documented ??? |
|
#25
|
|||
|
|||
|
download
i cann't dowload the addon, is there another alternate site ?? thx
__________________
reflectingmyself photoblog :: reflejandome fotoblog [ http://www.reflejandome.com ] |
|
#26
|
|||
|
|||
|
Quote:
![]() you can add more tags, ie: Quote:
|
|
#27
|
|||
|
|||
|
?
Well I had no ratings.txt in the zip file, just checked it...
Would have noticed a txt file, since I was looking for one
|
|
#28
|
|||
|
|||
|
I swear i had it! :P
here it is: Code:
Ratings Addon v1.2 ------------------ Rob Prouse - rob@prouse.org http://www.shiftedexposure.com History ------- 1.0 - Initial Release 1.1 - Changed rating to 'Unrated' from '-' for unrated photos - When you mouse over a star, all stars to the left change to the mouseover state to indicate what you will be voting. - Removed the need to modify the <body> tag and the need for the javascript file. - Added circular stars as an option. PSD is included if you want to modify it. 1.2 - Fixed HTML to make it compliant - Added the overlib library for better mouse-overs. For more information on the overlib library, go to http://www.bosrup.com/web/overlib/ - You can now vote more than once for a photo, but now only your last vote counts. - Improved the stars images and included the PSD file so that you can change the background colour. About ----- Gives each of your photos a 5 star rating. Users just have to click on a star to rate your photo. It only allows one rating per person per picture. Hovering over any of the stars will give the current rating for that photo. TODO ---- I want to add tags to display links to the top rated and most voted on photos. If you have other ideas, let me know. Install ------- 1. Unzip everything which I assume you did because you are reading this :D 2. Copy the img/ directory with the photos to the root of your pixelpost install. There are three images that look best on a white or light background. Feel free to replace them with other 12x12 images that work better for your site. I have included stars in the shape of dots in img/dots along with the PSD file if you want to modify it for your background colours. You will also find the PSD for the default stars in img/stars. If you create other stars, please email them to me at rob@prouse.org to include in future releases. 3. Copy addons/ratings.php to your addons directory. 4. Add the template tag <IMAGE_RATING_STARS> to your image_template.html where you want the 5 stars to appear. You can also use the tags <IMAGE_RATING> for the rating as a number and <IMAGE_VOTES> for the number of votes. You are done unless you want to use the overlib library for rollovers. If you do, continue reading; 5. Copy the directory overlib/ to the root of your pixelpost install. This is the javascript for the image rollovers. 6. If you want to use overlib, edit your image_template.html and add the following line in the <head> section of the template; <script type="text/javascript" src="overlib/overlib.js"></script> 7. Now add the following line right after the <body> tag; <div id="overDiv" align="left" style="position:absolute; visibility:hidden; z-index:1000;"></div> 8. Now edit addons/rating.php and remove the // from the front of the following line; //$use_overlib = true; The database table will be created the first time you access the addon. |
|
#29
|
|||
|
|||
|
Thanks a lot for this.
The download link is dead now, so it helps... I notice one thing : your txt reads "Ratings Addon v1.2", maybe it was omitted in v1.3 which I downloaded... |
|
#30
|
|||
|
|||
|
i posted the same problem but noone help me
__________________
reflectingmyself photoblog :: reflejandome fotoblog [ http://www.reflejandome.com ] |
| Post Reply |
| Thread Tools | |
|
|