| Author |
Message |
mosc
Site Admin

Joined: Jan 31, 2003 Posts: 18267 Location: Durham, NC
Audio files: 229
G2 patch files: 60
|
Posted: Sat Aug 20, 2005 6:18 pm Post subject:
New simple feature of no importance added to the forum. |
 |
|
Here's a new feature nobody probably needs, but I put it in anyway. I apologize in advance for not working on more important things.
Anyway, now when you type electro-music.com or electro-music 2005 in a post, it will automatically get formated as bold, italic and electro-blue. This will be retroactive for all posts on the forum if they are edited. Please let me know if you find a case in a post where this doesn't happen. Not that I would fix it, but I'm curious. I know it doesn't work in subject fields - that's OK with me.
Oh, the beauty of PHP...  _________________ --Howard
my music and other stuff Last edited by mosc on Sat Aug 20, 2005 8:19 pm; edited 3 times in total |
|
|
Back to top
|
|
 |
elektro80
Site Admin

Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Sat Aug 20, 2005 6:19 pm Post subject:
|
 |
|
HEY! That is cool! THX!
test
electro-music.com _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Sat Aug 20, 2005 6:54 pm Post subject:
|
 |
|
It's fun, it works (aparently) and I respect and understand your enjoyment, but is this actually a improvement? You see, I think this might make scanning pages quickly for information harder because it draws the eye yet does not realy signify any information. I do suppose that writing out those words in full is rather rare and "EM" gets used more frequently so it's not a big deal. Cool trick anyway.
One thing I've been thinking about for if and when we would make those more elaborate profiles is automatically linking all instances of user names to their profile. That way when somebody get's mentioned you could quickly look up who he is and what he does. I would, in that case, advocate keeping such links in the same font and colour as the general text to keep pages easy on the eye and only use a underline. _________________ Kassen |
|
|
Back to top
|
|
 |
mosc
Site Admin

Joined: Jan 31, 2003 Posts: 18267 Location: Durham, NC
Audio files: 229
G2 patch files: 60
|
Posted: Sat Aug 20, 2005 7:55 pm Post subject:
|
 |
|
I'd be a bit affraid to putting too much fanciness in. Checking every word in a post to see if it is a username might be a bit of a load on the posting time which is already too slow. It's an N*N algorithm. 200 words in the post * 2000 usernames is 400000 string compares. Maybe no big deal, but it could mount up. Good idea though. Keep em coming. _________________ --Howard
my music and other stuff |
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Sat Aug 20, 2005 8:20 pm Post subject:
|
 |
|
Hmmmm, surely another, more efficient sorting algorithem can be found or cooked up. Also; it need not be real time. The server could keep a log of what has been checked and only do this in spare cycles. Far more problematic would be figuring out the context of words to avoid people taking common words as logins and so getting a undue share of publicity.
Perhaps this idea wasn't so good after all.... _________________ Kassen |
|
|
Back to top
|
|
 |
elektro80
Site Admin

Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Sun Aug 21, 2005 3:20 am Post subject:
|
 |
|
I am still thinking about the gearlists and such. That is however something we might continue to discuss in the editors forum. BTW.. Howard.. did you see the mambo/phpBB integration stuff? _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
|
Back to top
|
|
 |
v-un-v
Janitor


Joined: May 16, 2005 Posts: 8932 Location: Birmingham, England, UK
Audio files: 11
G2 patch files: 1
|
Posted: Sun Aug 21, 2005 5:35 am Post subject:
|
 |
|
Indeed very cool Mosc :) How about the abbreviation too? (EM or E-M?)
Tom |
|
|
Back to top
|
|
 |
Ponk

Joined: Nov 17, 2004 Posts: 262 Location: Helsinki, Finland
Audio files: 1
|
Posted: Sun Aug 21, 2005 10:26 am Post subject:
|
 |
|
| mosc wrote: | | Keep em coming. |
Just one thing I've been missing sometimes. Could the name of the member on the upper left corner of each post be a link to their user profile? |
|
|
Back to top
|
|
 |
seraph
Editor


Joined: Jun 21, 2003 Posts: 12398 Location: Firenze, Italy
Audio files: 33
G2 patch files: 2
|
Posted: Sun Aug 21, 2005 12:33 pm Post subject:
|
 |
|
| Ponk wrote: | | Could the name of the member on the upper left corner of each post be a link to their user profile? |
what about that button aptly labeled "profile" on the bottom left side of each post  _________________ homepage - blog - forum - youtube
| Quote: | | Don't die with your music still in you - Wayne Dyer |
|
|
|
Back to top
|
|
 |
dnny

Joined: Mar 12, 2005 Posts: 519 Location: Helsinki, Finland
Audio files: 8
|
Posted: Sun Aug 21, 2005 2:14 pm Post subject:
|
 |
|
there is a little problem - if you want to ad link to EM forum pages
for example like this :
[url=http:/ /electro-music.com/forum/topic-7535.html] link to another topic[/url]
it gets all messed up
or is there any options to avoid this ?
other ways i think its just a cool option
dnny _________________ Association of experimental electronics
www.koelse.org
flickr: cable porn group |
|
|
Back to top
|
|
 |
elektro80
Site Admin

Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Sun Aug 21, 2005 2:20 pm Post subject:
|
 |
|
This is a bug. Urls should be excluded.  _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
|
Back to top
|
|
 |
mosc
Site Admin

Joined: Jan 31, 2003 Posts: 18267 Location: Durham, NC
Audio files: 229
G2 patch files: 60
|
Posted: Sun Aug 21, 2005 6:55 pm Post subject:
|
 |
|
That URL bug is fixed now, sorry.
EM could stand for something other than electro-music.com. One fellow has a thing called EMC radio that is not associated with electro-music.com at all, other than informally. _________________ --Howard
my music and other stuff |
|
|
Back to top
|
|
 |
elektro80
Site Admin

Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Sun Aug 21, 2005 6:59 pm Post subject:
|
 |
|
| Code: | | [url=http:/ /[b][i][color=#255293]electro-music.com[/color][/i][/b]/forum/topic-7535.html] link to another topic[/url] |
URLs posted during the blue meanie attack will still be malformed.. uh.. hypertagged?
BTW... any special reason why my sig didn´t die during the attck? _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Sun Aug 21, 2005 7:02 pm Post subject:
|
 |
|
| elektro80 wrote: | | BTW... any special reason why my sig didn´t die during the attck? |
It's not part of the post's text.
Sigs stay "liquid", they are added to a post but if you later change your sig then all your old posts will also have the new sig. _________________ Kassen |
|
|
Back to top
|
|
 |
mosc
Site Admin

Joined: Jan 31, 2003 Posts: 18267 Location: Durham, NC
Audio files: 229
G2 patch files: 60
|
Posted: Sun Aug 21, 2005 7:03 pm Post subject:
|
 |
|
| elektro80 wrote: | | Code: | | [url=http:/ /[b][i][color=#255293]electro-music.com[/color][/i][/b]/forum/topic-7535.html] link to another topic[/url] |
URLs posted during the blue meanie attack will still be malformed.. uh.. hypertagged?
BTW... any special reason why my sig didn´t die during the attck? |
Yes, any messed up posts need to be edited and cleaned up.
Why your sig didn't get messed up and Carlo's did? I might suggest Carlo edited his after I make the mod and you didn't. My mod actually modifies the post by putting in the BBCODE when it is submitted or edited. Maybe there is a better place to put it, but I haven't found it. _________________ --Howard
my music and other stuff |
|
|
Back to top
|
|
 |
elektro80
Site Admin

Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Sun Aug 21, 2005 7:13 pm Post subject:
|
 |
|
So this was hardcoded .. as seen in the code example above.. and not parsed together on the fly? _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
|
Back to top
|
|
 |
mosc
Site Admin

Joined: Jan 31, 2003 Posts: 18267 Location: Durham, NC
Audio files: 229
G2 patch files: 60
|
Posted: Sun Aug 21, 2005 7:24 pm Post subject:
|
 |
|
I'm not sure I understand this question. Whatever you call it, it is two lines added to the regular phpbb code. Very simple actually. It actually sees these stringes and puts in the BBCODE in your post. Then that BBCODE becomes a permanent part of the post. There may be a better way to do that, but I didn't want to make a major project of it. As it is, we've spent more time talking about it than it took to do it. _________________ --Howard
my music and other stuff |
|
|
Back to top
|
|
 |
elektro80
Site Admin

Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Sun Aug 21, 2005 7:31 pm Post subject:
|
 |
|
I see. I did some similar formatting stuff way back when I used webdna. then I made a system for not changing the content in the database.. but instead parsing together the html on the fly with all the formatting.. you know.. no permanent edits. _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
|
Back to top
|
|
 |
seraph
Editor


Joined: Jun 21, 2003 Posts: 12398 Location: Firenze, Italy
Audio files: 33
G2 patch files: 2
|
Posted: Mon Aug 22, 2005 12:26 am Post subject:
|
 |
|
| mosc wrote: |
Why your sig didn't get messed up and Carlo's did? I might suggest Carlo edited his after I make the mod and you didn't. |
I didn't and now it's back to normal  _________________ homepage - blog - forum - youtube
| Quote: | | Don't die with your music still in you - Wayne Dyer |
|
|
|
Back to top
|
|
 |
Ponk

Joined: Nov 17, 2004 Posts: 262 Location: Helsinki, Finland
Audio files: 1
|
Posted: Mon Aug 22, 2005 1:42 am Post subject:
|
 |
|
| seraph wrote: | | Ponk wrote: | | Could the name of the member on the upper left corner of each post be a link to their user profile? |
what about that button aptly labeled "profile" on the bottom left side of each post  |
Oh.
I've actually never noticed those buttons... And they've always been there. Boy, do I feel stupid now!
I'm sorry. I'll go to my room. |
|
|
Back to top
|
|
 |
mosc
Site Admin

Joined: Jan 31, 2003 Posts: 18267 Location: Durham, NC
Audio files: 229
G2 patch files: 60
|
Posted: Mon Aug 22, 2005 9:05 am Post subject:
|
 |
|
I feel stupid about releasing a feature with bug.
Maybe we need a I Feel Stupid sub-forum. No, it would get too big....  _________________ --Howard
my music and other stuff |
|
|
Back to top
|
|
 |
|