php forum
php mysql forum
php mysql smarty
 
Topic Options
#115944 - 02/07/06 02:23 PM Changes don't "take"
MegaW Offline
Junior Member

Registered: 01/19/06
Posts: 6

   Changes don Add to del.icio.us
  Digg Changes don Digg it
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

Top
#115945 - 02/07/06 06:22 PM Re: Changes don't "take"
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
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 - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#115946 - 02/08/06 03:22 AM Re: Changes don't "take"
MegaW Offline
Junior Member

Registered: 01/19/06
Posts: 6
I've been doing that, but no luck

Top
#115947 - 02/08/06 02:13 PM Re: Changes don't "take"
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Are you sure you uploaded the updated template files to the correct folder (/noncgi/Templates or /ubb/Templates)?
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#115948 - 02/09/06 08:27 AM Re: Changes don't "take"
MegaW Offline
Junior Member

Registered: 01/19/06
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...

Top
#115949 - 02/09/06 06:53 PM Re: Changes don't "take"
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
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.

Top
#115950 - 02/09/06 06:58 PM Re: Changes don't "take"
MegaW Offline
Junior Member

Registered: 01/19/06
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.

Top


Moderator:  Gizmo, tackaberry 
Top Posters Last 30 Days
AllenAyres 12
Gizmo 10
S7ARBVCK 2
Cambridge 1
Murphdog 1
MattUK 1
Kevin H 1
Who's Online
0 Registered (), 29 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
BeyondCompare v3.00
by blaaskaak
Yesterday at 02:46 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks