Previous Thread
Next Thread
Print Thread
Rate Thread
#115944 02/07/2006 3:23 PM
Joined: Jan 2006
Posts: 6
M
MegaW Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Jan 2006
Posts: 6
Newbie question:

I've been messing with the public_ files using the _very_ helpful instructions present here and in here , to create a forum using a new style set and template.

The problem is that the changes don't "take" - I've modified the forum settings in the control panel (to use the new template & style), and cleared the cache - but any changes I make don't seem to have any effect...

Is there some other setting that I need to change?

MegaW

Sponsored Links
#115945 02/07/2006 7:22 PM
Joined: Jan 2000
Posts: 5,813
Likes: 13
UBBDev / UBBWiki Owner
Time Lord
Offline
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,813
Likes: 13
Clearing the cache is what updates the files; be sure you clear the cache after any template updates as stale information can and will be stored in the cache


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#115946 02/08/2006 4:22 AM
Joined: Jan 2006
Posts: 6
M
MegaW Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Jan 2006
Posts: 6
I've been doing that, but no luck

#115947 02/08/2006 3:13 PM
Joined: Mar 2001
Posts: 7,394
L
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
Are you sure you uploaded the updated template files to the correct folder (/noncgi/Templates or /ubb/Templates)?

#115948 02/09/2006 9:27 AM
Joined: Jan 2006
Posts: 6
M
MegaW Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Jan 2006
Posts: 6
I created a folder under the Templates directory, and uploaded my files there. The template is being detected by the control panel, so I doubt that that is the issue...

Sponsored Links
#115949 02/09/2006 7:53 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Offline
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Unless you've already set up alternative HTML template sets, you'll need to overwrite the original files instead of using a subdirectory.

Note that there's a bit more magic to alternative HTML template sets than just making the subdirectory. wink The control panel isn't quite smart enough to determine whether or not it's set up right. It just assumes that it is.

Copy the public_common file into the subdirectory. Edit the copy - on line 12, you'll see:

$template_html{"PUBCOMMON"} = "";

Place the directory name between the double quotes there, i.e.

$template_html{"PUBCOMMON"} = "test";

Without this change, the alternative HTML templates won't get loaded properly.


UBB.classic: Love it or hate it, it was mine.
#115950 02/09/2006 7:58 PM
Joined: Jan 2006
Posts: 6
M
MegaW Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Jan 2006
Posts: 6
I am trying to set up an alternative template, so I can use 2 templates in different parts of the website.

It's this "magic" that I am looking for. Was hoping the two links above would guide me in the right direction.


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
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,555
Posts293,845
Members13,842
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 515
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 9
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,813
Greg Hard 4,625
Top Posters(30 Days)
Morgan 3
isaac 2
Top Likes Received
isaac 69
Gizmo 13
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
isaac 3
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20201211)
Responsive Width:

PHP: 5.4.45 Page Time: 0.051s Queries: 28 (0.020s) Memory: 3.3054 MB (Peak: 3.5094 MB) Data Comp: Zlib Server Time: 2021-05-09 13:39:44 UTC
Valid HTML 5 and Valid CSS