Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
Contact the Webmasters of RCFContact   Invite a friend to Join usRecommend   Chat in IRCChat   EZ Template Change OptionEZStyle   Listen to Internet Radio while you browse...iRadio   See your private message.Login for PMs   Important LinksLinks
Member Website LinksWeb Links   Play/View our GamesGames   Register.Register
calendar_open_closeCalendar 
Added Quick Poll Insert MOD
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2
Welcome to RCF - WHF Forum Index -> Announcements Add To Bookmarks

Do you like the new Poll Option Box???
Yes
100%
 100%  [ 4 ]
No
0%
 0%  [ 0 ]
I don't know yet
0%
 0%  [ 0 ]
I can't figure it out
0%
 0%  [ 0 ]
I don't really care
0%
 0%  [ 0 ]
Total Votes : 4

Added Quick Poll Insert MOD
PostPosted: 10/20/2005 10:49 AM Reply with quote
Swan
SwissCheese
Swan
Posts 147
Word Cnt. 13,187
BDay Mar 7
Sign Pisces
Sex Sex:Male
Joined: Jul 29, 2005
Local time: 11:23 AM
Location: Zürich, Switzerland
switzerC.gif
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 Shocked
Back to Top
View user's profile Find all posts by SwissCheese Send private message   Visit poster's website Yahoo Messenger
Added Quick Poll Insert MOD
PostPosted: 10/20/2005 10:57 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,678
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:23 AM
Location: St Pete, FL
peace.gif
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...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Added Quick Poll Insert MOD
PostPosted: 10/20/2005 11:07 AM Reply with quote
Swan
SwissCheese
Swan
Posts 147
Word Cnt. 13,187
BDay Mar 7
Sign Pisces
Sex Sex:Male
Joined: Jul 29, 2005
Local time: 11:23 AM
Location: Zürich, Switzerland
switzerC.gif
SHAURI YA MIMI as we say in Swahili...

MY FAULT!  Embarassed

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.

d'oh!  Brick wall
Back to Top
View user's profile Find all posts by SwissCheese Send private message   Visit poster's website Yahoo Messenger
Added Quick Poll Insert MOD
PostPosted: 10/20/2005 11:09 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,678
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:23 AM
Location: St Pete, FL
peace.gif
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:



munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Added Quick Poll Insert MOD
PostPosted: 10/20/2005 11:22 AM Reply with quote
Swan
SwissCheese
Swan
Posts 147
Word Cnt. 13,187
BDay Mar 7
Sign Pisces
Sex Sex:Male
Joined: Jul 29, 2005
Local time: 11:23 AM
Location: Zürich, Switzerland
switzerC.gif
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...

Very Happy

TAA-DAA !!! I just made it to
I wonder what the next level is...
Think
Back to Top
View user's profile Find all posts by SwissCheese Send private message   Visit poster's website Yahoo Messenger
Added Quick Poll Insert MOD
PostPosted: 10/20/2005 11:38 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,678
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:23 AM
Location: St Pete, FL
peace.gif
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...

Applause
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Added Quick Poll Insert MOD
PostPosted: 10/20/2005 11:56 AM Reply with quote
Swan
SwissCheese
Swan
Posts 147
Word Cnt. 13,187
BDay Mar 7
Sign Pisces
Sex Sex:Male
Joined: Jul 29, 2005
Local time: 11:23 AM
Location: Zürich, Switzerland
switzerC.gif
Yes, had that in mind but already forgot about it again  d'oh!

Nightrider wrote:
Congratulations on the promotion, SwissCheese...Applause

Thanks!
Back to Top
View user's profile Find all posts by SwissCheese Send private message   Visit poster's website Yahoo Messenger
 Post new topic  Reply to topic
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

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group
  ImageShack  
  Putfile  
  TinyURL  
  CommonDreams  
  Log in  

Page generation time: 0.1704s (PHP: 62% - SQL: 38%) - SQL queries: 54 - GZIP enabled - Debug on