PDA


View Full Version : Problem with poll results images


BradE
05-29-2005, 07:56 PM
When the poll module trys to display the results it's not calling the bar images correctly. The results work fine, just not the images.

For example it's trying to pull this

http://www.mydomain.com/images/polls/bar5.gif

When it should be calling this:

http://www.mydomain.com/forums/images/polls/bar5.gif

I used the install file and reloaded all the settings and it didn't seem to fix it. I don't have this issue with anything else, just the poll results. Any idea how to correct it?

FightRice
05-29-2005, 10:25 PM
you need to change your image path. Does all your other images show up like they should?

BradE
05-29-2005, 10:43 PM
That's what's strange, all the other images work perfectly fine, it's just the poll results that are messed up.

FightRice
05-30-2005, 01:44 PM
Copy the images and just create a new folder /images of if you already have a /images folder, simply place the bar graph images in them. Probably the easiest fix

Brian
05-30-2005, 02:00 PM
Or, do it the right way and just edit the URL to your polls folder through your styles manager. ;)

FightRice
05-30-2005, 07:39 PM
oops, or you could do that as well

jrcart
01-31-2006, 09:53 PM
do I change it in the adv_portal_pollresult style? If so how do I know which one it is? The code is all crazy:
<tr>
<td class="$bgclass">
<span class="smallfont"><if condition="$show['voteital']"><em>$option[question] - $option[percent]%</em><else />$option[question] - $option[percent]%</if></span><br />
<img alt="" height="10" src="$stylevar[imgdir_poll]/bar$option[graphicnumber]-l.gif" width="3" /><img alt="$option[votes] <if condition="$option['votes'] <> 1">$vbphrase[votes]<else />$vbphrase[vote]</if>" height="10" src="$stylevar[imgdir_poll]/bar$option[graphicnumber].gif" width="$option[barnumber]" /><img alt="" height="10" src="$stylevar[imgdir_poll]/bar$option[graphicnumber]-r.gif" width="3" />
</td>
</tr>

Brian
02-02-2006, 03:39 AM
FAQ forum.