Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1122

PostPosted: Tue Oct 20, 2009 12:08 pm Reply with quote

Does anybody know if there is any module like Tickect Support Module for phpnuke compatible with RavenNuke. I would like to have a module like that with attachment. Any suggestion?
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Oct 20, 2009 12:39 pm Reply with quote

Have you tried the suggestions in this post: [ Only registered users can see links on this board! Get registered or login! ] ? Even though the posts are older, if the projects have been kept up then they might be worth trying.
 
View user's profile Send private message
hicuxunicorniobestbuildpc







PostPosted: Tue Oct 20, 2009 1:07 pm Reply with quote

Code:
$host = "localhost";

$dbuser = "root";
$pass = "password";
$db_name = "service";


Is there another way to get this information without entering root and password again.
 
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Oct 20, 2009 1:22 pm Reply with quote

Not sure what you are asking exactly, but couldn't you just include config.php?

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
hicuxunicorniobestbuildpc







PostPosted: Tue Oct 20, 2009 1:25 pm Reply with quote

Config file



Code:
$host = "localhost";

$dbuser = "root";
$pass = "password";
$db_name = "service";
$progname = "SQLService 2";
$taxrate=1.06;
$default_sort_field = "svcdate";

//Don't touch anything below this line unless you KNOW what you are doing!  These are
//Critical functions to the operation of SQLService!!!  Don't blame me if you fsck something up!

//WARNING!!  Adding to the status/priority entries below WILL confuse Service!  New's will become
//In-Progress's, Closed's -> Response, etc..  Do NOT fiddle with these unless you KNOW
//what you are doing!!!!! (Although, it IS safe if there is no data in the DB, or none to import.)
//Really, just don't, OK?

$statstr=array("Closed","New","In Progress","Response","Responded","Wtg. Parts","RMA","Ready");
$priostr=array("Normal","Priority","Warranty","On-Site","RUSH","Emergency");

$link = mysql_connect($host, $dbuser, $pass);
if (!$link) {
   die("Could not connect to MySQL Database: ".mysql_error());
}

//User Name & ID Lookup Table

$uidquery = mysql_query("SELECT name FROM nuke.nuke_users WHERE username LIKE \"$cookie[1]\"");
$fullname = mysql_result($uidquery,0,"name");

//End Lookup Table

$TITLE = "<h4><u>$progname</u></h4>Current User: $fullname <a href=\"account-logout.html\">[Logout]</a><br>";

function bround($dVal,$iDec) {
    static $dFuzz=0.00001;
    $iRoundup=0;   
    $iSign=($dVal!=0.0) ? intval($dVal/abs($dVal)) : 1;
    $dVal=abs($dVal);
    $dWorking=$dVal*pow(10.0,$iDec+1)-floor($dVal*pow(10.0,$iDec))*10.0;
    $iEvenOddDigit=floor($dVal*pow(10.0,$iDec))-floor($dVal*pow(10.0,$iDec-1))*10.0;
    if (abs($dWorking-5.0)<$dFuzz) $iRoundup=($iEvenOddDigit%2!=0) ? 1 : 0;
    else $iRoundup=($dWorking>5.0) ? 1 : 0;
    return $iSign*((floor($dVal*pow(10.0,$iDec))+$iRoundup)/pow(10.0,$iDec));
}

function mydate($format, $publictime) {
   $publictime = ereg_replace('[^0-9]','',$publictime);
        $sec = substr($publictime, 12, 2);
        $min = substr($publictime, 10, 2);
        $hour = substr($publictime, 8, 2);
        $day = substr($publictime, 6, 2);
        $month = substr($publictime, 4, 2);
        $year = substr($publictime, 0, 4);
        return date($format, mktime($hour,$min,$sec,$month,$day,$year));
}
 
hicuxunicorniobestbuildpc







PostPosted: Tue Oct 20, 2009 1:31 pm Reply with quote

Palbin, I will share this script with you. Maybe you can make a module from it. I will appriciate if you make something for RavenNuke with attactment.
[ Only registered users can see links on this board! Get registered or login! ]
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Wed Oct 21, 2009 2:00 am Reply with quote

Creating custom modules is really beyond the scope of support, you may want to try the For Hire forum for that.
If you are providing some sort of support for a specific product or service, why not add your clients to a Group and create a forum visible only to that Group? There is an attachment facility already available for forums Smile
 
View user's profile Send private message Send e-mail
brincas
New Member
New Member



Joined: Jul 09, 2008
Posts: 15

PostPosted: Thu Oct 22, 2009 12:13 pm Reply with quote

i have one ticket support module made by myself


i will make some modifications and then i will post the link here
 
View user's profile Send private message
hicuxunicorniobestbuildpc







PostPosted: Thu Oct 22, 2009 5:41 pm Reply with quote

Thanks in advance brincas. I tested already 4 of them but I dont like them.
 
brincas







PostPosted: Thu Oct 22, 2009 5:48 pm Reply with quote

[ Only registered users can see links on this board! Get registered or login! ]

in mine have:

Categories with separated admin to resolve it (some can read the ticket and other can solved it and answer) i have this because the bosses want to know what is happening

only admin can answer a ticket

each categorie of ticket (or department as you prefer) have an description of its one and can be deactivated and actived when we want

priority of ticket also has the same philosofy

some ticket can be redirect for other users (moderators) or bosses with no admin right say what to do, in this case the answer is wirting in form email

every ticket goes to the email with noreply address
 
hicuxunicorniobestbuildpc







PostPosted: Thu Oct 22, 2009 5:54 pm Reply with quote

Your link doesnt work brincas. Also from the sommaire example on the other post.

Is it possible to have attachment on that Tickect Support?

Where can I download it?
 
Raven







PostPosted: Thu Oct 22, 2009 7:00 pm Reply with quote

Are you sure it doesn't work or is it just a trusted certificate issue?
 
brincas







PostPosted: Fri Oct 23, 2009 3:51 am Reply with quote

certificate issue, the link works
 
hicuxunicorniobestbuildpc







PostPosted: Fri Oct 23, 2009 4:42 am Reply with quote

yeah. now I can see the video tutorial. I had certificate problems and I solved it. Thanks for that to Raven and Brincas. Brincas, where can I download the module. it looks really simple to me and that is what I like. Thanks in advance.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©