Do you like the new Poll Option Box??? |
Yes
|
|
100% |
[ 4 ] |
No
|
|
0% |
[ 0 ] |
I don't know yet
|
|
0% |
[ 0 ] |
I can't figure it out
|
|
0% |
[ 0 ] |
I don't really care |
|
0% |
[ 0 ] |
|
Total Votes : 4 |
|
| Added Quick Poll Insert MOD | |
Posted: 10/20/2005 10:49 AM |
|
|
|
|
Swan |
Posts |
147 |
Word Cnt. |
13,187 |
BDay |
Mar 7 |
Sign |
Pisces |
Sex |
|
|
|
|
Joined: Jul 29, 2005
Local time: 9:18 PM
Location: Zürich, Switzerland
|
|
|
|
|
|
I don't get it....
change
rows="{POLL_MAX_OPTIONS}"
to
rows="4"
that's all...
There's nothing else X in  row="X" can be than a number...
The {POLL_MAX_OPTIONS} just feeds that number dynamically...
I am very confused, hombre |
|
|
|
|
Back to Top |
|
|
| Added Quick Poll Insert MOD | |
Posted: 10/20/2005 10:57 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 3:18 PM
Location: St Pete, FL
|
|
|
|
|
|
I see the problem. I should have noticed this the first time I looked at your MOD. Instead of using a REPLACE WITH statement, you would use an IN-LINE FIND followed by an IN-LINE REPLACE WITH statement. When you use the REPLACE WITH statement, you are replacing the entire line, not just the part that you just found...
|
|
|
|
|
Back to Top |
|
|
| Added Quick Poll Insert MOD | |
Posted: 10/20/2005 11:07 AM |
|
|
|
|
Swan |
Posts |
147 |
Word Cnt. |
13,187 |
BDay |
Mar 7 |
Sign |
Pisces |
Sex |
|
|
|
|
Joined: Jul 29, 2005
Local time: 9:18 PM
Location: Zürich, Switzerland
|
|
|
|
|
|
SHAURI YA MIMI as we say in Swahili...
MY FAULT!
That's what happens when I just whip out a MOD
without testing it...
Of course you're right... replacing the whole line
instead of only the Variable does make a (big) difference.
|
|
|
|
|
Back to Top |
|
|
| Added Quick Poll Insert MOD | |
Posted: 10/20/2005 11:09 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 3:18 PM
Location: St Pete, FL
|
|
|
|
|
|
Ok, with the IN-LINE statements added to replace the REPLACE WITH statement, it works fine. It appears that the scrollbox will allow more than 20 poll options. That's not a huge concern for me though...
Ok, when I try to add too many options, this is what I see. I wish it told how many poll options were allowed in the error message:
|
|
|
|
|
Back to Top |
|
|
| Added Quick Poll Insert MOD | |
Posted: 10/20/2005 11:22 AM |
|
|
|
|
Swan |
Posts |
147 |
Word Cnt. |
13,187 |
BDay |
Mar 7 |
Sign |
Pisces |
Sex |
|
|
|
|
Joined: Jul 29, 2005
Local time: 9:18 PM
Location: Zürich, Switzerland
|
|
|
|
|
|
Thanks... I was about to doubt my self there...
I have changed the lines concerned in the Patch above...
When I have time I'll whip up the change to display
the number of allowed options in the error message...
Right now I should get back to my own work, though...
TAA-DAA !!! I just made it to
I wonder what the next level is...
|
|
|
|
|
Back to Top |
|
|
| Added Quick Poll Insert MOD | |
Posted: 10/20/2005 11:38 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 3:18 PM
Location: St Pete, FL
|
|
|
|
|
|
You might want to go over and edit your post in the MOD topic so this little glitch doesn't mess up anyone else's Poll...
Congratulations on the promotion, SwissCheese...
|
|
|
|
|
Back to Top |
|
|
| Re: Added Quick Poll Insert MOD | |
Posted: 10/20/2005 11:56 AM |
|
|
|
|
Swan |
Posts |
147 |
Word Cnt. |
13,187 |
BDay |
Mar 7 |
Sign |
Pisces |
Sex |
|
|
|
|
Joined: Jul 29, 2005
Local time: 9:18 PM
Location: Zürich, Switzerland
|
|
|
|
|
|
Yes, had that in mind but already forgot about it again
Nightrider wrote:
|
Congratulations on the promotion, SwissCheese...
|
Thanks! |
|
|
|
|
Back to Top |
|
|
| Information | |
Welcome to RCF - WHF Forum Index
-> Announcements
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
All times are GMT - 5 Hours Goto page: Previous 1, 2 Page 2 of 2
Add To Bookmarks
|
|
|
|