Welcome, Guest. Please Login or Register.
April 19, 2024, 03:32:51 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Graphics and Templates  |  YaBBG - Yet Another Bloody Button Generator « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: YaBBG - Yet Another Bloody Button Generator  (Read 95959 times)
Iridium
Full Member
***
Posts: 173


I'm a llama!

YaBBG - Yet Another Bloody Button Generator
« on: March 30, 2003, 06:10:52 PM »
Reply with quote

Well I decided that I'd release the button generator that I've used for my boards. It's different from the various other button generators in a number of ways:

Firstly: the buttons that it creates can't be used on a "virgin" install, there are a number of modifications that need to be made to some of the code. This is because my generator, unlike other button generators produces fully anti-aliased buttons, but, in order to achieve this, the background color onto which the button is to be placed needs to be known, so that a matte color can be applied. Obviously, this raises issues with the fact that some buttons are used in multiple places (with differently colored backgrounds) and the posts themselves alternate in color between "windowbg" and "windowbg2". Thus, one button needs to be created for each, and slight code modifications need to be made to ensure that the correct button is put on the background.

Secondly: the buttons themselves are a fixed size. It's my button generator, and I personally think that all the buttons should be of an equal size to create a uniform feel.

Well, I think those are the main points. Try it out, constructive (or otherwise ;)) criticism is welcome. If you would like to use the buttons generated by "YaBBG", PM me, and I'll arrange to make the code-modifications available, and a list of buttons and the background color(s) on which they are used.

The address to the button generator is:

http://yabbg.dyndns.org/

(It's hosted on a machine connected only by 56K, so don't expect miracles in terms of speed, and if you can't access the site, more than likely, my IP has changed, so wait 10 mins and try again.)

Update:

I have recently finished a new version of this generator, in which buttons colors and shapes fully-customizable (see my post on page 2 of this thread for more details). It's only "beta" at the moment, but as far as I know, there are no major bugs. I've not quite finished adding all of the temlpates, but am nearly there. Pleas try it out, and post comments/suggestions/bugs here.

The link:

http://yabbg.dyndns.org/Version2/
« Last Edit: July 01, 2003, 11:32:46 PM by Iridium » Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Yabbg - Yet Another Bloody Button Generator
« Reply #1 on: March 30, 2003, 08:03:00 PM »
Reply with quote

It's pretty cool that u can choose the button color yourself
how about making a color picker or something like that? :)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
A.M.A.
YaBB God
*****
Posts: 685


.:: :-) ::.

evolve_xp@hotmail.com WWW
Re:Yabbg - Yet Another Bloody Button Generator
« Reply #2 on: March 31, 2003, 08:23:43 AM »
Reply with quote

E X C E L L E N T

How did you achieve the anti-aliased effect!! Is it thought php or using premade anti-aliased text/pic.


cheer
Logged

Iridium
Full Member
***
Posts: 173


I'm a llama!

Re:Yabbg - Yet Another Bloody Button Generator
« Reply #3 on: March 31, 2003, 10:45:45 AM »
Reply with quote

The templates (and the star-icons) are all saved as 24bit PNGs which support full, variable transparency (not just a single transparent color as in GIFs). The GD2 libraries also support true-color formats, and so the output image is first filled with the background color, then the template is painted on top, then the icon and text (which is automatically anti-aliased by GD).

It'd be a whole lot easier if Internet Explorer supported variable transparency in PNG files, then you wouldn't have to choose the background color at all. Whenever IE loads a true-color PNG with transparency, the transparent areas are filled with a pale blue color. So, at least for now, we're stuck doing it this way :-\

Edit: Woohoo, stickied! Thanks to whoever was responsible.
« Last Edit: March 31, 2003, 10:34:21 PM by Iridium » Logged
Daniel Hofverberg
YaBB God
*****
Posts: 582


WWW
Re:Yabbg - Yet Another Bloody Button Generator
« Reply #4 on: April 03, 2003, 02:14:22 PM »
Reply with quote

Seems very interesting, and nice with a service that actually supports ÅÄÖ (unlike Cae's regular button generator).

The only problem is that pretty much whatever I write, I always get "Text too long". Seems to be impossible to be able to fit pretty much any Swedish phrase in whatever space you have allocated...
« Last Edit: April 03, 2003, 02:17:45 PM by Daniel Hofverberg » Logged
Iridium
Full Member
***
Posts: 173


I'm a llama!

Re:Yabbg - Yet Another Bloody Button Generator
« Reply #5 on: April 03, 2003, 05:06:57 PM »
Reply with quote

Unfortunately, I don't speak Swedish, so I don't know the sorts of phrases you are trying to fit. As I mentioned in my initial post, having fixed-size button templates was a design feature, rather than a flaw, since I believe a uniform button size is more aesthetically pleasing.

If you give me some idea of the longest phrase that you require on the button face, I shall make some templates that will fit it for you. (If it is very long, I shall probably also include some intermediate sizes too)
Logged
Daniel Hofverberg
YaBB God
*****
Posts: 582


WWW
Re:Yabbg - Yet Another Bloody Button Generator
« Reply #6 on: April 03, 2003, 09:15:40 PM »
Reply with quote

The longest I tried with was:
Mark as Read

which in Swedish is:
Markera som läst

A few characters longer than that should be sufficient for most phrases...
Logged
Iridium
Full Member
***
Posts: 173


I'm a llama!

Re:Yabbg - Yet Another Bloody Button Generator
« Reply #7 on: April 03, 2003, 11:37:35 PM »
Reply with quote

Ok, there is now a "_Long" version (30 pixels longer) for each of the large templates.

If you need similar long versions of the small templates, just post the longest string you're likely to use on a small button, and I'll put some long templates up in the small section too.
Logged
MORT
Full Member
***
Posts: 132


I like stuff ...

mort@dsl.pipex.com WWW
Re:Yabbg - Yet Another Bloody Button Generator
« Reply #8 on: April 14, 2003, 05:15:38 PM »
Reply with quote

lmao nice name
Logged

-MORT
Derek
Jr. Member
**
Posts: 65


I'm a llama!

Re:Yabbg - Yet Another Bloody Button Generator
« Reply #9 on: April 17, 2003, 04:37:42 AM »
Reply with quote

I love this thing! It's gonna make it sooo much easier to make really good looking buttons for my site. BTW, the name is great. :o
Logged
Iridium
Full Member
***
Posts: 173


I'm a llama!

Re:Yabbg - Yet Another Bloody Button Generator
« Reply #10 on: April 17, 2003, 11:28:55 AM »
Reply with quote

I have updated the button generator with links to the source and language updates that are required for the buttons generated to work perfectly. I have also added a "checklist" detailing each button used in YaBB, and the background(s) on which they appear (and thus the backgrounds that they must be made for) and the names under which they should be saved in the YaBBImages directory for them to be immediately usable with the update.
Logged
Daniel D.
Mod Team
YaBB God
*****
Posts: 2935


Re:Yabbg - Yet Another Bloody Button Generator
« Reply #11 on: April 17, 2003, 11:30:18 AM »
Reply with quote

Nice work, but they don't match the original ones.
Logged

Iridium
Full Member
***
Posts: 173


I'm a llama!

Re:Yabbg - Yet Another Bloody Button Generator
« Reply #12 on: April 20, 2003, 02:23:05 PM »
Reply with quote

I've added some "_Rounded" ones which near-exactly match the style of button used here (I wish I could remember why I thought that the original buttons had flattened ends!)
Logged
vcblues
Noobie
*
Posts: 39


Fool For The Blues

WWW
Re:Yabbg - Yet Another Bloody Button Generator
« Reply #13 on: April 24, 2003, 07:54:15 AM »
Reply with quote

Amazing, and it really isn't that slow either! Great job and thanks for the donation!
Logged

Vince
~aka vcblues

The Blues Site - http://thebluessite.com
Winemakers World - http://winemakersworld.com
Shockie
Beta Tester
Full Member
***
Posts: 238


Rent this space!

ICQ - 139758345mharris@octane-design.biz WWW
Re:Yabbg - Yet Another Bloody Button Generator
« Reply #14 on: April 27, 2003, 05:01:57 AM »
Reply with quote

very nice! good job. i love the name, it rocks!
Logged

Mark Harris
Octane Design/Hosting/Scripts
[email protected]
http://www.octane-design.biz
---
5 AD FREE, FREELY HOSTED YABBSE FORUMS LEFT!! :D

Yes free, No ads, url like www.script-host.net/yourname/forum! email me to signup.
Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  YaBBG - Yet Another Bloody Button Generator « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.190 seconds with 20 queries.