Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Free Town

Pages: [1]
1
Shop Button Requests / Re: [Request] OverViewLight Button
« on: July 23, 2008, 03:39:58 pm »
Open up index.template.php and search for

Code: [Select]
if ($context['current_action'] == 'search2')
$current_action = 'search';

After that add this after

Code: [Select]
if ($context['current_action'] == 'shop')
$current_action = 'shop';



Now search for

Code: [Select]
                    // Show the [help] button.
                              echo '<li><a' , $current_action=='help' ? ' class="current"' : '' , ' href="', $scripturl, '?action=help"><span>' , $txt[119] , '</span></a></li>';

Now add this after

Code: [Select]
                    // Show the [shop] button.
                              echo '<li><a' , $current_action=='shop' ? ' class="current"' : '' , ' href="', $scripturl, '?action=shop"><span>Shop</span></a></li>';

2
Shop Button Requests / Re: Shop Button?
« on: July 23, 2008, 03:38:44 pm »
Open up index.template.php and search for

Code: [Select]
if ($context['current_action'] == 'search2')
$current_action = 'search';

After that add this after

Code: [Select]
if ($context['current_action'] == 'shop')
$current_action = 'shop';



Now search for

Code: [Select]
                    // Show the [help] button.
                              echo '<li><a' , $current_action=='help' ? ' class="current"' : '' , ' href="', $scripturl, '?action=help"><span>' , $txt[119] , '</span></a></li>';

Now add this after

Code: [Select]
                    // Show the [shop] button.
                              echo '<li><a' , $current_action=='shop' ? ' class="current"' : '' , ' href="', $scripturl, '?action=shop"><span>Shop</span></a></li>';

3
Shop Button Requests / Re: DarkBreak Theme Button Completed
« on: July 23, 2008, 03:34:36 pm »
If you dont want it to say Array change it to

Code: [Select]
// SMFShop
                  echo '<li><a' , $current_action=='shop' ? ' class="current"' : '' , ' href="', $scripturl, '?action=shop"><span>Shop</span></a></li>';

4
Open index.template.php and search for

Code: [Select]
// search button
$context['menubox'][]=array(
'title' => $txt[182],
'link' => $scripturl.'?action=search',
'chosen' => 'search',
'memberonly' => false,
'guestonly' => false,
'permission' => '',
);

Add this code after that one

Code: [Select]
// shop button
$context['menubox'][]=array(
'title' => Shop,
'link' => $scripturl.'?action=shop',
'chosen' => 'shop',
'memberonly' => false,
'guestonly' => false,
'permission' => '',
);

5
Shop Button Requests / Re: Pearl Blue
« on: July 23, 2008, 01:50:30 pm »
Open index.template.php and search for

Code: [Select]
if ($context['current_action'] == 'search2')
$current_action = 'search';

Add this under that code

Code: [Select]
if ($context['current_action'] == 'shop')
$current_action = 'shop';



Now search for this

Code: [Select]
// How about the [help] button?
echo '<li' , $current_action=='help' ? ' class="chosen"' : '' , '><a href="', $scripturl, '?action=help" ><span>', $txt[119], '</span></a></li>';

Then under that add this

Code: [Select]
// How about the [shop] button?
echo '<li' , $current_action=='shop' ? ' class="chosen"' : '' , '><a href="', $scripturl, '?action=shop" ><span>Shop</span></a></li>';

6
Shop Button Requests / Re: DS-Natural
« on: July 23, 2008, 01:30:27 pm »
Open index.template.php and search for

Code: [Select]
// Show the [home] button.
echo '<li><a' , $current_action=='home' ? ' class="current"' : '' , ' href="', $scripturl, '"><span>' , $txt[103] , '</span></a></li>';

and after that add this

Code: [Select]
// Show the [shop] button.
echo '<li><a' , $current_action=='shop' ? ' class="current"' : '' , ' href="', $scripturl, '?action=shop"><span>Shop</span></a></li>';



Now search for this

Code: [Select]
if ($context['current_action'] == 'search2')
$current_action = 'search';

Then add this under

Code: [Select]
if ($context['current_action'] == 'shop')
$current_action = 'shop';

7
Coding / Re: Lottery - Possible to do w/o cron job?
« on: July 23, 2008, 01:27:03 pm »
Well for bank intrest look at this:

http://www.daniel15.com/forum/index.php/topic,31.0.html

If that can be done then lottery wont be that i hard i guess :p

Pages: [1]