FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Forum Styles » 3 Themes - Black bg, white bg and greys (Sharing three of the themes/styles I created for my forum)  () 1 Vote
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
3 Themes - Black bg, white bg and greys [message #36821] Thu, 12 April 2007 11:06 Go to next message
magli is currently offline  magli   Italy
Messages: 15
Registered: February 2007
Location: Meran, Italy
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Hello.

First of all, I edited the template on all three of these styles, so that when a user posts a message, his user-information (avator, online status, posts, etc) appears *to the left* of his post, instead of ontop of his post, as you can see here:

index.php?t=getfile&id=3072&private=0

Other than that, I removed some of the information shown on the screen for some of the templates - like user location, message-title, etc.

My favorite one is the black one:
http://www.suedbalkon.eu/pics/black_screenshot.jpg
Zipped Template:
http://www.suedbalkon.eu/knaetsch/black_style.zip
You can see it live here:
www.suedbalkon.eu/knaetsch/
The buttons are not quite fitting - it needs some darker buttons.. anyone?

Here is the grey one:
http://www.suedbalkon.eu/pics/grey_screenshot.jpg
Zipped Template:
http://www.suedbalkon.eu/knaetsch/grey_style.zip

And here is the white one:
http://www.suedbalkon.eu/pics/white_screenshot.jpg
Zipped Template:
http://www.suedbalkon.eu/knaetsch/white_style.zip
I still need to fix the border on that logo in the top-right. (I just made this theme today).

Please let me know if you do any work on these templates, or have any suggestions -

Cheers.
Re: 3 Themes - Black bg, white bg and greys [message #37046 is a reply to message #36821] Sun, 29 April 2007 23:04 Go to previous messageGo to next message
Lewis is currently offline  Lewis   United States
Messages: 6
Registered: February 2007
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Yeah I like these.
回复: 3 Themes - Black bg, white bg and greys [message #38645 is a reply to message #36821] Mon, 20 August 2007 11:44 Go to previous messageGo to next message
vaman is currently offline  vaman   China
Messages: 1
Registered: August 2007
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
i like it
Re: ��� 3 Themes - Black bg, white bg and greys [message #38731 is a reply to message #38645] Fri, 24 August 2007 23:52 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
so how do i add these to my forum?
Re: 3 Themes - Black bg, white bg and greys [message #40287 is a reply to message #36821] Mon, 04 February 2008 09:40 Go to previous messageGo to next message
bggg is currently offline  bggg   India
Messages: 8
Registered: August 2007
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
1) backup your /path/to/FUDforum/thm/default directory
2) copy the files from /FUDforum/dark_theme into your /FUDforum/default directory overwriting the exiting files
3) go to 'Admin Control Panel > Theme Manager' and click 'Rebuild (default) Theme'
4) done
(alternatively you can also make a copy of the 'default' theme, rename it and copy the files into the new theme's directory)
icon6.gif  Re: 3 Themes - Black bg, white bg and greys [message #41097 is a reply to message #36821] Wed, 21 May 2008 05:45 Go to previous messageGo to next message
WITCH is currently offline  WITCH   United States
Messages: 42
Registered: December 2006
Location: Illinois USA.
Karma: 0
Member
add to buddy list
ignore all messages by this user
magli

I tried your left aligned theme out at http://stlmutiny.com using
bggg wrote on Mon, 04 February 2008 08:40

(alternatively you can also make a copy of the 'default' theme, rename it and copy the files into the new theme's directory)
instructions and all went pretty easy.

The dark was too much for my eyes though so I tried the original CSS and it works fine I even tried it on my own site for registered users so it appears to work quite well with other color schemes!

I would be interested in knowing how you took the other user info out though, Fudforum looks kind of incomplete without it and it includes some of the features I liked about Fudforum.

That knowledge and knowing that it works well with other CSS is the best improvement I could think of off hand.



I am new to this so explain things very, very carefully!
Re: 3 Themes - Black bg, white bg and greys [message #41098 is a reply to message #41097] Wed, 21 May 2008 12:24 Go to previous messageGo to next message
magli is currently offline  magli   Italy
Messages: 15
Registered: February 2007
Location: Meran, Italy
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Hey Witch,

I have not worked on my forum in at least a year, so I cannot fully remember how things work. I had a quick look around, and I think what you are looking for is in the file:

FORUM_FILES/thm/THEME_NAME/tmpl/drawmsg.tmpl

The section which you are interested in is the MAIN_SECTION.

The contents will look something like this:

{MAIN_SECTION: message_entry Message Entry (a single message)}
<tr><td class="MsgSpacer"><table cellspacing=0 cellpadding=0 class="MsgTable">
<tr>
<td class="MsgR1 vt al MsgSubText"><a name="msg_num_{VAR: m_num}"></a><a name="msg_{VAR: obj->id}"></a>{IF: $obj->icon && !$hide_controls}<img src="images/message_icons/{VAR: obj->icon}" alt="{VAR: obj->icon}" />&nbsp;&nbsp;{ENDIFI}{VAR: obj->subject}{TEMPLATE-DATA: rpl}</td>
<td class="MsgR1 vt ar"><span class="DateText">{TEMPLATE: dmsg_post_date}</span> {TEMPLATE-DATA: prev_message}{TEMPLATE-DATA: next_message}</td>
</tr>
<tr class="MsgR2"><td class="MsgR2" colspan=2><table cellspacing="0" cellpadding="0" class="ContentTable">
<tr class="MsgR2">
{TEMPLATE-DATA: avatar}
<td class="msgud">{TEMPLATE-DATA: online_indicator}{TEMPLATE-DATA: user_link}{IF: !$hide_controls}{IF: $obj->flag_cc && $GLOBALS['FUD_OPT_3'] & 524288}&nbsp;&nbsp;<img src="images/flags/{VAR: obj->flag_cc}.png" border="0" width="16" height="11" title="{VAR: obj->flag_country}" />{ENDIFI}{IF: $obj->user_id}<br /><b>{MSG: posts_c}</b> {VAR: obj->posted_msg_count}<br /><b>{MSG: registered}</b> {TEMPLATE: dmsg_join_date} {TEMPLATE-DATA: location}{ENDIFI}{ENDIFI}</td>
<td class="msgud">{TEMPLATE-DATA: dmsg_tags}</td>
<td class="msgot">{TEMPLATE-DATA: dmsg_bd_il}{TEMPLATE-DATA: dmsg_im_row}{IF: !$hide_controls}{IF: ($obj->host_name && $o1 & 268435456)}<b>{MSG: from}</b> {VAR: obj->host_name}<br />{ENDIFI}{IF: ($b & 1048576 || $usr->md || $o1 & 134217728)}<b>{MSG: dmsg_ip}</b> <a href="{TEMPLATE: dmsg_ip_address_url}" target="_blank">{VAR: obj->ip_addr}</a>{ENDIFI}{ENDIFI}</td>
</tr></table></td>
</tr>
<tr><td colspan="2" class="MsgR3">
{TEMPLATE-DATA: msg_body}{TEMPLATE-DATA: drawmsg_file_attachments}
{TEMPLATE-DATA: modified_message}{IF: !$hide_controls}{IF: ($obj->sig && $o1 & 32768 && $obj->msg_opt & 1 && $b & 4096 && !($a & 67108864))}<p /><hr class="sig" />{VAR: obj->sig}{ENDIFI}{TEMPLATE: dmsg_report_to_mod_link}{ENDIFI}
</td></tr>
{IF: !$hide_controls}{TEMPLATE: dmsg_message_toolbar}{ENDIFI}
</table></td></tr>
{MAIN_SECTION: END}


The things I deleted in my theme are stuff like {TEMPLATE-DATA: location}, you need to re-add them. You also need to rebuild the theme after making any changes.

Sorry I don't have time for a better explanation. Good luck.

Max

Note that you can also edit it through the administration section of the forum, by going to "edit template", selecting the them and language you want to edit, and then clicking on drawmsg.
icon6.gif  Re: 3 Themes - Black bg, white bg and greys [message #157891 is a reply to message #41098] Thu, 23 October 2008 23:32 Go to previous messageGo to next message
WITCH is currently offline  WITCH   United States
Messages: 42
Registered: December 2006
Location: Illinois USA.
Karma: 0
Member
add to buddy list
ignore all messages by this user
Sorry I have been absent so long.

I found the proper section but have not quite figured out how to make it work
<tr><td class="MsgSpacer"><table cellspacing=0 cellpadding=0 class="MsgTable">
<tr>
<td class="MsgR1 vt al MsgSubText"><a name="msg_num_{VAR: m_num}"></a><a name="msg_{VAR: obj->id}"></a>{IF: $obj->icon && !$hide_controls}<img src="images/message_icons/{VAR: obj->icon}" alt="{VAR: obj->icon}" />&nbsp;&nbsp;{ENDIFI}{VAR: obj->subject}{TEMPLATE-DATA: rpl}</td>
<td class="MsgR1 vt ar"><span class="DateText">{TEMPLATE: dmsg_post_date}</span> {TEMPLATE-DATA: prev_message}{TEMPLATE-DATA: next_message}</td>
</tr>
<tr class="MsgR2"><td class="MsgR2" colspan=2><table cellspacing="0" cellpadding="0" class="ContentTable">
<tr class="MsgR2">
{TEMPLATE-DATA: avatar}
<td class="msgud">{TEMPLATE-DATA: online_indicator}{TEMPLATE-DATA: user_link}{IF: !$hide_controls}{IF: $obj->flag_cc && $GLOBALS['FUD_OPT_3'] & 524288}&nbsp;&nbsp;<img src="images/flags/{VAR: obj->flag_cc}.png" border="0" width="16" height="11" title="{VAR: obj->flag_country}" />{ENDIFI}{IF: $obj->user_id}<br /><b>{MSG: posts_c}</b> {VAR: obj->posted_msg_count}<br /><b>{MSG: registered}</b> {TEMPLATE: dmsg_join_date} 

{TEMPLATE-DATA: location}{ENDIFI}{ENDIFI}</td>
<td class="msgud">{TEMPLATE-DATA: dmsg_tags}</td>
<td class="msgot">{TEMPLATE-DATA: dmsg_bd_il}{TEMPLATE-DATA: dmsg_im_row}{IF: !$hide_controls}{IF: ($obj->host_name && $o1 & 268435456)}<b>{MSG: from}</b> {VAR: obj->host_name}<br />{ENDIFI}{IF: ($b & 1048576 || $usr->md || $o1 & 134217728)}<b>{MSG: dmsg_ip}</b> <a href="{TEMPLATE: dmsg_ip_address_url}" target="_blank">{VAR: obj->ip_addr}</a>{ENDIFI}{ENDIFI}</td>
</tr></table></td>
</tr>

<tr><td colspan="2" class="MsgR3">
{TEMPLATE-DATA: msg_body}{TEMPLATE-DATA: drawmsg_file_attachments}
{TEMPLATE-DATA: modified_message}{IF: !$hide_controls}{IF: ($obj->sig && $o1 & 32768 && $obj->msg_opt & 1 && $b & 4096 && !($a & 67108864))}<p /><hr class="sig" />{VAR: obj->sig}{ENDIFI}{TEMPLATE: dmsg_report_to_mod_link}{ENDIFI}
</td></tr>
{IF: !$hide_controls}{TEMPLATE: dmsg_message_toolbar}{ENDIFI}
</table></td></tr>


I haven't quite figured out how you managed using the div tags to get the correct result.result


I am new to this so explain things very, very carefully!
Re: 3 Themes - Black bg, white bg and greys [message #158018 is a reply to message #36821] Mon, 19 January 2009 06:46 Go to previous messageGo to next message
magli is currently offline  magli   Italy
Messages: 15
Registered: February 2007
Location: Meran, Italy
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Hey,

I am not sure what you are stuck on - or what you meant by the div tags...

Compare the drawmsg.tmpl from my theme to the one in the default theme. You should see that there are things in the default theme which have been removed from mine. For example, I think the default theme has {TEMPLATE-DATA: location} - which I removed.

You need to re-add these things into my theme, in the location you want. Remember that you have to rebuild the theme every time for changes to take effect.

You most likely want to be editing this line:

<td class="msgud">{TEMPLATE-DATA: online_indicator}{TEMPLATE-DATA: user_link}{IF: !$hide_controls}{IF: $obj->flag_cc && $GLOBALS['FUD_OPT_3'] & 524288}&nbsp;&nbsp;<img src="images/flags/{VAR: obj->flag_cc}.png" border="0" width="16" height="11" title="{VAR: obj->flag_country}" />{ENDIFI}{IF: $obj->user_id}<br /><b>{MSG: posts_c}</b> {VAR: obj->posted_msg_count}<br /><b>{MSG: registered}</b> {TEMPLATE: dmsg_join_date} 


You could try, for example, adding "<br />{TEMPLATE-DATA: location}" to the end of the line. This should add a new line under the users join-date, displaying the users location.

Good Luck.

btw - I find it kind of annoying that very long lines in "CODE" tags extend the width of the entire forum page - I think they should be put in boxes which are horizontally scrollable.
Re: 3 Themes - Black bg, white bg and greys [message #158019 is a reply to message #158018] Mon, 19 January 2009 07:25 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Hi Magi,

Your themes are great, but they contain way too many files. As I understand, a new theme should only contain the files and section that are different from the default theme. The PATH_INFO theme is a good example of this. Smaller themes are much easier to maintain and upgrade between versions.

PS: It would be great if you can update your themes and make them available for inclusion into the next FUDforum release.

Best regards.

Frank
Re: 3 Themes - Black bg, white bg and greys [message #158020 is a reply to message #158019] Mon, 19 January 2009 07:51 Go to previous message
magli is currently offline  magli   Italy
Messages: 15
Registered: February 2007
Location: Meran, Italy
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
naudefj wrote on Mon, 19 January 2009 13:25

As I understand, a new theme should only contain the files and section that are different from the default theme.


I had not realized this. It makes sense though. I had simply copied the entire default theme, and edited it to my liking.

I am glad to make my themes available for future releases. If I find the time, I will update them.

Regards.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: VyraX DesigN.. -enjoy
Next Topic: Return to 2.5ish message layout - How to?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Oct 20 10:23:34 EDT 2017

Total time taken to generate the page: 0.00884 seconds