HelpHelpSearchSearchMembersMembersCalendarCalendar
Welcome, Guest. Please login or register.

Login with username, password and session length
August 28, 2008, 12:39:16 PM
Please use the support forum for support issues instead of sending me pm's. Thanks.
I will not reply to support issues via pm.
« previous next »
Pages: [1]   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools  
Read July 22, 2008, 11:05:40 PM #0
plasmagames

Aa New Damage v2

ya i install the smf arcade mod and it want to know how to add a button to it in the menu on the theme.

I tried it in the old theme and i couldn't get it to work
« Last Edit: July 30, 2008, 05:05:51 PM by m3talc0re »
Offline  
Read July 23, 2008, 01:24:30 PM #1
plasmagames

Re: Aa New Damage v2

ok i know how to add buttons but what is the font used for the text in the buttons
Offline  
Read July 23, 2008, 03:12:37 PM #2
m3talc0re

Re: Aa New Damage v2

The main navigation buttons at the top of the page? Those are text links in v2, not images.


The real hell is your life gone wrong.
Offline  
Read July 24, 2008, 01:40:36 AM #3
Violat3r

Re: Aa New Damage v2

Yea, unlike the first New Damage theme, v2 uses just the normal text links that SMF creates. v2 just modifies them using its CSS and the background images are all setup. There really is no button customization needed whatsoever, makes it easier on people.



Offline  
Read July 30, 2008, 04:42:18 PM #4
plasmagames

Re: Aa New Damage v2

well i installed smf arcade and it did pu the button there it ony makes it for the default theme
 so do i put the code that i put in the defualt template.index.php file in the aa new damage template file?
Offline  
Read July 30, 2008, 05:04:30 PM #5
m3talc0re

Re: Aa New Damage v2

First, go here: http://custom.simplemachines.org/mods/index.php?mod=36

Where the link is to download the mod, you should see manual install instructions. Choose the one for 1.1.5. Find the changes needed for the index.template.php and do what it says.

Where it says to add some code before the // Search comment, change the code from this:
Code:
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
</td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

Add this instead:
Code:
// Show the [arcade] button.
echo '
<li><a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a></li>
<li class="mainnavDivider"><!-- /--></li>';


The real hell is your life gone wrong.
Offline  
Pages: [1]   Go Up
Jump to:  

Theme by Webtechnica.net
MySQL PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC XHTML 1.0 CSS