• [MOD] Support Ticket System 5 0 5 1
Currently:  

Author Topic: [MOD] Support Ticket System  (Read 96885 times)

0 Members and 1 Guest are viewing this topic.

Offline Deskcom

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: [MOD] Support Ticket System
« Reply #30 on: September 22, 2008, 11:43:40 PM »
lol, o my. I did not no that. I will get it fix soon.

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] Support Ticket System
« Reply #31 on: October 11, 2008, 02:57:47 PM »
is waiting ur modification !

English Please :@

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Support Ticket System
« Reply #32 on: October 12, 2008, 05:44:48 PM »
painless way ;)

main.php

change
Code: [Select]
$lang['ticket_new_passed'] = "<center>Your ticket has been successfully added. We process tickets as they come in. Please be patient. To view your tickets <a href=\"{url_support_ticket}\">Click Here</a>  or visit the `View Support Ticket(s)` in your control panel.</center>";

to

Code: [Select]
$lang['ticket_new_passed'] = "<center>Your ticket has been successfully added. We process tickets as they come in. Please be patient. To view your tickets click on {url_support_ticket} or visit the `View Support Ticket(s)` in your control panel.</center>";
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Support Ticket System
« Reply #33 on: October 13, 2008, 11:17:40 AM »
hi Deskcom,

i noticed some "bugs" :)

1.) "Date Created" will be always "01/01/70 01:00"
2.) Format of date is not how i set it in 4images settings
3.) "Message:" will be shown in one line

lang files:
1.) "Catagory" should be "Category"
2.) "Rpley To Ticket" should be "Reply To Ticket"
3.) "Waiting for Admin Replay" should be "Waiting for Admin Reply"

should be added:
"Delete Ticket"

btw. Nice MOD!
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Deskcom

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: [MOD] Support Ticket System
« Reply #34 on: October 15, 2008, 12:28:44 AM »
Sorry about the delay, I have been on another project that I had to get done by Oct 10. I will have an update of the fixes and also the admin ticket mod that I pomised not to far back. Please check back. I will begin work on it tonight.

Thank you

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
Re: [MOD] Support Ticket System
« Reply #35 on: October 15, 2008, 07:54:23 AM »
I will have an update of the fixes and also the admin ticket mod that I pomised not to far back. Please check back. I will begin work on it tonight.
Great news. Thank you!
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Deskcom

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: [MOD] Support Ticket System
« Reply #36 on: October 22, 2008, 10:44:00 AM »
Quote
1.) "Date Created" will be always "01/01/70 01:00"

Hey Nicky,

I tried to duplicate the same problem with the date. And i do not see it doing to the same on my size. I might be missing it some where. If you or anyone is still seeing the error. Can you please post a screen shot so i can find it.

Thank you

BTW. I set the message on the first box to be the first message that is posted.

Post Edit!!
« Last Edit: October 22, 2008, 11:06:42 AM by Deskcom »

Offline Mimiru

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [MOD] Support Ticket System
« Reply #37 on: October 22, 2008, 12:29:59 PM »
Another little "bug" when you send Ticket (page with: your ticket added bla-bla-bla) and refresh page. New ticket will be created. And if user will "sleep" on F5...

Offline Deskcom

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: [MOD] Support Ticket System
« Reply #38 on: October 22, 2008, 05:04:00 PM »
I can setup an anti-spam system to it. It will delay you creating a ticket within so many minutes, which can be set in the admin panel

Offline Mimiru

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [MOD] Support Ticket System
« Reply #39 on: October 22, 2008, 06:01:40 PM »
I can setup an anti-spam system to it. It will delay you creating a ticket within so many minutes, which can be set in the admin panel
Well... In "good code" all data must be terminated after sending. And it may redirect to "thanks" page. If user refresh page he will get an error page.
Maybe I write this fix by myself, but now I have a little time. So if anyone would like to fix it, please.

Offline Deskcom

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: [MOD] Support Ticket System
« Reply #40 on: October 22, 2008, 07:08:19 PM »
I can setup an anti-spam system to it. It will delay you creating a ticket within so many minutes, which can be set in the admin panel
Well... In "good code" all data must be terminated after sending. And it may redirect to "thanks" page. If user refresh page he will get an error page.
Maybe I write this fix by myself, but now I have a little time. So if anyone would like to fix it, please.

Even with redirect, most browsers will cache the data. All a user will need to do is back the page 1 - 2 times and resend the data. To stop it from posting all together it may be best to use a time delay to not allow any sending of tickets for a certain time frame. I most cases a user should not need to send more than one ticket at a time. Even still if he does need to send it in. It takes some time to write a new one, giving it time for the delay to run out.

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Support Ticket System
« Reply #41 on: October 22, 2008, 07:41:38 PM »
Descom,

just look into details.php, maybe this you can add into support.php too

Code: [Select]
    // Flood Check
    $sql = "SELECT comment_ip, comment_date
            FROM ".COMMENTS_TABLE."
            WHERE image_id = $id
            ORDER BY comment_date DESC
            LIMIT 1";
    $spam_row = $site_db->query_firstrow($sql);
    $spamtime = $spam_row['comment_date'] + 180;

    if ($session_info['session_ip'] == $spam_row['comment_ip'] && time() <= $spamtime && $user_info['user_level'] != ADMIN)  {
      $msg .= (($msg != "") ? "<br />" : "").$lang['spamming'];
      $error = 1;
    }
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Mimiru

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [MOD] Support Ticket System
« Reply #42 on: October 22, 2008, 11:39:25 PM »
Even with redirect, most browsers will cache the data. All a user will need to do is back the page 1 - 2 times and resend the data. To stop it from posting all together it may be best to use a time delay to not allow any sending of tickets for a certain time frame. I most cases a user should not need to send more than one ticket at a time. Even still if he does need to send it in. It takes some time to write a new one, giving it time for the delay to run out.
You probably right. "normal" user won't refresh page a 1xxx times, but restrict posting time not good too. Even if anybody found a bug, and then another he must get access to send ticket immediatly (what if this is mega-urgent bug? =) ). But this is more retoric question... o.O
Like a alternate way I can offer to limit a count of tickets per user. ;)

Offline Bommel

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Re: [MOD] Support Ticket System
« Reply #43 on: January 11, 2010, 09:51:46 AM »
Hallo allerseits,

zuerst einmal ein Danke für diese MOD.  :thumbup:

Nun meine Problemstellung. In dieser MOD ist ja auch die Funktion vorhanden, dass dieser MOD aktiviert bzw. deaktiviert werden kann. In den entsprechenden Templates gibt es dazu auch die Anfrage:

  • aktiv = MOD wird als Link zur Verfügung gestellt
  • inaktiv = MOD wird nicht als Link zur Verfügung gestellt

Wie kann ich jetzt diese Abfrage:

Code: [Select]
{if user_loggedin}
{if support_ticket_activ}
<li><a class="common" href="{url_support_ticket_new}">Neues Support-Ticket</a></li>
<li><a class="common" href="./support.php">Meine Support-Tickets</a></li>
{endif support_ticket_activ}
{endif user_loggedin}
{if user_loggedout}
<li><a class="common" href="https://www.meine-domain.de/contact.php">Kontakt</a></li>
{endif user_loggedout}

im Template so erweitern, dass bei deaktivierten MOD anstelle dessen Link, der Link zum normalen Kontakt-Formular angezeigt wird? Dass es hierzu die Erweiterung "else" gibt, ist mir als Laie klar. Doch was muss wie geändert werden?

Freundliche Grüße, Bommel
Freundliche Grüße, Bommel

Nicht die Geduld mit mir verlieren, ich bin noch am Lernen./ Do not lose the patience with me, I am still in the learning. ;)

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [MOD] Support Ticket System
« Reply #44 on: January 11, 2010, 03:16:14 PM »
wo kann man sich den Mod denn mal ansehen ?
Danke Harald