Theme LongGreen/Red/Orange/Blue/Gray

Started by xenovanis, August 26, 2005, 08:49:03 PM

Previous topic - Next topic

xenovanis

The Longtheme series can be used wrapped with the sample_long* templates for Mambo.

Click on the thumbnail for a live preview.



BoardIndex

BoardIndex

BoardIndex

BoardIndex

BoardIndex

Simple black mini buttons by Andrea.

These themes will only work with SMF 1.1 RC2, installation through SMFs thememanager.

Download here:
http://testzone.xenovanis.com/index.php?option=com_remository&Itemid=17&func=select&id=2
"Insanity: doing the same thing over and over again and expecting different results."

codenaught

Looks real nice and matches the Mambo theme well.  :)
Dev Consultant
Former SMF Doc Coordinator

dtm.exe

Well done, great theme :).

-Dan The Man

JayBachatero

I like the theme.  Nice job.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Aravot

Nice, I like the new post icons, can you make it for PortalBlue

xenovanis

Thanks for the nice comments  :)

I've updated the first post with four more colors. Maybe you can use those icons, Avarot.
"Insanity: doing the same thing over and over again and expecting different results."

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Aravot

Nice work Xenovanis, are those mambo templates available in dynamic width, and how did you make the thumbnail images clickable.

Kindred

thumbnails...



[url=xyz.com][img]xyz.gif[/img][/url]

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

xenovanis

Quote from: Aravot on August 28, 2005, 09:36:33 PM
Nice work Xenovanis, are those mambo templates available in dynamic width, ...

Not for as far as I know.
"Insanity: doing the same thing over and over again and expecting different results."

erisen

Hi xenovanis ,
Kudos  for all the templates.  I just installed the Long Orange.  When I display the forum, my forum does not expand all to way to the right column.  I checked in mambo cpanel that there are not anything to show with forum in right.
hxxp:www.ebeveyn.net/index.php [nonactive]

Also,
hxxp:www.ebeveyn.net/index.php?option=com_smf&Itemid=34&topic=1.0 [nonactive]
here I have a missing image I think.

One more thing.
I did a view source here:
hxxp:www.ebeveyn.net/index.php?option=com_smf&Itemid=34&topic=1.0 [nonactive]
Is it normal to have an HTML headere again in the middle of the page?
Thanks in advance for your help.

         </tr>
         </table>
         </div>
</td>
                <td valign="top" bgcolor="#F1F1F1" class="main"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "hxxp:www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd [nonactive]">
<html xmlns="hxxp:www.w3.org/1999/xhtml [nonactive]"><head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
        <meta name="description" content="Welcome to SMF!" />
        <meta name="keywords" content
="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
        <script language="JavaScript" type="text/javascript" src="hxxp:www.ebeveyn.net/forum/Themes/default/script.js?beta3 [nonactive]"></script>
        <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
                var smf_theme_url = "hxxp:www.ebeveyn.net/forum/Themes/LongOrange"; [nonactive]
                var smf_images_url = "hxxp:www.ebeveyn.net/forum/Themes/LongOrange/images"; [nonactive]
                var smf_scripturl = "hxxp:www.ebeveyn.net/index.php?option=com_smf&amp;Itemid=34&amp"; [nonactive]
                var smf_session_id = "e93f77df7cf3a4

xenovanis

Quote from: erisen on October 22, 2005, 05:46:06 AM
Hi xenovanis ,
Kudos  for all the templates.  I just installed the Long Orange.  When I display the forum, my forum does not expand all to way to the right column.  I checked in mambo cpanel that there are not anything to show with forum in right.
http://www.ebeveyn.net/index.php

No, it's a template thing. It doesn't hide the right column if there are no modules published. Try this solution:
http://testzone.xenovanis.nl/index.php?option=com_content&task=view&id=17&Itemid=25

Quote from: erisen on October 22, 2005, 05:46:06 AM
Also,
http://www.ebeveyn.net/index.php?option=com_smf&Itemid=34&topic=1.0
here I have a missing image I think.

That is because this theme is not for 1.0.5. For now, it works in 1.1 Beta 3 Public, I need to update them for 1.1 RC1.

Quote from: erisen on October 22, 2005, 05:46:06 AM
One more thing.
I did a view source here:
http://www.ebeveyn.net/index.php?option=com_smf&Itemid=34&topic=1.0
Is it normal to have an HTML headere again in the middle of the page?
Thanks in advance for your help.

         </tr>
         </table>
         </div>
</td>
                <td valign="top" bgcolor="#F1F1F1" class="main"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
        <meta name="description" content="Welcome to SMF!" />
        <meta name="keywords" content
="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
        <script language="JavaScript" type="text/javascript" src="http://www.ebeveyn.net/forum/Themes/default/script.js?beta3"></script>
        <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
                var smf_theme_url = "http://www.ebeveyn.net/forum/Themes/LongOrange";
                var smf_images_url = "http://www.ebeveyn.net/forum/Themes/LongOrange/images";
                var smf_scripturl = "http://www.ebeveyn.net/index.php?option=com_smf&amp;Itemid=34&amp";
                var smf_session_id = "e93f77df7cf3a4


Well, that would be the header of the SMF theme. It is in the middle of the page because your forum is wrapped and therefore is "in the middle" of the page. I think Kindred made a post somewhere in this board about what you can safely remove.
"Insanity: doing the same thing over and over again and expecting different results."

erisen

Hey,
About the missing images, I did the following change in the
Display.template.php file:

find:
<td align="left" valign="middle"><a href="', $message['href'], '"><img src="', $message['icon_url'] . '" alt="" border="0" /></a></td>


replace with:

<td align="left" valign="middle"><a href="', $message['href'], '"><img src="', $settings['images_url'].'/post/'.$message['icon'] . '.gif'. '" alt="" border="0" /></a></td>


I realized than, it's pretty much the same thin that other 1.0.5 templates have in the same place. SMF is so much fun to work with :)

Also, the link you have provided me with, has helped me hide the right column, thank for that.

PopLife

Hi Xenovanis, I really love these themes! How much work would be involved into converting them into stand-alone SMF themes?

xenovanis

Thanks. Well, now it looks like this standalone:

http://testzone.xenovanis.nl/forum/index.php?theme=20

  • css needs to be adjusted
  • images need to be adjusted (and I don't have the original images for the catbg)
  • Layout needs some tweaking, like adding a loginbox etc

    Right now I have enough trouble finding time to upgrade my current themes, but if you want to, feel free  ;)
"Insanity: doing the same thing over and over again and expecting different results."

McLeod5000

#15
Does anyone has problems displaying this in Opera? In Opera 8.50 everything appears centered. In Firefox everything is shown just fine. Any ideas what I need to do?

hxxp:img456.imageshack.us/my.php?image=centered1ih.jpg [nonactive]

I know this is caused by the Mambo template, but I didn't know where else I could have asked.  :)

BTW: This is SMF 1.1 RC1.

TheAnt

Hi

I think this is a simple, clean, very nice theme. With a little css changing I'm going to use the LongGreen one for my next site hxxp:www.alleradici.com/component/option,com_smf/Itemid,35/ [nonactive]. Just a question, ho can I add the login form? without it is useless for me.

Thanks a lot
A.

Kindred

what do you mean, add the login form?

if you mean the login module...   then just publish it in mambo...

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

TheAnt

O no, in the longgreen theme there is not the form to login

Kindred

again.... I'm not sure what you are talking about?


You mean there is not a MENU ITEM in the SMF menu that links to the login form?

Remember, this theme is intended to be used while wrapped in mambo...   which means the mod_smf_login should always be available and no additional forms are needed.

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

TheAnt

Yes, I know. Silply I want the forum login form too because I want to use the joomla layout without any module, so I can use the entire width.

xenovanis

index.template.php find


        // If the user is a guest, show [login] and [register] buttons.
        if ($context['user']['is_guest'])
        {
                echo '
                                <a href="', $scripturl, '?action=register">',$txt[97],'</a>';
        }


replace

        // If the user is a guest, show [login] and [register] buttons.
        if ($context['user']['is_guest'])
        {
                echo '
       <a href="', $scripturl, '?action=login">', $txt[34],'</a>, '                               
                               <a href="', $scripturl, '?action=register">',$txt[97],'</a>';
        }
"Insanity: doing the same thing over and over again and expecting different results."

TheAnt

On joomla home page I get this:

Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.

xenovanis

Sorry for that. Try this

// If the user is a guest, show [login] and [register] buttons.
        if ($context['user']['is_guest'])
        {
                echo '
       <a href="', $scripturl, '?action=login">', $txt[34],'</a>                             
                               <a href="', $scripturl, '?action=register">',$txt[97],'</a>';
        }
"Insanity: doing the same thing over and over again and expecting different results."

TheAnt


nonz

This theme is real nice.
I tried this theme with the new 1.1 RC2, and when I get to topic index in the board there is a problem.
it's like I'm getting a diffrenet theme.
it doesn't happen in the 1.1RC1
is there a way to fix this ?

I've noticed the same thing happened to the Portalgreen line themes

thanks

inon

xenovanis

Yeah, that's probably because I haven't updated it for 1.1RC2 yet.
"Insanity: doing the same thing over and over again and expecting different results."

nonz

Does anyone know when or if there will be a RC2 version for this theme ?

xenovanis

Updated for 1.1 RC2, see first post for download link. Please let me know if anything fails, as I had no possibility to test them properly.
"Insanity: doing the same thing over and over again and expecting different results."

nonz


nonz

Hi,

I started to Test the RC2 version of this theme, and I found a problem on the topic index (right after I enter a board).
I'll be happy to provide screenshots if you'll need any.

inon

Kindred

well, if not screenshots, a description of the problem!   saying "I found a problem" is useless...  saying, "I found a problem and this is what it is..." is useful.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

nonz

#32
I know, I know - you're right, I wasn't clear enough (or at all).
the problem I found is in the layout of the theme in the Topic list of a board.

here is the screenshot


inon

Kindred

hmmm...  what's wrong with this?   it looks fine to me.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

nonz

#34
The problem is in the display of the header in this area
the area marked in the following screenshot:

should be be with green backround and white fonts as in the rest of the theme.
and the other display differences in the lower part

for example here is the previous version on the SMF1.1RC1 version.




inon

cylonite

^^ i too have the same problem. Both with the long green and portal green themes for SMF 1.1rc2. When you click on a forum, the top and bottom images go away, leaving only the bare part of the forum.
once you click the topic link, they appear back again.
could you please solve this problem. cos these are simply great themes :D

Want a link to look at?
http://www.projectmanagementdiscussion.com/forum/

Cheers, and thanks :)

BigJens

I just updated to Joomla 1.08 and SMF 1.1RC2 - now see what happened to my template:

hxxp:www.slowpitch.de/component/option,com_smf/Itemid,23/ [nonactive]

Whats wrong here? I am a little bit stucked here.

Jens
My site: hxxp:www.slowpitch.de/ [nonactive]
My Team: hxxp:www.woodpeckerzone.de/ [nonactive]

BigJens

I just realized that my template was a 1.1 beta 3 template. Now i updated to longgray 1.1 RC2 - but no luck. The template still looks weird. Any help?
Thnx.

Jens
My site: hxxp:www.slowpitch.de/ [nonactive]
My Team: hxxp:www.woodpeckerzone.de/ [nonactive]

BigJens

I just changed my Joomla template and tried some other things - nothing changed in my forum. It still looks not right. Any suggestions what i can do now?

Jens
My site: hxxp:www.slowpitch.de/ [nonactive]
My Team: hxxp:www.woodpeckerzone.de/ [nonactive]

MadPax

#39
Noonz,

QuoteThe problem is in the display of the header in this area
the area marked in the following screenshot:

Not 100% sure but it sure looks like something's wrong with the css in your new RC2 templatecss. Check for differences with the RC1.

I am having the same problem with another theme (or template) I have. I'll check and let you know, eventually.

phil_roy

Hi all,

Just about to migrate a site from Joomla/phpBB to SMF and the altered templates are just great.

Just wondered, the altered templates means I seem to have lost the links "Show unread posts since last visit." and "Show new replies to your posts." which I know I will use myself constantly. Is there any way to add them back in?...I'm fairly sure it's not something I've switched off, but happy to be corrected.

I think what I want to do is have those two links appear at the top of the board and have tracked down where I need to put the code...in the "BoardIndex.template.php" file and in the code (about line 12) where it says...
Quote<td valign="bottom">', theme_linktree(), '</td>
I want the links to be to the right of that....but what file has the code in that I need to put in there?

Phil
http://www.nzmac.com
NZMac.com - Supporting the New Zealand Mac community

Kindred

1- those links exist in the smf-joomla login module (mod_smf_login)
2- why would you add them into the linktree function???   just add them before or after the call to linktree.

something like this might work...
<td valign="bottom">', theme_linktree(), '</td><td align="right">SHOW LINKS HERE</td>
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

phil_roy

Thanks, that's exactly what I needed (I wasn't wanting to add them as a function). I've hacked the login module for it to be a horizontal login and dropped that code, so forgot that it included the necessary coding...I'll go back to the original module and nab the code.

Phil
http://www.nzmac.com
NZMac.com - Supporting the New Zealand Mac community

MadPax

Dang!

This thing is Killing me!

Noonz's problem is somewhere in the display.template.php I guess because that's where the Pages: [xx] appear.

But that's only true for when you're already reading the topic. If you are looking at the the boards' post listing the pages: part of the header is coded in another part of the script or even file and I can't find it Dang dang dang!

Already took care of the background problem though. It was indeed a css thing .catbg3 was being used from the default template. The long xxx templates' css must have this style defined as well.

Hope this helps

MadPax


MadPax

OK stay tuned I got this almost nailed down. It's got to do with messageindex.template.php.

MadPax

Done!

Here it is.

You must have a template specific message.template.php for your smf topics list to look ok. I've made the necessary alterations for the template to show ok but I do not have upload permissions here.

What shall I do to give other users the possibility to check this out?

Pax


mpetrie

MCleod5000 wrote:
QuoteDoes anyone has problems displaying this in Opera? In Opera 8.50 everything appears centered. In Firefox everything is shown just fine. Any ideas what I need to do?

The same thing happens with IE7, although IE6 is OK.

Any ideas on how to fix the display for Opera and IE7?

Cheers
Mike

Bogie

I am trying to add a link to the menu (home, search, logout, i.e.) for my shop.  I thought this was gonna be an easy task since I didn't need to add a button but everytime I make a change to the index.template I get a parse error.

Can anyone tell me what code I need to add to the template and where to add a link to the shop.  Thanks in advance.

http://www.congressionalsimulation.com

Bogie

I continued to research after posting this thread and although nothing really fit my theme that I found, with a little experimentation I found the correct way to do it.  This is for anyone using the LongBlue theme that has the same question I did.

Here's the modifications I made to index.template.php to add [shop] and [bank] links:

Quote// Show the menu up top.  Something like [home] [help] [profile] [logout]...
function template_menu()
{
        global $context, $settings, $options, $scripturl, $txt;

        // Show the [home] and [help] buttons.

        echo '

                                <a href="', $scripturl, '">',$txt[103],'</a>
                                <a href="', $scripturl, '?action=help" target="_blank">',$txt[119],'</a>';

        // How about the [search] button?
        if ($context['allow_search'])
                echo '
                                <a href="', $scripturl, '?action=search">',$txt[182],'</a>';

        // Is the user allowed to administrate at all? ([admin])
        if ($context['allow_admin'])
                echo '
                                <a href="', $scripturl, '?action=admin">',$txt[2],'</a>';

        // Edit Profile... [profile]
        if ($context['allow_edit_profile'])
                echo '
                                <a href="', $scripturl, '?action=profile">',$txt[467],'</a>';
                               
        // How about the [bank] button?
              echo '
                        <a href="http://www.congressionalsimulation.com/index.php?option=com_smf&Itemid=26&?action=shop;do=bank">', (Bank), '</a>';                       
                               
        // How about the [shop] button?
              echo '
                        <a href="http://www.congressionalsimulation.com/index.php?option=com_smf&Itemid=26&action=shop">', (Shop), '</a>'; 
         

        // The [calendar]!
        if ($context['allow_calendar'])
                echo '
                                <a href="', $scripturl, '?action=calendar">',$txt['calendar24'],'</a>';

        // If the user is a guest, show [login] and [register] buttons.
        if ($context['user']['is_guest'])
        {
                echo '
                                <a href="', $scripturl, '?action=register">',$txt[97],'</a>';
        }
        // Otherwise, they might want to [logout]...
        else
                echo '
                                <a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', $txt[108], '</a>';

Hope this helps someone else.

Kindred

No wonder you were getting parse errors....   you actually will continue to get them with the code that you just pasted....   if not parse errors, worse ones down the road.

this should actually be:


      // How about the [bank] button?
              echo '
                        <a href="', $scripturl, '?action=shop;do=bank">', $txt[bank], '</a>';                       
                               
        // How about the [shop] button?
              echo '
                        <a href="', $scripturl, '?action=shop">', $txt[shop], '</a>';     

where you have added the $txt[bank] and $txt[shop] definitions into modifications.english.php

or, if you really want to hard code the text:

      // How about the [bank] button?
              echo '
                        <a href="', $scripturl, '?action=shop;do=bank"> (BANK) </a>';                       
                               
        // How about the [shop] button?
              echo '
                        <a href="', $scripturl, '?action=shop"> (SHOP) </a>';     


Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

pacer

Would anyone have these themes available to download for RC2?
Specifically, longblue

Main site doesn't seem to be up/exist anymore :/

pyko

hmm, i've updated my smf to 1.1RC3 - and then realised that my longBlue is still 1.1RC2 - is that alright? everything seems to still work.

Or is there an update for 1.1RC3?
thanks!

mpetrie

#53
I'm now on SMF 1.1.1 and the theme still works, but with an unwanted space between each board title bar and the list of boards in the group. I guess this is a problem with either the css with the updated board index template.

Xenovanis, are you going to do an "official" SMF 1.1.x and Joomla 1.0.xx (as of today 1.0.12) update to the themes?




OK, update. I've fixed the unwanted spaces. I'd post a picture here, but there's no option to do so. However, if you see a gap above the grey bands that group each set of boards and the boards from the previous group; or above the key for posts read and unread icons, or between that and the Info Centre, the fix is to remove two <br /> tags:

To fix gaps above board titles find the following code and remove the <br /> in the last line. Do not delete the '; following the <br />:

                                if (!empty($board['last_post']['id']))

                                        echo '
                        ', $board['last_post']['time'], '<br />
                        ', $board['last_post']['link'], ' <br />
                        ', $txt[525], ' ', $board['last_post']['member']['link'];

                                echo '
                </td>
        </tr>';
                        }
                }

                echo '
</table></div>
<br />';


To fix gap above Info Centre find this code block and remove the <br /> on the third line:

        // Here's where the "Info Center" starts...
        echo '
<br />
<div class="tborder"><table border="0" width="100%" cellspacing="0" cellpadding="4">
        <tr class="catbg">
                <td align="center" colspan="2">', $txt[685], '</td>
        </tr>';


Mike

Loverboy


Hj Ahmad Rasyid Hj Ismail

Do anybody have these themes? Please email them to me ok. Thank you in adavance.

Advertisement: