Star rating nightmare - remove small stars

Once you remove the star rating system you still have some small stars on the Photo Gallery Block as well as some other areas of your site, they are small stars below photo thumbnails that are displayed with div-class "galleryRate"

Where can I find this code to remove it? TYIA

<div class="galleryRate">

<div id="gphotosmall" class="votes_small">
<script language="javascript">
</script>
<div class="votes_gray_small" style="width: 80px;">
</div>
<b>0 votes</b>
<div class="clear_both"/>
</div>
Quote · 2 Jun 2009

any ideas how to remove the stars located underneath the thumbnail images?

just tell me the file name and I'll figure it out..

thank

Quote · 2 Jun 2009

inc/classes/BxDolSharedMedia.php

line 447 try commenting it out with //

have a play ;)

Quote · 2 Jun 2009

kosmic you had me jumping for joy.. then I tried it =(

I commented out

//   
$oVoting = new BxDolVoting ('g'.$this->sType, 0, 0);
$oVoting->deleteVotings($iFile);

that didn't work

so I also removed both statements that contained

getSmallVoting

Then I removed them and the site wouldn't even pull up..

Back to square one... no?

Quote · 2 Jun 2009

this will fix it..

change

$sShowRate = '<div class="galleryRate">'. $sRate . '</div>';

to

//$sShowRate = '<div class="galleryRate">'. $sRate . '</div>';

thanks kosmic

Quote · 3 Jun 2009

your welcome Smile

Quote · 3 Jun 2009

1) go to: /public_html/templates/base/css

2) comment out all the "background-image:url"s (see below)

- to comment out in css, use /* */, e.g. /*whatyouwantcommentedout*/

- sample below....

}
.votes_gray_big
{
height:32px;
/*background-image:url(../images/vote_star_gray_32.gif)*/
}
.votes_gray_small
{
height:16px;
/*background-image:url(../images/vote_star_gray_16.gif)*/
}

.votes_active_big, .votes_active_small
{
position:absolute;
top:0;
left:0;
z-index:1;
}
.votes_active_big
{
height:32px;
/*background-image:url(../images/vote_star_active_32.gif); */
}
.votes_active_small
{
height:16px;
/*background-image:url(../images/vote_star_active_16.gif); */
}

Quote · 26 Jun 2009

 

1) go to: /public_html/templates/base/css

2) comment out all the "background-image:url"s (see below)

 

- to comment out in css, use /* */, e.g. /*whatyouwantcommentedout*/

- sample below....

 

}
.votes_gray_big
{
height:32px;
/*background-image:url(../images/vote_star_gray_32.gif)*/
}
.votes_gray_small
{
height:16px;
/*background-image:url(../images/vote_star_gray_16.gif)*/
}

.votes_active_big, .votes_active_small
{
position:absolute;
top:0;
left:0;
z-index:1;
}
.votes_active_big
{
height:32px;
/*background-image:url(../images/vote_star_active_32.gif); */
}
.votes_active_small
{
height:16px;
/*background-image:url(../images/vote_star_active_16.gif); */
}

 

Rats, you beat me to what I was going to tell them to do.  Keep in mind, while the above will work, it will still have the browser creating the item, just not showing it as the css file only controls the layout/appearance of the page.  editing the php file will in the end fully remove the item, thus it will reduce server load (saving you resources) and remove the need for the browser to create something and then hide it, thus speeding up the load time of the page on the endusers end.

Quote · 27 Jun 2009

Thank you, mydatery for the extra info.

I failed to mention the exact file location....

public_html/templates/base/css/general.css

- Stephen

Quote · 27 Jun 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.