Pie Chart Mod

Started by Grudge, March 07, 2004, 07:52:25 AM

Previous topic - Next topic

Grudge

Link to Mod

This little mod will allow your users to view the results of a poll as a piechart by clicking a link which will open the results in a window. Note this won't work all that well on polls with more than 16 results.
I'm only a half geek really...

Ben_S

Liverpool FC Forum with 14 million+ posts.

Omar Bazavilvazo





Personal Signature:
HablaJapones
http://hablajapones.org
http://hablajapones.org/tutoriales.php


NO me manden PM para soporte o dudas
...Leo los foros como todos...

williammc

I get this error after clicking the pie chart link.

Fatal error: Call to undefined function: imagettftext() in /usr/home/williamm/public_html/wf/Sources/Subs-Graphics.php on line 1254

All files chmod 777.

Help please, thanks.

[Unknown]

I'm afraid it requires GD.

-[Unknown]

williammc

#5
Hmmm, does the avatar resizing require GD or is this something different, I have it enabled for avatars.

Now I have 2 pie chart links, when I uninstall it it leaves the link there.

Thanks.

Edit: from my error message above it shows 1254 but it only goes to 1174 in Subs-Graphics.php

Edit 2: I guess I don't have GD, I made a avatar 70x70 which I only allow 60x60 max.

williammc

#6
Nevermind removed the forum.
:)

klumy

Is there a screenshot for this MOD?

Oldiesmann

Give me a second or so and I'll paste one up here for you...
Michael Eshom
Christian Metal Fans

Oldiesmann

Michael Eshom
Christian Metal Fans

Bitwiz44

Ok... I get the same error. Fatal error: Call to undefined function: imagettftext() in /home/talk/public_html/Sources/Subs-Graphics.php on line 1282


I have GD.. (I think) because it on a Lewis server.

Kindred

Strangely enough, I got this same error on my Mambo-SMF install...

It works perfectly well in SMF directly, but going in through Mambo caused the error.
My fix was to copy the font file into the Mambo root directory and also into the Sources directory just in case...

Now,  however, there is no error, but I get the little red X-box for image not found when I click the pie chart in Mambo...
(I commented out the obexit line in the piechart fucntion).

Grudge (or someone else?)   just a quick question... Is there a set path or something in the mod that Mambo would be interfering with?

--Kindred--
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

niko

Quote from: Bitwiz44 on December 30, 2004, 12:40:42 PM
Ok... I get the same error. Fatal error: Call to undefined function: imagettftext() in /home/talk/public_html/Sources/Subs-Graphics.php on line 1282


I have GD.. (I think) because it on a Lewis server.

Yuo may have it but you dont have FreeType
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

FaSan

Quote from: Grudge on March 07, 2004, 07:52:25 AM
Link to Mod

This little mod will allow your users to view the results of a poll as a piechart by clicking a link which will open the results in a window. Note this won't work all that well on polls with more than 16 results.



Uhmmm... and for more results ?  8) :D

Webrunner

How about this: the mod works fint, but only for administrators.
Other members get a blank popup. :(
Any ideas?
There is a difference between knowing the path and walking the path.

=========================================
Vrouwen Power! | Sprintweb: No nonsense e-Business consultancy

Midgard

Did you set membergroup permissions?

Webrunner

Wich ones?
All the poll options are on.
There is a difference between knowing the path and walking the path.

=========================================
Vrouwen Power! | Sprintweb: No nonsense e-Business consultancy


Webrunner

Yes i have ....
Doesn't seem to make a difference.
There is a difference between knowing the path and walking the path.

=========================================
Vrouwen Power! | Sprintweb: No nonsense e-Business consultancy

Bitwiz44

will this mod be up-dated for 1.01?

Advertisement: