Firefox PHP

Template: Simple Rounded

Posted by Joe Curia 
Template: Simple Rounded
January 08, 2009 11:40PM
This template was created to provide a simple and compact forum layout with cleanly rounded edges. It was further developed to be easily customizable. The rounded edges are CSS based so that color schemes can be easily changed, either with the Easy Colorscheme Manager module or simple settings.tpl edits.

The template is also scalable from a minimum of 600px wide. It is pre-built with left or right columns which may be enabled from the settings.tpl file and are populated from the left_column.tpl and right_column.tpl files. This allows for easy left or right banners or menus.

Installation and Usage:
Phorum version 5.2.8 or later is required to use this template.

This template installs like any other template. No customization is required for a centered, single-column 800px forum.

Due to the compact nature of this template, the Readable Dates module is highly recommended. Also, if the width is less than 800px it is best to turn off the view count column. Moderation options are available on the list pages in a javascript menu which you can open by clicking on the key icon.

Please be sure to install the module templates for any modules that have their own custom templates. If you are using such a module and a Simple Rounded custom template is not available for the module, please let me know and I will be happy to create one.

Please note, this template uses its own custom language file for some headings and messages. If your language is not currently supported these will be presented in English. If you are able to provide a translation for your language, I will be happy to add it to the template.

Customization:
If you would like to change the size or layout of this template, there are a few things to keep in mind.

Width: This template supports a minimum width of 600px. You can change the width with the templatewidth and templatewidth_nopx settings (be sure to edit both settings). The list_pages_shown, subjectlength, and breadcrumblength variables should also be changed to reflect the new width.

Left or right columns: This template supports both left and right columns flanking the main forum column. Either or both can be enabled by providing widths for the leftcolumnwidth and/or rightcolumnwidth settings. Each is populated from its respective column file (eg. left_column.tpl) which should be edited to contain the HTML you would like to display. Please note, these columns are added to the width set in the templatewidth setting. Thus a leftcolumnwidth of 200px and a templatewidth of 800px would create an HTML page with a total width of 1000px.

Supported Modules (included in the attached zip file):
  • Announcements
  • Forum Stats
  • Google Calendar
  • Group Auto-Email
  • Jumpmenu
  • Online Users
  • Recent Messages
  • Threaded Tree View
  • User List
Todo:
  • Add support for more modules
    • Custom Attachment Icons
    • Enhanced Custom Profiles
    • User Avatar
  • Add further features as requested or as they pop into my head.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald




Edited 5 time(s). Last edit at 01/24/2010 03:44AM by Joe Curia.


Attachments:
open | download - simple_rounded_v5_2_1_05.zip (123.6 KB)
Re: Template: Simple Rounded
January 08, 2009 11:43PM
Damn fine job, Joe!
Congratulations on your first template.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Template: Simple Rounded v5.2.1.01
January 09, 2009 08:09PM
I have updated this template to support the Recent Messages module. In doing so, I found that I needed to solve a problem that I had passed over before. The menu bars needed to be able to expand vertically. This led to a complete rewrite of how I rounded those bars. As annoying as it was, this template is even more scalable now.

The update version is available in the download above as are the files necessary for the Recent Messages module.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald



Re: Template: Simple Rounded
January 14, 2009 10:59AM
It's really very nice :) Thanks.



Edited 1 time(s). Last edit at 01/14/2009 11:01AM by scabboy.
Re: Template: Simple Rounded
January 14, 2009 03:02PM
Hi, I really like the template, but there's one problem. The main index page is perfectly centered, but when I click on any of the categories, the template becomes left justified. How do I get all the pages with this template centered?

Thanks,
Perry

****edited: I just noticed that my forums with a small amount of topics are centered. It's just my forum with 124 topics that is left justified. Could this be a bug?

Here's my forum with the problem if you want to take a look...
[fighterzone.org]

Here is the main index...
[fighterzone.org]



Edited 1 time(s). Last edit at 01/14/2009 03:50PM by perigoso.
Re: Template: Simple Rounded
January 14, 2009 04:46PM
They both appear centered to me. It may be that your browser did not fully refresh the css page for your forum. Pleast try a hard refresh (typically CTRL-F5 or SHIFT-F5) on that page and see if it renders properly.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Template: Simple Rounded
January 14, 2009 05:20PM
That fixed the problem. Thanks!
Re: Template: Simple Rounded
February 01, 2009 10:15PM
Very nice template! - It seems that registered users (not admins) don't get the posting options:
Follow Topic / Email me about replies to this topic / Add my signature to this message



Edited 2 time(s). Last edit at 02/02/2009 11:07PM by korsakov.
Re: Template: Simple Rounded
February 02, 2009 11:24PM
hello !
very nice template,i get it !

just, i see a little bug on the template of recent message module : the variable for sticky icon is wrong, and icon don't appear.

in the file /mods/recent_messages/templates/simple_rounded/render_message_row.tpl at line 8:

Language: PHP
{VAR icon stickicon} {VAR alt LANG->Sticky}
the Y missed: the good code is :
Language: PHP
{VAR icon stickyicon} {VAR alt LANG->Sticky}

in addition, i join french language for the template (utf8) [EDIT: Language file included in template as of v5.2.1.02 ~ Joe Curia]
i use onlineuser module and make some change for this template, but it need some work before giving you.

thank's a lot. i

Mickael
my Phorum



Edited 1 time(s). Last edit at 02/03/2009 01:30AM by Joe Curia.
Template: Simple Rounded v5.2.1.02 - bugfixes, french language, Google Calendar
February 03, 2009 01:28AM
korsakov, thanks for catching that bug. I have fixed it in v5.2.1.02

Mickael, thank you also for catching the Recent Messages typo and providing the patch. I have fixed it in v5.2.1.02
I have also included your French translation. Thanks for that. If you need any help with the Online Users module, please let me know.

I have also added support for the Google Calendar module to the template.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Sorry, only registered users may post in this forum.

Click here to login