31
Brad
Re: Turning notification options' table into a drop-down?
  • 2004/5/6 15:25

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:
Dave_L wrote:
To allow multiple selections, the <select ...> tag must contain the attribute multiple='multiple', and the size= attribute must be set to a value larger than 1.

Which then turns it into a listbox, by my definition, and not a combobox (i.e. dropdown).

Quote:
DonXoop wrote:
Although it might be more difficult for a user to pick multiple choices (less intuitive) it is possible to make a drop down.

I agree that it'd be less intuitive. I'd suggest that there should be a compelling reason to make it more complex for the user.

I'd also like to suggest another alternative to having the notification options in a listbox... Keep them in the table but hide the table in a "drop-down"-like deal.

Fo' instance... "fo' instance web site"
Click the "Calendar" link near the top, and on the right, of the screen. Notice how the calendar pops down without reloading the page? I'm thinking the same thing could be done for the notification options.



32
Brad
Re: Allow Spaces in Username Hack (easy!)
  • 2004/5/6 0:43

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:
I'll want to hear strong technical reasons why this can't possibly cause any problems or ugliness somewhere in the app or 3rd party app before I'd enable it. I'm still not convinced.

Am I safe in assuming you're a programmer or was one in the past?

The user ID wouldn't cause problems (don't know about ugliness; the whole eye of the beholder thing) elsewhere in the system for the same reason that spaces in the subject of a message don't cause a problem; they are both DISPLAY ONLY. How could something that is displayed in it's entirety cause a problem?

How about instead of us giving you reasons why it wouldn't cause problems, why don't you give us any potential problems that you think it could cause. Anyone reading this, let us know why you think it could cause problems. I'll play like an old-west gun slinger and shoot each potential problem down. Then I'll blow the smoke away from the barrel of my guns, twirl them around my fingers, and then deftly slide them back into my holsters all the while having some kind of old-west soundtrack playing in the background.

Quote:
I'm just having fun with this. But I'll be interested to hear the outcome.

Me too. Matter of fact, I'm going to install this mod and then force all my users to have a space in their user ID.



33
Brad
Re: Unique Block style in column
  • 2004/5/6 0:26

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


As an example, if you were wanting to change the appearance of the main menu you would...

Edit system_block_mainmenu.html via the template set manager. Add your new colors, font sizes, and whatever else to the table where appropriate.



34
Brad
Re: Turning notification options' table into a drop-down?
  • 2004/5/6 0:20

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Why would you want to turn the table into a combobox (i.e. "drop-down")? The reason that it's a table in the first place is because the user can select multiple notifications at a single time. The user can't do that if it's a combobox.



35
Brad
Re: Allow Spaces in Username Hack (easy!)
  • 2004/5/5 18:41

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:
DonXoop wrote:
Dave_L makes enough sense to me.....

Yes, but in the real world, how often do you see someone write their name and last initial as "Dave_L"? In the real world, most people would write "Dave L", hopefully with a period after the "L".

There's no valid reason that XOOPS should differ from the real world in this case. Doing so adds complexity for the average user.

Brad (having fun with the bold tags)



36
Brad
Re: Ultimate customisation method??
  • 2004/5/5 16:52

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:
carnuke wrote:
Thanks chapi for that link. Are you saying that a change of theme and module from one link is not possible? What about using onload to change a theme? I just need to know how to change themes with a hyperlink rather than the drop down.

Chapi is saying that it is possible. I now return you to your regularly scheduled conversation...



37
Brad
Re: Allow Spaces in Username Hack (easy!)
  • 2004/5/5 16:47

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:
Dave_L wrote:
Some people like using their first+last names as usernames, and it's more user-friendly to support that.

Yeah, you could have been "Dave L" instead of "Dave_L". I'm sure that's what was in the back of your mind, haunting you.



38
Brad
Re: Allow Spaces in Username Hack (easy!)
  • 2004/5/5 14:19

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:
Maybe I'm too paranoid but it reminds me of file names with spaces and strange characters which I really don't like.

You are paranoid.

Quote:
Maybe no problem but it just smells of trouble and requires some serious checks for any security issues. Maybe display only but at login time it does matter, it makes me a bit nervous.

You are paranoid. Oh wait, I already said that.

There are no security issues that I could even begin to imagine. That is, no more security holes than currently exist (if any) in allowing names without spaces. A space is just another character like "a" or "b" or "c"; it's " ".

The rules for spaces in user name would/should be that the name can not start or stop with a space and there can never be more than one consecutive space.

Pretending that a period represents a space...

"Brad.Jones" - Good.
".Brad.Jones" - Bad.
"Brad.Jones." - Bad.
"Brad..Jones" - Bad.



39
Brad
Re: Allow Spaces in Username Hack (easy!)
  • 2004/5/5 12:28

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:

DonXoop wrote:
I haven't done this hack and don't plan to but I'll put in my vote to Not put it in the core or at least a config to not allow spaces. I never liked spaces in things like this or files names etc. An underscore "_" is a better alternative IHMO.

Don -

Why? Why do you not want spaces in a value that is display only? Do you, personally, not like the look of it?



40
Brad
Re: Searching for a Counter-Strike server-module
  • 2004/4/30 14:12

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


I can't imagine that the information you get from each of the different game types will be so different from one another. Some might have more than others but I am willing to bet that they'll all contain a common subset. Beyond that, some will share a couple other attributes, and maybe one or two will have unique information (but then, is that information really needed if the other games didn't see fit to include it?).

One of the problems with game-specific templates is how to ensure they maintain the look and feel that you're module is trying to achieve. Do you have a design for the display of the game information already in mind? Do you happen to have a prototype?

The display logic could perhaps be something like (obviously fleshed out more)...

echo Server Type
echo Server Description
echo Current Map
echo Current/Total Players

(reverting to VFP programming constructs)

IF 
hasPlayerInfo
   
FOR EACH player IN playerGroup
      
player.Name
      
IF EXISTS(player.Time)
         ? 
player.Time
      
ENDIF
      IF 
EXISTS(player.Frags)
         ? 
player.Frags
      
ENDIF
   ENDFOR
ENDIF




TopTop
« 1 2 3 (4) 5 6 7 ... 15 »



Login

Who's Online

153 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 153


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits