Previous Thread
Next Thread
Print Thread
Rate Thread
#115944 02/07/2006 3:23 PM
Joined: Jan 2006
Posts: 6
Junior Member
Junior Member
Offline
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,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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
Junior Member
Junior Member
Offline
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
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
Junior Member
Junior Member
Offline
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
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
Junior Member
Junior Member
Offline
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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
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)