Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[MyBB] MyPlaza v0.5 (beta version)
Author Message
dared
Existential Entity

Posts: 10.4452
Threads: 0
Joined: 27th Nov 2007
Reputation: 0
E-Pigs: 0.5426
Offline
Post: #31
RE: [MyBB] MyPlaza v0.2 (preview version 3)
plugin gives stil an error..

PHP Code:
Parse error: parse error, unexpected '=', expecting ')' in /var/www/vhosts/forumsuzca.com/httpdocs/inc/plugins/myplaza/bank.php on line 364


the line 364 is:

PHP Code:
function bank_update_values($cur_amount = null, &$user = null)

28/11/2007 06:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Pirata Nervo
NervOS Developer

Posts: 699.4765
Threads: 39
Joined: 20th Jun 2007
Reputation: -0.79225
E-Pigs: 19.2466
Offline
Post: #32
RE: [MyBB] MyPlaza v0.2 (preview version 3)
i got that error on version 0.1, so please, redownload and reupload everything to your root.

@Zinga, i edited the file myplaza.php (admin dir) and i edited 4 functions inside of that file.
I added a comment:
// ****************************
// ADDED !!  ********************
// ****************************
above each line that i EDITED/ADDED.

Spoiler for edititem:

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
if($mybb->input['action'] == "edititem")
{
	if(!($iid = intval($mybb->input['iid'])))
		cperror($lang->invalid_item);
	
	$query = $db->simple_select(TABLE_PREFIX.'plaza_items', '*', "iid = $iid");
	if(!($item = $db->fetch_array($query)))
		cperror($lang->invalid_item);
	
	
	$itemdetails = array(
		$lang->edit_item_params => array(
			$lang->item_name => array(
				'name' => 'name',
				'value' => $item['name'],
				'type' => 'text'
			),
			/*'idname' => array(
				'name' => 'idname',
				'value' => '',
				'type' => 'text'
			),*/
			$lang->item_category => array(
				'name' => 'cid',
				'value' => $item['cid'],
				'type' => 'category'
			),
			$lang->item_icon => array(
				'name' => 'icon',
				'value' => $item['icon'],
				'type' => 'text'
			),
			$lang->item_format => array(
				'name' => 'format',
				'value' => $item['format'],
				'type' => 'text'
			),
			$lang->item_description => array(
				'name' => 'description',
				'value' => $item['description'],
				'type' => 'textarea'
			),
			// ****************************
			// ADDED !!  ********************
			// ****************************
			$lang->item_download => array(
				'name' => 'download',
				'value' => $item['download'],
				'type' => 'textarea'
			),
			// ****************************
			// ADDED !!  ********************
			// ****************************
			$lang->item_password => array(
				'name' => 'password',
				'value' => $item['password'],
				'type' => 'textarea'
			),
			$lang->item_showonstats => array(
				'name' => 'showonstats',
				'value' => $item['showonstats'],
				'type' => 'yesno'
			),
			$lang->item_disporder => array(
				'name' => 'disporder',
				'value' => $item['disporder'],
				'type' => 'text'
			),
			$lang->item_visible => array(
				'name' => 'visible',
				'value' => $item['visible'],
				'type' => 'yesno'
			),
			/*'includefile' => array(
				'name' => 'includefile',
				'value' => '',
				'type' => 'text'
			),*/
			$lang->item_htmlextra => array(
				'name' => 'htmlextra',
				'value' => $item['htmlextra'],
				'type' => 'textarea'
			),
		),
		
		$lang->edit_item_coststock => array(
			$lang->item_cost => array(
				'name' => 'cost',
				'value' => $item['cost'],
				'type' => 'text'
			),
			$lang->item_infstock => array(
				'name' => 'infstock',
				'value' => $item['infstock'],
				'type' => 'yesno'
			),
			$lang->item_stock => array(
				'name' => 'stock',
				'value' => calcStock($item['stockoffset'], $item['restockamount'], $item['restocktime']),
				'type' => 'text'
			),
			$lang->item_restockamount => array(
				'name' => 'restockamount',
				'value' => $item['restockamount'],
				'type' => 'text'
			),
			$lang->item_restocktime => array(
				'name' => 'restocktime',
				'value' => $item['restocktime'],
				'type' => 'text'
			),
			$lang->item_buylimitamount => array(
				'name' => 'buylimitamount',
				'value' => $item['buylimitamount'],
				'type' => 'text'
			),
			$lang->item_buylimittime => array(
				'name' => 'buylimittime',
				'value' => $item['buylimittime'],
				'type' => 'text'
			),
		),
	);
$plugins->run_hooks("myplaza_admin_edit_item_start");
	
	myplaza_cpheader_inputexpander_js();
	startform("myplaza.php", "", "do_edititem");
	makehiddencode('iid', $iid);
	
	/*eval('
		$item_eval_name = "'.$item['name'].'";
		$item_eval_desc = "'.$item['description'].'";
	');*/
	
	starttable();
	tableheader($lang->edit_item, "", 2);
	
	makehiddencode('referrer', REFERRER);
	print_form($itemdetails);
	
	endtable();
	
	endform($lang->submit_changes, $lang->reset_button);
	$plugins->run_hooks("myplaza_admin_edit_item_code_foot");
	cpfooter();
	exit;
}

Spoiler for do_edititem:

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
if($mybb->input['action'] == "do_edititem")
{
	if(!($iid = intval($mybb->input['iid'])))
		cperror($lang->invalid_item);
	
	$query = $db->simple_select(TABLE_PREFIX.'plaza_items', '*', "iid = $iid");
	if(!($item = $db->fetch_array($query)))
		cperror($lang->invalid_item);
	
	if(!($name = $mybb->input['name']))
		cperror($lang->no_name_supplied);
	
	$cid = intval($mybb->input['cid']);
	if(!($db->fetch_array($db->simple_select(TABLE_PREFIX.'plaza_cat', 'cid', "cid = $cid"))))
		$cid = 0;
	
	if($mybb->input['visible'] != 'no')
		$visible = 'yes';
	else
		$visible = 'no';
	
	// calculate stock
	$restockamount = intval($mybb->input['restockamount']);
	$restocktime = intval($mybb->input['restocktime']);
	$stockoffset = calcStockOffset(intval($mybb->input['stock']), $restockamount, $restocktime);
	
	$infstock = (($mybb->input['infstock'] == 'no') ? 'no' : 'yes');
	$showonstats = (($mybb->input['showonstats'] == 'no') ? 'no' : 'yes');
	$update_array = array(
		'name' => $db->escape_string($name),
		'cid' => $cid,
		'icon' => $db->escape_string($mybb->input['icon']),
		'format' => $db->escape_string($mybb->input['format']),
		'description' => $db->escape_string($mybb->input['description']),
		// ****************************
		// ADDED !!  ********************
		// ****************************
		'download' => $db->escape_string($mybb->input['download']),
		// ****************************
		// ADDED !!  ********************
		// ****************************
		'password' => $db->escape_string($mybb->input['password']),
		'showonstats' => $showonstats,
		'visible' => $visible,
		'htmlextra' => $db->escape_string($mybb->input['htmlextra']),
		'cost' => floatval($mybb->input['cost']),
		'infstock' => $infstock,
		'stockoffset' => $stockoffset,
		'restockamount' => $restockamount,
		'restocktime' => $restocktime,
		'buylimitamount' => intval($mybb->input['buylimitamount']),
		'buylimittime' => intval($mybb->input['buylimittime'])
	);
	
	if($d = intval($mybb->input['disporder']))
		$update_array['disporder'] = $d;
	
	$plugins->run_hooks("myplaza_admin_edit_item");
	$db->update_query(TABLE_PREFIX.'plaza_items', $update_array, "iid = $iid");
	
	if($mybb->input['referrer'])
		cpredirect($mybb->input['referrer'], $lang->category_added);
	else
		cpredirect('myplaza.php?'.SID.'&action=categories', $lang->item_updated);
}

Spoiler for do_additem:

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
if($mybb->input['action'] == 'additem' && $mybb->input['module'])
{
	// ATTN: Module Developers - please check the $mybb->input['module'] before
	//       placing your own code!
	$itemdetails = array(
		$lang->edit_item_params => array(
			$lang->item_name => array(
				'name' => 'name',
				'value' => '',
				'type' => 'text'
			),
			/*'idname' => array(
				'name' => 'idname',
				'value' => '',
				'type' => 'text'
			),*/
			$lang->item_category => array(
				'name' => 'cid',
				'value' => 0,
				'type' => 'category'
			),
			$lang->item_icon => array(
				'name' => 'icon',
				'value' => 'item.png',
				'type' => 'text'
			),
			$lang->item_format => array(
				'name' => 'format',
				'value' => '<span style=\'\'>{name}</span>',
				'type' => 'text'
			),
			$lang->item_description => array(
				'name' => 'description',
				'value' => '',
				'type' => 'textarea'
			),
			// ****************************
			// ADDED !!  ********************
			// ****************************
			$lang->item_download => array(
				'name' => 'download',
				'value' => '',
				'type' => 'textarea'
			),
			// ****************************
			// ADDED !!  ********************
			// ****************************
			$lang->item_password => array(
				'name' => 'password',
				'value' => '',
				'type' => 'textarea'
			),
			$lang->item_showonstats => array(
				'name' => 'showonstats',
				'value' => 'yes',
				'type' => 'yesno'
			),
			$lang->item_disporder => array(
				'name' => 'disporder',
				'value' => 1,
				'type' => 'text'
			),
			$lang->item_visible => array(
				'name' => 'visible',
				'value' => 'yes',
				'type' => 'yesno'
			),
			/*'includefile' => array(
				'name' => 'includefile',
				'value' => '',
				'type' => 'text'
			),*/
			$lang->item_htmlextra => array(
				'name' => 'htmlextra',
				'value' => '',
				'type' => 'textarea'
			),
		),
		
		$lang->edit_item_coststock => array(
			$lang->item_cost => array(
				'name' => 'cost',
				'value' => 0,
				'type' => 'text'
			),
			$lang->item_infstock => array(
				'name' => 'infstock',
				'value' => 'yes',
				'type' => 'yesno'
			),
			$lang->item_stock => array(
				'name' => 'stock',
				'value' => 0,
				'type' => 'text'
			),
			$lang->item_restockamount => array(
				'name' => 'restockamount',
				'value' => 0,
				'type' => 'text'
			),
			$lang->item_restocktime => array(
				'name' => 'restocktime',
				'value' => 0,
				'type' => 'text'
			),
			$lang->item_buylimitamount => array(
				'name' => 'buylimitamount',
				'value' => 0,
				'type' => 'text'
			),
			$lang->item_buylimittime => array(
				'name' => 'buylimittime',
				'value' => 0,
				'type' => 'text'
			),
		),
	);
	
	$plugins->run_hooks("myplaza_admin_add_item");
	// yes, this is only accessible through modules
	if(isset($tableheader))
	{
		myplaza_cpheader_inputexpander_js();
		startform("myplaza.php", "", "do_additem");
		makehiddencode('module', $mybb->input['module']);
		starttable();
		tableheader($tableheader, '', 2);
		
		makehiddencode('referrer', REFERRER);
		print_form($itemdetails);
		
		endtable();
		endform($lang->submit_changes, $lang->reset_button);
	}
}

Spoiler for additem:

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
if($mybb->input['action'] == 'do_additem' && $mybb->input['module'])
{
	// we'll do some escaping/handling, but otherwise
	// let modules handle everything
	if(isset($mybb->input['cid'])) $cid = intval($mybb->input['cid']);
	if($mybb->input['visible'] != 'no')
		$visible = 'yes';
	else
		$visible = 'no';
	// ****************************
	// ADDED !!  ******************** NOT NECESSARY I THINK
	// ****************************
	$download = intval($mybb->input['download']);
	// ****************************
	// ADDED !!  ******************** NOT NECESSARY I THINK
	// ****************************
	$password =intval($mybb->input['password']);
	$restockamount = intval($mybb->input['restockamount']);
	$restocktime = intval($mybb->input['restocktime']);
	$stockoffset = calcStockOffset(intval($mybb->input['stock']), $restockamount, $restocktime);
	
	$infstock = (($mybb->input['infstock'] == 'no') ? 'no' : 'yes');
	$showonstats = (($mybb->input['showonstats'] == 'no') ? 'no' : 'yes');
	
	$plugins->run_hooks("myplaza_admin_do_add_item");
}

that's what i edited in that file.

now, in inventory.php i edited this query: (line 770)
Spoiler:

PHP Code:
// get item info
$query = $db->simple_select(TABLE_PREFIX.'plaza_items i INNER JOIN '.TABLE_PREFIX.'plaza_inventory_items v ON i.iid=v.iid', 'i.iid,i.name,i.format,i.description,i.disporder,i.icon,i.cost,v.image,v.sellable', 'v.iid IN ('.implode(',',array_keys($useritems)).')', array('order_by' => 'i.disporder', 'order_dir' => 'ASC', 'limit_start' => ($page-1)*$perpage, 'limit' => $perpage));


to:

PHP Code:
1
2
3
4
5
6
7
8
9
10
// get item info
$query = $db->simple_select(TABLE_PREFIX.'plaza_items i INNER JOIN '.TABLE_PREFIX.'plaza_inventory_items v ON i.iid=v.iid', 'i.iid,i.name,i.format,i.description,
// ****************************
// ADDED !!  ********************
// ****************************
i.download,
// ****************************
// ADDED !!  ********************
// ****************************
i.password,i.disporder,i.icon,i.cost,v.image,v.sellable', 'v.iid IN ('.implode(',',array_keys($useritems)).')', array('order_by' => 'i.disporder', 'order_dir' => 'ASC', 'limit_start' => ($page-1)*$perpage, 'limit' => $perpage));

and in inventory_do_add_item() i edited this:
Spoiler:

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$item_array = array(
		'name' => $db->escape_string($name),
		'cid' => $cid,
		'icon' => $db->escape_string($mybb->input['icon']),
		'format' => $db->escape_string($mybb->input['format']),
		'description' => $db->escape_string($mybb->input['description']),
		'showonstats' => $showonstats,
		'visible' => $visible,
		'cost' => floatval($mybb->input['cost']),
		'infstock' => $infstock,
		'stockoffset' => $stockoffset,
		'restockamount' => $restockamount,
		'restocktime' => $restocktime,
		'buylimitamount' => intval($mybb->input['buylimitamount']),
		'buylimittime' => intval($mybb->input['buylimittime']),
		'disporder' => intval($mybb->input['disporder']),
		
		'includefile' => 'inventory',
		'idname' => 'inventory_item',
		'htmlextra' => ''
		//'htmlextra' => $db->escape_string('{$lang->qty}: <input type="text" name="qty" value="1" />')
	);


to:

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
	$item_array = array(
		'name' => $db->escape_string($name),
		'cid' => $cid,
		'icon' => $db->escape_string($mybb->input['icon']),
		'format' => $db->escape_string($mybb->input['format']),
		'description' => $db->escape_string($mybb->input['description']),
		// ****************************
		// ADDED !!  ********************
		// ****************************
		'download' => $db->escape_string($mybb->input['download']),
		// ****************************
		// ADDED !!  ********************
		// ****************************
		'password' => $db->escape_string($mybb->input['password']),
		'showonstats' => $showonstats,
		'visible' => $visible,
		'cost' => floatval($mybb->input['cost']),
		'infstock' => $infstock,
		'stockoffset' => $stockoffset,
		'restockamount' => $restockamount,
		'restocktime' => $restocktime,
		'buylimitamount' => intval($mybb->input['buylimitamount']),
		'buylimittime' => intval($mybb->input['buylimittime']),
		'disporder' => intval($mybb->input['disporder']),
		
		'includefile' => 'inventory',
		'idname' => 'inventory_item',
		'htmlextra' => ''
		//'htmlextra' => $db->escape_string('{$lang->qty}: <input type="text" name="qty" value="1" />')
	);

EDIT !! WORKING !! (i tested it again and i think what it got to work is this:
	
// ****************************
	
// ADDED !!  ******************** NOT NECESSARY I THINK
	
// ****************************
	
$download = intval($mybb»input['download']);
	
// ****************************
	
// ADDED !!  ******************** NOT NECESSARY I THINK
	
// ****************************
	
$password =intval($mybb»input['password']);

(This post was last modified: 28/11/2007 01:20 PM by Pirata Nervo.)
28/11/2007 11:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Online
Post: #33
RE: [MyBB] MyPlaza v0.2 (preview version 3)
dared Wrote:plugin gives stil an error..

PHP Code:
Parse error: parse error, unexpected '=', expecting ')' in /var/www/vhosts/forumsuzca.com/httpdocs/inc/plugins/myplaza/bank.php on line 364


the line 364 is:

PHP Code:
function bank_update_values($cur_amount = null, &$user = null)

I still don't get why PHP would do that...  try replacing "&$user = null" with "&$user".

@Pirata Nervo - what issue are you having then?  You need a module to hook into the correct place for the add-item part to work.
28/11/2007 08:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Eaglejack
Master of the Mach 5

Posts: 64.3200
Threads: 7
Joined: 24th Sep 2007
Reputation: 4.649
E-Pigs: 2.2000
Offline
Post: #34
RE: [MyBB] MyPlaza v0.2 (preview version 3)
Woah, this is weird!

[Image: revolverocelotsignm8.jpg]

[Image: obeycatdd2.gif]
28/11/2007 09:38 PM
Find all posts by this user Quote this message in a reply
dared
Existential Entity

Posts: 10.4452
Threads: 0
Joined: 27th Nov 2007
Reputation: 0
E-Pigs: 0.5426
Offline
Post: #35
RE: [MyBB] MyPlaza v0.2 (preview version 3)
thanks buddy its activated...  where is settings lan file? i can't found it. and some errors again
on plugin activation screen it gives this..

PHP Code:
Warning: myplaza_activate_plugin(): Unable to access /var/www/vhosts/forumsuzca.com/httpdocs/inc/myplaza/class_myplaza_am in /var/www/vhosts/forumsuzca.com/httpdocs/inc/myplaza/myplaza_functions.php on line 461

Warning: myplaza_activate_plugin(/var/www/vhosts/forumsuzca.com/httpdocs/inc/myplaza/class_myplaza_am): failed to open stream: No such file or directory in /var/www/vhosts/forumsuzca.com/httpdocs/inc/myplaza/myplaza_functions.php on line 461

Warning: myplaza_activate_plugin(): Failed opening '/var/www/vhosts/forumsuzca.com/httpdocs/inc/myplaza/class_myplaza_am' for inclusion (include_path='.:/usr/share/pear') in /var/www/vhosts/forumsuzca.com/httpdocs/inc/myplaza/myplaza_functions.php on line 461


and on boardname.com/plaza.php screen:

PHP Code:
Warning: Missing argument 2 for bank_update_values() in /var/www/vhosts/forumsuzca.com/httpdocs/inc/plugins/myplaza/bank.php on line 364

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/forumsuzca.com/httpdocs/inc/plugins/myplaza/bank.php:364) in /var/www/vhosts/forumsuzca.com/httpdocs/inc/functions.php on line 78

gives that error?

(This post was last modified: 29/11/2007 02:27 AM by dared.)
29/11/2007 01:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Pirata Nervo
NervOS Developer

Posts: 699.4765
Threads: 39
Joined: 20th Jun 2007
Reputation: -0.79225
E-Pigs: 19.2466
Offline
Post: #36
RE: [MyBB] MyPlaza v0.2 (preview version 3)
DARED ! download the latest version !!! you downloaded the first one, get the latest one, that's why you are getting so many errors, that one was fixed on the last version, at least i told zinga to fix..

@Zinga, oh my post wasn't edited when i edited it :s, well, i got it to work, everything is fine. I also changed the returned message and i changed the inventory_item template (or soemthign like that) to display the rar pass and the download links in your inventory, can i redistribute my modification to rockhead? (he is from my forum and he owns a forum too)

29/11/2007 02:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
dared
Existential Entity

Posts: 10.4452
Threads: 0
Joined: 27th Nov 2007
Reputation: 0
E-Pigs: 0.5426
Offline
Post: #37
RE: [MyBB] MyPlaza v0.2 (preview version 3)
oh i see :$ sorry about it :D i downloaded it from community.. i will try from here than.. thanks again..

but its still gives some errors on plaza.php page..

PHP Code:
Warning: Missing argument 2 for bank_update_values() in /var/www/vhosts/forumsuzca.com/httpdocs/inc/plugins/myplaza/bank.php on line 364

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/forumsuzca.com/httpdocs/inc/plugins/myplaza/bank.php:364) in /var/www/vhosts/forumsuzca.com/httpdocs/inc/functions.php on line 78

(This post was last modified: 29/11/2007 03:11 AM by dared.)
29/11/2007 02:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Pirata Nervo
NervOS Developer

Posts: 699.4765
Threads: 39
Joined: 20th Jun 2007
Reputation: -0.79225
E-Pigs: 19.2466
Offline
Post: #38
RE: [MyBB] MyPlaza v0.2 (preview version 3)
well, did you do what zigna said?

29/11/2007 03:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
dared
Existential Entity

Posts: 10.4452
Threads: 0
Joined: 27th Nov 2007
Reputation: 0
E-Pigs: 0.5426
Offline
Post: #39
RE: [MyBB] MyPlaza v0.2 (preview version 3)
ZiNgA BuRgA Wrote:I still don't get why PHP would do that...  try replacing "&$user = null" with "&$user".

plugin was not activated, yes i did this and than it works now... but it gives this error on domainname.com/plaza.php

Code:
Warning: Missing argument 2 for bank_update_values() in /var/www/vhosts/forumsuzca.com/httpdocs/inc/plugins/myplaza/bank.php on line 364

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/forumsuzca.com/httpdocs/inc/plugins/myplaza/bank.php:364) in /var/www/vhosts/forumsuzca.com/httpdocs/inc/functions.php on line 78 

29/11/2007 04:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Online
Post: #40
RE: [MyBB] MyPlaza v0.2 (preview version 3)
Try replacing the problematic line with this:

PHP Code:
function bank_update_values($cur_amount, &$user = null)


Dunno if that helps.  What version of PHP are you running?

29/11/2007 05:46 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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

 Quick Theme: