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.


Topics - ballin

Pages: [1]
1
Completed Shop Buttons / SMFShop Button 'Zone99'
« on: May 11, 2010, 04:56:47 am »
Ok, In /themes/zone99_xxxx/index.template.php look for:


Code: [Select]
if ($context['allow_calendar'])
echo '<li><a' , $current_action=='calendar' ? ' class="active"' : '' , ' href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></li>';

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

Change the word points to whatever you want.



2
Coding / SMFShop Help
« on: May 10, 2010, 09:21:55 am »
I downloaded the SMFShop modification and when I set it up and had it work, I realized that when it showed your points, it had 2 decimal areas behind it which I don't want. It looks like this:



I was wondering if someone can tell me how i can take the decimals off?
Thanks!


Yes, I checked out the search and the one i found didn't work. So please help =[

Pages: [1]