MyBB-Plugins Forums
[Release] Shop 1.7 - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.6.x (http://forums.mybb-plugins.com/Forum-MyBB-1-6-x)
+---- Forum: NewPoints (http://forums.mybb-plugins.com/Forum-NewPoints)
+----- Forum: Plugins (http://forums.mybb-plugins.com/Forum-Plugins)
+----- Thread: [Release] Shop 1.7 (/Thread-Release-Shop-1-7)



RE: [Release] Shop 1.7 - Diogo Parrinha - 11-25-2013

Which MyBB version do you have installed?


RE: [Release] Shop 1.7 - Nieth - 11-25-2013

I have MyBB v 1.6.9 installed.


RE: [Release] Shop 1.7 - Diogo Parrinha - 11-25-2013

Find:
PHP Code:
true"""" 

Replace with: (empty)



RE: [Release] Shop 1.7 - Nieth - 11-25-2013

I'm sorry, I know absolutely nothing about PHP, which file would I replace that, class_form.php line 664-666?


**EDIT: I found what you told me to find in the newpoints_shop.php file and replaced what was mentioned with empty space (deleted them) and it seems to be working.

If this was not what you had intended me to do please tell me.

If so, thank you for the time and help.


RE: [Release] Shop 1.7 - Diogo Parrinha - 11-25-2013

That was it, sorry for not mentioning the file!


RE: [Release] Shop 1.7 - invisible - 11-26-2013

How to add the ability to use the plugin in the HTML? I want to describe objects using HTML. Help please!


RE: [Release] Shop 1.7 - Lost Eventide - 11-26-2013

It's answered a couple times on the forums, invisible, but you just edit the shop PHP file and change these:

To enable it in descriptions in the shop, replace both instances of
Code:
$item['description'] = htmlspecialchars_uni($item['description']);
With
Code:
$item['description'] = $item['description'];
To enable HTML for the descriptions in a member's inventory replace
Code:
'allow_html' => 0,
With
Code:
'allow_html' => 1,

Just be aware that it's a security risk if someone gains access to your admin CP because they'd be able to input malicious coding into items.


RE: [Release] Shop 1.7 - Sozu - 12-13-2013

Does it work to make some cool usage of these items? other than just for showing?

I wanna make an item that makes the currency rate go double. And that this item will expire after 24 hours.
So during this time the member will get double the amount of currency.

Possible to fix this?


RE: [Release] Shop 1.7 - Diogo Parrinha - 12-14-2013

That is not possible, these are virtual items. They have no value, it's up to you to decide what value they have.


RE: [Release] Shop 1.7 - iRocker - 12-14-2013

Is it possible to change URL Params for this plugin?