Jump to content
MakeWebGames

Recommended Posts

Posted

Simple mod, allows users to ask questions to the staff.

Staff can then send a reply back to them,

Tested and works fine.

Run SQL Data:

You're unable to view this code.

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

 

Create askstaff.php:

You're unable to view this code.

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

Posted

Re: Ask Staff [Mccodes V2]

 

nice mod :-D but couldn't people just use the mail box for this? +1 anyway :-)

They could, but this is more like a short approach to ingame ticketing. Well done once again! :)

Posted

Re: Ask Staff [Mccodes V2]

 

nice mod :-D but couldn't people just use the mail box for this? +1 anyway :-)

Yeah, I guess so :P

I just prefer it like this to be honest,

That way any member of staff can access the questions instead of just one.

 

nice mod :-D but couldn't people just use the mail box for this? +1 anyway :-)

They could, but this is more like a short approach to ingame ticketing. Well done once again! :)

Thanks!

Posted

Re: Ask Staff [Mccodes V2]

 

nice mod :-D but couldn't people just use the mail box for this? +1 anyway :-)

Yeah, I guess so :P

I just prefer it like this to be honest,

That way any member of staff can access the questions instead of just one.

 

nice mod :-D but couldn't people just use the mail box for this? +1 anyway :-)

They could, but this is more like a short approach to ingame ticketing. Well done once again! :)

Thanks!

well its a sweet mod :) keep up the good work and yeah i guess its easier because all staff can respond to it so the question would be answered alot more faster :P

Posted

Re: Ask Staff [Mccodes V2]

Hey, could you help me out with this?

I understand everything but "Run the SQL" .. What exactly does that mean? Sorry for being stupid, ha.

  • 5 months later...
Posted

Re: Ask Staff [Mccodes V2]

great mod, one problem, im trying to add an event so that once staff answer it, the member that asked the question gets an event saying it has been answered.

event_add ($ir[`userid`], "Your question was answered in the ask staff section, please go there to see it.");

thats the closest i got lol as you can all see its wrong, i really cant get it to work :(

Posted

Re: Ask Staff [Mccodes V2]

 

great mod, one problem, im trying to add an event so that once staff answer it, the member that asked the question gets an event saying it has been answered.

event_add ($ir[`userid`], "Your question was answered in the ask staff section, please go there to see it.");

thats the closest i got lol as you can all see its wrong, i really cant get it to work :(

add that line right before this and it should to the trick...

You're unable to view this code.

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

Posted

Re: Ask Staff [Mccodes V2]

 

great mod, one problem, im trying to add an event so that once staff answer it, the member that asked the question gets an event saying it has been answered.

event_add ($ir[`userid`], "Your question was answered in the ask staff section, please go there to see it.");

thats the closest i got lol as you can all see its wrong, i really cant get it to work :(

add that line right before this and it should to the trick...

You're unable to view this code.

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

 

iv tried that before i asked for help, it sends the event to the person that ANSWERED the question, instead of the person that asked it. thats why im confused lol but thanks

Posted

Re: Ask Staff [Mccodes V2]

$to = mysql_fetch_array(mysql_query(sprintf("SELECT `questionMember` FROM `staff_questions` WHERE `questionId` = '%u'", abs((int) $_POST['id']))));

event_add ($to[`questionMember`], "Your question was answered in the ask staff section, please go there to see it.");

Add it on the same place i told first. i haven't looked at the code before :)

Posted

Re: Ask Staff [Mccodes V2]

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UNIX_TIMESTAMP(),0,'Your question was answered in the ask staff section, please ' at line 1

Query was INSERT INTO events VALUES('',,UNIX_TIMESTAMP(),0,'Your question was answered in the ask staff section, please go there to see it.')

  • 1 month later...
  • 6 months later...

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...