Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#51
|
||||
|
||||
I'll just post what I have in my functions.php script
Code:
function secure($data, $key = NULL) { //This function performs security checks on all incoming form data if ($key === 'orderaid') { //var_dump($data); var_dump($key); die; foreach($data as $dataKey => $dataVal) { $data[$dataKey] = abs(intval($dataVal)); } //var_dump($data);die; return $data; } if(is_array($data)) { die("Hacking Attempt!"); } $data = htmlentities($data); $data = strip_tags($data, ''); return $data; } about line 23: Code:
$adopts->query('REPLACE INTO ' . $prefix . 'sort_adoptables (`user_id`, `adoptable_id`, `sorting_id`) VALUES ("' . addslashes($userID) . '", "' . addslashes($aid) . '", "' . addslashes($orderID) . '")'); |
#52
|
||||
|
||||
Well dude, just make a tiny bit of edit in your script and release the new Mod in Mys v1.3.x Addons/Mods subforum. That section needs some threads anyway.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#53
|
||||
|
||||
Something didn't work
Parse error: syntax error, unexpected '}' in /homepages/22/d355892482/htdocs/fabletopia/functions/functions.php on line 83 |
#54
|
||||
|
||||
Nevermind, just fixed an error, sometimes I just need to believe in myself :)
|
#55
|
||||
|
||||
I forgot to mention... if you do this with the newest script, when you click on someone's profile the tabs don't work :/
|
#56
|
|||
|
|||
I'll see what I can do about creating this mod for Mys 1.3
|
#57
|
||||
|
||||
Well Id say you take a look into it and see how difficult it is to convert the Mod to Mys v1.3.x compatible version. If it is too hard and will take days, then wait till you have more time.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#58
|
|||
|
|||
This script look's and sounds awsome, I would like to use it in v.1.3.1
I hope you modify the script.. so i can use it in v.1.3
__________________
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Fairy State" theme by Bobbybighoof (Mysidia 1.3.3) | bobbybig | Templates and Themes | 3 | 07-18-2018 07:54 PM |
Sort "myadopts" page | SilverDragonTears | Questions and Supports | 23 | 06-12-2017 06:39 PM |
Removing of prefix "class", "abstract", "interface" Suggestions | FounderSim | Suggestions and Feature Requests | 3 | 10-05-2014 06:35 PM |
Creating a "Faction" for adoptables/owned adoptables | Vaporman87 | Questions and Supports | 1 | 03-04-2014 04:38 PM |
Changing... or "masking" existing URLs | Vaporman87 | Questions and Supports | 7 | 03-03-2014 08:10 PM |
What's New? |
What's Hot? |
What's Popular? |