Podpora pre: ModuleGen, MleCMS, MleDomains,ASRatingBar...

Česká/Slovenská podpora pro CMS Made Simple
kuzmany
Power Poster
Power Poster
Posts: 448
Joined: Tue Oct 10, 2006 5:00 pm

Podpora pre: ModuleGen, MleCMS, MleDomains,ASRatingBar...

Post by kuzmany »

Last edited by kuzmany on Wed Dec 28, 2011 10:43 am, edited 4 times in total.
Yes, it's me: MleCMS, MleDomains, ModuleGenerator, URLWatchdog, Youtuber, Extended Content Blocks, Extended Tools, Analytics etc.
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm

Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd

Post 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!
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm

Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd

Post 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
Radim

Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd

Post 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
kuzmany
Power Poster
Power Poster
Posts: 448
Joined: Tue Oct 10, 2006 5:00 pm

Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd

Post 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.
Yes, it's me: MleCMS, MleDomains, ModuleGenerator, URLWatchdog, Youtuber, Extended Content Blocks, Extended Tools, Analytics etc.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd

Post 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.
kuzmany
Power Poster
Power Poster
Posts: 448
Joined: Tue Oct 10, 2006 5:00 pm

Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd

Post 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.
Yes, it's me: MleCMS, MleDomains, ModuleGenerator, URLWatchdog, Youtuber, Extended Content Blocks, Extended Tools, Analytics etc.
kuzmany
Power Poster
Power Poster
Posts: 448
Joined: Tue Oct 10, 2006 5:00 pm

Re: AJAXStarRatingBar - preview verzia modulu pre hodnotenie clankov, fotografii atd

Post by kuzmany »

http://dev.cmsmadesimple.org/projects/ajaxrating

Prva verzia je vonku

DivShare module coming soon.
Yes, it's me: MleCMS, MleDomains, ModuleGenerator, URLWatchdog, Youtuber, Extended Content Blocks, Extended Tools, Analytics etc.
kuzmany
Power Poster
Power Poster
Posts: 448
Joined: Tue Oct 10, 2006 5:00 pm

Re: AJAXStarRatingBar, DivShare prve verzie na stiahnutie

Post by kuzmany »

Yes, it's me: MleCMS, MleDomains, ModuleGenerator, URLWatchdog, Youtuber, Extended Content Blocks, Extended Tools, Analytics etc.
kuzmany
Power Poster
Power Poster
Posts: 448
Joined: Tue Oct 10, 2006 5:00 pm

Re: AJAXStarRatingBar, DivShare prve verzie na stiahnutie

Post by kuzmany »

Dalsi modul online

Media Center
http://dev.cmsmadesimple.org/projects/mediacenter/

Dakujem za kazdy feedback, testovanie, hlasenie bugov atd.
Yes, it's me: MleCMS, MleDomains, ModuleGenerator, URLWatchdog, Youtuber, Extended Content Blocks, Extended Tools, Analytics etc.
kuzmany
Power Poster
Power Poster
Posts: 448
Joined: Tue Oct 10, 2006 5:00 pm

Re: AJAXStarRatingBar, DivShare, Media Center - prve verzie na stiahnutie

Post 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/
Yes, it's me: MleCMS, MleDomains, ModuleGenerator, URLWatchdog, Youtuber, Extended Content Blocks, Extended Tools, Analytics etc.
Jubilar
New Member
New Member
Posts: 5
Joined: Wed Nov 18, 2009 3:52 am

Re: AJAXStarRatingBar, DivShare, Media Center - prve verzie na stiahnutie

Post 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 ;)
kuzmany
Power Poster
Power Poster
Posts: 448
Joined: Tue Oct 10, 2006 5:00 pm

Re: AJAXStarRatingBar, DivShare, Media Center - prve verzie na stiahnutie

Post 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} 
Yes, it's me: MleCMS, MleDomains, ModuleGenerator, URLWatchdog, Youtuber, Extended Content Blocks, Extended Tools, Analytics etc.
Jubilar
New Member
New Member
Posts: 5
Joined: Wed Nov 18, 2009 3:52 am

Re: AJAXStarRatingBar, DivShare, Media Center - prve verzie na stiahnutie

Post by Jubilar »

Thanks, that did it.
kuzmany
Power Poster
Power Poster
Posts: 448
Joined: Tue Oct 10, 2006 5:00 pm

Re: AJAXStarRatingBar, DivShare, Media Center, Cropper

Post 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.
Yes, it's me: MleCMS, MleDomains, ModuleGenerator, URLWatchdog, Youtuber, Extended Content Blocks, Extended Tools, Analytics etc.
Locked

Return to “Czech/Slovak - Česky/Slovensky”