News:

Wondering if this will always be free?  See why free is better.

Main Menu

Helios Multicolor

Started by Bloc, March 08, 2006, 08:02:01 AM

Previous topic - Next topic

duggy

#160
Me again... I am trying to fix a number of things on my forums tonight while I have time. This is the last problem I am having then I think I am set.

I have added a "Donate" tab and the graphic shows up fine. I looked for instructions on how to simply have the tab go to an html link, but I am so confused. I've tried a few things but they haven't worked. The code below shows the "Donate" part blanked out for now and is the last thing I tried. Could someone please help me with the correct code. The code below is from the index.template.php file in Themes/helios_multi:

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

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

        echo '<td><a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 0px 0;" border="0" />' : $txt[103]), '</a></td>';
        echo '<td><a href="', $scripturl, '?action=help" >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 0px 0;" border="0" />' : $txt[119]), '</a></td>';

        // How about the [search] button?
        if ($context['allow_search'])
                echo '<td><a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 0px 0;" border="0" />' : $txt[182]), '</a></td>';

        // Is the user allowed to administrate at all? ([admin])
        if ($context['allow_admin'])
                echo '<td><a href="', $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" style="margin: 0px 0;" border="0" />' : $txt[2]), '</a></td>';

        // Edit Profile... [profile]
        if ($context['allow_edit_profile'])
                echo '<td><a href="', $scripturl, '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" style="margin: 0px 0;" border="0" />' : $txt[467]), '</a></td>';

        // Donate [donate]
        //        echo '<td><a href="http://www.myforumsname/donations.html"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/donate.gif" alt="Donate" style="margin: 0px 0;" border="0" /></a></td>';

         // The [calendar]!
        if ($context['allow_calendar'])
                echo '<td><a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 0px 0;" border="0" />' : $txt['calendar24']), '</a></td>';

        // If the user is a guest, show [login] and [register] buttons.
        if ($context['user']['is_guest'])
        {
                echo '<td><a href="', $scripturl, '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" style="margin: 0px 0;" border="0" />' : $txt[34]), '</a></td>';
                echo '<td><a href="', $scripturl, '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" style="margin: 0px 0;" border="0" />' : $txt[97]), '</a></td>';
        }
        // Otherwise, they might want to [logout]...
        else{
              echo '<td><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" style="margin: 0px 0;" border="0" />' : $txt[108]), '</a></td>';
              }
[/s]

Edit: I should also add that the first time I uploaded this template after editing it, I got the error message:

"unable to load the 'main_above' template"

I had to upload a backed up copy of the file to restore the forums.

Southeast Offroad

#161
Nevermind, I decided not to use that theme.

bmg

Hi, I am new and have tried to install Helios but it is not installing for some reason. I have installed other themes with no problem. I downloaded the file helios_multi11final.zip. I unzipped it on my hard drive. I uploaded the files to my themes/helios directory. I logged in as Admin and went to the install a new theme area. I pointed to my themes/helios folder and clicked install. It said that the install was successful but all it shows is my default theme. Even when I click preview on the helios theme, it shows my default theme. Any ideas here?

Thanks!  :)

viper787878

How do I get the title of my site at the top of my forum?
__________________________________________________
www.dragonitegames.com
My game forum

Sabre™

Depends on where you want it.
If you'd like it to the right of your welcome message, then add the image link where it says "Logo" in your theme settings.    <<admin - custom theme>>
Or if you'd like it at the top of your forum above the color changer, then insert your code where it states "Topbar : (use your own HTML code)"
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


SpelingMistakes

I want to make some new buttons – but I cant :( - Last month or more – this link simply don't work

http://www.tinyportal.net/button-generator/helios.php

Fatal error: Call to undefined function imagettfbbox() in /home/tinyport/public_html/button-generator/helios.php on line 92

Will this be corrected?
There is a huge difference between living and being alive!

SpelingMistakes

Isn't block checking this topic on regular basis? Hmmm – ok

I have suppose that he is often here but obviously I didn't guess right :(
There is a huge difference between living and being alive!

Sabre™

Yeah he does mate, but if he isnt on due to the holidays(Christmas), one of the team admins can fix the problem for you.
Ive posted there, and someone will sort it asap :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


drroot

Can this Mod work for SMF 1.1.7?

I thought it can't based on the description of smf's theme site

SpelingMistakes

what mod?  You mean this theme or?
There is a huge difference between living and being alive!

bloc

- The button-generator I haven't been able to look at yet, its something with server setup.

- Helios works fine with SMF 1.1.7, just use the 1.1 version.

SpelingMistakes

Hi Bloc - Any news about upgrading Helios to smf 2
There is a huge difference between living and being alive!

bloc

Not converted yet..its been postponed so many times its kinda silly to promise anything. But my goal of SMF2 conversion of all free themes is still there.

drroot


Sheree

hi bloc I have been using helios as my theme for over a year now , I really love this theme but I had to reinstall my forum from scratch just a month ago I also re installed the theme but I am having problems with it 



the top buttons are not showing to all members except for the admins , I only have 1 language (English) and I really don't know what went wrong please help me with it as I really wanted the theme a lot

Thanks in advance :)


bloc

Check if you have english_utf8 language selected. If you do, try copy the "english" folder in the "images" folder to "english_utf8" (or similar).


Sheree

hi bloc thanks for the fast reply on the drop down box for forum language it's just English there

will it help if I Convert HTML-entities to UTF-8 characters ?

ScottDB

Hi Bloc, I realy like your themes. I have 2 out of 5 themes on my site are yours. I am having problems with the helios_multi theme however and can not get the problem solved in SMF forum or the Simple Portal Forum. The problem I am having is trying to get add as an article to work from Simple Portal. Have had multiple people try and nobody can get it to work. I know you are a busy man but do you think you can give me a hand with this? I have SMF 1.1.10 and SP 2.2.2 .
Thank you,
Scott

If at first you don't succeed. post and post again.

bloc

I am not sure how articles are displayed in SimplePortal, I imagine its just a template? In that case it should not interfere with Helios theme at all.

Villesa

Quote from: Bloc on August 06, 2009, 04:28:05 PM
I am not sure how articles are displayed in SimplePortal, I imagine its just a template? In that case it should not interfere with Helios theme at all.

Hello Bloc, can you help me?
You'll get the idea

I'm all ok.

Advertisement: