[Theme] TechHead (SMF v.1.0.5 - 1.1RC2)

Started by bloc, November 30, 2004, 07:20:34 PM

Previous topic - Next topic

Metal_GunBlade

Hi bloc...
I have just installed this theme... Exactly whot I wanted...
But I have a request...
COuld you please please please, guide me on how to add more buttons??? I have created the buttons, but I want some help with the coding part...

Thanks!!!
Life is ours to be spent, not to be saved

bloc

Simply open index.template.php and find the function template_menu(). There you will see all the buttons listed in code bits, just insert the line below inbetween one of those.

The line will have to look like this:

                echo '<a href="link"><img name="search" id="search"  onmouseover="javascript:document.search.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/search_over.gif\'" onmouseout="javascript:document.search.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif\'" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 0px 0;" border="0" /></a>';

As you can see, all the bold items will need to be changed ..and you also need to make 2 buttons for the rollover to work. Here "search" is used, so just exchange that with yours.


mogadishu

Hy BLOC..Please Help Me With one Button [ 4 rollover ]   CHAT.. I don't Know How to make it [ive tryed button generator-but don't know hou to make it the same like on the oriiginal theme]
Please make 4 me [all] CHAT Button [ With rollover]
AHost.ro- Free WebHosting & Free Domains .
AzD.Ro - Your Gambling Source !

Metal_GunBlade

ok great...

but one more question...

                echo '<a href="link"><img name="search" id="search"  onmouseover="javascript:document.search.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/search_over.gif\'" onmouseout="javascript:document.search.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif\'" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 0px 0;" border="0" /></a>';

What's this number in bold???
And is it ok if it is repeated in my new buttons, or should I change it???
Life is ours to be spent, not to be saved

bloc

Its the "help" text you get when hovering over a button..and that variable - $txt[182] - stands for "search" in language files. So yes, you should change it for other buttons - but it will not stop anything if you don't :)

mogadishu

Quote from: mogadishu on September 12, 2005, 04:15:20 PM
Hy BLOC..Please Help Me With one Button [ 4 rollover ]   CHAT.. I don't Know How to make it [ive tryed button generator-but don't know hou to make it the same like on the oriiginal theme]
Please make 4 me [all] CHAT Button [ With rollover]


No HELP For me BLOC ??[ I realy Need That Button]
AHost.ro- Free WebHosting & Free Domains .
AzD.Ro - Your Gambling Source !

bloc


N3lson

Hi i want to put a title in the top ( with logo) in my fórum how i do that?
Thank you
I´m Portuguese Yeah

mogadishu

AHost.ro- Free WebHosting & Free Domains .
AzD.Ro - Your Gambling Source !

mogadishu

How to add a new button [For mouseover-button]
Please Somebudy give me a "final" Code For Chat Button [Ive readded A LOT of "Topics" About"Hou to add a Chat Button" or "Add a new Button"
But don't work[ give me errors Or Don't RollOver]
Please HELP ME !!! [Thanx In Advence]
PS: This Will HOPE Manny Members !
AHost.ro- Free WebHosting & Free Domains .
AzD.Ro - Your Gambling Source !

bloc


echo '<a href="link">
<img name="chat" id="chat"  onmouseover="javascript:document.chat.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat_over.gif\'" onmouseout="javascript:document.chat.src=\'' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif\'" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="chat" style="margin: 0px 0;" border="0" />
</a>';


The "link" part in top line you need to insert the path to the chat.

mogadishu

Work OK ![ Thanx]

???Topics Buttons can be Edited? [If Yes HOW?]











I Want To put A Letter "A" :-\
Like Here:
* Also With Animation ...
HELP Request :-\: If Somebudy Can Make These Buttons 4 me ..I Wll Be GLAD :o [Happy] [Help Me Pleaseee!!]
Thanx In Advence 8)
AHost.ro- Free WebHosting & Free Domains .
AzD.Ro - Your Gambling Source !

bloc

Just exchange the "on.gif", "off.gif" and "on2.gif"(for new posts in child boards) with your own and you should be fine. In the "TechHead/images" folder.

For the smaller ones, use "new_some.gif" and new_none.gif".

mogadishu

Ok Understand ..But I want to Change That PIC[ Original Button from Techhead theme] With A Letter "A" But Don't Know How to make the Button [ Ive changed this image: With This One: <- this is an Example from default theme (button maded by a friend of mine)..]  I want to make something similar With Techead Theme ! [If you can help me  And don't want make (buttonz) Publick PM me ]
* Want To Put "A" Letter ! [Thanx In Advence] 8)
AHost.ro- Free WebHosting & Free Domains .
AzD.Ro - Your Gambling Source !

coldthunder

#74
Are you updating this theme for 1.1 RC? if so how soon can we expect the product :-) and thanks for all your work you do around here, it is appreciated by the user community

coldthunder

I did a fresh install of 1.1 rc and then loaded your techhead 1.1 beta 3 and get allto of error when i click on " mark as read" on "modify" i get the following error

error is
Session verification failed. Please try logging out and back in again, and then try again.

when i switch back to default theme i dont get that error only on the helios and techead theme and that is after a brand new clean install of smf 1.1 rc so it is definately somthing with the theme, when are your plans to update these?


bloc


coldthunder


liberalfaerie

Bloc, I love the theme - but I'm getting the session verification error when my members try to give karma. I know with helios multi the problem was in the display.template.php, so I'm assuming that is the problem with this one as well. How do I fix it though? With helios multi I just uploaded the newer version of display.template.php. I tried that with this one as well, but it didn't change anything. Help please? :D

tuga

oi people, why this therme dont have the file post.template.php im try install imageshacker and i cannot, can anyone tell me how i can do?

I have other therme too and that one is OK

Advertisement: