Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Addons/Mods Graveyard

Notices

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 04-01-2009, 02:15 AM
kisazeky kisazeky is offline
Member
 
Join Date: Mar 2009
Posts: 44
Credits: 22,628
kisazeky
Default Rename adoptables (Security issue fixed!)

Update: I fixed the "hacking" security issue, I think.

Step 1:

Download rename.php and rename2.php and put them in your main folder.

Step 2:

Add this link <a href='rename.php?id=$id'>Rename ".$name."</a> to myadoptables.php. Here is an example:

Find this line with ctrl + f.
PHP Code:
//Begin our content output... 
Directly below it is
PHP Code:
$article_content=$article_content."<p align='center'><b><u>".$name.":</u></b></p>
<p align='center'><img src='"
.$imageurl."' border='0'></p>
<b>Current level of "
.$name.": ".$currentlevel."<br></b><b>Total clicks on ".$name.": ".$totalclicks."<br></b>
<b>Clicks needed until LevelUP "
.$name.": ".$neededclicks."<br></b><br>
<a href='levelup.php?id="
.$id."'>Click Here to LevelUP ".$name.".</a>  (You can do this once per day)<br>
<a href='manage.php?id="
.$id."&action=bbcode'>Click Here to get BBCODEs for ".$name.".</a> <br>
<a href='manage.php?id="
.$id."&action=delete'>Click Here to Delete (Kill) ".$name.".</a> <br>
<a href='rename.php?id=
$id'>Rename ".$name.".</a> <br>"
:)

Now the pages have been updated to display general messages.
  #2  
Old 04-01-2009, 03:17 AM
Ashje Ashje is offline
Member
 
Join Date: Jan 2009
Posts: 179
Credits: 12,557
Ashje
Default RE: Rename adoptables (because we REALLY can't wait)

iluvu =)
  #3  
Old 04-01-2009, 05:26 AM
zhiichiro zhiichiro is offline
Member
 
Join Date: Mar 2009
Posts: 106
Credits: 13,422
zhiichiro
Default RE: Rename adoptables (because we REALLY can't wait)

i now have it
__________________
  #4  
Old 04-01-2009, 05:57 AM
gjac1 gjac1 is offline
Member
 
Join Date: Feb 2009
Posts: 101
Credits: 11,777
gjac1
Default RE: Rename adoptables (because we REALLY can't wait)

wow, thanks again for a great mod kisazeky :) , but where exactly do i add "rename.php?id=$id" ??

Can you help us all out with the shop mod though please ?? no-one can get it working :(
  #5  
Old 04-01-2009, 09:59 AM
rosepose rosepose is offline
Member
 
Join Date: Jan 2009
Posts: 127
Credits: 12,325
rosepose
Default RE: Rename adoptables (because we REALLY can't wait)

OH MY GOSH. You are officially a genius ><
  #6  
Old 04-01-2009, 10:06 AM
gjac1 gjac1 is offline
Member
 
Join Date: Feb 2009
Posts: 101
Credits: 11,777
gjac1
Default RE: Rename adoptables (because we REALLY can't wait)

rosepose, if you got it working, can you tell me where you added the link "rename.php?id=$id" please ??
  #7  
Old 04-01-2009, 03:35 PM
Rsmiley Rsmiley is offline
Member
 
Join Date: May 2008
Posts: 90
Credits: 5,189
Rsmiley
Default RE: Rename adoptables (because we REALLY can't wait)

In rename.php

Some of you might wanna change this...

PHP Code:
    if($name == ""){
    
$article_title "Oops";
    
$article_date date('Y-m-d');
    
$article_content "This Digimon does not exist.";
    }
    else if(
$owner != $username){
    
$article_title "Oops";
    
$article_date date('Y-m-d');
    
$article_content "You do not own this Digimon!";
    } 
Some might wanna change digimon to adopable or pet
  #8  
Old 04-01-2009, 04:10 PM
kisazeky kisazeky is offline
Member
 
Join Date: Mar 2009
Posts: 44
Credits: 22,628
kisazeky
Default RE: Rename adoptables (because we REALLY can't wait)

D'oh! Sorry. I changed it to display general messages.
  #9  
Old 04-01-2009, 06:12 PM
gjac1 gjac1 is offline
Member
 
Join Date: Feb 2009
Posts: 101
Credits: 11,777
gjac1
Default RE: Rename adoptables (Updated!!)

The link you say to add doesnt work, you need to add it like this :

<a href='rename.php?id=".$id."&action=rename'>Click Here to rename ".$name.".</a> <br>
  #10  
Old 04-01-2009, 06:15 PM
Killgore Killgore is offline
Member
 
Join Date: Dec 2008
Posts: 82
Credits: 10,761
Killgore is an unknown quantity at this point
Default RE: Rename adoptables (Updated!!)

You sir, are a genius!

EDIT: It works fine on my site, just the way it is, So maybe you didn't have something right in your script page?
Closed Thread


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
Mysidia Adoptables v1.3.4[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 77 08-20-2020 03:58 PM
Mysidia Adoptables v1.3.1[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 109 08-24-2012 05:50 AM
Mysidia Adoptables v1.3.0[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 180 04-01-2012 11:16 PM
Mysidia Adoptables v1.2.3[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 38 10-29-2011 01:26 PM
Opinions and Suggestions (Security issue inside) nobackseat Feedback and Suggestions 13 02-07-2011 01:17 AM


All times are GMT -5. The time now is 12:01 AM.

Currently Active Users: 873 (0 members and 873 guests)
Threads: 4,081, Posts: 32,029, 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