News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

SMFShop - Shop MOD

Started by SMFHacks.com Team, December 27, 2004, 06:46:17 AM

Previous topic - Next topic

Melissa524

I am using SMFshop 3.1.61 and SMF 2.0 RC3.  I can't find the way to turn of a board and keep people from getting credits in certain board.  I go under Boards and Modify but it isn't there.  I have asked this on the main support board, but I haven't gotten a response.
In case, I forget to say.  I am using 2.0.2

Afro

Vbgamer, do you have any code to call random items from trade center ?

vbgamer45

Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

venex

Quote from: Melissa524 on July 25, 2010, 07:06:03 PM
I am using SMFshop 3.1.61 and SMF 2.0 RC3.  I can't find the way to turn of a board and keep people from getting credits in certain board.  I go under Boards and Modify but it isn't there.  I have asked this on the main support board, but I haven't gotten a response.
same here.

vbgamer45

Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

venex


excaliburj

There are definitely supposed to be board based options.

The mod adds the below code to ManageBoards.template.php:

loadLanguage('Shop');
echo '
<div id="override_theme_div">
<dl class="settings">
<dt>
<b>', $txt['shop_count_points'], '</b><br />
', $txt['shop_count_points_msg'], '<br /><br />
</dt>
<dd>
<input type="checkbox" name="countMoney"', !empty($context['board']['countMoney']) ? ' checked="checked"' : '', ' class="check" />
</dd>

<dt>
<b>', $txt['shop_credits'], '</b><br />
', $txt['shop_credits_msg'], '<br /><br />
</dt>
<dd>
', $txt['shop_per_new_topic'], ': ', $modSettings['shopCurrencyPrefix'], '<input type="text" name="shop_pertopic" value="', !empty($context['board']['shop_pertopic']) ? $context['board']['shop_pertopic'] : '', '" size="5" />', $modSettings['shopCurrencySuffix'], '<br />
', $txt['shop_per_new_post'], ': ', $modSettings['shopCurrencyPrefix'], '<input type="text" name="shop_perpost" value="', !empty($context['board']['shop_perpost']) ? $context['board']['shop_perpost'] : '', '" size="5" />', $modSettings['shopCurrencySuffix'], '
</dd>


<dt>
<b>', $txt['shop_bonuses_enabled'], '</b><br />
', $txt['shop_bonuses_enabled_msg'], '<br /><br />
</dt>
<dd>
<input type="checkbox" name="shop_bonuses"', !empty($context['board']['shop_bonuses']) ? ' checked="checked"' : '', ' class="check" />
</dd>
</dl>
</div>';
// End SMFShop code


This 'should' provide the options to count the board (or not), to have custom points for the board for new posts and new topics, and to include Shop 'Bonuses ' (word and character count).

As it's a template file, of course, the edits might have to be made to any theme which supplies its own ManageBoards.template.php file. So, check the theme you're using. If it doesn't have that file, make sure hat Shop code was added to your default theme file.
Random Sig Line

Melissa524

It wasn't added.  Just to make sure I can add that to the file at the bottom or does it have to be in a certain place?
In case, I forget to say.  I am using 2.0.2

excaliburj

Certain place. And if that part of the install didn't work right, you may want to check other files, too.

You can see all the edits/inserts needed by going to the mod's page ( http://mods.simplemachines.org/?mod=65 ), select your SMF version in the dropdown on the right, and press the 'Parse' button.

That'll show you all the files that get changed, what to look for and what to insert/replace.
Random Sig Line

Afro

Quote from: vbgamer45 on July 27, 2010, 11:12:37 AM
No

Any plans to do that ? Please. I really need it to place items on the homepage using SP block.

Melissa524

Okay I looked at the Parse of RC3 Version and I can't find the code that you linked me anywhere on it.  Not sure what to do.
In case, I forget to say.  I am using 2.0.2

Melissa524

Quote from: Chit-Chat ChatterBox Boss on May 01, 2009, 04:13:47 PM
when I am making boards and I come to this selection

Quote
Count Shop Points                                []
Members will receive Shop credits for posting in this forum.              []

Shop Credits
If custom values are set for these two settings, they will override the settings set on the SMFShop administration page. Set these to "0" to use the default values (currently $8Chatter Bucks per topic, and $5Chatter Bucks per post)

                                           Per new topic: $[  ]Chatter Bucks
                                           Per new post: $[  ]Chatter Bucks
Enable Shop Bonuses                        []
Shop Bonuses will be take effect in this board

when I select all those boxes and i sometimes put '0' in the post new topic and post new post boxes. then I hit modify or create board and it makes the board. I reopen this board with modify and these boxes and the money amount is blank. Why does it keep doing this. I have no errors in the error log.

Okay I got the stuff that was missing added to the file, but now I am having the same problem as the person as the quote.  I haven't found a solution so far in the posts. 
In case, I forget to say.  I am using 2.0.2

excaliburj

That's not a problem. That's what's supposed to happen. When it's 0/blank (and Shop points count in that board), it will give the values that are given in the Shop Admin page.

It doesn't put those values in each board, because if you change the default value, you'd have to go to each board and change it there. too. 0/blank will always use the default.
Random Sig Line

excaliburj

Going over the packages, it appears that this per board functionality, which worked in the 1.1 compatible mod, is not implemented in the 2.0 line.
Random Sig Line

Melissa524

aww... well, darn it... it was one of the reasons why I like that mod.  Thanks for the help. 
In case, I forget to say.  I am using 2.0.2

Marsh

When i try to create a change membergroup item i get this error.

Fatal error: Function name must be a string in /home/marsh99/touchofdeathforums.com/smf/Sources/shop/items/PrimaryMemberGroup.php  on line 66

Any ideas?
625,195 Posts in 50,808 Topics by 34,295 Members.

Powered by SMF 2.0

www.touchofdeathproductions.com

slaytcafe.com

not works bank interest without cron job.

give error : Fatal error: Call to undefined function db_query() in /home/xxx/xxxx.com/dointerest.php on line 17

an idea?

vbgamer45

Is that with the latest version of SMF Shop? And i am guessing you are using SMF 2.0?
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

slaytcafe.com

Quote from: vbgamer45 on August 01, 2010, 09:53:38 PM
Is that with the latest version of SMF Shop? And i am guessing you are using SMF 2.0?

Yes, I use smf 2.0.RC3 with latest version of smf shop..

vbgamer45

You do not use dointerest.php in SMF 2.0 delete that file

There should be a SMF Shop interest scheduled task inside of SMF
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: