MyBB-Plugins Forums

Full Version: How to integrate MyPlaza Turbo into a new theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
[Image: 10fcp54.png]
Many users ask this and we usually link this thread:
http://forums.consoleworld.net/showthrea...&pid=18855
I made this thread to include all that posts into a thread.
In this tutorial I will explain how to include a new theme with myplaza in 2 ways:
- Changing the templates.
- Using WAMP or XAMPP.


Changing the templates By Pirata Nervo
These are the templates you need to edit:
- postbit
- postbit_classic
- header_welcomeblock_member
- usercp
- usercp_currentavatar
- member_profile
- headerinclude
- footer

I recommend you to edit MyBB Default theme and search for "plaza" in the templates I listed above and change the templates of the theme that needs to be changed according to what you have in MyBB Default theme templates.

Below is the postbit and postbit_classic change on installation. The donate and inventory module modified it if you have these modules activated.

postbit and postbit_class
Replace
Code:
{$post['user_details']}
With
Code:
{$post['user_details']}<br /><span class="smalltext"><a href="{$mybb->settings['bburl']}/plaza.php">{$lang->money}</a>: <span id="postmoney_{$post['pid']}">{$post['money']}</span></span><br />

Using WAMP or XAMPP
- If you don't have it, install XAMPP or WAMP.
- Go on the WWW folder and upload Mybb files.
- Install Mybb.
- Now you can install your theme.
- You are ready to install MyPlaza.
- Once you have done it, go to Templates & Themes.
- Click your theme and select export theme.
- Go to your web forum.
- Upload the XML file like a normal theme.
Now MyPlaza works perfectly.

Thanks, stuck the thread. This might stop a lot of help questions
thanks trinit.. but im using EasyPHP Smile light weight enough for me.. Smile
If you do not have problem i will translate to several languages and include in mybb translations forum
credits to you of course
Sure!
you put the postbit and postbit_classic , what about others ??
Quote:I recommend you to edit MyBB Default theme and search for "plaza" in the templates

Just see in the default templates
- postbit
- postbit_classic
- header_welcomeblock_member
- usercp
- usercp_currentavatar
- member_profile
- headerinclude
- footer

and copy the edits in your theme
But if you could provide the full code would be better Tongue I didn't provide because I am lazy lol
ah ok when i will come back xD
@Nervo
when i'm in marketplace (plaza.php) and wanna but an items, the ajax or maybe javascript won't work.. it's not showing anything.. but when i open the link in new tab, the right box appear (desc, buy button)..

any way to change how it work? maybe load in the same window and not using ajax or javascript..

where's the part to be edited?
Pages: 1 2