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 - Str8up-Nate

Pages: [1]
1
Items / Re: Change Member Group
« on: May 03, 2008, 10:10:47 am »
hmmm would there be a way to make it so that when they bought this item for a secondary member group that it would only be for like 30 days? then they would be removed from the group?

2
Items / 1.1.3 - 1.1.4 Insurance Meter.
« on: January 22, 2008, 01:07:53 pm »
~!~Add a Meter On Your Shop Home Page To Tell You How Many Insurance's You Have Left.~!~

-All Credit Goes To Feildmaster - He Gave Me These Edits I'm Just Posting Them For Everyone Else.

These Codes Have been Tested By Me On SMF 3.0 Shop And These SMF Versions:
1. 1.1.3
2. 1.1.4

Here Are The Code Edits...



Open... Sources/Load.php



Find...
Code: [Select]
// Begin SMFShop MOD Version New Version
'money' => isset($user_settings['money']) ? $user_settings['money'] : '',
'moneyBank' => isset($user_settings['moneyBank']) ? $user_settings['moneyBank'] : '',
// End SMFShop MOD

Add After...
Code: [Select]
'insurance' => isset($user_settings['insurance']) ? $user_settings['insurance'] : '',



Find...
Code: [Select]
mem.buddy_list, mg.onlineColor AS member_group_color, IFNULL(mg.groupName, '') AS member_group,
pg.onlineColor AS post_group_color, IFNULL(pg.groupName, '') AS post_group, mem.is_activated, mem.shop_nameStyle, mem.money,

Add At End...
Code: [Select]
     
mem.insurance,



Find...
Code: [Select]
// Begin SMFShop MOD Version New Version
'money' => $profile['money'],
// End SMFShop MOD

Add After...
Code: [Select]
'insurance' => $profile['insurance'],



Find....
Code: [Select]
'money' => &$user_info['money'],

Add After...
Code: [Select]
'insurance' => &$user_info['insurance'],



Save Load.php...



Open Themes/default/shop.templete.php...



Find...
Code: [Select]
', sprintf($txt['shop_currently_have1'], formatMoney($context['user']['money'])), ($modSettings['shopBankEnabled'] ? sprintf($txt['shop_currently_have2'], formatMoney($context['user']['moneyBank'])) : ''), '
<br /><br />';

Add After...
Code: [Select]
echo 'Insurance Left: ', $context['user']['insurance'] > 5? $context['user']['insurance'] : ($context['user']['insurance'] > 0 ? '<font color="red">'.$context['user']['insurance'].', you might want to consider buying more.</font>' : '<font color="red">NONE! Buy more from the shop!</font>');



Save Themes/default/shop.templete.php...


Congrats On The New Meter
-All Credit Goes To Feildmaster - He Gave Me These Edits I'm Just Posting Them For Everyone Else.

3
Modifications / Re: SMF Lottery Mod
« on: November 14, 2007, 12:45:47 pm »
wow i found a error (at least for me) when you uninstall it there a error in the uninstall and it told me the tables were unknown and it wouldn't uninstall so i just reinstalled smf and deleted it :P i hope you  can help me i really liked this mod

thanks you for your time

4
Items / Lots Of Shop Item Images!
« on: November 09, 2007, 09:57:34 am »
I Made About 95% Of These And I Thought I Should Share Them With You All :P

There Are 50 Images And There All 32px x 32px :P

Password = Nate (Capital N)

Megaupload Download
Or You Can Download With The Attachment :P

Images Included:








































































































5
Items / Re: Insurance (Still needs work!)
« on: October 22, 2007, 07:45:41 am »
no i mean i cant find those parts in the files??? there not there??? (shop.php, and the shop.template.php) where you say look for these Parts and add after or before there on in the code at all  please help me :)

6
Modifications / Re: SMFPets Version 0.2
« on: October 10, 2007, 03:56:59 pm »
maybe its just me or is there a way to like fight the other pets?
if not could someone help me code it?

7
Items / Re: Insurance (Still needs work!)
« on: October 10, 2007, 01:27:12 pm »
You are very welcome!

Ok, I have added the tinsurance count so members can see how much they have left (This only show the particular member and noone else)
in shop.template.php find:
Code: [Select]
<b>',$txt['shop_money_in_pocket'],': </b>',$context['shop_money'],'<br />
',$context['shop_money_in_bank'],'<br />
add after:
Code: [Select]
';<b>',$txt['shop_money_in_pocket'],': </b>',$context['shop_money'],'<br />
',$context['shop_money_in_bank'],'<br />';
if ($context['shop_shieldleft'] > 5){
echo'
<b>',$txt['shop_insurance'],':</b> ',$context['shop_shieldleft'],'<br />';
}
elseif ($context['shop_shieldleft'] >1 && $context['shop_shieldleft'] < 5){
echo'
<font color="red">',$txt['shop_insurance_low'],'</font><br />
<b>',$txt['shop_insurance'],':</b> ',$context['shop_shieldleft'],'<b> ',$txt['shop_insurance_left'],'</b><br />';
}
else{
echo'
<font color="red">',$txt['shop_insurance_none'],'</font><br />
<b>',$txt['shop_insurance'],':</b> ',$context['shop_shieldleft'],'<b> ',$txt['shop_insurance_left'],'</b><br />';
}
echo'
in shop.php find:
Code: [Select]
// The current member's money
$result = db_query("SELECT money, moneyBank
add after:
Code: [Select]
, insurance
find:
Code: [Select]
$context['shop_money_bank'] = formatMoney($row['moneyBank']);
add after:
Code: [Select]
$context['shop_shieldleft'] = $row['insurance'];
add these strings to the shop.english.php
Code: [Select]
$txt['shop_insurance'] = "Dragon Shield";
$txt['shop_insurance_low'] = "Your Dragon Shield is getting low! You may want to stock up!";
$txt['shop_insurance_none'] = "You have no Dragon Shield...Be Warned, this makes you a target for those that like to steal!";
$txt['shop_insurance_left'] = "Remaining";

make sure to change them to reflect what you call the insurance on your forum.

this will display their current amount left as well as change what message displays based on how much they have left

What Version Is This For? I Need Help I Have SMF Shop 3.0 and SMF Version 1.1.3
Please Help Me Add This

8
Items / Re: Arcade Pass Item and SMF Arcade Integration
« on: September 02, 2007, 05:31:42 am »
I Couldnt Find That Anyone Posted This But Here It Is!

I Got This Mod To Work With SMF Arcade E2.3.3 And Daniel's SMF Shop 3.0 (Build 12) !!!

*Remember Make A Back Up Of Your Files B4 This In Cause It Doesn't Work.*

Lol Just Install With Package Manager Even If Files Fail

Then If You Notice When You Click Arcade You Will Get This Error With The File "/sources/Subs-Arcade.php"

Ok Now Remember I Said Make A Backup Of Your Files Well Now Just Replace The New "/sources/Subs-Arcade.php" With The One You Backed Up!

Now The Arcade Should Work And You Should Have All The Features :)

*This Is Installed On My Site If You Wanna See It Working*
*You Must Register Though*
www.thepsphackers.com

Or Here Are Some Screen Shots:


Shop Settings:


Buy Arcade Pass Item:


No Arcade Pass In Main Arcade:


No Arcade Pass In Game:


With Arcade Pass In Game:


-------------------------------------------------------------------------------------------
Hope You Like It :)

Thank You For Making This Mod I Love It!!!!

Pages: [1]