Previous Thread
Next Thread
Print Thread
Rate Thread
#40744 10/13/2000 11:29 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
This hack creates a checkbox in the style settings to reset all style variables.
Original by Syphon, edited by ME!
It is in beta because the code is not perfect, but works!

Sure I know I can go into each forum and do it but I shouldn't have to in this world of technology.

It does the job, however it caches the option to restore the forums.

Anyways here is my code, tested with 5.47

Edit your cpanel.cgi.

Look for:

Code
code:
Add this after it:
Code
code:
Save this file!

Next open cpanel2.cgi

Look for:
Code
code:
Add this after it:
Code
code:

Save this file.

Your Done.

Not perfect, but if anyone can fix it, let me know.

Text File: http://www.h-realms.com/reset.txt


------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!

Sponsored Links
Joined: Oct 2000
Posts: 565
Member
Member
Offline
Joined: Oct 2000
Posts: 565
love it! thanx man.

------------------
"I hear no sound, I inhale myself, I inhale the urge to kill, I feel pain, but it ain't there"

Joined: Sep 2000
Posts: 116
Member
Member
Offline
Joined: Sep 2000
Posts: 116
could ya make it for 5.45c please?

------------------

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
It works for 5.45c. It should work with any version from 5.42-5.47

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!

Joined: Oct 2000
Posts: 565
Member
Member
Offline
Joined: Oct 2000
Posts: 565
it does work with 5.45c [Linked Image]

------------------
"I hear no sound, I inhale myself, I inhale the urge to kill, I feel pain, but it ain't there"

Sponsored Links
Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
is this hack one which updates all forums to your general style settings???
instead of you having to go and upfdate them manually??

------------------
-= DFT =-
...................
I don mean dis in a disrespectful way//
But colombine happens in the ghetto happens every day//
Uncle L

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Yes it is. [Linked Image]

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!

Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
o tight imma add it now...thanx

------------------
-= DFT =-
...................
I don mean dis in a disrespectful way//
But colombine happens in the ghetto happens every day//
Uncle L

Joined: Jan 2001
Posts: 9
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 9
Well can there be a smiliar hack so that all the headers and footer HTML are spreaded throughout the UBB through the Style Settings?

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Thanks a lot man! smile I have 53 forums so this will save me a ton of time. Muchos gracias mi amigo.

Sponsored Links

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
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
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 20240430)