Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[MyBB] MyPlaza v0.5 (beta version)
Author Message
ZiNgA BuRgA
Smart Alternative

Posts: 17,024.1882
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1887
Offline
Post: #12
RE: [MyBB] MyPlaza (preview version)
Pirata Nervo Wrote:well I'm installing it and i noticed one thing in the readme:
Find:
makelabelcode($lang»reg_ip, $user[\'regip\']);
And it should be:
makelabelcode($lang»reg_ip, $user['regip']);
i had no problems finding it but, maybe some guys will have =/

the same happens with:
maketextareacode($lang»signature, "signature", \'\', 6, 50);
should be:
maketextareacode($lang»signature, "signature", '', 6, 50);
Oops.

Pirata Nervo Wrote:Ok, installed, but error when going to plaza.php:

Parse error: syntax error, unexpected T_STRING in /www/freeweb7.com/p/e/r/perfectpredicament/htdocs/forums/plaza.php(321) : eval()'d code on line 1

Warning: Cannot modify header information - headers already sent by (output started at /www/freeweb7.com/p/e/r/perfectpredicament/htdocs/forums/plaza.php(321) : eval()'d code:1) in /www/freeweb7.com/p/e/r/perfectpredicament/htdocs/forums/inc/functions.php on line 79

i can access everything but i see that error, also, i know how to add categories, but how do i add items??
Can't quite think of why, but trying changing line 321 to:

PHP Code:
eval('$ajaxerrmsg = "'.str_replace(array("\n", '"'), array('', '\\\\"'), $templates->get('plaza_buy_fail')).'";');

Tell me if that works.

You can't add items from the AdminCP.  I don't see how that makes sense... >_>
Items need to be added through modules.

Pirata Nervo Wrote:I also found an issue that you must fix:
When I went to plaze.php
i had 28.956,50 $, i deposited 20.000$ and then i went to plaza.php?action=page&p=bank (the bank) and then i Withdrawed 20.000$, i got the 20.000$ on my hand, but i still have 20.000$ in my bank lol. (i deposited the money using the ajax thing that you made, you can find it on the right side of the categories and items table.)
Didn't realize that.
Attached is a fixed bank module - you can just overwrite your current one - no need to deactivate it.

.php  bank.php (Size: 18.14 KB / Downloads: 178)
Will update the package at the top sometime.

Pirata Nervo Wrote:so, wee can't add items, i thought wee could, just like in inventory shop or downloads plugin.
so, i must finish my modification to inventory shop plugin...OR can you add that small feature? :)
This isn't an inventory shop.
I'm thinking about writing an Inventory module, however, it will never be a part of MyPlaza (since it really limits what MyPlaza can do, plus it doesn't make any sense to me).

Pirata Nervo Wrote:@Zinga, i finished my first module, however it doesn't display in the admin cp..=| i will pm you the code after you take a look at my posts here lol xD
Did you upload it to the correct location?  Should be under /inc/plugins/myplaza/
24/11/2007 07:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [MyBB] MyPlaza (preview version) - ZiNgA BuRgA - 24/11/2007 07:09 PM
Thread Revived!!! - Necro-Bot - 26/07/2009, 10:57 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: