Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Help to install Usergold3 on 7.02.06

Hi every one,

Im creating a website for mechanical engeering students, and I need some help to install Usergold3 on the website. The idea with usergold3, is to motivate the students to help each other.
It should cost points to download, and students should earn points when they write in the forum and submit a download.

I have tried to install Usergold3, but it went terribly wrong. Can any one please help us?

The website name is www.skole.eu5.org

/AK
Usergold3 - what is it?
Usergold 3, is a modifications/infusion, that allows users to obtain "gold" points, by submitting news, photos, downloads, writing in the forum, and etc. the obtained gold points can be used to download stuff on the website, and etc.. Its the administrator who decides wich actions cost point, and wich actions pay point.

Usergold 3 is no longer supported by its creator, thats why im asking for help here. You can read more on this website http://fusion.starglowone.eu/forum/viewforum.php?forum_id=114
Try tthis code for the user_gold/infusion.php

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright © 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| User Gold 3
| Copyright © 2007 - 2008 UG3 Developement Team
| http://www.starglowone.com/
+--------------------------------------------------------+
| Filename: infusion.php
| Author: UG3 Developement Team
+--------------------------------------------------------+
| This program is released as free software under the
| Stars Heaven Licence. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included licence.html.
| Removal of this copyright header is strictly
| prohibited without written permission
| from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION"wink) { die("Access Denied"wink; }

include INFUSIONS."user_gold/infusion_db.php";

// Check if locale file is available matching the current site locale setting.
if (file_exists(INFUSIONS."user_gold/locale/".$settings['locale']."/global.php"wink) {
// Load the locale file matching the current site locale setting.
include INFUSIONS."user_gold/locale/".$settings['locale']."/global.php";
} else {
// Load the infusion's default locale file.
include INFUSIONS."user_gold/locale/English/global.php";
}

if (file_exists(INFUSIONS."user_gold/locale/".$settings['locale']."/admin/upgrade.php"wink) {
include_once INFUSIONS."user_gold/locale/".$settings['locale']."/admin/upgrade.php";
} else {
include_once INFUSIONS."user_gold/locale/English/admin/upgrade.php";
}
// Infusion general information
$inf_title = $locale['urg_title'];
$inf_description = $locale['urg_desc'];
$inf_version = "3.0.4";
$inf_developer = $locale['urg_dev'];
$inf_email = "support@starglowone.com";
$inf_weburl = "http://www.starglowone.com";
$inf_folder = "user_gold";

// Delete any items not required here.
$inf_newtable[1] = DB_UG3." (
owner_id int(5) NOT NULL default '0',
cash decimal(9,2) NOT NULL default '0.00',
bank decimal(9,2) NOT NULL default '0.00',
interest varchar(100) NOT NULL,
karma int(10) NOT NULL default '0',
chips int(20) NOT NULL default '0',
steal varchar(10) NOT NULL,
username_color varchar(20) NOT NULL,
donated int(11) NOT NULL default '0',
ribbon smallint(5) NOT NULL default '0',
gamble varchar(10) NOT NULL,
userlevel varchar(100) NOT NULL default '".$ug3_upgrade['change_me']."',
PRIMARY KEY (owner_id),
UNIQUE KEY owner_id (owner_id)
) ENGINE=MyISAM;";


$inf_newtable[2] = DB_UG3_CATEGORIES." (
cat_id mediumint(8) unsigned NOT NULL auto_increment,
cat_name varchar(100) NOT NULL,
cat_image varchar(100) NOT NULL default 'blank.gif',
cat_description varchar(100) NOT NULL,
cat_sorting varchar(100) NOT NULL default 'price',
cat_access tinyint(3) unsigned NOT NULL default '101',
PRIMARY KEY (cat_id)
) ENGINE=MyISAM;";

$inf_newtable[3] = DB_UG3_INVENTORY." (
id int(10) unsigned NOT NULL auto_increment,
ownerid int(10) unsigned NOT NULL,
itemid int(10) unsigned NOT NULL,
itemname varchar(100) NOT NULL,
amtpaid decimal(8,2) unsigned NOT NULL default '0.00',
trading tinyint(1) unsigned NOT NULL,
tradecost decimal(8,2) NOT NULL,
PRIMARY KEY (id)
) ENGINE=MyISAM;";

$inf_newtable[4] = DB_UG3_SETTINGS." (
name varchar(100) NOT NULL,
value text NOT NULL,
description text NOT NULL,
PRIMARY KEY (name),
UNIQUE KEY name (name)
) ENGINE=MyISAM;";

$inf_newtable[5] = DB_UG3_USAGE." (
id int(5) NOT NULL auto_increment,
name varchar(100) NOT NULL,
description tinytext NOT NULL,
purchase enum('0','1'wink NOT NULL default '0',
cost decimal(9,2) NOT NULL,
stock varchar(100) NOT NULL,
image varchar(255) NOT NULL default 'blank.gif',
category int(5) NOT NULL default '0',
active enum('0','1'wink NOT NULL default '0',
PRIMARY KEY (id),
UNIQUE KEY name (name)
) ENGINE=MyISAM;";

$inf_newtable[6] = DB_UG3_TRANSACTIONS." (
transaction_id mediumint(8) NOT NULL auto_increment,
transaction_user_id mediumint(5) NOT NULL default '0',
transaction_status tinyint(1) NOT NULL default '0',
transaction_type varchar(50) NOT NULL default '',
transaction_value int(10) NOT NULL default '0',
transaction_timestamp timestamp NOT NULL default CURRENT_TIMESTAMP,
PRIMARY KEY (transaction_id)
) ENGINE=MyISAM;";

$inf_insertdbrow[1] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_REGISTER', '100', '".$ug3_upgrade['UGLD_REGISTER']."'wink";
$inf_insertdbrow[2] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('USERGOLD', '1', '".$ug3_upgrade['USERGOLD']."'wink";
$inf_insertdbrow[3] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_TEMPLATE', 'default', '".$ug3_upgrade['UGLD_TEMPLATE']."'wink";
$inf_insertdbrow[4] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_CURRENCY_PREFIX', '$', '".$ug3_upgrade['UGLD_CURRENCY_PREFIX']."'wink";
$inf_insertdbrow[5] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_CURRENCY_SUFFIX', '', '".$ug3_upgrade['UGLD_CURRENCY_SUFFIX']."'wink";
$inf_insertdbrow[6] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_DECIMAL', '2', '".$ug3_upgrade['UGLD_DECIMAL']."'wink";
$inf_insertdbrow[7] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_DECPOINT', '.', '".$ug3_upgrade['UGLD_DECPOINT']."'wink";
$inf_insertdbrow[8] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_THOUSANDS', ',', '".$ug3_upgrade['UGLD_THOUSANDS']."'wink";
$inf_insertdbrow[9] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_BANK_ENABLED', '1', '".$ug3_upgrade['UGLD_BANK_ENABLED']."'wink";
$inf_insertdbrow[10] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_BANK_NAME', 'User Gold 3 Bank', '".$ug3_upgrade['UGLD_BANK_NAME']."'wink";
$inf_insertdbrow[11] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_BANK_INTEREST', '10', '".$ug3_upgrade['UGLD_BANK_INTEREST']."'wink";
$inf_insertdbrow[12] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_DISPLAY_USAGE_INDEX', '0', '".$ug3_upgrade['UGLD_DISPLAY_USAGE_INDEX']."'wink";
$inf_insertdbrow[13] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_VISABLE_COPY', '0', '".$ug3_upgrade['UGLD_VISABLE_COPY']."'wink";
$inf_insertdbrow[14] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_SELFDONATE_ALLOW', '50','".$ug3_upgrade['UGLD_SELFDONATE_ALLOW']."'wink";
$inf_insertdbrow[15] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_SELFDONATE_MIN', '1', '".$ug3_upgrade['UGLD_SELFDONATE_MIN']."'wink";
$inf_insertdbrow[16] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_SELFDONATE_MAX', '100', '".$ug3_upgrade['UGLD_SELFDONATE_MAX']."'wink";
$inf_insertdbrow[17] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_GOLDTEXT', 'Dollars', '".$ug3_upgrade['UGLD_GOLDTEXT']."'wink";
$inf_insertdbrow[18] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_BANK_DEPOSIT_MIN', '100', '".$ug3_upgrade['UGLD_BANK_DEPOSIT_MIN']."'wink";
$inf_insertdbrow[19] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_BANK_WITHDRAW_MIN', '50', '".$ug3_upgrade['UGLD_BANK_WITHDRAW_MIN']."'wink";
$inf_insertdbrow[20] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_IMAGE_HEIGHT', '50','".$ug3_upgrade['UGLD_IMAGE_HEIGHT']."'wink";
$inf_insertdbrow[21] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_IMAGE_WIDTH', '50','".$ug3_upgrade['UGLD_IMAGE_WIDTH']."'wink";
$inf_insertdbrow[22] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLD_KARMA', '0','".$ug3_upgrade['GLD_KARMA']."'wink";
$inf_insertdbrow[23] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLD_STEAL', '1','".$ug3_upgrade['GLD_STEAL']."'wink";
$inf_insertdbrow[24] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLD_STEAL_BUY', '2000','".$ug3_upgrade['GLD_STEAL_BUY']."'wink";
$inf_insertdbrow[25] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLD_FORUM_ADD_POSTS', '0','".$ug3_upgrade['GLD_FORUM_ADD_POSTS']."'wink";
$inf_insertdbrow[26] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLD_FORUM_ADD_POSTS_COST', '10','".$ug3_upgrade['GLD_FORUM_ADD_POSTS_COST']."'wink";
$inf_insertdbrow[27] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLD_FORUM_ADD_POSTS_PERCENT', '10','".$ug3_upgrade['GLD_FORUM_ADD_POSTS_PERCENT']."'wink";
$inf_insertdbrow[28] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLD_GAMBLE', '1','".$ug3_upgrade['GLD_GAMBLE']."'wink";
$inf_insertdbrow[29] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLD_JOINED', '100','".$ug3_upgrade['GLD_JOINED']."'wink";
$inf_insertdbrow[30] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLD_CRIME', '0','".$ug3_upgrade['GLD_CRIME']."'wink";
$inf_insertdbrow[31] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_GAMBLE_LOW', '50000','".$ug3_upgrade['UGLD_GAMBLE_LOW']."'wink";
$inf_insertdbrow[32] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_GAMBLE_HIGH', '100000','".$ug3_upgrade['UGLD_GAMBLE_HIGH']."'wink";
$inf_insertdbrow[33] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_GAMBLE_ALLOW', '100000','".$ug3_upgrade['UGLD_GAMBLE_ALLOW']."'wink";
$inf_insertdbrow[34] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_DONATE_RIBBON', '999999999','".$ug3_upgrade['UGLD_DONATE_RIBBON']."'wink";
$inf_insertdbrow[35] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_USERLEVEL_DISALLOW', '', '".$ug3_upgrade['UGLD_USERLEVEL_DISALLOW']."'wink";
$inf_insertdbrow[36] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_WELCOME_PM', '1', '".$ug3_upgrade['UGLD_WELCOME_PM']."'wink";
$inf_insertdbrow[37] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_WELCOME_PM_SUBJECT', '".$ug3_upgrade['welcome_to']." ".$settings['sitename']."!', '".$ug3_upgrade['UGLD_WELCOME_PM_SUBJECT']."'wink";
$inf_insertdbrow[38] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('UGLD_WELCOME_PM_MESSAGE', '".$ug3_upgrade['hello']." %s! <br />', '".$ug3_upgrade['UGLD_WELCOME_PM_MESSAGE']."'wink";

//v3.0.4 START
$inf_insertdbrow[39] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLDGAME_MDMR_NEW', '20','".$ug3_upgrade['GLDGAME_MDMR_NEW']."'wink";
$inf_insertdbrow[40] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLDGAME_MDMR_WON', '50','".$ug3_upgrade['GLDGAME_MDMR_WON']."'wink";
$inf_insertdbrow[41] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLDGAME_CNGE_WON', '1.5','".$ug3_upgrade['GLDGAME_CNGE_WON']."'wink";
$inf_insertdbrow[42] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLDGAME_SELO_NEW', '20','".$ug3_upgrade['GLDGAME_SELO_NEW']."'wink";
$inf_insertdbrow[43] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLDGAME_SELO_WON_4', '2000','".$ug3_upgrade['GLDGAME_SELO_WON_4']."'wink";
$inf_insertdbrow[44] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLDGAME_SELO_WON_5', '10000', '".$ug3_upgrade['GLDGAME_SELO_WON_5']."'wink";
$inf_insertdbrow[45] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLDGAME_SELO_WON_6', '2000', '".$ug3_upgrade['GLDGAME_SELO_WON_6']."'wink";
$inf_insertdbrow[46] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLDGAME_BLGE', '0.5', '".$ug3_upgrade['GLDGAME_BLGE']."'wink";
$inf_insertdbrow[47] = DB_UG3_SETTINGS." ( name, value, description ) VALUES ('GLDGAME_SNAKE', '5', '".$ug3_upgrade['GLDGAME_SNAKE']."'wink";
//v3.0.4 END

$inf_insertdbrow[48] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (1, 'GLD_FORUM_QUICK_REPLY', '".$ug3_upgrade['GLD_FORUM_QUICK_REPLY']."', '0', 5.00, '', 'blank.gif', '1', '1'wink";
$inf_insertdbrow[49] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (2, 'GLD_FORUM_POST_REPLY', '".$ug3_upgrade['GLD_FORUM_POST_REPLY']."', '0', 10.00, '', 'blank.gif', '1', '1'wink";
$inf_insertdbrow[50] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (3, 'GLD_FORUM_NEW_THREAD', '".$ug3_upgrade['GLD_FORUM_NEW_THREAD']."', '0', 20.00, '', 'blank.gif', '1', '1'wink";
$inf_insertdbrow[51] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (4, 'GLD_FORUM_ATTACHMENT', '".$ug3_upgrade['GLD_FORUM_ATTACHMENT']."', '0', 10.00, '', 'blank.gif', '1', '1'wink";
$inf_insertdbrow[52] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (5, 'GLD_FORUM_SIG', '".$ug3_upgrade['GLD_FORUM_SIG']."', '1', 1000.00, '1000', 'user_signature.gif', '1', '1'wink";
$inf_insertdbrow[53] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (6, 'GLD_AVATAR', '".$ug3_upgrade['GLD_AVATAR']."', '1', 1000.00, '983', 'user_avatar.gif', '1', '1'wink";
$inf_insertdbrow[54] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (7, 'GLD_THEME_SELECT', '".$ug3_upgrade['GLD_THEME_SELECT']."', '1', 200.00, '1000', 'user_themes.gif', '1', '1'wink";
$inf_insertdbrow[55] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (8, 'GLD_USERNAME_COLOR', '".$ug3_upgrade['GLD_USERNAME_COLOR']."', '1', 1000.00, '1000', 'username_color.gif', '2', '1'wink";
$inf_insertdbrow[56] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (9, 'GLD_USERNAME_BLINK', '".$ug3_upgrade['GLD_USERNAME_BLINK']."', '1', 1000.00, '1000', 'username_blink.gif', '2', '1'wink";
$inf_insertdbrow[57] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (10, 'GLD_USERNAME_BOLD', '".$ug3_upgrade['GLD_USERNAME_BOLD']."', '1', 1000.00, '1000', 'username_bold.gif', '2', '1'wink";
$inf_insertdbrow[58] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (11, 'GLD_USERNAME_ITALIC', '".$ug3_upgrade['GLD_USERNAME_ITALIC']."', '1', 1000.00, '1000', 'username_italic.gif', '2', '1'wink";
$inf_insertdbrow[59] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (12, 'GLD_USERNAMESTRIKE', '".$ug3_upgrade['GLD_USERNAME_STRIKE']."', '1', 1000.00, '1000', 'username_strike.gif', '2', '1'wink";
$inf_insertdbrow[60] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (13, 'GLD_USERLEVEL', '".$ug3_upgrade['GLD_USERLEVEL']."', '1', 100000.00, '1000', 'userlevel.gif', '1', '1'wink";
$inf_insertdbrow[61] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (14, 'GLD_BANK_ACCOUNT', '".$ug3_upgrade['GLD_BANK_ACCOUNT']."', '1', 200.00, '1000', 'bank_account.gif', '1', '1'wink";
$inf_insertdbrow[62] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (15, 'GLD_USERNAME_BLINK_BLOCK', '".$ug3_upgrade['GLD_USERNAME_BLINK_BLOCK']."', '1', 200.00, '1000', 'blink_block.gif', '2', '1'wink";
$inf_insertdbrow[63] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (16, 'GLD_FORUM_POLL', '".$ug3_upgrade['GLD_FORUM_POLL']."', '0', 5.00, '', 'blank.gif', '1', '1'wink";
$inf_insertdbrow[64] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (17, 'GLD_FORUM_POLL_VOTE', '".$ug3_upgrade['GLD_FORUM_POLL_VOTE']."', '0', 2.50, '', 'blank.gif', '1', '1'wink";
$inf_insertdbrow[65] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (18, 'GLD_WEBLINK_SUBMIT', '".$ug3_upgrade['GLD_WEBLINK_SUBMIT']."', '0', 5.00, '', 'blank.gif', '1', '1'wink";
$inf_insertdbrow[66] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (19, 'GLD_NEWS_SUBMIT', '".$ug3_upgrade['GLD_NEWS_SUBMIT']."', '0', 20.00, '', 'blank.gif', '1', '1'wink";
$inf_insertdbrow[67] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (20, 'GLD_ARTICLE_SUBMIT', '".$ug3_upgrade['GLD_ARTICLE_SUBMIT']."', '0', 20.00, '', 'blank.gif', '1', '1'wink";
$inf_insertdbrow[68] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (21, 'GLD_PHOTO_SUBMIT', '".$ug3_upgrade['GLD_PHOTO_SUBMIT']."', '0', 5.00, '', 'blank.gif', '1', '1'wink";
$inf_insertdbrow[69] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (22, 'GLD_SHOUTBOX', '".$ug3_upgrade['GLD_SHOUTBOX']."', '0', 2.00, '', 'blank.gif', '1', '1'wink";
$inf_insertdbrow[70] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (23, 'GLD_COMMENT', '".$ug3_upgrade['GLD_COMMENT']."', '0', 2.00, '', 'blank.gif', '1', '1'wink";
$inf_insertdbrow[71] = DB_UG3_USAGE." ( id, name, description, purchase, cost, stock, image, category, active ) VALUES (24, 'GLD_RATING', '".$ug3_upgrade['GLD_RATING']."', '0', 2.00, '', 'blank.gif', '1', '1'wink";

$inf_insertdbrow[72] = DB_UG3_CATEGORIES." ( cat_id, cat_name, cat_image, cat_description, cat_sorting, cat_access ) VALUES ( 1, '".$ug3_upgrade['USER_GOLD_3_CAT_TITLE']."', 'cat_usergold.gif', '".$ug3_upgrade['USER_GOLD_3_CAT_DESC']."', 'price', '101'wink";
$inf_insertdbrow[73] = DB_UG3_CATEGORIES." ( cat_id, cat_name, cat_image, cat_description, cat_sorting, cat_access ) VALUES ( 2, '".$ug3_upgrade['USERNAME_CAT_TITLE']."', 'cat_username.gif', '".$ug3_upgrade['USERNAME_CAT_DESC']."', 'price', '101'wink";

$inf_droptable[1] = DB_UG3;
$inf_droptable[2] = DB_UG3_INVENTORY;
$inf_droptable[3] = DB_UG3_SETTINGS;
$inf_droptable[4] = DB_UG3_USAGE;
$inf_droptable[5] = DB_UG3_CATEGORIES;
$inf_droptable[6] = DB_UG3_TRANSACTIONS;

$inf_adminpanel[1] = array(
"title" => $locale['urg_admin1'],
"image" => "user_gold.gif",
"panel" => "admin/index.php",
"rights" => "UG3"
);

$inf_sitelink[1] = array(
"title" => $locale['urg_link1'],
"url" => "index.php",
"visibility" => "101"
);

?>[/syntaxhighlighter]
Wow. Many many thanks for your replay :)

When I go trrough this guide http://fusion.starglowone.eu/dlds/documents/User_Gold_3.0.4_MODs_Public_Edition_-_Read_Me_-_Rev_1_-_v4_-_English_Edition.html
There is some codes that I have to write and/or replace. But I cant find those lines.
f.ex.

Quote

File: edit_profile.php
Find:
echo "<td class='tbl'><input type='text' name='user_name' value='".$user_data['user_name']."' maxlength='30' class='textbox' style='width:200px;' /></td>\n";


I cant find that line, and other lines.
And I cant find this file

Quote

administration/shoutbox.php
Thats because php-fusion is quite changed since i stopped coding for it. You have to look for similar lines and test.
I have recieved your email, and replayed :)
I have changed the Maincore and Infusion files,. I havent modded any files yet.

Currently the system seems to work :)

I have those errors.


Quote

templates/footer.php
Undefined index: err_101 Line: 95 March 14 2013 06:59:16

user_gold/index.php
Undefined index: cash Line: 44 March 14 2013 06:57:10

user_gold/index.php
Undefined index: cash Line: 55 March 14 2013 06:57:10

inc/donate.inc.php
Undefined index: cash Line: 240 March 14 2013 06:57:10

user_gold/index.php
Undefined index: cash Line: 35 March 14 2013 06:57:00

inc/panels.inc.php
Undefined index: cash Line: 33 March 14 2013 06:56:43

inc/functions.php
number_format() expects parameter 1 to be double, string given Line: 287 March 14 2013 06:56:43

inc/panels.inc.php
Undefined index: bank Line: 34 March 14 2013 06:56:43

inc/panels.inc.php
Undefined index: karma Line: 35 March 14 2013 06:56:43

inc/panels.inc.php
Undefined index: chips Line: 36 March 14 2013 06:56:43

inc/panels.inc.php
Undefined index: owner_id Line: 37 March 14 2013 06:56:43

admin/configuration.php
Undefined index: urg_a_config_187 Line: 49 March 14 2013 06:54:47

admin/configuration.php
Undefined index: pre Line: 115 March 14 2013 06:54:47

admin/configuration.php
Undefined index: pre Line: 125 March 14 2013 06:54:47

admin/usage.php
Undefined index: category Line: 161 March 14 2013 06:53:40

admin/usage.php
Undefined index: cat_image Line: 226 March 14 2013 06:53:40

inc/functions.php
Function eregi_replace() is deprecated Line: 45 March 14 2013 06:53:27

inc/functions.php
Function eregi_replace() is deprecated Line: 53 March 14 2013 06:53:27

inc/functions.php
Use of undefined constant UGLD_TEMPLATE - assumed 'UGLD_TEMPLATE' Line: 113


Do you need more detailes about the errors?
Any update on this? I'm trying to get it to work on my website. Currently running v7.02.06
Thread Information
Author
Replies
9 posts
Views
3,229 times
Last Post
Last updated on 3 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: StarglowOne, jikaka, AK, thedjd