MyBB Community Forums
Make shop items appear next to username. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Support (https://community.mybb.com/forum-72.html)
+---- Thread: Make shop items appear next to username. (/thread-229385.html)



Make shop items appear next to username. - AlexKKhalifa - 2020-09-11

So i successfully added shop items next to username but would want to choose only 1 to show next to the username. If i buy 2 it shows 2 items next to username.

With only 1 item bought:
[Image: LhZ7Fqj.png]

With 2 items bought:
[Image: MVY3QwK.png]

I want to be able choose which item i want to show in my profile. But it seems difficult to do it. 
And also item doesn't appear next to username in the other pages.


RE: Make shop items appear next to username. - Omar G. - 2020-09-12

I did release a plugin for this:
https://community.mybb.com/thread-228779.html

As for being able to help you we would need to know more about the code you used to make this possible by yourself.


RE: Make shop items appear next to username. - AlexKKhalifa - 2020-09-12

(2020-09-12, 12:12 AM)Omar G. Wrote: I did release a plugin for this:
https://community.mybb.com/thread-228779.html

As for being able to help you we would need to know more about the code you used to make this possible by yourself.
No sir, i'm using (Shop plugin for new points) that also works as a username item but I need to make a page so that users can set what item they want to display and limit that to just one item


RE: Make shop items appear next to username. - Omar G. - 2020-09-12

It is not a easy task, as you would need to code a plugin (to hook to newpoints_start would be preferable IMO) to build the page.

Is your code a plugin or just a core edit?

It could be simple to force the last or first(s n) item the user bought with whatever you have.


RE: Make shop items appear next to username. - AlexKKhalifa - 2020-09-12

If it's not to much to ask could i create you a test account so you can check by yourself sir?
I'll give admin permissions to do it.

(2020-09-12, 01:37 AM)Omar G. Wrote: It is not a easy task, as you would need to code a plugin (to hook to newpoints_start would be preferable IMO) to build the page.

Is your code a plugin or just a core edit?

It could be simple to force the last or first(s n) item the user bought with whatever you have.
It’s a plugin (shop plugin for newpoints)