Author Topic: Dynamic Userbars!  (Read 31853 times)

0 Members and 8 Guests are viewing this topic.

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Mini-Userbars (Mini Project)
« Reply #15 on: March 23, 2010, 12:06:26 am »
very nice and great idea XD

Offline TsukasaZX

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 415
  • Rating: +46/-3
  • Never Gonna Give You Up!
    • View Profile
Re: Mini-Userbars (Mini Project)
« Reply #16 on: March 23, 2010, 01:37:18 am »
Awesome, {AP}! Reminds me of my journey into dynamic user bars. I should try making some more :P

Omnimaga needs userbars/badges :O
IRC EFNet | Nick Su-Hime | Chan #omnimaga, #unss, #cemetech
Yumé - 100% Complete!
Yumé 2: Rika's Story - 10%
 - Hiatus until summertime
Yumé: The Eternal Dreams - 50%
 - World and events
TIBiC/GO C Library - N%

"Alenda lux ubi orta libertas" - Let learning be cherished where liberty has arisen.

  ▲
▲ ▲ Triforce!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Mini-Userbars (Mini Project)
« Reply #17 on: March 23, 2010, 01:38:56 am »
Well I could always eventually add a mod allowing them, altough not now x.x

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Mini-Userbars (Mini Project)
« Reply #18 on: March 23, 2010, 01:46:04 am »
Very nice! I have the impression that this project will grow out to be bigger than you actually expected... ^^
Former Coder of Tomorrow


SirCmpwn

  • Guest
Re: Mini-Userbars (Mini Project)
« Reply #19 on: March 23, 2010, 09:04:10 am »
Yes, you can tell that I have taken to them.
OFF-TOPIC: 200th post!  ^.^

Also, if you want symbols like "#" or "+" like I have, you need to convert them to hex first and replace it with %1A, for example.
« Last Edit: March 23, 2010, 09:05:11 am by SirCmpwn »

Offline TsukasaZX

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 415
  • Rating: +46/-3
  • Never Gonna Give You Up!
    • View Profile
Re: Mini-Userbars (Mini Project)
« Reply #20 on: March 23, 2010, 11:41:39 am »
Well I could always eventually add a mod allowing them, altough not now x.x
Why not now? Just wondering.
IRC EFNet | Nick Su-Hime | Chan #omnimaga, #unss, #cemetech
Yumé - 100% Complete!
Yumé 2: Rika's Story - 10%
 - Hiatus until summertime
Yumé: The Eternal Dreams - 50%
 - World and events
TIBiC/GO C Library - N%

"Alenda lux ubi orta libertas" - Let learning be cherished where liberty has arisen.

  ▲
▲ ▲ Triforce!

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Re: Mini-Userbars (Mini Project)
« Reply #21 on: March 23, 2010, 12:11:05 pm »
Also, if you want symbols like "#" or "+" like I have, you need to convert them to hex first and replace it with %1A, for example.

Didn't even think about that. Thanks!

But, I realized that the hex codes aren't very well known... so... I made THIS!
http://removedfromgame.com/converter.php

Just type in the string you want, special characters and all, and it'll give out the results with examples.
If you notice a special character I missed, tell me and I'll add it... but I think I got it all.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Mini-Userbars (Mini Project)
« Reply #22 on: March 23, 2010, 01:31:03 pm »
mhmm nice ^^ altough for me Opera appears to do it for me (maybe not for all chars and servers, tho?)

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Re: Mini-Userbars (Mini Project)
« Reply #23 on: March 23, 2010, 02:05:50 pm »
Not sure really. I just know that most symbols aren't accepted usually.
But, if Opera works fine then use it that way. =P

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Mini-Userbars (Mini Project)
« Reply #24 on: March 23, 2010, 05:56:52 pm »
I almost forgot to follow this subforum. Well, very nice idea and well done.
I suggest adding colour support to hex (like #FF0000, for red).

Now PHP details: what PHP extension or lib you use? And I am eager to see the source, too.
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Mini-Userbars (Mini Project)
« Reply #25 on: March 23, 2010, 05:58:11 pm »
I wonder if we can use custom background images?

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Mini-Userbars (Mini Project)
« Reply #26 on: March 23, 2010, 06:22:12 pm »
These look handy, can't wait to see where these lead :D
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Re: Mini-Userbars (Mini Project)
« Reply #27 on: March 23, 2010, 06:34:17 pm »
I almost forgot to follow this subforum. Well, very nice idea and well done.
I suggest adding colour support to hex (like #FF0000, for red).

I may. The deal is that the 'colors' are just different images I used for the background, from there the text is added on top.
I could basically allow "#FF0000" to be the same as "red" but something like "#FE0000"—which is basically red too—wouldn't be supported because of the method used.

Now PHP details: what PHP extension or lib you use? And I am eager to see the source, too.

I'm using PHP5 with the GD library. (I'm pretty sure PHP4 would be fine too.) I'll send a copy of the source a bit later. Messing with something else at the moment. ^^;

I wonder if we can use custom background images?

Due to the method used so far, I couldn't easily allow it. I'm new to image manipulation so the different backgrounds are all different images that I add text on to. I could let you specify an image, but it'd have to be the right size (195x20 or 350x20) for it to look right and you'd still have to add the border and any other little effects you want.

I'll keep learning and I might be able to add this feature one day.



Now, for some updates!

As I said earlier, I added support to properly show level 0-9999 and threw in an easter egg.

Also, I threw together a generator for the links to help people who don't understand how to do it very well or just to test things out more easily and faster.

http://removedfromgame.com/generator.php

Sorry for the simple black text on white background look. I'll make it prettier later... but it's fully functional.
Let me know what you think~

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Mini-Userbars (Mini Project)
« Reply #28 on: March 23, 2010, 06:38:48 pm »
oooh nice :D

I wonder if eventually it could be integrated in Omnimaga forums and the same host as Omnimaga (maybe a sub-domain like userbars.omnimaga.org)? I was gonna say I could give you FTP access, but you alerady got it since about half a year now so I guess i woul;d just need to setup a folder.

I noticed that when you iframe something in a post, the iframe bg color is the same as the post. I wonder if it's the same in every browser? (see radio/playlist thread)

Offline {AP}

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 981
  • Rating: +74/-3
  • I am Webmaster!
    • View Profile
    • Removed From Game
Re: Mini-Userbars (Mini Project)
« Reply #29 on: March 23, 2010, 06:42:33 pm »
I have no objection to integrating it into Omnimaga later. Might be a good idea since I'm not sure how long I'll be able to maintain my 1and1 account. I'll have no problem affording the account once I finally get a job... but I need to finish college first so it'll be awhile.

As for the iframing thing, I have no clue. I haven't done anything with iframes in years.
« Last Edit: March 23, 2010, 06:43:00 pm by {AP} »