Dominion
Members-
Posts
2,447 -
Joined
-
Last visited
-
Days Won
9
Content Type
Profiles
Forums
Events
Everything posted by Dominion
-
^ What he said. http://php.net/manual/en/control-structures.if.php
-
Ajax chat paid mod from mccodes by Dave
Dominion replied to boionfire81's topic in Modification Support
It's only been a day. Give it a little more time, and if he doesn't answer try to contact him through his own website. -
You should be able to contact SyFi through their website although I doubt the company itself holds the copyright. At least they can point you in the right direction.
-
If all you're doing is putting some text in a different language for the description store it in a text file, and output it (File_get_contents() etc...). Don't go into anything more complex. If you're looking to translate the whole site or more then those 6 cities this would be a very inefficient way to do it, but for now I'd consider it for the simplicity.
-
Click where it says "Last edited by KyleMassacre; 03-25-2016, 09:55 PM. Reason: Added code tags around the SQL " , and you should get an edit history. Only works for mods, and the posters on VB. I have no idea if it works on mobile.
-
[php]<?php /** By: TheMasterGeneral Info: Allows a user to set a description about their character. Copyright: 2015 Cost: Negative free dollars, and free cents! License: Do whatever to this, so long as you don't sell or call this your own work. :( */ require_once('globals.php'); echo '<h3>Description Change</h3>'; $db->query( "SELECT `userDESC` FROM `users` WHERE `userid` = {$ir['userid']}"); $_POST['desc'] = $db->escape( str_replace("\n", "<br />", strip_tags(stripslashes($_POST['desc'])))); if (!empty($_POST['desc'])) { if (strlen($_POST['desc']) > 1000) { echo '<hr /><span style="font-weight:bold;">You may only enter 1000 or less characters here.</span>'; } else { $db->escape($_POST['desc']); $db->query( "UPDATE `users` SET `userDESC` = '{$_POST['desc']}' WHERE `userid` = {$userid}"); $ir['desc'] = $_POST['desc']; echo '<hr /><span style="font-weight:bold;">Player description updated!</span>'; } } $am_for_area = strip_tags($ir['userDESC']); echo "<hr />Player Description:<form action='userdesc.php' method='post'> <textarea rows='15' cols='60' name='desc'>{$am_for_area} </textarea><br /> <input type='submit' value='Update Description' /></form>"; That one? Got it from the version history.
-
This any better?
-
-
welcome back. None that I know of to be honest, but I've been out of the loop.
-
I deleted a lot of old stuff when I sold my site on, however I'll take a look and see if I still have them later. They would be on an external drive so I probably didn't delete it.
-
Has mccodes had a version update recently or is the class still the same just adding the i? No prepared statements etc...
-
Download v1(free version). There isn't big enough difference in my opinion to justify $100
-
1315 That's right everyone I can count!
-
Not many will be, but most of the members active have been here for a while. Biggest problem with the site in recent years has been getting new members. Can't remember how old my first account was. Mid 08 I think? I lost the password, and used a fake E-mail so I just re-signed up... If I'm remembering correctly. O.o
-
I wouldn't do this for everything, Jail and hospital users just got a message, however I did do it for things like staff files. Recording the page they came from helps find links that shouldn't exist. The only other reasons for non-staff members to try to get into a staff files aren't going to be good.
-
That's interesting. Why is it different for us?
-
Under the main menu there is a "create new blog" option.
-
[uSER=65100]W3Theory || Peter[/uSER] If he is still taking on design work.
-
Is it just the license you're selling or have you made edits to your version?
-
I'm not sure [uSER=64778]Danny696[/uSER] ever intended this to be compressive, He just got bored of how many threads were around saying someone scammed them at the time.
-
I got to line 12, and 13, and stopped reading - $_GET['map'] = abs((int) $_GET['map']); $_GET['map'] = mysql_real_escape_string($_GET['map']); Would be interested to know where you originally got the source, and what kind of discount this resale is giving us?
-
I just got a "we are currently experiencing technical difficulties" message. It then logged me in when I click a link. Firefox user.