• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Znote AAC 1.0

Itutorial

Board Moderator
Staff member
Board Moderator
Joined
Dec 23, 2014
Messages
2,462
Solutions
68
Reaction score
1,129
I am trying to change premium points to a different name. .How do I do this? I have everything changed to call values from the database, but it doesn't show anything. It just says, you have blank points

Also, It doesn't show premiumdays.

@Znote

bump
 
Last edited by a moderator:
I am trying to change premium points to a different name. .How do I do this? I have everything changed to call values from the database, but it doesn't show anything. It just says, you have blank points

Also, It doesn't show premiumdays.
Did you change the column names in the database?

The only thing you should change is what is printed to the screen, the column names or source code of Znote AAC should remain as is, because if you don't know what your doing you can break everything.
 
Well, I know a decent amount of PhP enough not to break anything. But there is a part in the my account file that says:

Code:
<p> echo You have <?php $user_data['points'] ?> points </p>

I changed the $user_data to what I selected for the new name (of course implemented in database) but its just blank there is nothing for then

$user_data['x']

So is there somewhere I need to make the sql query for my custom name for points

mysql_query("SELECT `x` FROM `znote_accounts` WHERE `name` = $user_data['name']");
 
Last edited by a moderator:
I wish I could help but since you changed the sources up a bit, there really isn't much anyone can do.
Might I suggest reinstalling the AAC and starting over, but this time you test every change you make :)
 
Well, even when I started it never showed the days or anything. It was just blank. No changes made.
 
Back
Top