Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
A quick Profile Add-on Modification
Like the title says, a quick Profile Add-on Modification.
What does that mean? I will show you how to make a new profile add-on, and make it work ;) Profile Add-on Includes:
Will Include:
Preview:] (Image is too large for page.) http://i43.tinypic.com/2s6sm5e.jpg First things first, whatever you want to add to your profile/account file, you MUST add to your database, and to do that, all you need to do, is come up with a name, and place into your 'adopts_user' table. For the sake of this tutorial, I will be showing you how to add a very simple 'about me' section to your profile. So go ahead and add this to your 'adopts_user' table: Code:
`aboutme` varchar(5000) NOT NULL, PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Now go to your accountpost.php file, and find where it says: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Note: it is not a quotation mark, it is a double tick ' and ' PHP Code:
PHP Code:
Go to your profile.php and find where it says: PHP Code:
PHP Code:
Next scroll down to where it says: PHP Code:
PHP Code:
|
#2
|
|||
|
|||
RE: A quick Profile Add-on Modification
Cool!
However, I am getting an error on the MySQL: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`aboutme` VARCHAR(5000) NOT NULL,' at line 2 |
#3
|
|||
|
|||
RE: A quick Profile Add-on Modification
Quick question. Do you have to add another ,'' at the end of :
mysql_query("INSERT INTO ".$prefix."users VALUES ('', '$username', '$pass1', '$email', '3', '1', '$date', '0', '')"); if you wanted to insert another profile field? |
#4
|
||||
|
||||
RE: A quick Profile Add-on Modification
Quote:
Quote:
|
#5
|
|||
|
|||
RE: A quick Profile Add-on Modification
Okay, just wanted to make sure :).
|
#6
|
||||
|
||||
RE: A quick Profile Add-on Modification
Quote:
Oh, if you have any suggestions for new modifications, or want something made for your site. Just drop me a PM =D |
#7
|
|||
|
|||
RE: A quick Profile Add-on Modification
it works fine, but if i add something it only sais on profile "about me:"
after that nothing.
__________________
Need coding help? send me a PM! :) |
#8
|
||||
|
||||
RE: A quick Profile Add-on Modification
Quote:
First check to make sure its even going into the database. |
#9
|
|||
|
|||
RE: A quick Profile Add-on Modification
I have do everything in instructions but profile is not looking like this
http://i43.tinypic.com/2s6sm5e.jpg And I already have this: `aboutme` varchar(5000) NOT NULL, from your other mod |
#10
|
||||
|
||||
RE: A quick Profile Add-on Modification
Quote:
Because without that, the profile will not look like its suppose to. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A modification | jcga1992 | Questions and Supports | 7 | 11-07-2011 03:31 PM |
Modification Dictionary | AlexC | Mys v1.2.x Mods | 2 | 07-05-2011 10:44 AM |
Modification Directory | Kaeliah | Mys v1.1.x Mods | 14 | 02-28-2011 06:14 PM |
Custom Profile Modification | Bloodrun | Mys v1.1.x Mods | 50 | 01-22-2011 10:17 PM |
Modification Out-Dated New one will be added. | Bloodrun | Addons/Mods Graveyard | 19 | 05-23-2009 02:52 AM |
What's New? |
What's Hot? |
What's Popular? |