Random and Featured Albums (charts)

Alexander
Alexander
Offline
0
Install the module Random and Featured Albums (charts)/ It does not work.
http://img11.imageshost.ru/imgs/100607/c8314a255a/tb4efb.jpg
Responses (39)
  • Accepted Answer

    Monday, June 07 2010, 03:01 PM - #Permalink
    0
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Tuesday, June 08 2010, 11:44 AM - #Permalink
    0
    germi wrote:
    mmm :S it worked before... right??? is it the new version? http://www.joomlamusicsolutions.com/downloads/doc_details/33-random-and-featured-albums-module-charts.html?lang=en


    Yes, it was a new version. I downloaded it again. Established. That's what happened:

    http://img11.imageshost.ru/imgs/100608/c858e14081/t68fbe.jpg

    Maybe something should be configured to replace?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 08 2010, 11:45 AM - #Permalink
    0
    please post a link to your site (to that page)
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Tuesday, June 08 2010, 11:46 AM - #Permalink
    0
    germi wrote:
    please post a link to your site (to that page)


    I can not. I am working on a local server.
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Tuesday, June 08 2010, 11:49 AM - #Permalink
    0
    http://img11.imageshost.ru/imgs/100608/de763f2fec/t7fb08.jpg

    Can you code for?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 08 2010, 11:51 AM - #Permalink
    0
    this code is useless.. because the actual code is generated by javascirpt

    you need to see THE URL OF THE IMAGES that are not appearing. you can use FIREBUG extension for FIREFOX.
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Tuesday, June 08 2010, 11:53 AM - #Permalink
    0
    Take a look at the settings, can I have something wrong doing?

    http://img11.imageshost.ru/imgs/100608/a2b70839b5/t83ed5.jpg
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Tuesday, June 08 2010, 11:55 AM - #Permalink
    0
    germi wrote:
    this code is useless.. because the actual code is generated by javascirpt

    you need to see THE URL OF THE IMAGES that are not appearing. you can use FIREBUG extension for FIREFOX.


    I tried. The same picture.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 08 2010, 11:55 AM - #Permalink
    0
    try just for a moment to DISABLE the carousel and not load jquery and tell me if images show up
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Tuesday, June 08 2010, 12:01 PM - #Permalink
    0
    germi wrote:
    try just for a moment to DISABLE the carousel and not load jquery and tell me if images show up


    No
    http://img11.imageshost.ru/imgs/100608/e8f0b6e271/tf9eb1.jpg
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 09 2010, 03:35 PM - #Permalink
    0
    I cannot help you because I need to see the URL that is trying to be reached (the url of the image)

    use FIREBUG for FIREFOX to see the URL of the image... I already told you that! :)
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Thursday, June 10 2010, 07:06 AM - #Permalink
    0
    germi wrote:
    I cannot help you because I need to see the URL that is trying to be reached (the url of the image)

    use FIREBUG for FIREFOX to see the URL of the image... I already told you that! :)


    And how? How do I convey to you the file?
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Thursday, June 10 2010, 07:08 AM - #Permalink
    0
    Maybe so?

    http://img11.imageshost.ru/imgs/100610/7d1f177dcc/t588b7.jpg
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 10 2010, 04:01 PM - #Permalink
    0
    ok, now I see what is happening

    this is an error in WINDOWS only... (it does not happen on linux servers)

    I think theres a thread on the forum about this.

    LOOK at the src of the IMG tag: it says the original file is in

    homeoicesruwwwimagesalbumsclip4170[1].jpg

    as you can see, it CROPS the "\" character, because the correct file path should be

    home\\oices\\ru\\www\\images\\albums\\clip4170[1].jpg

    (I guess)

    I believe the problem is JQuery

    let me find the thread on the forum that talked about this...

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 10 2010, 04:02 PM - #Permalink
    0
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Friday, June 11 2010, 08:24 AM - #Permalink
    0
    germi wrote:
    look: http://www.joomlamusicsolutions.com/en/forum/music-collection-extensions/random-albums-random-and-featured-albums-problem-5.html#5184

    this is the post


    Sorry, I did not understand what I do and what file to make changes? :huh:
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Saturday, June 12 2010, 03:57 AM - #Permalink
    0
    Vostok-All wrote:
    germi wrote:
    look: http://www.joomlamusicsolutions.com/en/forum/music-collection-extensions/random-albums-random-and-featured-albums-problem-5.html#5184

    this is the post


    Sorry, I did not understand what I do and what file to make changes? :huh:


    From the topics I do not quite understand what I need to do. Could you explain to me all better? :ohmy:
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Sunday, June 13 2010, 09:12 AM - #Permalink
    0
    Waiting for an answer for weeks. This is unbelievable! " I bought this and the component is already regret. With all the modules problem!! I have already lost a lot of time. Dear Germi Maybe you should seriously apply to his case? I believe you bought your component with and what? Some problems and lack of answers
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, June 13 2010, 10:30 AM - #Permalink
    0
    dont say you dont get an answer. you get answers, but in this case we havent find a solution yet.

    man, I have answererd you about 80 posts.



    open components/com_muscol/helpers/helpers.php

    on line 208 the function createThumbnail is declared. replace it for this:
    [code]
    function createThumbnail($file, $alt, $width, $image_attr = array(), $params = array()){

    $ds = '\\\\\\\';

    $path_site = "home".$ds."oices".$ds."ru".$ds."www";

    $params = &JComponentHelper::getParams( 'com_muscol' );
    if($params->get('thumbs_mode')){
    return JHTML::image('components/com_muscol/helpers/image.php?file=' .$path_site.$ds.'images'.$ds.'albums'.$ds. $file .'&width=' . $width, $alt , $image_attr );
    }else{
    if($width
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Sunday, June 13 2010, 10:48 AM - #Permalink
    0
    Nothing happened.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, June 13 2010, 11:07 AM - #Permalink
    0
    sorry I think the function got messed up:


    function createThumbnail($file, $alt, $width, $image_attr = array(), $params = array()){

    $ds = '\\\\\\\';

    $path_site = "home".$ds."oices".$ds."ru".$ds."www";

    $params = &JComponentHelper::getParams( 'com_muscol' );
    if($params->get('thumbs_mode')){
    return JHTML::image('components/com_muscol/helpers/image.php?file=' .$path_site.$ds.'images'.$ds.'albums'.$ds. $file .'&width=' . $width, $alt , $image_attr );
    }else{
    if($width 60) return JHTML::image('images/albums/thumbs_40/' . $file, $alt , $image_attr );
    else return JHTML::image('images/albums/thumbs_115/' . $file, $alt , $image_attr );
    }

    }


    NOTE: where it says if($width 60) theres a "minor" symbol missing (I cannot paste it here because the forum crops it out)

    also please re-check the URLs of the images in that case
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, June 13 2010, 11:09 AM - #Permalink
    0
    AND REMEMBER TO CHECK the BASE PATH!!!!!!!!!!

    I mean, I dont know if its that one!! maybe there's some C:\\\\ missing or something!!!!!!! I cannot check this for you
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Sunday, June 13 2010, 11:24 AM - #Permalink
    0
    Parse error: syntax error, unexpected T_LNUMBER in W:\\home\\voicesru\\www\\components\\com_muscol\\helpers\\helpers.php on line 216
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, June 13 2010, 11:40 AM - #Permalink
    0
    which is the line 216? did you add the ">" symbol as I told you?
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Sunday, June 13 2010, 11:52 AM - #Permalink
    0
    germi wrote:
    which is the line 216? did you add the ">" symbol as I told you?

    I do not understand what and where I need to add ...
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, June 13 2010, 11:53 AM - #Permalink
    0
    again: what is in the line 216? please check that all the {} are properly closed etc..
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Sunday, June 13 2010, 11:57 AM - #Permalink
    0
    germi wrote:
    again: what is in the line 216? please check that all the {} are properly closed etc..


    else{if($width 60)
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Sunday, June 13 2010, 11:57 AM - #Permalink
    0
    function createThumbnail($file, $alt, $width, $image_attr = array(),
    $params = array())
    {
    $ds = '\\\\\\\';$path_site = "home".$ds."oices".$ds."ru".$ds."www";

    $params = &JComponentHelper::getParams( 'com_muscol' );
    if($params->get('thumbs_mode'))
    {
    return JHTML::image('components/com_muscol/helpers/image.php?file=' .$path_site.$ds.'images'.$ds.'albums'.$ds. $file .'&width=' . $width, $alt , $image_attr );}
    else{if($width 60)

    return JHTML::image('images/albums/thumbs_40/' . $file, $alt , $image_attr );

    else return JHTML::image('images/albums/thumbs_115/' . $file, $alt , $image_attr );
    }
    }
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Sunday, June 13 2010, 11:58 AM - #Permalink
    0
    What do you say? :unsure:
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Sunday, June 13 2010, 12:06 PM - #Permalink
    0
    Sorry

    I think I understand

    .....
    $width, $alt , $image_attr );}
    else{if($width > 60)

    return JHTML::image('images/albums/thumbs_40/' . $file, $alt , $image_attr );

    else return JHTML::image('images/albums/thumbs_115/' . $file, $alt , $image_attr );
    }
    }

    Nothing happens
    I wrote everything down correctly?

    :huh:
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, June 13 2010, 01:34 PM - #Permalink
    0
    Yes, i think... Can you post an image of the SOURCE CODE generated now? (just like you did the other time)
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Monday, June 14 2010, 05:30 AM - #Permalink
    0
    ok

    http://img11.imageshost.ru/imgs/100614/dfd023a05a/t80503.jpg

    and

    http://img11.imageshost.ru/imgs/100614/a00322d0b8/tf9840.jpg
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Monday, June 14 2010, 05:34 AM - #Permalink
    0
    and after all the changes - an additional problem in another module:

    http://img11.imageshost.ru/imgs/100614/6f32ca90fe/t3d1f1.jpg
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 14 2010, 03:01 PM - #Permalink
    0
    its the same problem.

    the solution I gave you is the correct one. now, if you look at it (did you even take a look at the HTML source code now?) you can see that the path for the images is not messed up.

    if images now show is because the BASE PATH is not correct!

    I ALREADY TOLD YOU!!! you have to put the right path!!!

    if you're in windows, probably you have to add an extra

    "C:" . $ds . etc...

    at the beginning!!! you know what I mean???
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Tuesday, June 15 2010, 09:48 AM - #Permalink
    0
    Well. I think I did it. Look at this



    .....
    return JHTML::image('components/com_muscol/helpers/image.php?file='.'D:'.$ds.'Webserver'.$ds.'home'.$ds.'voicesru'.$ds.'www'.$ds.'images'.$ds.'albums'.$ds. $file .'&width=' . $width, $alt , $image_attr );}
    else
    {if($width > 60)
    .......


    And this

    http://img11.imageshost.ru/imgs/100615/87afd4a23e/t53c66.jpg

    And a few more questions, if I may:
    1. I changed the code. I am currently working on a local server. Then I moved the site to hosting. Will I have to return the source code?

    2. The picture is now displayed rating administrator. Where can I change the code to be displayed rating of users? Unfortunately I could not find it myself.

    4. Could you clarify the meaning of the following options in the settings:

    http://img11.imageshost.ru/imgs/100615/ca13faf173/t58fb8.jpg

    Thank you .
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Wednesday, June 16 2010, 10:32 AM - #Permalink
    0
    http://img11.imageshost.ru/imgs/100616/a345b53a29/tc6815.jpg

    Way. What is the meaning of the Working mode - Featured ?? :huh:
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 16 2010, 03:01 PM - #Permalink
    0
    1) yes, if your hosting is under LINUX, you'll have to go back to normal code, of course! (I told you that. the problem only appears on windows, not on linu servers)

    2) this module only displays admin rating. there's no option of ruser's average rating (YET)

    4) working in FEATURED mode means that the albums are not picked up RANDOMLY: it displays those that you select. how? well, you have to introduce its IDS! so, if you put 2,3,45,78,125 on the FEATURED album IDS, it will display the albums with this IDs. that's it

    number of random albums is that: the number of DIFFERENT album shown on RANDOM mode

    Itemid is added to the link on the album for better joomla navigation

    if you put THE CURSOR over the paramters you will see its description! have you even tried that??? :)
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Thursday, June 17 2010, 09:56 AM - #Permalink
    0
    germi wrote:
    1) yes, if your hosting is under LINUX, you'll have to go back to normal code, of course! (I told you that. the problem only appears on windows, not on linu servers)

    I see. Thank you very much !

    2) this module only displays admin rating. there's no option of ruser's average rating (YET)

    Its a pity :( Very much like to see users raiting...

    4) working in FEATURED mode means that the albums are not picked up RANDOMLY: it displays those that you select. how? well, you have to introduce its IDS! so, if you put 2,3,45,78,125 on the FEATURED album IDS, it will display the albums with this IDs.

    I see. Thank you very much !

    number of random albums is that: the number of DIFFERENT album shown on RANDOM mode
    Itemid is added to the link on the album for better joomla navigation
    if you put THE CURSOR over the paramters you will see its description! have you even tried that??? :)
    :(
    Thank you
    Sometimes I very inconsiderate.
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Sunday, June 20 2010, 06:14 AM - #Permalink
    0
    germi wrote:

    2) this module only displays admin rating. there's no option of ruser's average rating (YET)



    Its a pity Very much like to see users raiting...
    Dear Germi, Tell me please is it very difficult to Submit a code amendment?
    The reply is currently minimized Show
Your Reply