Jump to content
MakeWebGames

[mccode] times kicked from gangs


iseeyou94056

Recommended Posts

go into yourgang.php and find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

and in there look for

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

under it add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

then open viewuser.php and where ever you want to add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

then add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

into users table in the db

Link to comment
Share on other sites

Re: times kicked from gangs

The sql query you put was "timeskicked int 11 defult 0". Don't you have to alter a table? Like ALTER TABLE users add timeskicked int 11 defult 0. And btw its default not defult. Please correct as other people may just copy and paste and get it wrong, then make more posts about it. Thanks il try.

Edit: Please add in the query so others might not ask. You spelt default wrong and you need (11) not 11 and you forgot whether its null or not null.

 

ALTER TABLE `users` add timeskicked int (11) default 0 not null
Link to comment
Share on other sites

Re: times kicked from gangs

Why not track and let users see gang hoppers too :)

SQL QUERY

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

IN yourgang.php

FIND

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

UNDER ADD

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

ADD in viewuser under where ever you put Times Kicked

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

  • 4 months later...

Re: times kicked from gangs

It's fine that you posted...but as this was such an easy fix, once you saw it, instead of saying I'm getting errors, then editing your post to say you're getting errors again after knowing what the problem was, you could have just fixed it....all you have to do is try, and then if you have issues, I or anyone else would be happy to help.

Link to comment
Share on other sites

Re: times kicked from gangs

Both great ideas but if I were to use them, I would make them viewable to gang leaders only so getting kicked or leaving gangs doesn't become a contest between players and railroading the original intent of having it post in the first place. Which should be to let gang leaders know they are problem players. So technically nobody else needs to be able to see it. Otherwise you may as well add 2 more spots on your HOF for Most Gangs Joined: and Most kicked: :-)

Link to comment
Share on other sites

Re: times kicked from gangs

I disagree....I like having it viewable to everyone...and in my game the players like it too...many relationships between players are based on loyalty and honesty, at least in mine, and a gang hopper finds himself a loner more often than not, without many friends.

I can see how what you say may happen, but even if it does, does it matter? It shows their immaturity and lack of good judgment, and again, they wouldn't find too many good or great gangs that would accept them....

Link to comment
Share on other sites

  • 10 months later...

Re: [mccode] times kicked from gangs

 

For v2

Instead of

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Try this <<<<<<<<<<<<<<<<<<<<<<<<< Correct BUT

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Note: Not Tested

V2 dont use $c so it will be like

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...