MyBB Community Forums

Full Version: MyPlaza "Download Links and Rar Password" Modification
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I did this modification, it took me some days and it works perfectly.

Warning:
Any issues caused by this modification are not Zinga Burga' fault.
You can use this modification for what you (example: freeware apps or games), i'm not responsible for the way you use it.

Features:
- Download links and rar password are inserted through admin cp.
- The way the items are shown on the inventory page is different now.
- Download links and rar password are shown on the inventory page.

Requirements:
- Mybb Forum System - http://www.mybboard.net
- MyPlaza plugin by Zinga Burga - http://endlessparadigm.com/forum/showthr...p?tid=5249
- Inventory module by Zinga Burga for MyPlaza - http://community.mybboard.net/showthread.php?tid=25974

Download link:
http://www.mediafire.com/?8qmlojf4ir2

Post questions here.

Credits:
- MyBB team - MyBB Forum System.
- Zinga Burga - MyPlaza plugin.
- Me - Modification.

Release thread on my site: (for questions)
http://consoleworld.net/forums/showthread.php?tid=1120
version 1.2.10 cannot use, i've tested. mysql problem
what does it say? it works on 1.2.9
database problem, opps currently have remove and don't copy the text. sorry
well i can't help you then.
Pirata Nervo Wrote:well i can't help you then.

ok i try to modified back and will tell you whats problem
after completed this i've got

MySQL error: 1074
Column length too big for column 'download' (max = 255); use BLOB or TEXT instead
Query: CREATE TABLE IF NOT EXISTS mybb_plaza_items ( iid smallint unsigned NOT NULL auto_increment, cid smallint(5) unsigned NOT NULL default '0', name varchar(120) NOT NULL default '', idname varchar(60) NOT NULL default '', icon varchar(120) NOT NULL default '', format varchar(120) NOT NULL default '{name}', description varchar(200) NOT NULL default '', download varchar(500) NOT NULL default '', password varchar(50) NOT NULL default '', visible char(3) NOT NULL default 'yes', disporder smallint unsigned NOT NULL default '1', cost decimal(16,2) NOT NULL default '0', stockoffset bigint(30) NOT NULL default '0', infstock char(3) NOT NULL default 'yes', buylimitamount int(5) NOT NULL default '0', buylimittime bigint(30) NOT NULL default '0', restockamount int(5) NOT NULL default '0', restocktime bigint(30) NOT NULL default '0', purchases int(10) unsigned NOT NULL default '0', showonstats char(3) NOT NULL default 'yes', htmlextra text NOT NULL, ajaxmethod tinyint(1) NOT NULL default '2', includefile varchar(100) NOT NULL default '', PRIMARY KEY (iid), KEY (cid), KEY (disporder) ) TYPE=MyISAM;
i've fix all ok just change this Column length too big for column 'download' (max = 255) on inc\myplaza\myplaza_functions.php
its really not work on 1.2.10, nothing change only can get in. but nothing change
it works on my forum o.O
that should not be a problem (the 255), i just need to change from varchar to text i guess but it works on mine, i didn't just ran the upgrade script because it doesn't work, i just see a blank page instead of the srcipt xD, when i get everything working i will try to fix this problem.

Anyway, try this:
download text(500) NOT NULL default '',

instead of:
download varchar(500) NOT NULL default '',

tell me if ir works or not please.
Pages: 1 2