Page 1 of 4
Podpora pre: ModuleGen, MleCMS, MleDomains,ASRatingBar...
Posted: Sun Jan 11, 2009 9:29 pm
by kuzmany
Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd
Posted: Sat May 16, 2009 12:05 pm
by nervino
Hi veduci,
I have downloaded the AJAXStarRatingBar module from svn, and I find it very usefull!
I'm trying to use it to rate several images, loaded from database, in a single page. The rate system works, but the first occurence of stars, under the first image on the page, is always updated after voting, instead of the actual voted image. If then I reload the page the correct rating is shown.
How can it be fixed?
thank you very much for this module!
Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd
Posted: Sun May 17, 2009 11:14 am
by nervino
I solved modifying the Vote Template, adding the $vote_id variable to the ID name of the DIV that contains the stars:
Code: Select all
<div class="ratingblock" id="rating{$vote_id}">
and modifying the two javascript functions, makeAJAXStarRatingBarratingRequest and alertAJAXStarRatingBarrating:
Code: Select all
function makeAJAXStarRatingBarratingRequest(link) {
var myConn = new XHConn();
if (!myConn) alert("XMLHTTP not available. Try a newer/better browser.");
var fnWhenDone = function (oXML) { alert(oXML.responseText); };
myConn.connect(link, "GET", "", alertAJAXStarRatingBarrating);
var urlstring=link;
searchString = urlstring.substring(1);
var nvPairs = searchString.split("&");
for (i = 0; i < nvPairs.length; i++)
{
var nvPair = nvPairs[i].split("=");
var name = nvPair[0].slice(-1);
var value = nvPair[1];
if (name=="q"){
var myQ=name;
myQvalue=value;
}
}
}
function alertAJAXStarRatingBarrating(http_request) {
element=document.getElementById('rating'+myQvalue);
var xmlString = http_request.responseText;
element.innerHTML = xmlString;
element.innerHTML = document.getElementById("ratingresult").innerHTML;
}
Ciao
Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd
Posted: Sun Aug 16, 2009 9:36 pm
by Radim
Ahoj,
tvůj modul bude dle preview super. Dá se někdy očekávat final verze?
Jak můžu s vydáním pomoct?
S těmi překlady jak píšeš zde
http://forum.cmsmadesimple.org/index.php?topic=23268.0 bych se mohl pokusit pomoct. Kolega, který angličtinu ovládá a dělá překlady komerčně, mi něco dluží, takže by se toho dalo využít
Radim
Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd
Posted: Sun Aug 16, 2009 10:37 pm
by kuzmany
Ahoj,
myslim ze behom mesiaca by to mohlo byt final, nie je tam uz vela prace, dokoncim to pri implementacii do noveho 90bpm.sk
Nova verzia bude napojena asi na JQueryTools (
http://dev.cmsmadesimple.org/projects/jquerytools), vyraznejsie zmeny najskor nebudu, asi css pojde priamo cez styly v admine, mozno pridam aj viac grafickych sablon.
Mam ale hotovy aj novy modul na napojenie na DivShare.com ulozisko, funkcny mam aj modul na napojenie na youtube profil vratane uploadu z webu, ale tam este to treba trochu ucesat a dokoncit.
Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd
Posted: Mon Aug 17, 2009 12:09 am
by Jeff
Sorry for the english on the Czech board but I want to make a suggestion about AJAXStarRatingBar
My two suggestion are to switch it to use jquery(JQueryTools) (sorry if that is what you said in the last post, it didn't translate well).
Secondly, change the ID to be alphanumeric instead of just numeric. I am using it to rating content through out my site so just having the a numeric ID doesn't work.
Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd
Posted: Mon Aug 17, 2009 5:25 pm
by kuzmany
THX for your feedback.
Bug with alphanumeric ID will be fixed in final version, JQueryTools will be supported too.
Final version coming soon (september/october 09).
ajprog wrote:
Sorry for the english on the Czech board but I want to make a suggestion about AJAXStarRatingBar
My two suggestion are to switch it to use jquery(JQueryTools) (sorry if that is what you said in the last post, it didn't translate well).
Secondly, change the ID to be alphanumeric instead of just numeric. I am using it to rating content through out my site so just having the a numeric ID doesn't work.
Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd
Posted: Sun Oct 11, 2009 9:37 pm
by kuzmany
http://dev.cmsmadesimple.org/projects/ajaxrating
Prva verzia je vonku
DivShare module coming soon.
Re: AJAXStarRatingBar, DivShare prve verzie na stiahnutie
Posted: Wed Oct 14, 2009 10:10 pm
by kuzmany
Re: AJAXStarRatingBar, DivShare prve verzie na stiahnutie
Posted: Sat Oct 17, 2009 6:56 pm
by kuzmany
Dalsi modul online
Media Center
http://dev.cmsmadesimple.org/projects/mediacenter/
Dakujem za kazdy feedback, testovanie, hlasenie bugov atd.
Re: AJAXStarRatingBar, DivShare, Media Center - prve verzie na stiahnutie
Posted: Sun Nov 08, 2009 12:33 pm
by kuzmany
AJAXStarRatingBar 0.9.1
Zmeny
Pridaná podpora pre max. 50 položiek pri hlasovani
Odstranenie stylu z html, pridana moznost automatickeho vkladanie stylu do hlavicky
Pridany upgrade skript, pridany parameter showtemplate=false pre ajax request
+ modul bol pridaný do
http://translations.cmsmadesimple.org/, takže bola pridaná slovenčina do balíka.
http://dev.cmsmadesimple.org/projects/ajaxrating
Demo:
http://kuzmany.biz/sk/ajax-star-rating-bar-demo/
Re: AJAXStarRatingBar, DivShare, Media Center - prve verzie na stiahnutie
Posted: Wed Nov 18, 2009 3:57 am
by Jubilar
Thanks for the great module AJAXStarRatingBar! I was trying to implement this into my template and thought something like this might work: {cms_module module='AJAXStarRatingBar' group='articles' vote_id='{$content_id}'} But I get the following error message: "Missing input parameter '}" Any ideas?
P.S. I'm sorry for writing in English, but my Czech sucks

Re: AJAXStarRatingBar, DivShare, Media Center - prve verzie na stiahnutie
Posted: Wed Nov 18, 2009 8:22 am
by kuzmany
Jubilar wrote:
Thanks for the great module AJAXStarRatingBar! I was trying to implement this into my template and thought something like this might work: {cms_module module='AJAXStarRatingBar' group='articles' vote_id='{$content_id}'} But I get the following error message: "Missing input parameter '}" Any ideas?
P.S. I'm sorry for writing in English, but my Czech sucks
Try
Code: Select all
{cms_module module='AJAXStarRatingBar' group='articles' vote_id=$content_id}
Re: AJAXStarRatingBar, DivShare, Media Center - prve verzie na stiahnutie
Posted: Wed Nov 18, 2009 8:49 am
by Jubilar
Thanks, that did it.
Re: AJAXStarRatingBar, DivShare, Media Center, Cropper
Posted: Sun Dec 20, 2009 9:45 pm
by kuzmany
Maly a mily plugin na orezavanie obrazkov:
http://dev.cmsmadesimple.org/projects/cropper
Na zmensovanie obrazkov mozete pouzit sikovny plugin Supersizer od Jeremyho
http://dev.cmsmadesimple.org/projects/supersizer
Vyborne sa hodia tieto pluginy napr. pre novinky atd.