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

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2009, 09:25 PM
aroymart aroymart is offline
Member
 
Join Date: Jan 2009
Posts: 74
Credits: 7,579
aroymart
Angry warning system

ok, before you post this isn't anything like bloodruns user warning script (which looks amazing)

this is a warning script for deleting adoptables

1. put

<script type="text/javascript">
<!--
function kill() {
var answer = confirm("kill him?") //you can change whats in the " " to whatever you want
if (answer){
alert("you pressed ok") //you can change whats in " " to whatever you want
window.location = 'myadopts.php?act=kill&id=<?php echo $id ?>&more=confirm';
}
else{
alert("Thanks for not killing him!")///you can change whats in " " to whatever you want
}
}
//-->
</script>

at the bottem (after everything)


2. press ctrl-F and search for <a href='myadopts.php?act=kill&id=".$id."&more=confir m'>
change it to <a onclick='kill()'>
Reply With Quote
  #2  
Old 09-15-2009, 05:56 PM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 35,934
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: warning system

Looking good man.
Reply With Quote
  #3  
Old 09-15-2009, 08:27 PM
aroymart aroymart is offline
Member
 
Join Date: Jan 2009
Posts: 74
Credits: 7,579
aroymart
Default RE: warning system

thank you :D, this is my first mod
Reply With Quote
  #4  
Old 11-26-2009, 12:17 AM
davidlyme davidlyme is offline
Member
 
Join Date: Nov 2009
Posts: 3
Credits: 845
davidlyme
Default RE: warning system

How can i read your warning script?
I wouldn't understand what you written here.
Can you explain it?
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
Warning Messages (more) Abronsyth Questions and Supports 4 10-04-2014 07:40 PM
Warning At Top of Site Abronsyth Questions and Supports 1 07-14-2014 12:53 AM
Trojan Warning densaugeo Questions and Supports 18 10-12-2009 12:17 AM
Reporting and warning eaglelegend Suggestions and Feature Requests 6 05-01-2009 02:37 PM


All times are GMT -5. The time now is 09:43 PM.

Currently Active Users: 708 (0 members and 708 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