Jump to content
MakeWebGames

Uridium

Members
  • Posts

    2,667
  • Joined

  • Last visited

  • Days Won

    75

Everything posted by Uridium

  1. Re: Item Type Upgrade Sorry about that guys just after I posted the screen shots i had to leave and never got chance to post the coding..The above code was for the Delete but without the Drop down option. The below code Adds the drop down option.. Firstly open staff_items.php Find this line. should be around Line 15 if you havent added any extras..   Then add this line below it. (If the above line ends with "; on yours Delete it.)   case 'remitemtype' : rem_item_type(); break; //Function Edit for Item Type by illusions   Look for these codes should be near bottom of page   Then Add this before it   function rem_item_type() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 2) { die("403"); } if($_POST['remname']) { $d=$db->query("SELECT * FROM itemtypes WHERE itmtypename='{$_POST['remname']}'"); while($a=mysql_fetch_array($d)) { $db->query("DELETE FROM itemtypes WHERE itmtypeid='{$a['itmtypeid']}'"); print "Item Type <font size='4'>[b]{$_POST['remname']}[/b]</font> Was Succesxfully Removed."; } stafflog_add("Removed item type {$_POST['remname']}"); print "<h3>Remove Another Item Type ?</h3><hr /> Currently Available Item Types: ".itemtype_dropdown($c,'itmtype',$itemi['itmtype'])." <form action='staff_items.php?action=remitemtype' method='post'> Type In Item Name You WIsh To Delete: <input type='text' name='remname' /> <input type='submit' value='Remove This Item Type' /></form> "; } else { print "<h3>Remove Item Type Use Drop Down to View Current Items</h3><hr /> Currently Available Item Types: ".itemtype_dropdown($c,'itmtype',$itemi['itmtype'])." <form action='staff_items.php?action=remitemtype' method='post'> Type In Item Name You WIsh To Delete: <input type='text' name='remname' /> <input type='submit' value='Remove This Item Type' /></form> ";   Now open up ssmenu.php and on line 44 look for this statement.   Again yours may have then "; at the end so delete them and add this line.   > [url='staff_items.php?action=remitemtype']Delete Item Type[/url] ";   Upload both to your server and your ready to Go Sorry about the delay in posting this.. Illusions
  2. Re: updated login.php That looks better Not there was anything wrong with your last attempt. One thing i would do though as a bit of advice is on the Reg page try to centralise it as its too far left.. try changing the % to about %100 for both tables then use the <center> command
  3. Re: Edit Item Type Code Solved Actually lol im already in the process of doing that one lol May also include an Add Picture to Item Type aswell now that ive got the Picture one solved from this post http://criminalexistence.com/ceforums/index.php?topic=18505.0
  4. Re: Edit Item Type Code Solved Id like some feed back on this as its my First attempt at solving anything on the MCC. If anyone received error messages whilst applynig the above code and so on. I tested it on Firefox and IE and it worked fine for me.
  5. Here are a few Shots of the Staff Area on V2 for Adding/Deleting Item Types Which Ive upgraded... Image 1: Image 2: Image 3:
  6. Re: Mccodes V2 Normal Bank.php NO FEES! I dont understand why they had the silly thing in the first place i mean putting money into the bank should be free anyway and its not as though the game is actually using the Pad Addon they are just being ripped off .
  7. Re: Edit Item Type Code Solved Bump
  8. Ok so ive been banging my brains for days trying to solve this thing and finally I managed it :) Firstly open up smenu.php Just After this line   Add remove the "; before Adding next line   Then Open Your staff_items.php Look for   Then Add This Line Underneath it.   Then just before   Add this Coding   so that the Bottom final part looks like   You can Now Delete Item Types from the game without going into phpmyadmin..
  9. Re: Header.php [New/Imrpoved] YEP im using your Menu system on mine and i likessss it a lot ;) Now pass me a beer ;) lol
  10. Re: Header.php [New/More Imrpoved] Ok just to put this matter to rest i spoke with Mr Google and they say..     What does "SLANG" mean?     Slang Slang consists of very informal expressions or words which normally feature in speech rather than writing and are used by people who know each other well or who have the same jobs, backgrounds or interests. They often relate to sex, drink, drugs, relationships, social groups, etc. They are often fairly strong in emotive terms and may sometimes be found offensive to people outside the group. Examples: # It may be big bucks to you, but it's chickenfeed to me. # So, who came to this knees-up, then? # My ex was absolutely bonkers. # We'll have to get some booze in for tonight. Big bucks denotes a large amount of money (bucks are dollars); Chickenfeed is small change; Knees-up = party; My ex = former boyfriend or girlfriend; Absolutely bonkers is very crazy or unpredictable; Booze is alcohol, just as a boozer is a pub or someone who drinks a lot of alcohol.     idiomatic expressions Idiomatic expressions are combinations or collocations of words which cannot be translated word for word. Thus: * I could eat a horse. is an idiomatic way of saying: * I'm very hungry. Idiomatic expressions are extremely common and are found in all kinds of English, both formal and particularly informal. But do not make a special effort to learn them. There are too many. You will learn the most common naturally through the learning material that you are using. And it is much better to be accurate when using non-idiomatic English than inappropriate when using an idiom. For example, it is better to say: * It's raining very hard out there. than: * It's raining cats and dogs out there. which has gone out of fashion. As a learner, it may be difficult for you to know what idioms are in fashion and which are not.   Idiomatic expressions with 'out' Good dictionaries will usually list idiomatic usage of words after the literal meanings are given. Thus after the literal definitions of out, you may find the following idiomatic usages listed and illustrated: Examples: * I was so tired I went out like a light. * I've never seen such behaviour: he was completely out of order. These two are in current use. (As a rule of thumb, if you come across idiomatic expressions more than once in your study of contemporary English, they are probably current). To go out like a light is to fall asleep or unconscious instantly. The allusion is to falling asleep immediately like switiching off a light. If someone is out of order, they have acted in bad taste or their behaviour is unacceptable. Note that the primary meaning of out of order relates to machines that are not working or are not in good order: Examples: # Go and put this out-of-order notice on the photocopier. It's not working again. # He was totally out-of-order. I can't believe he was so rude to her.   Euphemisms A euphemism is a polite word or expression that people use when they are talking about something which they or other people may find unpleasant, upsetting or embarrassing. When we use euphemisms we are protecting ourselves from the reality of what is said. There are many euphemisms that refer to sex, bodily functions, war, death, etc. Euphemisms are often good examples of idiomatic language use. Examples: # He passed away (i.e. died) after a long illness (i.e. cancer). # I decided to come out (i.e. admit to being homosexual). I didn't want to be outed (i.e. allow others to let it be known that I am homosexual). # It's no good. I can't hold it in. I shall have to spend a penny (i.e. urinate). # We keep the adult (i.e pornographic) magazines on the top shelf and the adult videos under the counter. # You know that we're in the middle of a rightsizing exercise (i.e. compulsory redundancy programme). We have no alternative but to let you go (i.e. sack you). # Many of the outlying villages suffered collateral damage (i.e. civilian deaths). Spend a penny derives from the days when there were door locks on the outside of cubicles in public lavatories which could only be opened by inserting one old penny into the lock. This was not just the pre-euro era. It was the pre-decimal era. The expression is still in frequent use today. Collateral damage is unintended damage and civilian casualities and deaths caused by the dropping of bombs in the course of a military operation. The term is of US origin and was first used to describe deaths in the Vietnam War, then in the Gulf War, then in the action (euphemism!) in Serbia at the end of the 1990s and most recently in Afghanistan.   So as you can plainly see Slang means to Slang.. I rest my fingers ;)
  11. Re: new login.php Give the lad a break maybe its his first attempt, who cares what everyone else thinks. The point is he's learning something. Im new to this as well and i agree with him that was snobbish to snub him like that. One thing you should take into account is YOU was a beginner too and I bet feed back like this made you mad. The fact that he's sharing is good enough reason for me to say Weldone Skull. Something else ive noticed is HIS WORKS... Ive seen posts on here nearly 7 pages long and they still dont have an outcome at them end.. THINK ON!.. Todays child is tomorrows Scienentist....
  12. Re: new login.php Give the lad a break maybe its his first attempt, who cares what everyone else thinks. The point is he's learning something. Im new to this as well and i agree with him that was snobbish to snub him like that. One thing you should take into account is YOU was a beginner too and I bet feed back like this made you mad. The fact that he's sharing is good enough reason for me to say Weldone Skull. Something else ive noticed is HIS WORKS... Ive seen posts on here nearly 7 pages long and they still dont have an outcome at them end.. THINK ON!.. Todays child is tomorrows Scienentist....
  13. Re: Header.php [New/More Imrpoved] Theres more posts in here than anywhere else maybe i should start selling popcorn ;)
  14. Re: Items Pic mod [v2] Hi just wondering does this mod work for the image on any page that has an item... ? I followed your coding to the letter T and its acknowlidging the pics fine when i call for them in the itmspic folder. But they just dont seem to be appearing in the weapons, Armory shot list. They only appear if i Buy the item and click on the Info in my Inventory list... How do i make it so its visible in all locations that has the weapons or items ?
  15. Re: Header.php [New/More Imrpoved] I could'nt get the bars to work so i had to change your coding sorry who evers code it is.. Change to All bars show up now if anyone gets an error message at top of screen its from these two lines. edit to it doesnt delete them but stops their function.. and your page should look fine..
  16. Re: Header.php [New/More Imrpoved] Nice layout but with the ammount of Addon References you have not everyone else has them may look great on your site as you have all the addons but for a basic site or a beginner like me there just to much alterations to do to get it right.. even mainmenu2.php is exactly the same cant you remove or edit your Addon links and bring it back minus the addons..
  17. Re: MCC Login Script Thank you for your Quick response :) I'll search your Forums and hopefully fine what im looking for :) Ive learnt alot from this site actually. I Wasnt aware of how my type os MYSQl Injections there could be to this game. Illusions
  18. Hell All new to your siteand i hope you may be able to help me a friend Purchased the Mccodes V2 and put it in my hands to Set it up After a great deal of editing and 36 hours loss of sleep. Im not happy with the standard Login I saw one of your posts regards Automated Password Sender to an email. I would love a script like that and is there one available.... Also noticed on the Mccodes V2 that once you Add New Item Type there is no option to delete it. Other than going Via the PHPmyadmin panel.. Kind regards Illusions PS if you could help me with a login script for the Mccodes V2 i would be most grateful
×
×
  • Create New...