Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2001
Posts: 197
Member
Member
Offline
Joined: May 2001
Posts: 197
Hello everyone, I'd like to thanks Bookie for is gradiant hack on 6.1 he got all the credits I simply ported to ubb 6.2 !!

Name: Gradient hack

Description: Put gradiant on the categorie field.

Link: TXT file

Requirement: Ubb 6.2.0

Any comments or probleme ask it here !!!

Sponsored Links
Joined: Dec 2001
Posts: 32
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 32
thankyou so much!
job well done, both of you

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
1. UBB 6.2's public files are XHTMLed, but your 'find' parts don't have XHTMLed code sometimes. You should copy & paste from 6.2's source.

2. @ cp_vars_style_core.pl, instead of:
Code
[/code]Use:[code]
Same goes for the other regfield.

It will show a 'demo' of the current graphic smile

Joined: Dec 2001
Posts: 32
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 32
just installed, looks great.
quick question, how would I get the gradient bar to replace the "Recent Visitors" title bar, so that it fits in with everything else?

Joined: May 2001
Posts: 197
Member
Member
Offline
Joined: May 2001
Posts: 197
I can't seam to be able to find them. I,m off for today I,ll try to find it tonight or tomorow.

If anyone can do it go ahead. All we need is the best !!

Sponsored Links
Joined: Jul 2000
Posts: 837
Member
Member
Offline
Joined: Jul 2000
Posts: 837
[code][/code]

Joined: Dec 2001
Posts: 32
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 32
thanks alot!

Joined: Jun 2001
Posts: 86
Member
Member
Offline
Joined: Jun 2001
Posts: 86
on quick question, after i modify the files as instructed, nothing happen. Do i have to turn it on in control panel? if yes, under what option is that? thanks.

Joined: Jun 2001
Posts: 86
Member
Member
Offline
Joined: Jun 2001
Posts: 86
opps.. my bad. i upload the files in my backup folder. No wonder why. Great hack. Thanks.

Joined: Jun 2001
Posts: 216
Member
Member
Offline
Joined: Jun 2001
Posts: 216
cp_styles.cgi is hacked wrong. Using the install guide, the table header and category header backgrounds become required fields. However, the field should not be required as this is an optional field.

To make these fields operate properly, the install guide should read:
####################
#Open cp_styles.cgi#
####################

##########
Find:
##########
return qw(
PageBackground
);

##########
Replace With:
##########
return qw(
PageBackground CatBG TableBG
);

Sponsored Links
Joined: Jan 2002
Posts: 7
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 7
Can you make a Multihack file??

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Is there a demo site that would show what this hack does?

Thanks!


Sue
adwoff.com
Joined: Jan 2002
Posts: 63
Member
Member
Offline
Joined: Jan 2002
Posts: 63
hello in your text instructions u have
#Open public_forum_summary.pl#
look for
Code
[/code]replace with
[code]
there are 3 separete instances of the above code which one does it replace.
just 1 or all 3

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
I have the Bevel hack installed, so I am encountering differences in the directions (my problem laugh ) ... but I would like to know two things--

1. I am assuming that I can have both hacks installed. Is this a correct assumption?

2. I have found four instances of this code in the original public_forum_summary.pl file (before I even started hacking)

Code
[/code]Is it correct to assume that I would replace all four instances with this code  

[code]
Weird. The first part of the code, the < and then the "td" appear as ***

As always, many thanks for the help.


Sue
adwoff.com
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
The more I work on this hack, the more I wish I would've started it with a "clean" file. laugh

In the directions for public_new_reply_form.pl is this:

Code
[/code]I've installed numerous hacks to my test site ... including smilie dropdown box, UBB Advanced Code, etc.

Is this a set of directions that I can completely ignore, or do I need to find the place where this code should go?

IF I need to find it, can someone please give me a hint of where to look? :D

I am leaning toward I don't need it. Reason?

In the instructions, it starts with the code

[code]
Notice the extra space after the "tr"

When I searched the "clean" copy of this file, this only appeared once. When I deleted the extra space, that code appeared twice--just like it did in my hack file.

So ... either I don't need it, or my hacked file is missing some code! eek tipsy


Sue
adwoff.com
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Well, I had some very interesting results when I installed this hack! laugh

Some of the gradients "took" -- others did not.

I will play around and see if I can figure things out b4 I come running w/my tail between my legs.

I do have one question and an observation.

First, does the gradient hack (potentially) slow down the board? It might be my server, or it could be my hacking mistakes, but things were moving awfully slow when I installed this hack.

Observation--I did what Corona suggested (oops, new page) on page 1, and it would NOT allow the field to be optional. I had to fill in that field with a graphic.


Sue
adwoff.com
Joined: Mar 2002
Posts: 22
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 22
the background thing must go in
tages not TR.
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Well, I played around more with this hack, and I think I removed most of the bugs created by my hacking.

I'm still ending up with a mix of gradient areas and "regular" table headings, so I guess I have to put into place a lot more of the code for the gradient.

One area that is showing up as a gradient--that I don't really want to be a gradient--is the Date/Time field in the "Last Reply By" field.

The other issue is the one I addressed in my previous post--making the gradient "optional."

I followed Corona's code, and it still forced me to put in a graphic. I removed the code. Didn't make a difference. Still wanted a graphic.

I rehacked; I again tested with & without Corona's suggestion, and in both situations, it wanted the graphic to be there.

I don't know if other code is missing or what the deal is, but I will probably "unhack" the Gradient for now because I need to work on my style templates, and I can't do that if I'm "forced" to choose a gradient for every single one.

One other weird thing. In the "standard template" -- no matter what -- it kicks the color I have in the category header OUT and replaces it each time with a bright red. eek

After I get my regular board set up with the upgrade, I'll play around with the gradient hack on my test board.


Sue
adwoff.com
Joined: Nov 2001
Posts: 33
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 33
There isnt to much worng with this

just the placments of the standard locations of where all the Bg's need to be

i dont know where to find them all in the code

but it would nice if it was simplier like the last good version

there was less hacking involved, by not having to place it at each individual table

Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
Spotlight Runner-Up
Offline
Joined: Mar 2002
Posts: 451
ADWOFF, the way I have got around the problem of not being able to turn off the Gradient is by entering a graphic name that simply doesn't exist. The UBB then reads the table strip background colour and doesn't leave you with red X's.

Simple, yet effective.. laugh

Cheers,
Oblivion Knight


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)