We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5811
    • 1,717 Posts
    @immersusmedia

    When you use the balckBGRating.css stars are 20px width, so in the maxigallery.css file the selector ul.thumbs li ul li the width should be of 100px :
    ul.thumbs li ul li{
      position:absolute;
      width:100px;
      display:inline;
      margin:0 auto;
    }


    With the anythingRating.css (white background with stars of 25px width) it should be of 125px.
      • 31227
      • 198 Posts
      to tell you the truth, I didnt fix anything – I just removed the text (number of votes) and just left the stars.
      Also I put a nofollow link when clicking on the stars and restricted it in the robot.txt
      Otherwise my sitemap.xml (which is automated by cron) had the javascript links, and some search engines followed that links and practically voted on the articles.
        Pure MODx sites
        Viriko.ru & Viriko.com - Multilingual and running on 1 MODx
        • 9941
        • 65 Posts
        Quote from: juti at Nov 26, 2008, 05:22 AM

        Would be nice to have a fix of wrong woting and displaying under IE. But there is another thing: if i upload a saved database, all votings are on zero. whats up there?! can anyone help?

        thx

        Hope you figured this out.... this snippet uses a separate table from ModX to store values (actually one table per rating group), so if you used the ModX admin link to download a copy of your DB, you would not have included these tables. You’ll need to use PHPMyAdmin or similar tool to export your full DB (or at least all the tables you need).


          • 1091
          • 3 Posts
          Quote from: coroico at Nov 13, 2008, 05:37 AM

          @alhvi

          I don’t know why but inside the anythingRating.css file for selectors : .star-rating a, .star-rating .current-rating replace left:0; by left:-50px;

          Thanks a lot for your help!! It’s kind of weird, maybe something in another css file is causing this but don’t know what it could be.

          When I did what you said the current rating position was fixed but .star-rating a got screwed up. So I ended up by splitting the clause and leaving .star-rating a as it was originally and changing left: -50px in .current-rating. This was for the article listing with Ditto. When I went to see an article by itself, the position was wrong again. So I made two different css files, one for each view and played a little with the css to tune things up.

          Weird, weird, weird. undecided

          But now it’s working, thanks a lot for your help!!!! grin

            • 5811
            • 1,717 Posts
            But now it’s working, thanks a lot for your help!!!!
            You are welcome.

            Feliz año nuevo. Suerte con su asociación de Estudiantes.
              • 1091
              • 3 Posts
              Quote from: coroico at Jan 11, 2009, 05:28 AM

              Feliz año nuevo. Suerte con su asociación de Estudiantes.
              shocked Muchas gracias. Feliz año nuevo para ti también y muchas gracias por tu trabajo y por tu ayuda. grin
                • 23515
                • 40 Posts
                Has anyone tweaked the rating to be stored by webuser username rather than by IP/cookie? In my build the rating function is only available to those logged in as a webuser. It would be fairly easy to tweak I figure, but just wanted to see if anyone else had achieved this before I do it?
                  • 17883
                  • 1,039 Posts
                  Hi, I tried to install the snippet, but it doesn`t run properly. Are there some requirements like MySQL5 or PHP5?

                  The server I try to install it has the following settings:

                  PHP 5.2.5
                  MySQL 4.0.23

                  My Ditto Call:

                  [!AnythingRating? &atrGrp=`test` &define=`1` &language=`english-utf8`!]
                  [!Ditto? &parents=`0` &tpl=`tpl_test` &display=`10`!]
                  


                  Ditto tpl:

                  <div><h3>[+pagetitle+]</h3>
                  [[AnythingRating? &atrGrp=`test` &atrId=`[+id+]` &init=`3`]]</div>


                  I see the stars, but if I vote, I get "ERROR:" above the stars and "undefined" in the green box where the status bar was. In Firebug the ajax request is sent (same output as on your test site).

                  The same thing without ditto and the atr call on a document.

                  Any help appreciated!

                  edit: I discovered some weird entries in the database. The table arating_test is created and filled with only one vote. These data isnt correct I think:

                  `id`, `rating_id`, `rating`, `lastIP`, `nbIP`, `voteDate`
                  VALUES
                  (1, ’german:all:0’, 5, ’@FILE:assets/snippets/anythingRating/templates/anythingRating.tpl.html’, 1000000, ’361231000000’);

                  rating is okay, but rating_id and lastIP are definitely wrong...
                    • 17883
                    • 1,039 Posts
                    Okay, it is an issue with MySQL 4.0.23 (Tested on MySQL5, works!). Attached is are the db-functions of AnythingRating. Does someone know what to change for working with MySQL 4.0.23?

                    Thanks!
                      • 5811
                      • 1,717 Posts
                      edit: I discovered some weird entries in the database. The table arating_test is created and filled with only one vote. These data isnt correct I think:

                      `id`, `rating_id`, `rating`, `lastIP`, `nbIP`, `voteDate`
                      VALUES
                      (1, ’german:all:0’, 5, ’@FILE:assets/snippets/anythingRating/templates/anythingRating.tpl.html’, 1000000, ’361231000000’);

                      rating is okay, but rating_id and lastIP are definitely wrong...
                      No, this is not a weird entry. The first entry has a special meaning. So don’t change it !

                      Regarding :
                      Okay, it is an issue with MySQL 4.0.23 (Tested on MySQL5, works!). Attached is are the db-functions of AnythingRating. Does someone know what to change for working with MySQL 4.0.23?
                      Have you a live web address with this issue ?