• Page 1 of 1
  • 1
Rating Stars
Igor-Sousa
Posts: 93
Reputation: 18

Message # 1 | 9:45 AM
Hi,

I am testing the system of rating stars and I'm having trouble to put them in my entries.

I tried this code and did not work.

Code
<?if($RATING$)?><?$RSTARS$('30','/.s/img/stars/3/30.png','1','float')?><?endif?>

  • I tried without the conditional operators
  • I tried to put inside a table with the TD class eDetails
  • I tried to put inside a DIV
  • I tried to change the path to the images ( /.s/img/stars/3/30.png )

    but the stars do not appears inside my entries.

    I want to put them together my content as in "Games" module, not in "Details" table.

    Does anyone know how to put them inside entries content?

    I use BBcodes + HTML to add/edit my entries.

    Thanks in advance!


    I've made grammar mistakes ?? Google's fault !!

    Time is the most valuable thing a man can spend.

  • Sunny
    Posts: 9296
    Reputation: 456

    Message # 2 | 2:50 PM
    Igor-Sousa, where are you adding the code? Add it to "Page with entry full text and its comments" template. You can see the example in Online Games module template.
    I'm not active on the forum anymore. Please contact other forum staff.
    Igor-Sousa
    Posts: 93
    Reputation: 18

    Message # 3 | 10:37 AM
    Hi Sunny,

    Example:

    As you can see, when I add the stars to my template, it works fine, but I want it inside my content:

    I have one more question, any template I add the code:

    Code
    <?if($RATING$)?>| <!--<s3119>-->Avaliação<!--</s>-->: <b>$RATING$</b>/<b>$RATED$</b><?endif?> <?if($RATE_FORM$)?>| <?$RSTARS$('12','/.s/img/stars/3/12.png','1','float')?><?endif?>

    The stars automatically pass to the bottom line and there isn't the tag <br />.

    Why this happens?

    Thanks in advance.

    Added (2009-09-03, 4:37 Am)
    ---------------------------------------------
    Is there any way to put them inside the content?

    Attachments: 4132887.jpg (43.2 Kb) · 3180607.jpg (15.4 Kb)

    I've made grammar mistakes ?? Google's fault !!

    Time is the most valuable thing a man can spend.

    Nzo
    Posts: 25
    Reputation: 1

    Message # 4 | 9:42 PM
    Quote (Igor-Sousa)
    Is there any way to put them inside the content?

    Did you check if there is a break code (<br>) before the Ratings code? If there is one remove it.


    NzoMedia.info

    Igor-Sousa
    Posts: 93
    Reputation: 18

    Message # 5 | 1:02 AM
    Quote (Nzo)
    Did you check if there is a break code (<br>) before the Ratings code? If there is one remove it.
    Yes, I did. This happens with all the templates of the modules that are allowed to use the code.

    I've made grammar mistakes ?? Google's fault !!

    Time is the most valuable thing a man can spend.

    Nzo
    Posts: 25
    Reputation: 1

    Message # 6 | 1:15 PM
    Quote (Igor-Sousa)
    Yes, I did. This happens with all the templates of the modules that are allowed to use the code.

    Can you paste all the code here of that page.


    NzoMedia.info

    atkhenz
    Posts: 22
    Reputation: 0

    Message # 7 | 8:44 PM
    is there any way i can put a rating stars on some image.. like i want to rate an image
    Sunny
    Posts: 9296
    Reputation: 456

    Message # 8 | 9:39 AM
    atkhenz, what kind of image? Where is it placed?
    I'm not active on the forum anymore. Please contact other forum staff.
    atkhenz
    Posts: 22
    Reputation: 0

    Message # 9 | 2:25 PM
    like this one

    im going to put rating code for every image im going to post.

    Attachments: 5870562.jpg (24.4 Kb)
    Post edited by atkhenz - Friday, 2010-04-23, 9:18 PM
    Tommy
    Posts: 454
    Reputation: 38

    Message # 10 | 5:55 PM
    Quote (atkhenz)
    like this one bro.

    Quote (Sunny)
    I'm not "man", "sir" or whatever. I'm female!

    "I don't like to commit myself about heaven and hell - you see, I have friends in both places"
    atkhenz
    Posts: 22
    Reputation: 0

    Message # 11 | 3:10 PM
    is that possible to put on my page? pls anyone?
    Dartz
    Posts: 1931

    Message # 12 | 9:58 PM
    Rating for images is possible only in Photo Album.
    [... With uCoz since December 2 2007 ...]
    • Page 1 of 1
    • 1
    Search: