Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Helpdesk tbdev
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2.08 Mods Completed

Unknown User
2013-04-07 05:23:35
run SQL

CREATE TABLE IF NOT EXISTS `support_desk` (

`id` int(10) unsigned NOT NULL AUTO_INCREMENT,

`title` varchar(60) NOT NULL DEFAULT '',

`msg_problem` text,

`solved_date` int(11) NOT NULL DEFAULT '0',

`solved` enum('no','yes','ignored') NOT NULL DEFAULT 'no',

`added_by` int(10) NOT NULL DEFAULT '0',

`solved_by` int(10) NOT NULL DEFAULT '0',

`msg_answer` text,

`added` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',

UNIQUE KEY `id` (`id`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=25 ;
on the admincp.php add :


<td align="center"><a href="helpdesk.php?action=problems"><img src="images/admin/help-desk.png" border="0" width="32" height="32" alt="" /><br />Helpdesk</a></td>





and upload the helpdesk.php to you root make sure you add you class in it and if some 1 can make it better that will be great to update it but for me it works 100%

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6670"]helpdesk.php[/url]
helpdesk.php
Download
Unknown User
2013-04-08 08:11:31
Unknown User
2013-04-08 17:40:26
i test it.

well...

i change the ENGINE=MyISAM DEFAULT CHARSET=latin1 with ENGINE=MyISAM DEFAULT CHARSET=utf8 because the greek letters are like 'chinese'

when i write a message in helpdesk i see the solved in 6 hours and when i fix this message i see the solved in 3 days

what mean this?

Unknown User
2013-04-08 21:11:35
why convert tbv mods over to torrent trader car`nt noone make torrent trader mods  for us only ? i know a few coders on here and thay do not using tbv mods for here if you want tbv go and us it lol
Unknown User
2013-04-08 21:19:56
Some of the new members are old tbdev users and they are welcome to convert modules, v2.x is now defunct we are moving on to new horizons with v3.
Unknown User
2013-04-08 22:36:20
nice one car`nt wait to see it  mate the look of it and all
Unknown User
2013-06-23 04:39:26
Why solved in times looks so weird? 6 days?? And is there way to make cleanup and delete old helpdesk pm's?
Unknown User
2013-06-24 19:43:02
1. all "userdetails.php" should be changed to "account-details.php" in helpdesk.php

2. the solved date is wrong

3. would be nice to have an option to delete them if they are solved, or maybe automatically after 30 days.

Other than that, great MOD....THANKS  :)
2013-07-05 13:41:01
First of all, thanks for this mod. I like it a lot  :P

The mod is not at all complete, you could not delete resolved problems etc.

I think I have got everything to work with this mod, but the time is two hours wrong.
Is it possible to get it work with time zones?

I think it is here

// SOLVED IN
$added = $arr["added"];
$solved_date = $arr["solved_date"];
if ($solved_date == "0000-00-00 00:00:00") {
 $solved_in = " [N/A]";
 $solved_color = "black";
 }
else
{
 $solved_in_wtf = sql_timestamp_to_unix_timestamp($arr["solved_date"]) - sql_timestamp_to_unix_timestamp($arr["added"]);
 $solved_in = " [".round_time($solved_in_wtf)."]";

you have to change, but to what?  :rolleyes:

Any help is appreciated thanks.
Unknown User
2013-07-05 18:38:16
.. This file has alot of issues LOL..

I did not test it but this might solve the time issues..

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6809"]helpdesk.php[/url]
helpdesk.php
Download
2013-07-05 20:59:10
Thanks @ArcticWolf!

I'm testing it tomorrow, I'm so tired that I can barely see what I write lol
2013-07-07 14:46:50
LOL the time issue is solved. Thanks @ArticWolf.
Unknown User
2013-08-17 20:04:49
Thanks it's work...! but some issue, so bad ArticWolf

2013-09-16 19:26:44
Here is my version with class_user function.

Run this SQL:

CREATE TABLE IF NOT EXISTS `helpdesk` (
 `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
 `title` varchar(60) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
 `msg_problem` text COLLATE utf8_unicode_ci,
 `added` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
 `solved_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
 `solved` enum('no','yes','ignored') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'no',
 `added_by` int(10) NOT NULL DEFAULT '0',
 `solved_by` int(10) NOT NULL DEFAULT '0',
 `msg_answer` text COLLATE utf8_unicode_ci,
 UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6976"]helpdesk.php[/url]



Add this to English.php :

///START TIME///
$LANG["WK"] = "wk";
$LANG["WKS"] = "s";
$LANG["WKS2"] = "  ";
$LANG["DAY"] = "day";
$LANG["DAYS2"] = "s";
$LANG["HOUR"] = "hour";
$LANG["HOURS"] = "s";
$LANG["HOURS2"] = "  ";
$LANG["<1MIN"] = "< 1 min";
$LANG["MIN"] = "min";
$LANG["MINS"] = "s";
$LANG["MINS2"] = "  ";
///END TIME///

//////HELP DESK//////
$LANG["LAST_CLEANUP"] = "Last cleanup performed";
$LANG["HELP_DESKP"] = "Help Desk - Problem!";
$LANG["TROUBLE_TICKETS"] = "Click here for trouble tickets";
$LANG["HELP_DESK_INFO"] = "Help Desk INFO!";
$LANG["HD_INFO1"] = "Before using <b>Help Desk</b> make sure to read <a href=faq.php><b>FAQ</b></a> and search <a href=forums.php><b>Forums</b></a> first.";
$LANG["HD_INFO2"] = "You must be sure to provide as much info as possible for your questions to be answered. Questions are answered in order in which they are recieved.<br />There is Zero Tolerance for Help Desk abuse, anyone being abusive will have their accounts disabled and IP banned. <b>YOU HAVE BEEN WARNED!!";
$LANG["HD_INFO3"] = "If you require a reseed then please paste the link to the torrent, anyone not doing so will be ignored!!";
$LANG["HD"] = "HELP DESK";
$LANG["MESS_INFO"] = "Please press the <b>Help me!</b> button only once. Dupe messages will be deleted";
$LANG["HELP_ME"] = "Help me!";
$LANG["SUCCESS"] = "Success!";
$LANG["SUCCESS2"] = "Message sent! Await for reply";
$LANG["ADDEDBY"] = "Added by";
$LANG["PROBLEM"] = "Problem";
$LANG["SOLVEDBY"] = "Solved - by";
$LANG["SOLVEDIN"] = "Solved in*";
$LANG["SOLVED"] = "Solved";
$LANG["ANSWER"] = "Answer";
$LANG["IGNORED"] = "Ignored";
$LANG["IGNORE"] = "IGNORE";
$LANG["USE"] = "Use";
$LANG["HDREPLIES"] = "HD Replies:";
$LANG["HDREPLIE1"] = "Read FAQ,";
$LANG["HDREPLIE2"] = "Search forums,";
$LANG["HDREPLIE3"] = "Die n00b,";
$LANG["HDREPLIE11"] = " First read the [url="faq.php"]FAQ[/url] and then start asking questions!";
$LANG["HDREPLIE22"] = " Search the [url="forums.php"]FORUMS[/url] please.";
$LANG["HDREPLIE33"] = " Die n00b! Such a thing knows even my grandma!";
$LANG["HDON"] = "On";
$LANG["BBCODE"] = "BB Code";
$LANG["ISALLOWED"] = "is allowed";
$LANG["DELETE_SOLVED_PROBLEMS"] = "Delete solved or ignored problems";
$LANG["BAD"] = "- bad";
$LANG["OK"] = "- ok";
$LANG["GREAT"] = "- great";
$LANG["ATTENTION"] = "Attention!";
$LANG["EFFICIENCY"] = "Efficiency";
//////END//////

If you want a notis in index.php add this :

//=== HELP DESK message
if (get_user_class() >= 5){
$resa = SQL_Query_exec("select count(id) as problems from support_desk WHERE solved = 'no'");
$arra = mysql_fetch_assoc($resa);
$problems = $arra['problems'];
if ($problems > 0)
echo("<p><table align=center border=0 cellspacing=0 cellpadding=10 bgcolor=red><tr><td style='padding: 10px; background: #A60A15'>n".
"Hi <b>$CURUSER[username]</b>, there ".($problems == 1 ? 'is' : 'are')." <b>$problems question".($problems == 1 ? '' : 's')."</b> at the HELP DESK that needs a reply.<br>please click <b><a href=helpdesk.php?action=problems>HERE</a></b> to deal with it.".
"</td></tr></table></p><br />n");
}

This is how it looks at my site when its calm :



And when there are a question that need a reply :

helpdesk.php
Download
cool.png
cool.png
Attention.png
Attention.png
HD.png
HD.png
2020-11-09 08:44:37
Can this mod be modified for TTv.3.0 MySQLI
I run UFFENO1 version but when post message and press Help Me give me error Database Error. Please report this to an administrator.
Thanks in advance

Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728