
iseeyou94056
Members-
Posts
691 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by iseeyou94056
-
is there a way to make it so that a full backup gets sent to your email everyday?
-
how do i make it so that my users cant use html in my site only bbcode because right now they can use both say for the profile sig they can put either or and they will do the same thing and i dont want html being alloud
-
im not really sure
-
this only has a little bit in it so that you can get the basic idea and can add only the merits you want them to get First add this ALTER TABLE `users` ADD `merits` INT (11) DEFAULT 0; ALTER TABLE `users` ADD `levelfive` INT (11) DEFAULT 0; ALTER TABLE `users` ADD `levelten` INT (11) DEFAULT 0; ALTER TABLE `users` ADD `daysingangone` INT (11) DEFAULT 0; ALTER TABLE `users` ADD `daysingangtwo` INT (11) DEFAULT 0; into the db then add this in the header if($ir['merits']) {echo "Merits:{$ir['merits']}";} also add this to the header $a=('awards.php'); include "$a"; then make a file called awards.php and in it put <?php //made by iseeyou94056// //this mod is free// //please done remove this// //Level awards// if($ir['level'] ==5) {if($ir['levelfive']==0) { global $ir, $db ; $db->query("UPDATE users SET merits=merits+1 where userid={$ir['userid']}"); $db->query("UPDATE users SET levelfive=levelfive+1 where userid={$ir['userid']}"); } } if($ir['level'] ==10) {if($ir['levelten']==0) { global $ir, $db ; $db->query("UPDATE users SET merits=merits+1 where userid={$ir['userid']}"); $db->query("UPDATE users SET levelten=levelten+1 where userid={$ir['userid']}"); } } //gang awards// if($ir['daysingang'] ==100) {if($ir['daysingangone']==0) { global $ir, $db ; $db->query("UPDATE users SET merits=merits+1 where userid={$ir['userid']}"); $db->query("UPDATE users SET daysingangone=daysingangone+1 where userid={$ir['userid']}"); } } if($ir['daysingang'] ==200) {if($ir['daysingangtwo']==0) { global $ir, $db ; $db->query("UPDATE users SET merits=merits+1 where userid={$ir['userid']}"); $db->query("UPDATE users SET daysingangtwo=daysingangtwo+1 where userid={$ir['userid']}"); } } ?> then you are done just add the awards in that you want your members to get
-
Drag And Drop Equip Remove Weapons, Armour
iseeyou94056 replied to Uridium's topic in Free Modifications
if anyone makes this work for mccodes v2 please post it -
grrr i cant get it to work :/
-
that didnt work either
-
now i tried if($_GET['DID']) { global $ir, $userid, $h, $db; $fr = $db->query("SELECT fr_userid, fr_topicid, fr_dislike FROM forum_rating WHERE fr_userid ={$ir['userid']}"); $tr = $db->fetch_row($fr); if($ir['userid'] == $_GET['fr_userid'] || $tr['fr_dislike']==1) {echo "you already rated this post";} else { $p = $db->query("SELECT ft_id, ft_name FROM forum_topics WHERE ft_id = ".$_GET['DID']); $r = $db->fetch_row($p); echo "You have disliked the topic"; $db->query("UPDATE forum_topics SET ft_dislike=ft_dislike+1 WHERE ft_id={$r['ft_id']}"); $db->query("INSERT INTO forum_rating VALUES('{$ir['userid']}','{$r['ft_id']}',' 0',' 1')"); } } i still cant figure it out
-
im working on that but i dont know what to do for the if func so far i have this else if($_GET['DID']) { global $ir, $userid, $h, $db; $fr = $db->query("SELECT fr_userid, fr_topicid, fr_dislike FROM forum_rating WHERE fr_userid ={$ir['userid']}"); $tr = $db->fetch_row($fr); if($_GET['DID'] == $tr['fr_topicid']) {echo "you already rated this post";} else { $p = $db->query("SELECT ft_id, ft_name FROM forum_topics WHERE ft_id = ".$_GET['DID']); $r = $db->fetch_row($p); echo "You have disliked the topic"; $db->query("UPDATE forum_topics SET ft_dislike=ft_dislike+1 WHERE ft_id={$r['ft_id']}"); $db->query("INSERT INTO forum_rating VALUES('{$ir['userid']}','{$r['ft_id']}',' 0',' 1')"); } } else { echo "Invalid use of file"; } but this if fi\unc dont work if($_GET['DID'] == $tr['fr_topicid']) {echo "you already rated this post";} else {
-
ok i edited the post i kinda have it so you cant vote on one topic at once the problem is you cant vote twice in a row after you vote on it if you try to again it will ytell you that you cant vite again but if you go vote on another then come back you can vote on it again can anyone please tell me how to make it so that all the different forum topic ids can be saved in there instead of updating it to 1
-
Allows you to create items that make you go up a level V2
iseeyou94056 replied to firecamp's topic in Free Modifications
the only way this would be good is if you took away the normal level upgrade and replaced it with something so that when you can level up you get the item it would not be the best thing but thats the only way i see it even being decent -
i dont know how to but i will use google and see what i can do
-
if anyone could post up how to stop people from rating the same post more then once please post it up
-
i made it thanks for the idea
-
one problem people can keep rating the same one over and over and people can rate there own topic if you know how to fix that please post the fix im just re learning to code so i forget how to do it First add ALTER TABLE `forum_topics` ADD `ft_like` INT (11) DEFAULT 0; ALTER TABLE `forum_topics` ADD `ft_dislike` INT (11) DEFAULT 0; ALTER TABLE `users` ADD `fr_like` INT (11) DEFAULT 0; ALTER TABLE `users` ADD `fr_dislike` INT (11) DEFAULT 0; in your db in forum_topics then open forums.php and scrool down to function viewforum() { and scrool down untill you see $posts=number_format($r2['ft_posts']); print "<tr bgcolor='lightsteelblue'> <td align='center'>$pt[url='forums.php?viewtopic={$r2[']{$r2['ft_name']}[/url]$lt [size="1"]{$r2['ft_desc']}[/size]</td> after that add <td align='center'><font color='green'>+{$r2['ft_like']}</font> <font color='red'>-{$r2['ft_dislike']}</font></td> then go into function viewtopic() { and find $qlink="[[url='forums.php?act=quote&viewtopic={$_GET[']Quote Post[/url]]"; and under it add $rlink="[[url='forum2.php?LID={$_GET[']Like[/url]] [[url='forum2.php?DID={$_GET[']Dislike[/url]]"; then find print "<tr bgcolor='steelblue'> <th align='center' width=20%>Post #{$no}</th> <th align='center'>Subject: {$r['fp_subject']} $t $qlink$slink$elink$dlink after $dlink add $rlink then make a file called forum2.php and put this inside it <?php $i=('globals.php'); include "$i"; $_GET['LID'] = abs((int) $_GET['LID']); $_GET['DID'] = abs((int) $_GET['DID']); if($_GET['LID']) { global $ir, $userid, $h, $db; $p = $db->query("SELECT ft_id, ft_name FROM forum_topics WHERE ft_id = ".$_GET['LID']); $r = $db->fetch_row($p); if ($r['ft_id'] == $ir['fr_like']) {echo "You already voted on this topic";} else { echo "You have liked the topic"; $db->query("UPDATE forum_topics SET ft_like=ft_like+1 WHERE ft_id={$r['ft_id']}"); $db->query("UPDATE users SET fr_like=concat('{$r['ft_id']}') WHERE userid=$userid"); } } else if($_GET['DID']) { global $ir, $userid, $h, $db; $p = $db->query("SELECT ft_id, ft_name FROM forum_topics WHERE ft_id = ".$_GET['DID']); $r = $db->fetch_row($p); if ($r['ft_id'] == $ir['fr_dislike']) {echo "You already voted on this topic";} else { echo "You have disliked the topic"; $db->query("UPDATE forum_topics SET ft_dislike=ft_dislike+1 WHERE ft_id={$r['ft_id']}"); $db->query("UPDATE users SET fr_dislike=concat('{$r['ft_id']}') WHERE userid=$userid"); } } else { echo "Invalid use of file"; } ?> and i am pretty sure thats it if you know ways to make it better let me know
-
whats your game link i will take a look and tell you if i can help or not
-
ya thats not a bad idea ya its lazy but not bad thanks for the idea lol
-
how do i make it so that i have to combine two different items indtead of two of the same items
-
oh ok thanks sorry about that then i searched it and didnt get anything
-
Re: please help can anyone help
-
Re: please help what should i do
-
Re: please help does anyone know what i should do?
-
Re: please help it loads and looks like its going toogin then goes back to the login page
-
Re: please help i added that and there is no error but it wont login
-
Re: please help its v1