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

Pages: [1] 2
1
Shop Button Requests / Re: Button Shop, please !
« on: November 01, 2014, 05:58:21 am »
You're ummmm, like 4 years late :P

2
SMFShop Announcements / Re: Looking for Support Helpers!
« on: December 30, 2011, 01:49:52 pm »
Looks like forum is being overan with spam bots.

3
Requested additions / Re: DisplayNameCSS for SMF 2.0
« on: November 18, 2011, 08:49:26 am »
Ditto on this.  :)

+1



4
Items / Re: Some Name Alteration Items
« on: November 17, 2011, 12:51:33 pm »

 Display Name CSS

Does anyone know where to get this download.  the download on the site is only for the change CSS shop item.

5
Shop Button Requests / Re: shop button for default red theme
« on: December 10, 2010, 01:52:48 am »
Thank you for that very well thought out bump. :P

6
Shop Button Requests / Re: Simple Button Request for Black Metal theme.
« on: December 10, 2010, 01:52:03 am »
Yeah, i forgot to mention, i uploaded 2 versions of the shop button for you, and wanted to see which would work best.  But, I posted the edits as well, in case you wanted to try the edit yourself.  :)

Glad it's working.

7
Can't argue with that.  I do what i can even though my knowledge can only go so far.

About the 'bug' ... the Shop in posts mod I believe isn't compatible with smf2 ... it does install, but when i tried on a test forum, it didn't work.  May just not be fully compatible, since the mod was originally made for smf 1.1.3

8
Shop Button Requests / Re: Simple Button Request for Black Metal theme.
« on: December 06, 2010, 05:27:41 pm »
I seen how the buttons worked on black metal, now, test this out on your forum.

I simply copied the button info for arcade, but made the changes to link to the shop.

Original Shop button code
Code: [Select]
//Begin SMFShop code
//loadLanguage("shop");
echo ($current_action == 'shop' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'shop' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=shop">Shop</a>
</td>' , $current_action == 'shop' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
//END SMFShop code

Edit to match other buttons for your theme
Code: [Select]
// Shop Button
echo '<li><a' , $current_action=='shop' ? ' class="current"' : '' , ' href="', $scripturl, '?action=shop"><span>Shop</span></a></li>';

9
Shop Button Requests / Re: Simple Button Request for Black Metal theme.
« on: December 06, 2010, 05:16:35 pm »
Can you set the black Metal theme as default, and link me to your site.  Does the site have custom images in the menu, or are they text?  I have your file, and making the edits.

EDIT:   NM, i see what you want.  gimme a few minues.

10
Modifications / Re: SMFShop Inventory Post Modification
« on: December 05, 2010, 08:57:48 pm »
Are you sure you're using smf shop version 3?

Here are the edits

Sources/Load.php

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

Replace with
Code: [Select]
// Begin SMFShop MOD Version New Version
'money' => $profile['money'],
// End SMFShop MOD
//BEGIN SMFShop IPM
'shopitems' => $profile['shopitems']['shopitems'],
//END SMFShop IPM


Find
Code: [Select]
// What a monstrous array..
Add Before
Code: [Select]
//BEGIN SMFShop IPM
//Set variable for LIMIT amount
$row = 0;
$max = $modSettings['ShopIpDisMax'];
//Begin database query
$request3 = db_query("
SELECT it.desc, it.image, it.category, inv.id
FROM {$db_prefix}shop_inventory AS inv, {$db_prefix}shop_items AS it
WHERE inv.ownerid = {$profile['ID_MEMBER']} AND inv.itemid = it.id
LIMIT $max", __FILE__, __LINE__);

//Start with an empty array
$profile['shopitems']['shopitems'] = array();

//Loop through all items
while ($row = mysql_fetch_assoc($request3))
{
// Add item to the array
$profile['shopitems']['shopitems'][] = array(
'image' => $row['image'],
'desc' => $row['desc'],
);
}

mysql_free_result($request3);
//END SMFShop IPM


And, your index.php

Find
Code: [Select]
// End SMFShop code
);

Add Before
Code: [Select]
//BEGIN SMFShop IPM
'shop_IPM' => array('shop/ShopAdmin.php', 'ShopIPM'),
//END SMFShop IPM




I recommend using this package parser, when you're not sure of edits to make

http://resourcez.biz/PackageParser/


Hope that helps.







11
General SMFShop Discussion / Re: Shop items below signature
« on: December 05, 2010, 08:43:27 pm »
The link i posted?  Should goto the topic, well, follow this path on the forum ...

SMFShop »  Beta additions »  Modifications »  SMFShop Inventory Post Modification  <--- that topic title

Topic will look like this ....  and the shop-inventory post mod will be attached at the bottom of that post.  ( I also added the zip to the MOd in my post, but i recommend you read the topic, as well, for better support)

THIS HAS ONLY BEEN TESTED ON A CLEAN INSTALL OF SMF 1.1.3 AND SMFShop 3.0

WARNING IF YOU INSTALL THIS MOD AND EVER GO TO REMOVE/UPGRADE YOUR INSTALL OF SMFShop YOU MAY ENCOUNTER ERRORS IF THIS MOD IS NOT UNINSTALLED FIRST. YOU'VE BEEN WARNED


IF YOU ARE USING AN EARLIER VERSION PLEASE UNINSTALL AND INSTALL THIS NEW VERSION

Updated and rolled into one package, from admin you can now select whether to enable/disable the IPM (on disable all original postbit settings will be restored) select where you would like the IPM displayed, Signature or Postbit, as well as selecting how many items you would like displayed.

Because this is a work in progress and as much a learning process for myself as modification project I'm going to just keep updating as it develops. but if you do decide to use this on a forum please be sure to check back for any updates, as i'm sure as time goes on i will realise things could have been done differently and better.

Goals for the next build

Introduce an inventory display sorting system to allow for a wider range of conditions (price, category etc)

Finally add the split and display trade items as well and expand on the current tooltips

Expand the admin section

And possibly something to do with members profile page depends




Special Note: Thank you to feeble for helping with the while loop i feel stupid now haha Daniel for telling me about seperating operations and visual output and Basil Beard for giving me a kick in the right direction when i thought **** this **** **** *** of a mod. cheers fellas. now that emmy esque speech is over with onto the pics


Signature


Postbit


Admin





 >:D

12
Shop Button Requests / Re: Button Shop, please !
« on: December 05, 2010, 08:40:22 pm »
Then attach your Sources/Subs.php file here.

Or try under your Sources/Subs.php file

Find
Code: [Select]
'mlist' => array(
Add Before
Code: [Select]
// Begin SMFShop code
// !!! Add subactions?
'shop' => array(
'title' => $txt['shop_menu_button'],
'href' => $scripturl . '?action=shop',
'show' => true,
),
// End SMFShop code


13
Coding / Re: need help- theme
« on: November 30, 2010, 07:46:09 pm »
All that needs to be added to custom themes is the Shop button, in most cases.   I honestly doubt the mod authors are going to make package edits for custom themes.

14
Shop Button Requests / Re: Button Shop, please !
« on: November 30, 2010, 07:43:07 pm »
If your forum is on SMF1.  Attach your custom themes index.template.php file and I'll try and make the edits for you.  Also make note of what button on your forum you want the shop button to come after.

15
General SMFShop Discussion / Re: Shop items below signature
« on: November 30, 2010, 07:32:46 pm »
Absolutely possible.  I have them on my forum.  You can find the addition here ...

http://smfshop.com/forum/index.php/topic,1175.0.html

I've made my own modifications, but that should help you get started.  Make sure it's compatible with your smf version.

Pages: [1] 2