The avatar settings page in the UCP isn't supposed to change, this MOD only adds a new tab called "Dynamic avatar", under which you can adjust the avatar (see the demo - username=ash, password=ketchum). Does that tab not appear?FB92 wrote:Everything on the installation and admin side works fine. Yet, it won't show up in the avatar page. I've set it to required - yet the normal avatar settings are the only things on the avatar settings page.
I'm working on adding a shop feature to this MOD, and will release a new version when it's doneDevilwillcry4you wrote:Looking great is there a shop that will go with this also?
Code: Select all
// Get the user's items
$sql = "SELECT *
FROM " . DYNAMO_USERS_TABLE . "
WHERE dynamo_user_id = $user_id";
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))
{
// Update the $layers array - current item
// If there is no data in the dynamo users table, set to 0
$layer_id = $row['dynamo_user_layer'];
$item_id = $row['dynamo_user_item'];
$layers[$layer_id]['current'] = $item_id;
}
// Create the template loops and stuff by looping through $layers
foreach ($layers as $layer_id => $layer_data)
{
//everything after this til the foreach tag is closed.
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_dynamo.php on line 235: Undefined index: current
[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_dynamo.php on line 237: Undefined index: default
[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_dynamo.php on line 243: Undefined index: position
[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_dynamo.php on line 252: Undefined index: name
[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_dynamo.php on line 253: Undefined index: desc
[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_dynamo.php on line 255: Undefined index: mandatory
[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_dynamo.php on line 245: Undefined index: items
[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_dynamo.php on line 255: Undefined index: mandatory
[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_dynamo.php on line 259: Undefined index: items
[phpBB Debug] PHP Warning: in file /includes/ucp/ucp_dynamo.php on line 259: Invalid argument supplied for foreach()
Code: Select all
Array ( [items] => Array ( [291] => Array ( [name] => Eyes Yellow [desc] => Yellow eyes [url] => ./images/dynamo/2-291.png ) [292]
x as many items as there are.
//everything after this til the foreach tag is closed.
? Is that just a comment you added yourself?You can test it out once the new version is released and report any issues you have If you have any experience with PHP and have a Github account, you can even open issues directly from the repository's issue tracker, or look through my commits and comment on them if you notice any issues.Devilwillcry4you wrote:Sounds great is there anything I can do to help?