? Sparks ? Posted July 22, 2009 Posted July 22, 2009 Re: [mccode v2] Gang Recruit This looks like the same one plintu made. ANyways If it is fifferent great Job :D Quote
plintu Posted July 22, 2009 Posted July 22, 2009 Re: [mccode v2] Gang Recruit This looks like the same one plintu made. ANyways If it is fifferent great Job :D Thanks sparks! ;) this is a nice mod, it is totally different than mine, it looks very clean I like it, good job guys! Quote
Guest Sniko` Posted July 22, 2009 Posted July 22, 2009 Re: [mccode v2] Gang Recruit This looks like the same one plintu made. ANyways If it is fifferent great Job :D Thanks sparks! ;) this is a nice mod, it is totally different than mine, it looks very clean I like it, good job guys! Thank You Quote
KyleMassacre Posted January 22, 2012 Posted January 22, 2012 can anyone help me with this, its not sending events to the users? Quote
Ishraq Posted January 22, 2012 Posted January 22, 2012 It is but it isn't adding a +1 to the users field for new_event Quote
Seker Posted April 27, 2012 Posted April 27, 2012 Okay, so I know this is old, but I thought this could be interesting, so I've been playing around with it to get it to work with V1. Also going to attempt to add a link in viewuser.php so, if the person's not in a gang, the Pres/VP can invite straight from their profile if I can get this little kink worked out. Works fine, but the event it's sending will not print the gang name. Here's the event_add as I have it: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. It displays the username fine, but then it just says "from has invited you." Anyone have any suggestions? Quote
rulerofzu Posted April 27, 2012 Posted April 27, 2012 Due to $ir['gangNAME'] not being set. $ir['gang'] is as its in the users table. gangNAME is not. So option is either add gangs to the $ir query in the globals.php page or query the gangs table in viewuser.php Quote
Seker Posted April 27, 2012 Posted April 27, 2012 Due to $ir['gangNAME'] not being set. $ir['gang'] is as its in the users table. gangNAME is not. So option is either add gangs to the $ir query in the globals.php page or query the gangs table in viewuser.php Okay, got it to work. Problem was, I tried to use the viewuser call which is ['gangNAME']. Changed that to {$gangdata['gangNAME']}, which calls it from gangs.php(I'm fairly certain?) and it works as intended. Quote
Seker Posted April 27, 2012 Posted April 27, 2012 Sorry for the double post. Been fiddling with the viewuser part for a while, and I'm obviously missing something. I'm sure it's probably obvious, but I just can't get it. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. The problem is, it only shows either the gang the user's in or N/A. It totally dismisses the middle option. Is it a similar problem I was having before? Am I calling the wrong information, or is the whole section of code just... Wrong? Quote
sniko Posted April 28, 2012 Posted April 28, 2012 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Seker Posted April 28, 2012 Posted April 28, 2012 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Appreciate it sniko. Now, my own problems only continue as I have to figure out how to fit this into my table structure. :P Quote
sniko Posted April 28, 2012 Posted April 28, 2012 Appreciate it sniko. Now, my own problems only continue as I have to figure out how to fit this into my table structure. :P Good luck on figuring it out :) (By table structure, I assume the table tag structure (<table>) etc...) Quote
Seker Posted April 28, 2012 Posted April 28, 2012 Good luck on figuring it out :) (By table structure, I assume the table tag structure (<table>) etc...) You are correct. Just need to define the $gangmsg somewhere outside of the table, I'm assuming. Throwing errors so far, but I'll figure it out. Thanks for the help! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.