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.6 - tfadmin - 02-01-2012

What do I need to change so that when a PM is sent when purchasing an item it looks like it came from the Administrator instead of MyBB Engine?

Currently looks like this:

[Image: sccegp.jpg]

but I want it to look like this:

[Image: 2i72xa9.jpg]




RE: [Release] Shop 1.6 - Diogo Parrinha - 02-01-2012

In /inc/plugins/newpoints.php

Replace:
PHP Code:
"fromid" => $fromid

With:
PHP Code:
"fromid" => ADMIN_UID

Where ADMIN_UID is the administrator user ID.


RE: [Release] Shop 1.6 - tfadmin - 02-01-2012

(02-01-2012, 07:43 AM)Pirata Nervo Wrote: In /inc/plugins/newpoints.php

Replace:
PHP Code:
"fromid" => $fromid

With:
PHP Code:
"fromid" => ADMIN_UID

Where ADMIN_UID is the administrator user ID.


Sweet. Worked perfectly. Thank you.



RE: [Release] Shop 1.6 - Gabrielek - 02-07-2012

Hello, i have problem. I install this mod and i don't have bookmark(google translate from polish zakladka) "Shop". Sorry for my bad English, i have only 13 years and i'm from Poland. Wink


RE: [Release] Shop 1.6 - Diogo Parrinha - 02-07-2012

Make sure you upload the admin files to your admin directory.


RE: [Release] Shop 1.6 - Gabrielek - 02-07-2012

Emm. Admin files from shop or from newpoints?


RE: [Release] Shop 1.6 - Diogo Parrinha - 02-07-2012

Well both.


RE: [Release] Shop 1.6 - Gabrielek - 02-07-2012

But, Shop doesn't have any admin files?


RE: [Release] Shop 1.6 - Diogo Parrinha - 02-07-2012

Oh yes you're right my bad Tongue Upload the NewPoints ones and then go to ACP -> NewPoints -> Shop


RE: [Release] Shop 1.6 - Gabrielek - 02-07-2012

Okej i do this. And then again this same problem. Eh... I don't know why :/