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 - feeble

Pages: 1 [2] 3 4 ... 20
16
Modifications / Re: SMFShop Inventory Post Modification
« on: September 10, 2007, 07:55:28 pm »
no worries
there are a few other things that I would like to suggest, but they can wait for another time

but for the most part, its a very nice add on to SMFShop, so I'm sure it'll get used plenty

17
Modifications / Re: SMFShop Inventory Post Modification
« on: September 10, 2007, 07:49:28 pm »
yes that would work fine
but just change
Code: [Select]
elseif(mysql_num_rows($result) > 0){to
Code: [Select]
else{as it will always be true

Also a small note,
the changes that I suggested, actually, if inventory is 0, the "View Inventory" field will not be displayed, so either solution should be fine.
basically it depends on how you want it to look.

18
Modifications / Re: SMFShop Inventory Post Modification
« on: September 10, 2007, 07:34:47 pm »
Just taken a look through your package

I know its early days, so I'll only suggest one thing at the moment
change
Code: [Select]
//BEGIN SMFShop Inventory Signature MOD
echo '<fieldset><legend><a href="', $scripturl, '?action=shop;do=invother2;member=', $message['member']['username'], '">View Inventory</a></legend>';

//get the inventory
$result = db_query("
SELECT it.desc, it.image, inv.id
FROM {$db_prefix}shop_inventory AS inv, {$db_prefix}shop_items AS it
WHERE inv.ownerid = {$message['member']['id']} AND inv.itemid = it.id
LIMIT 10", __FILE__, __LINE__);

//item image and tooltip descriptions
$varia = mysql_fetch_assoc($result);
if ($varia == 0){echo "<img src='{$boardurl}/Sources/shop/item_images/blank.gif'>&nbsp;&nbsp;";}

elseif ($varia > 0){
echo "<img src='{$boardurl}/Sources/shop/item_images/{$varia['image']}'title='{$varia['desc']}'>&nbsp;&nbsp;";
$varia = mysql_fetch_assoc($result);
if ($varia > 0) {
echo "<img src='{$boardurl}/Sources/shop/item_images/{$varia['image']}'title='{$varia['desc']}'>&nbsp;&nbsp;";
}
$varia = mysql_fetch_assoc($result);
if ($varia > 0) {
echo "<img src='{$boardurl}/Sources/shop/item_images/{$varia['image']}'title='{$varia['desc']}'>&nbsp;&nbsp;";
}
$varia = mysql_fetch_assoc($result);
if ($varia > 0) {
echo "<img src='{$boardurl}/Sources/shop/item_images/{$varia['image']}'title='{$varia['desc']}'>&nbsp;&nbsp;";
}
$varia = mysql_fetch_assoc($result);
if ($varia > 0) {
echo "<img src='{$boardurl}/Sources/shop/item_images/{$varia['image']}'title='{$varia['desc']}'>&nbsp;&nbsp;";
}
$varia = mysql_fetch_assoc($result);
if ($varia > 0) {
echo "<img src='{$boardurl}/Sources/shop/item_images/{$varia['image']}'title='{$varia['desc']}'>&nbsp;&nbsp;";
}
$varia = mysql_fetch_assoc($result);
if ($varia > 0) {
echo "<img src='{$boardurl}/Sources/shop/item_images/{$varia['image']}'title='{$varia['desc']}'>&nbsp;&nbsp;";
}
$varia = mysql_fetch_assoc($result);
if ($varia > 0) {
echo "<img src='{$boardurl}/Sources/shop/item_images/{$varia['image']}'title='{$varia['desc']}'>&nbsp;&nbsp;";
}
$varia = mysql_fetch_assoc($result);
if ($varia > 0) {
echo "<img src='{$boardurl}/Sources/shop/item_images/{$varia['image']}'title='{$varia['desc']}'>&nbsp;&nbsp;";
}
$varia = mysql_fetch_assoc($result);
if ($varia > 0) {
echo "<img src='{$boardurl}/Sources/shop/item_images/{$varia['image']}'title='{$varia['desc']}'>&nbsp;&nbsp;";
}
}

echo'</fieldset>';
//END SMFShop Inventory Signature MOD
to
Code: [Select]
//BEGIN SMFShop Inventory Signature MOD
//get the inventory
$result = db_query("
SELECT it.desc, it.image, inv.id
FROM {$db_prefix}shop_inventory AS inv, {$db_prefix}shop_items AS it
WHERE inv.ownerid = {$message['member']['id']} AND inv.itemid = it.id
LIMIT 10", __FILE__, __LINE__);
if(mysql_num_rows($result) > 0){
echo '<fieldset><legend><a href="', $scripturl, '?action=shop;do=invother2;member=', $message['member']['username'], '">View Inventory</a></legend>';
while ($row = mysql_fetch_assoc($result)){
echo "<img src='{$boardurl}/Sources/shop/item_images/{$row['image']}'title='{$row['desc']}'>&nbsp;&nbsp;";
}
echo '</fieldset>';
}
//END SMFShop Inventory Signature MOD

19
Modifications / Re: SMFShop Inventory Post Modification
« on: September 10, 2007, 07:17:00 pm »
very nice

i like the like design as well

20
Items / Re: Postkiller PRO
« on: August 27, 2007, 10:34:02 pm »
Nice work on the item.

Seems a bit harsh thou

21
Items / Re: A few ideas.
« on: August 17, 2007, 06:45:35 am »
i've seen buysignature on mugglenet interactive.

and i'm awful with writing php, i can only edit it.  ???
On the forum thats on phpBB?

Im a little bit busy atm, but if I get the chance Ill cook something up. Possibly in the next couple of days.

22
Items / Re: A few ideas.
« on: August 16, 2007, 03:56:56 pm »
some nice ideas there

I believe a Lotter Item is in the process of being made by feildmaster

What issues were you having with the prediction game, or have you moved on?

buySignature sounds like a great idea for an item.

It would be fairly simple to make.

Would you like to attempt in making it? I can give any advice or answer questions that you may need or have.

I would probably recommend, just a form with a textarea. On post, and a few parses, update the users signature field in the members table

23
General SMFShop Discussion / Re: Helpz Pleazz
« on: August 16, 2007, 12:53:45 pm »
1.People can't register to my site because there is no captcha, (image generator with words and numbers) why is that?
Seems that there might be some settings wrong in the admin area.
For the moment, just disable CAPTCHA.
Goto
Admin ->Members Block -> Registration -> Settings Tab
Find "Complexity of visual verification image:"
and set to disabled

2.I selected a theme, but when ever I go to see a topic I submitted, it goes back to one of my old themes.
Few things could be causing this
1st. Just goto
Admin->Configuration Block->Themes and Layout
Find "Reset everyone to:" and select the theme you want
and also "Overall forum default:" and select the same theme

2nd goto
Admin->Forum Block->Boards
On the board that is giving you trouble, click on modify
halfway down the page you will find "Board Theme"
set to "overall board theme"

hope this helps

24
Items / Re: change someones avatar
« on: August 11, 2007, 05:48:00 am »
?

what do you even need changed? what like
http://www.daniel15.com/forum/index.php/topic,354.0.html
?

25
Requested additions / Re: A competition mod
« on: August 09, 2007, 08:55:49 am »
No real easy answer for this sorry.

There is several ways to implement  each one into your forum.

Quiz/Question:
Quick google, i found this
Looks like it could fit your needs.
Then either with some simple php you can add money or items to the user after they have completed it.
Or even just use the Voucher Mod and give the user a voucher after completing the quiz

Lottery: I think feildmaster is currently building one here


If you need help with the php, I can be of assistance. But you could probably implement without any php at all.

26
The permission is there, just not used....

PLEASE NOTE THAT IF YOU MAKE THESE CHANGES, SMFSHOP WILL FAIL TO UNINSTALL

open up
Sources/ManagePermissions.php

look for
Code: [Select]
'shop_trade' => false,
on the next line add
Code: [Select]
'shop_admin' => false,
open up
Themes/default/languages/ManagePermissions.english.php

look for
Code: [Select]
$txt['permissionname_shop_trade'] = 'Trade Centre';
on the next line add
Code: [Select]
$txt['permissionname_shop_admin'] = 'Shop Admin';

27
Requested additions / Re: [SOLVED] "Voucher Code" Item
« on: July 28, 2007, 07:50:41 pm »
to use
goto SMF Action: ?action=redeemShop

29
General SMFShop Discussion / Re: memebers
« on: July 27, 2007, 06:15:07 am »
send the failed file to my email address. tsaphin@gmail.com

also, reason why your users cant access to possibly due to this error in installation,
but also check your users membergroup permission and enable there permission to access SMFShop

30
General SMFShop Discussion / Re: download uncomplete
« on: July 19, 2007, 07:14:54 pm »
I don't have a solution for you atm, but ill try and work something out.

Pages: 1 [2] 3 4 ... 20