MySubscriptions, Donation Bar, MyDownloads, MyAchievements and support for our free and paid plugins. All that for $7!
Advertise Here!
Are you looking to advertise on this forum? Please read this announcement thread.
Are you looking to advertise on this forum? Please read this announcement thread.
|
[Shop Plugins] Show User Items at Signature
|
|
08-02-2010, 02:13 PM
(This post was last modified: 09-19-2010 02:46 PM by duytuan2002.)
Post: #1
|
|||
|
|||
|
[Shop Plugins] Show User Items at Signature
Test with
NewPoints 1.5 Shop 1.3 1/ Edit your template: ACP -> template, select your template Edit postbit templates->postbit . Search row: Code: {$post['signature']}and add after the value: Code: {$post['newpoints_shop_items']}Now: you can see Item show in signature 2/ Edit Global Templates ->newpoints_postbit Delete value: Code: {$post['newpoints_shop_items']}Save ! 3/ Edit root\inc\plugins\newpoints\newpoints_shop.php (with notepab or ect...) search and replace value PHP Code: "$items = array_unique($postbit_items_cache);" by PHP Code: "$items = array_unique($items); Save and up ovewrite newpoints_shop.php to \inc\plugins\newpoints\ Now: Item user buy have show in signature. OK! Screet shot:
Access tips |
|||
|
08-03-2010, 03:18 AM
Post: #2
|
|||
|
|||
|
RE: [Shop Plugins] Show User Items at Signature
Awesome man!
|
|||
|
08-03-2010, 06:50 PM
Post: #3
|
|||
|
|||
|
RE: [Shop Plugins] Show User Items at Signature
thank you, lại mò sang táºn đây post bà i hả?? =))
myeditor WYS editor very kool with show custome BBcode into Editor. myforum http://mibvn.info ![]() "Tạm thời sẽ:" support MyBB in Vietnamese |
|||
|
08-03-2010, 09:11 PM
(This post was last modified: 09-19-2010 02:47 PM by duytuan2002.)
Post: #4
|
|||
|
|||
RE: [Shop Plugins] Show User Items at Signature
(08-03-2010 06:50 PM)tut4ever Wrote: thank you, lại mò sang táºn đây post bà i hả?? =)) He he, chỉ mong cái plugins nhiá»u và phát triển để mình còn ké!
Access tips |
|||
|
08-09-2010, 12:03 AM
(This post was last modified: 08-09-2010 12:30 AM by Iwakabe.)
Post: #5
|
|||
|
|||
|
RE: [Shop Plugins] Show User Items at Signature
Code: "$items = array_unique($postbit_items_cache);"How I supposed to find that line? PS. My mistake, it was all about "" char :] PPS. I tested this with NewPoints 1.5, Shop 1.3 on 2 different templates but it doesn't seems to work.
|
|||
|
08-09-2010, 01:08 AM
(This post was last modified: 09-19-2010 02:47 PM by duytuan2002.)
Post: #6
|
|||
|
|||
RE: [Shop Plugins] Show User Items at Signature
(08-09-2010 12:03 AM)Iwakabe Wrote: 3/ Edit file .\inc\plugins\newpoints\newpoints_shop.php (with notepad++ or ect...) . Find by Ctrl + FOr down my Attach file, extract and up to your host overwrite your file! Demo: http://thuthuataccess.co.cc/forum/thread...html#pid19 Access tips |
|||
|
08-09-2010, 06:50 AM
Post: #7
|
|||
|
|||
|
RE: [Shop Plugins] Show User Items at Signature
I do not understand the last step, why would you change this line:
"$items = array_unique($postbit_items_cache);" ? |
|||
|
08-09-2010, 04:09 PM
(This post was last modified: 08-09-2010 04:12 PM by duytuan2002.)
Post: #8
|
|||
|
|||
RE: [Shop Plugins] Show User Items at Signature
(08-09-2010 06:50 AM)Pirata Nervo Wrote: I do not understand the last step, why would you change this line: I don't understand too, but I compared Shop 1.1 and Shop 1.3, I saw that it's being change row "$items = array_unique($items);" by "$items = array_unique($postbit_items_cache);" . Result is My Item not show in postbit. And when I rechange, "$items = array_unique($postbit_items_cache);" by "$items = array_unique($items);" . It's show! Access tips |
|||
|
08-09-2010, 11:19 PM
Post: #9
|
|||
|
|||
|
RE: [Shop Plugins] Show User Items at Signature
Yeap I guess that's a bug. I've fixed it myself in the file so 1.4 will be released shortly
|
|||
|
08-10-2010, 09:49 PM
Post: #10
|
|||
|
|||
RE: [Shop Plugins] Show User Items at Signature
Quote:Now: you can see Item show in signature Not at all in my case. I use Afresh sky template, all new points plugins are updated, signature image limit = 10, char limit = 2000. I tested it to the user who bought an item by writing new post. My goal is to display items at signature and disallow to change signature manually by users. Could anyone please tell me how I suppose to do that? /sry if my English is broken |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)







I tested this with NewPoints 1.5, Shop 1.3 on 2 different templates but it doesn't seems to work.
. Find by Ctrl + F![[Image: s.png]](http://mybb-plugins.com/images/s.png)