UBB.Dev
Posted By: Bookie [6.1x] Bevel Cells 1.1 - 12/31/2001 5:59 AM
Mod name: Bevel Cells

Description: Allows you to add bevels to your table cells, operates through the control panel.

Created By: Bookie.

Compatability: Will work on 6.1.0.3

Demo: http://www.clan-316.com/ubbcgi/ultimatebb.cgi

Download: Here

Note: Be sure to back up all files when installing. Enjoy! laugh

[ 01-04-2002 05:24 PM: Message edited by: Bookie ]
Posted By: hackrme Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 6:12 AM
so when your mouse go over the section it changes colors to the one you want right? if it is that's what I been looking for and good job
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 6:14 AM
No, no, heh. The hack that changes colors on mouseover is the Hypercells hack. This hack gives table cells a bevel look, kind of 3D like.
Posted By: Brett Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 6:19 AM
BUG:



needs to be:

Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 6:27 AM
Whoops, thanks for pointing that out. Text file updated.
Posted By: RandyM Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 6:34 AM
Bookie, you da man. But you already know that.
Posted By: hackrme Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 6:46 AM
oh hehe that's what I thought
Posted By: 1QuickSI Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 7:16 AM
Nice but it breaks the stock style option of:

Outside borders visible only.

It frames everything. I prefer just the outside as the stock option displays.

[ 12-30-2001 11:22 PM: Message edited by: 1QuickSI ]
Posted By: Lord Dexter Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 7:51 AM
I really like it, I might install later on.
Posted By: RandyM Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 7:57 AM
I have no choice but to try it. It's a sickness I tell ya.
Posted By: AllenAyres Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 8:17 AM
heheh smile
Posted By: Jamin Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 8:30 AM
Blast! Now you've made me wish I had designed the new Se7enet with a bevel instead of flat, because this is so freakin cool but it just won't match the new site design...

---Jamin
Posted By: Brad.loo Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 11:39 AM
bookie, how might one do this to html tables (not in ubb) i wanna add this to my sites layout
Posted By: mrnewbie Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 11:39 AM
that just looks so cool nice hack
Posted By: RandyM Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 4:40 PM
When I added the bevel colors all went well, till I tried to remove them and got the message that I didn't complete all required fields. The names are in blue in the style template in the CP but it wants me to complete them anyway.

I removed the settings manually via FTP but why would it act like that? could MyStyle have something to do with it?
Posted By: LK Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 4:42 PM
Stop blaming MyStyle about everything!!!

Just do NOT do these steps:
[code][/code]
Posted By: RandyM Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 4:47 PM
You know I love MyStyle, I just didn't know what else was causing it.
Posted By: RandyM Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 4:55 PM
Well, I did what you said LK and sure enough I didn't get that error, but it turned the light and dark bevels white.
Posted By: LK Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 5:34 PM
I guess that's why it's required
Posted By: RandyM Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 5:48 PM
That's one really nice thing about using EditPlus...it automatically creates a .bak file for every file you edit.
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 12/31/2001 6:44 PM
Hmmm, I never really tested turning it off. shocked

Oh, and to use it on just regular html tables all you need to do really is add:

bordercolordark="lightcolor" bordercolorlight="darkcolor"

in the
tags. Remember to put border="1" also, if you want a thicker bevel make the border number higher. The lightcolor is in the dark field because thats what make it look bevelled. wink

[ 12-31-2001 10:55 AM: Message edited by: Bookie ]
Posted By: Soul Survivor Re: [6.1x] Bevel Cells 1.1 - 01/01/2002 4:54 AM
quote:
Originally posted by 1QuickSI:
Nice but it breaks the stock style option of:

Outside borders visible only.

It frames everything. I prefer just the outside as the stock option displays.

[ 12-30-2001 11:22 PM: Message edited by: 1QuickSI ]



I prefer this option too...but think the hack is pretty cool -- Any middle ground?? So it only applies to the outside borders??

[ 12-31-2001 08:57 PM: Message edited by: Soul Survivor ]
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/01/2002 7:12 AM
the hack still works with that option set, but when you have that option set, it will look like there is borders on.
Posted By: RandyM Re: [6.1x] Bevel Cells 1.1 - 01/01/2002 7:16 AM
How about an on/off setting in the CP? Throw an If or an Else here and there and BLAM! It kinda tweaked my gradient bars that I seem to have everywhere but I can see some great ways to use this.
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/01/2002 7:18 AM
Alright, I'll add on/off switch in version 1.1. Coming out next year.
Posted By: RandyM Re: [6.1x] Bevel Cells 1.1 - 01/01/2002 7:26 AM
quote:
Originally posted by Bookie:
Alright, I'll add on/off switch in version 1.1. Coming out next year.



Hahahaha....wo0t.
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/01/2002 7:28 AM
BLAM!
Posted By: Soul Survivor Re: [6.1x] Bevel Cells 1.1 - 01/01/2002 7:35 AM
quote:
Originally posted by Bookie:
the hack still works with that option set, but when you have that option set, it will look like there is borders on.



Yeah but it doesnt really regard the option...What would I change to make it not draw the inside borders?

[ 12-31-2001 11:40 PM: Message edited by: Soul Survivor ]
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/01/2002 7:46 AM
Well, quite bluntly, it can't be done with the method I use in this hack. Because it draws borders around each cell to make it look beveled, the is no setting that allows you to only do it around the outside of the table. Sorry.
Posted By: Brad.loo Re: [6.1x] Bevel Cells 1.1 - 01/01/2002 12:50 PM
hey book mine aproving my acount over at your forum ?
Posted By: Morpheus Re: [6.1x] Bevel Cells 1.1 - 01/01/2002 12:59 PM
That hack really does look good on your board. I have no idea what it will look like on mine, but I'll backup my files before trying it. Brilliant idea Bookie .
Posted By: DJSpellBound Re: [6.1x] Bevel Cells 1.1 - 01/01/2002 6:01 PM
Wow that hack looks pretty cool!!!.... Is it compatible with 6.1.0.2 though? confused

[ 01-01-2002 10:18 AM: Message edited by: DJSpellBound ]
Posted By: Robban Re: [6.1x] Bevel Cells 1.1 - 01/02/2002 12:56 PM
Hmm, so where in the controlpanel do I edit the bevils?

Can't find it anywhere.

[ 01-02-2002 04:58 AM: Message edited by: Robban ]
Posted By: Robban Re: [6.1x] Bevel Cells 1.1 - 01/02/2002 1:09 PM
Hmm, where in the controlpanel do I edit the bevils look and colors etc? Just can't find it there! *confused*.

I hacked the board without any problems. Now the forums just looks ugly.
Posted By: Robban Re: [6.1x] Bevel Cells 1.1 - 01/02/2002 1:10 PM
(I'm sorry it came twice. When I reloaded the topic I didn't see me first post -- because the topic was divided in 3 pages)
Posted By: LK Re: [6.1x] Bevel Cells 1.1 - 01/02/2002 1:13 PM
CP - Style Templates - [choose template]
Posted By: Brad.loo Re: [6.1x] Bevel Cells 1.1 - 01/02/2002 4:50 PM
i got it running on 6.05 last night http://www.ceanime.com/cgi-bin/ubb/ultimatebb.cgi
Posted By: DPK.ducky.quack Re: [6.1x] Bevel Cells 1.1 - 01/02/2002 5:36 PM
nice work bookie, might install this on my board
Posted By: Robban Re: [6.1x] Bevel Cells 1.1 - 01/02/2002 5:39 PM
quote:
Originally posted by LK:
CP - Style Templates - [choose template]



Thanks, it worked
Posted By: Robban Re: [6.1x] Bevel Cells 1.1 - 01/02/2002 5:46 PM
Well, my "who is online" hack is at the top of the page. It's didnt get the bevels, anyone know how I can fix that, please?
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/03/2002 2:06 AM
Go into ubb_forum_summary.cgi, and do the following:

Find:
my ($Online_Wording, $Online_Details, @nullit) = &GetOnlineUsers($username);

my $replace = qq~





Replace With:
my ($Online_Wording, $Online_Details, @nullit) = &GetOnlineUsers($username);

my $replace = qq~





Do the same in ubb_forum.cgi.

[ 01-02-2002 06:10 PM: Message edited by: Bookie ]
Posted By: Variables Re: [6.1x] Bevel Cells 1.1 - 01/03/2002 2:22 AM
Hm...i have this:

##### Who's online? Code Block by Elliott "Borg" Brady modified by Tim "eXtremeTim,The eXtreme One" Yarbrough
my ($Online_Wording, $Online_Details, @nullit) = &GetOnlineUsers($username);

my $replace = qq~

~;
##### / Who's online? Code block by Elliott "Borg" Brady modified by Tim "eXtremeTim,The eXtreme One" Yarbrough


Were can i place the beveltags?
Posted By: dende Re: [6.1x] Bevel Cells 1.1 - 01/03/2002 2:32 AM
replace with:

[code][/code]

That is untested code, btw, so it may not work.


[edit] there, all fixed up.[/edit]

[ 01-03-2002 04:02 PM: Message edited by: dende ]
Posted By: Telekinesis Re: [6.1x] Bevel Cells 1.1 - 01/03/2002 4:03 AM
quote:
Originally posted by XPerT:
I have no choice but to try it. It's a sickness I tell ya.




I know what you mean, Great hack btw..
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/03/2002 7:20 AM
Thanks.

Variables, the way you have got it set up, you shouldnt need to do as dende posted, it should work fine. But if it doesnt work you could try that code. smile

[ 01-02-2002 11:21 PM: Message edited by: Bookie ]
Posted By: Matt Jacob Re: [6.1x] Bevel Cells 1.1 - 01/03/2002 8:23 AM
I just wanted to mention, because I'm an HTML fascist, that this mod won't work in Netscape Navigator 4. The bordercolordark and bordercolorlight attributes are nonstanard and not part of the official HTML specification.
Posted By: Robban Re: [6.1x] Bevel Cells 1.1 - 01/03/2002 8:33 PM
quote:
Originally posted by Bookie:
Go into ubb_forum_summary.cgi, and do the following:

Find:
my ($Online_Wording, $Online_Details, @nullit) = &GetOnlineUsers($username);

my $replace = qq~


$vars_wordlets_mods{whos_online_whos_online}



$Online_Wording

$Online_Details





Replace With:
my ($Online_Wording, $Online_Details, @nullit) = &GetOnlineUsers($username);

my $replace = qq~





Do the same in ubb_forum.cgi.

[ 01-02-2002 06:10 PM: Message edited by: Bookie ]



Hello!

Thanks for the help. But I have to say it didn't work, sorry. Well, nothing happend. :

It is the Whos Online 4.1 Final latest version
Posted By: Robban Re: [6.1x] Bevel Cells 1.1 - 01/03/2002 8:39 PM
I mean, the who's online field is at the top of the page. Outside the forum, if you know what I mean (Under total Registered Members and Welcome to our newest member etc)
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/03/2002 10:36 PM
Matt Jacob is of course correct, netscape users will not be cut in on this feature. Though it shouldn't cause any problems in viewing the page with Netscape.

Robban, could I get a link to your forums?
Posted By: RandyM Re: [6.1x] Bevel Cells 1.1 - 01/03/2002 11:20 PM
What's Netscape? Oh yeah, that's the browser that use to rule the world when it was still 3.0...

NS3 was a sweet browser...lean, fast and error free.
Posted By: dende Re: [6.1x] Bevel Cells 1.1 - 01/03/2002 11:59 PM
quote:
Originally posted by Bookie:
Thanks. laugh I'll go fix now if you even need it.
Posted By: Variables Re: [6.1x] Bevel Cells 1.1 - 01/04/2002 1:39 AM
Yeah, good plan Dende. The only thing that was beveled was my head, so the code does nothing indeed.
Posted By: Robban Re: [6.1x] Bevel Cells 1.1 - 01/04/2002 2:15 PM
quote:
Originally posted by Bookie:
Matt Jacob is of course correct, netscape users will not be cut in on this feature. Though it shouldn't cause any problems in viewing the page with Netscape.

Robban, could I get a link to your forums?



It works now! Thanks for your help!
Posted By: James Re: [6.1x] Bevel Cells 1.1 - 01/05/2002 1:00 AM
use the following to add an ON and OFF switch for Bevel Cells 1.0 smile tested and works fine

[ 01-04-2002 05:22 PM: Message edited by: badnbusy ]
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/05/2002 1:02 AM
Cool, did you test this? Where do you set it for on and off?

[ 01-04-2002 05:03 PM: Message edited by: Bookie ]
Posted By: James Re: [6.1x] Bevel Cells 1.1 - 01/05/2002 1:18 AM
oops! Bookie please read my last post! I updated the post with the ON/OFF Switch details
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/05/2002 1:23 AM
Ah, gotcha. But I just finished bevel cells 1.1, see the first post for details on the changes.
Posted By: James Re: [6.1x] Bevel Cells 1.1 - 01/05/2002 1:27 AM
ahh wicked! we both had the same principle except u used a seperate "bevel_size" setting and i used the existing "border" option smile
Posted By: samhain Re: [6.1x] Bevel Cells 1.1 - 01/10/2002 3:35 PM
one question as im not a good hacker of any sort.
can this be implemented to work on 6.05
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/10/2002 4:48 PM
It hasn't been tested with 6.05, but it will most likely work. Just be sure to back up your files.
Posted By: samhain Re: [6.1x] Bevel Cells 1.1 - 01/10/2002 8:12 PM
thanks for the quick reply
Posted By: bizkit73 Re: [6.1x] Bevel Cells 1.1 - 01/10/2002 8:47 PM
nice hack. I had one problem though and it very well may have been something I overlooked or forgot, maybe one of you could help me.

The bevel size doesn't seem to work from the CP. no matter what value I give it, it only gives me a border size of 1. Here is a screenshot of my cp.

[Linked Image]

It seemed to have made the little color swatches bigger, and there is that god awful greyish-blue bar next to where it has the bevel size. Is this right?

[ 01-10-2002 12:47 PM: Message edited by: bizkit73 ]
Posted By: RandyM Re: [6.1x] Bevel Cells 1.1 - 01/10/2002 8:53 PM
That's exactly what I get too, and if I set the size to zero is still messes with the gradients.
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/11/2002 1:04 AM
Hmmm... wierd. Give me a few minutes and I'll see what the problem is.
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/11/2002 1:10 AM
Found the problem. To fix this open up cp_styles.cgi and do the following:

[code][/code]

Do that step twice and that should fix it. Instructions updated.
Posted By: bizkit73 Re: [6.1x] Bevel Cells 1.1 - 01/11/2002 2:46 AM
Now the bevel around the outside of the tables can be adjusted, but nothing happens to the inside of the tables. Not that I really care, cause I like them both set at 1, but just figured I would tell ya. CP still looks the same. It is an awesome hack. I like it. Just needs a little fine tuning.
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/12/2002 10:33 PM
It appears that this hack works in the newest version of Netscape (6.2).
Posted By: bizkit73 Re: [6.1x] Bevel Cells 1.1 - 01/13/2002 8:01 PM
quote:
Originally posted by Bookie:
It appears that this hack works in the newest version of Netscape (6.2). laugh
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 01/13/2002 8:46 PM
It appears to work fine in netscape at my forums, though I didn't check any others so you may be correct. The bevel size is to adjust the outside borders to make the tables look as if they are sunk into the page more... and I don't think thi inside borders can be adjusted.
Posted By: XRaVeNX Re: [6.1x] Bevel Cells 1.1 - 01/16/2002 8:59 AM
YAY! Thanks Bookie. This hack r0x0rz my b0x0rz..lol
just wanted to say thank you.
Posted By: vikk Re: [6.1x] Bevel Cells 1.1 - 02/10/2002 6:27 PM
hi bookie .....
nice hack go it working ....
i was hoping if you could guide me as to what file to change in order to get a border around the

Contact Us | Privacy Statement and this
Ultimate Bulletin BoardTM 6.1.0.3

located at the bottom of main board page and other pages.

and how to seperate the categories,is their any hack for it .....

i hope its not too much to ask for ......
thanks for any help

vik
Posted By: Terminator_X Re: [6.1x] Bevel Cells 1.1 - 02/18/2002 2:33 AM
Any chance this hack will be converted to v6.2.x? confused
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 02/18/2002 2:42 AM
Actually I'm rewriting it for 6.2. It will be a much cleaner version using CSS. smile

Should be done in a few days. smile
Posted By: Cuzz Re: [6.1x] Bevel Cells 1.1 - 02/21/2002 6:22 PM
ok - times up bookie! smile

im sooo waiting for this hack!

Shoot me an email when it's ready for 6.2+

Thanks!!

cuzz
Posted By: Bookie Re: [6.1x] Bevel Cells 1.1 - 02/22/2002 2:06 AM
Haven't had time, maybe this weekend I will be able to get the regular HTML one complete. The CSS one will take more time, but will look much better, and have more options for cleaner looks and adjustable colors/sizes for categories and alternate column colors.
Posted By: WhiteBlade Re: [6.1x] Bevel Cells 1.1 - 03/09/2002 6:03 PM
Hello Bookie sorry to bother you again smile

he bevel cell work very well on my site except at one place. In each threads.

I made a modification the sepaerate each post and now I can't figure out how to but bevel cell on each square.

If you want to see it go there

http://www.sympc.com/cgi-bin/board/ultimatebb.cgi?ubb=get_topic&f=1&t=000004

And use this loggin and password

Username: WTF
password: helloyou69

Thanks for your time frown and sorry to ask so many question.
Posted By: WhiteBlade Re: [6.1x] Bevel Cells 1.1 - 03/09/2002 6:11 PM
Well it seam that I ask to fast I found how eek . I'm proud of my self there lol.

Maybe you should add this to your txt file

Here is what I did.

#########################
Open public_topic_page.pl

#####
Find:

quote:

############
REPLACE WITH:

quote:


Enjoy
Sorry to have ask it before I even try frown