Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.1.x Mods

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-18-2010, 08:24 AM
redheadturkey redheadturkey is offline
Senior Member
 
Join Date: Jan 2010
Posts: 136
Gender: Female
Credits: 11,662
redheadturkey is on a distinguished road
Default Anna's Mods :)

This will be a thread where I share my new mods that I want to make avail for all :)

First is a mod to allow an image ( remotely hosted, you enter a url )for your profile ( I have one with an animated gif, so yes that works ^^ )


AVATAR MOD FOR PROFILE:



in account.php :

find:
PHP Code:
$query "SELECT * FROM ".$prefix."users WHERE username='$loggedinname'";
$result mysql_query($query);
$num mysql_numrows($result);

//Loop out code
$i=0;
while (
$i 1) {

$newmessagenotify=@mysql_result($result,$i,"newmessagenotify"); 
$website=@mysql_result($result,$i,"website");
$aim=@mysql_result($result,$i,"aim");
$yahoo=@mysql_result($result,$i,"yahoo");
$msn=@mysql_result($result,$i,"msn"); 
right at the end add:

PHP Code:
$avatar=@mysql_result($result,$i,"avatar"); 

find:


PHP Code:
</p>
  <
p>MSN Username
    <
input name='msn' type='text' id='msn' value='".$msn."'>
    <
input name='act' type='hidden' id='act' value='changesettings'>
</
p

right after add:

PHP Code:
<p>Avatar
     <
input name='avatar' type='text' id='avatar' value='".$avatar."'>


</
p

In accountpost.php find:

PHP Code:
$website $_POST["website"];
$website secure($website);

$aim $_POST["aim"];
$aim secure($aim);

$yim $_POST["yim"];
$yim secure($yim);

$msn $_POST["msn"];
$msn secure($msn); 
right at the end add:

PHP Code:
$avatar$_POST["avatar"];
$avatarsecure($avatar); 

then lower there:

PHP Code:
$query "UPDATE ".$prefix."users SET yahoo='".$yim."' WHERE username='".$loggedinname."'";
mysql_query($query);

$query "UPDATE ".$prefix."users SET msn='".$msn."' WHERE username='".$loggedinname."'";
mysql_query($query); 
Add at the end:

PHP Code:

$query 
"UPDATE ".$prefix."users SET avatar='".$avatar."' WHERE username='".$loggedinname."'";
mysql_query($query); 

in profile.php find:

PHP Code:
$usersname=@mysql_result($result,$i,"username");
    
$usergroup=@mysql_result($result,$i,"usergroup");
    
$website=@mysql_result($result,$i,"website");
    
$aim=@mysql_result($result,$i,"aim");
    
$yahoo=@mysql_result($result,$i,"yahoo");
    
$premium=@mysql_result($result,$i,"premium");
    
$membersince=@mysql_result($result,$i,"membersince");
    
$uid=@mysql_result($result,$i,"uid"); 
ADD at the end:

PHP Code:
    $avatar=@mysql_result($result,$i,"avatar"); 

Find :

PHP Code:
    $article_title $userdisp."'s Profile:";
    
$article_content "<b><u>".$lang_basic_info."".$usersname.":</u></b><br><br> 
ADD after that:

PHP Code:

        
<img src='".$avatar."' border=0 width='200' height ='200><br>
           <p></p> 

LAST thing!!

in SQL add to adopts_users a new field:

avatar varchar (120) utf8_general_ci NULL



I think that's all --- if not, let me know :) have fun and you can change the size allowed, etc !! I am not sure about how secure this is, so might want to either allow only certain members to do this--- or find a way to make it more secure -- that's something I am not sure how to do -- but you can do a lot with this!
Reply With Quote
  #2  
Old 10-18-2010, 11:04 AM
PokePets PokePets is offline
Premium Member
 
Join Date: Jun 2010
Posts: 228
Gender: Male
Credits: 22,545
PokePets
Default RE: Anna's Mods :)

Can you do this also in your functions.php ?
(more text for stupid limit x3;
-----------------------------------------------------------)
Reply With Quote
  #3  
Old 10-18-2010, 12:11 PM
redheadturkey redheadturkey is offline
Senior Member
 
Join Date: Jan 2010
Posts: 136
Gender: Female
Credits: 11,662
redheadturkey is on a distinguished road
Default RE: Anna's Mods :)

Quote:
Originally Posted by PokePets
Can you do this also in your functions.php ?
(more text for stupid limit x3;
-----------------------------------------------------------)

maybe...? not sure :)
Reply With Quote
  #4  
Old 10-19-2010, 05:44 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 491,650
Hall of Famer is on a distinguished road
Default RE: Anna's Mods :)

This one looks really great, thanks for the amazing script Anna. ^^

Also I saw you registered on PokeMansion, and I appreciate that. XD
Reply With Quote
  #5  
Old 10-19-2010, 09:40 AM
redheadturkey redheadturkey is offline
Senior Member
 
Join Date: Jan 2010
Posts: 136
Gender: Female
Credits: 11,662
redheadturkey is on a distinguished road
Default RE: Anna's Mods :)

Quote:
Originally Posted by Hall of Famer
This one looks really great, thanks for the amazing script Anna. ^^

Also I saw you registered on PokeMansion, and I appreciate that. XD
You're very welcome! :)

And yes I intend to play a lot there, as soon as I get Pantheras and the new Kritter Kingdom going---- they are like thisclose, and I am looking to open them today, just had to add a few more pets for us

I'll post banners you can use to link. and Ill be making forums too that we can use to have our members join each others to support one another :)

Thanks for all the wonderful mods guys, they are all very appreciated!!!
Reply With Quote
  #6  
Old 10-19-2010, 11:03 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 491,650
Hall of Famer is on a distinguished road
Default RE: Anna's Mods :)

Quote:
Originally Posted by redheadturkey
Quote:
Originally Posted by Hall of Famer
This one looks really great, thanks for the amazing script Anna. ^^

Also I saw you registered on PokeMansion, and I appreciate that. XD
You're very welcome! :)

And yes I intend to play a lot there, as soon as I get Pantheras and the new Kritter Kingdom going---- they are like thisclose, and I am looking to open them today, just had to add a few more pets for us

I'll post banners you can use to link. and Ill be making forums too that we can use to have our members join each others to support one another :)

Thanks for all the wonderful mods guys, they are all very appreciated!!!
Thanks for saying that Anna, I am glad you like it so far. Oh btw you were never on AIM/MSN before? XD
Reply With Quote
  #7  
Old 10-19-2010, 08:20 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 38,577
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default RE: Anna's Mods :)

Nice script Anna!! Yay more scripts! XD

We need more active scripters.
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
  #8  
Old 10-20-2010, 09:12 PM
redheadturkey redheadturkey is offline
Senior Member
 
Join Date: Jan 2010
Posts: 136
Gender: Female
Credits: 11,662
redheadturkey is on a distinguished road
Default RE: Anna's Mods :)

thanks!! We really do need more! :)


:D

And Pantheras is OPEN!! See the info on the Show Off section <3
Reply With Quote
  #9  
Old 11-04-2010, 06:36 AM
we are halloween we are halloween is offline
Member
 
Join Date: Sep 2010
Posts: 4
Credits: 1,016
we are halloween
Default RE: Anna's Mods :)

Thank you so much ~ this is very nifty and was easy to use!
Reply With Quote
  #10  
Old 11-04-2010, 06:45 PM
redheadturkey redheadturkey is offline
Senior Member
 
Join Date: Jan 2010
Posts: 136
Gender: Female
Credits: 11,662
redheadturkey is on a distinguished road
Default RE: Anna's Mods :)

Quote:
Originally Posted by we are halloween
Thank you so much ~ this is very nifty and was easy to use!
You're very welcome! :) Hope to soon see some more mods here!!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't install mods. Moontides Questions and Supports 0 06-17-2014 02:07 PM
Mods...? SilverDragonTears Feedback and Suggestions 8 08-18-2011 08:50 PM
Anna's New Mods -- UPDATED ! Mod added at the bottom! redheadturkey Mys v1.1.x Mods 17 01-17-2011 08:38 AM
New Mods soon .... redheadturkey Mys v1.1.x Mods 4 11-23-2010 05:27 AM


All times are GMT -5. The time now is 07:02 AM.

Currently Active Users: 872 (0 members and 872 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636