| Author |
Message |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
| Wed Apr 25, 2007 7:31 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
Heya Im Me
Joined: 01 Feb 2006 Posts: 189
|
|
|
|
Oh man, no way!! Thanks so much FI-DD! Fantastic job
I love how its AJAX, really great work
-HIM
|
|
| Wed Apr 25, 2007 8:14 pm |
|
 |
PJR
Joined: 17 Oct 2005 Posts: 161 Location: Czech republic |
|
|
|
Very cool!! Thank you FI-DD!
|
|
| Wed Apr 25, 2007 10:05 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1943 Location: US |
|
|
|
I pooped a little. Yes, thank you more than words.
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Thu Apr 26, 2007 1:15 am |
|
 |
Saszoo

Joined: 07 Jun 2006 Posts: 410 Location: Norway |
|
|
| Thu Apr 26, 2007 6:49 am |
|
 |
gauss

Joined: 06 Sep 2006 Posts: 23
|
|
Very nice. |
|
thx
|
|
| Thu Apr 26, 2007 9:32 am |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1943 Location: US |
|
|
|
I have a few small issues that I wondered about. Nothing that needs immediate attention or anything.. just some small things I noticed and tried to change myself but failed.
Okay first, I changed the style from 'grey' to a hex code color and it just WILL NOT change the color from grey. Here's where I changed it (and cleared cache afterwards just in case):
plugins/polls-in-posts.php
 |  | $output .= ".poll_result_short {padding:1px; border:1px solid black; background-color: #848284}\n";
$output .= ".poll_result_full {padding:1px; border:1px solid black; background-color: #848284}\n"; |
You can see that I added the hex. Should that do it or am I missing something somewhere else? I couldn't find any instance of colors anywhere in any of the code.
Also, sometimes the font will get switched to Times New Roman (or default browser font) so is there a way to set a permanent font on this? Would I do it in the same area that I'm working with these colors?
And lastly, I noticed after I save a poll that when I go edit it again it shows me how many votes had been added to each option.. but these don't display on my site to my visitors. Is it supposed to? It would be really nice if it did. I can't figure out how something can be written in my {short-story} but it won't show up on the site. You can see it here http://www.scottdizzle.com
Well.. sorry for writing a book. That's just my experience with this. I'm so excited about this thing you have no idea.
edit: Uhoh.. when I use search and it pulls up a poll it gives errors like this:
http://www.scottdizzle.com/search.php?do=search&search=poll&category=
or
http://www.scottdizzle.com/search.php?do=search&search=the&category=
I've been trying to figure out what's wrong.. but I can't seem to nail it. I have a feeling it's to do with one of the filters in search.php.. maybe highlight?
Edit again:
Yep.. I changed line 77 of search.php to:
 |  | //add_filter('news-entry-content', 'Highlight_Search', 999); |
and now all errors are gone and polls display properly.
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Fri Apr 27, 2007 7:00 am |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
 |  | Okay first, I changed the style from 'grey' to a hex code color and it just WILL NOT change the color from grey. |
Are you sure that #848284 is a valid color?
Btw, I successfully changed the example to #c0c0c0:
http://english.cutenews.ru/cuteru/example/index.php/2005/12/15/first-news.html
 |  | Also, sometimes the font will get switched to Times New Roman (or default browser font) so is there a way to set a permanent font on this? Would I do it in the same area that I'm working with these colors? |
Yep, same place, simple CSS - "font-family:myfont" should do it.
 |  | And lastly, I noticed after I save a poll that when I go edit it again it shows me how many votes had been added to each option.. but these don't display on my site to my visitors. Is it supposed to? It would be really nice if it did. |
Yeah, I noticed that too when voting on your page. Just the percentages is not very usefull.
How and where do you want to show votes per option and total votes? A simple screenshot would be helpfull.
|
|
| Fri Apr 27, 2007 11:06 am |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1943 Location: US |
|
|
|
You're right.. bad hex color lol. I tried again and it worked. Stupid me. I must have been working with not enough sleep or something. Font fix works too. Thanks man.
As for the the screenshot to show the votes.. I was thinking something like this:
or anything you could think of that would look better, nicer, or cooler.
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Fri Apr 27, 2007 11:20 am |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
Updated.
(I didn't add the number of votes to the poll form because I think it would influence the user's choice.)
|
|
| Fri Apr 27, 2007 12:51 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1943 Location: US |
|
|
|
Mmmmmm very true! Good thinking. Thanks man, I'll redownload. 
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Fri Apr 27, 2007 6:23 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1943 Location: US |
|
|
|
Hey FI-DD I hate to be a pest.. but I wondered if you had any trouble with polls in posts getting stuck in 'Saving vote' mode. Sometimes I can't vote (sometimes it's 50/50 if it will work) and Ramon said he tried to vote on www.tastypolls.com and it would just hang there. Could I have maybe forgot to add something in the code? Perhaps a server issue? I use PHP 4 and MySQL 4.1 on Linux servers.
I'm gonna see if your example page gives me any troubles.
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Sun Apr 29, 2007 7:54 am |
|
 |
Heya Im Me
Joined: 01 Feb 2006 Posts: 189
|
|
|
|
Hey Scott,
I checked with my error console and it seems to be a security issue that I had trouble with on the AJAX comments pagination:
Error: uncaught exception: Permission denied to call method XMLHttpRequest.open
I fooled around with the javascript file a bit and I got it to work. I'll post what I did later today since I'm about to head to bed.
-HIM
|
|
| Tue May 01, 2007 7:32 am |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1943 Location: US |
|
|
|
Thanks Heya Im Me! I would've never figured that out. I'll be waiting to hear what you came up with. I don't seem to have this problem with ajax comment pagination but maybe I do and just didn't notice it yet.
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Tue May 01, 2007 4:11 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
 |  | Error: uncaught exception: Permission denied to call method XMLHttpRequest.open |
Yes, that's the error I get when voting on tastypolls.com. No idea what's wrong. 
|
|
| Tue May 01, 2007 5:45 pm |
|
 |
|