Responses (39)
-
Accepted Answer
0mmm :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 -
Accepted Answer
0germi 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:
Maybe something should be configured to replace? -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0ok, 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 -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Vostok-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? hmy: -
Accepted Answer
0Waiting 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 -
Accepted Answer
0dont 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 -
Accepted Answer
0sorry 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 -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0function 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 );
}
} -
Accepted Answer
0Sorry
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: -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0its 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??? -
Accepted Answer
0Well. 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
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:
Thank you . -
Accepted Answer
-
Accepted Answer
01) 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??? -
Accepted Answer
0germi 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. -
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »