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 Offline
Wizard

Registered: 01/10/00
Posts: 5123
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 
Who's Online
0 Registered (), 42 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 11
blaaskaak 7
FREAK1 4
Ian_W 4
tackaberry 4
Gizmo 4
Mike L_dup1 4

 

 

 
fusionbb message board php hacks