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
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: 5091
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 83
Gizmo 28
Zarzal 21
sirdude 19
blaaskaak 14
willing 7
swebs 6
Who's Online
1 Registered (ginalee), 43 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
[7.3.x] ubb.links
by AllenAyres
Yesterday at 06:15 PM
Changing currency for subscriptions?
by AllenAyres
Yesterday at 01:15 PM
Protect users emails
by AllenAyres
Yesterday at 11:36 AM
VPS and Newbies
by Gizmo
07/02/08 09:08 PM
Team UBBDev Rides Again!
by AllenAyres
07/02/08 11:38 AM
Drupal / UBB integration module for Drupal
by blaaskaak
06/30/08 01:52 PM
[7.3.x] Scheduled board close for backup
by AllenAyres
06/30/08 12:51 PM
New Mods
Protect users emails
by Basil Fawlty
06/29/08 08:44 AM
[7.3.x] Scheduled board close for backup
by blaaskaak
06/26/08 04:01 AM
[7.3+] CustomTag - Audo Embedding
by Gizmo
06/24/08 07:52 PM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
Newest Members
ryzilla, M4D, Jer, Kanigo2, Bubba
13302 Registered Users

 

 

 
fusionbb message board php hacks