Author Topic: Free Aurora GPT Addons  (Read 10284 times)

0 Members and 1 Guest are viewing this topic.

  • Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 10
  • Karma: +1/-0
  • Referrals: 2
    • Email
Re: Free Aurora GPT Addons
« Reply #20 on: December 07, 2014, 10:49:13 AM »
I have downloaded file and I want to add 3-4 addons from them to my site but I don't know what to do :(
Can anyone here help me how to add addons to my site please explain me from start :)
Regards

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 197
  • Karma: +0/-0
  • Best PTC Site List
  • Referrals: 6
    • Best And Paying PTC Sites
    • Email
Re: Free Aurora GPT Addons
« Reply #21 on: December 07, 2014, 06:40:33 PM »
which addons?

  • Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 26
  • Karma: +0/-0
  • Referrals: 0
    • AfroClix.com
Re: Free Aurora GPT Addons
« Reply #22 on: December 08, 2014, 04:37:55 AM »
This is the issue I am having and can't figure out how to fix...

What did I do wrong? Tried installing ticket/support but when I click link in Admin I get :

Warning: mysql_query() expects parameter 1 to be string, resource given in /home/angelvod/public_html/admin2/tickets.php on line 29

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 197
  • Karma: +0/-0
  • Best PTC Site List
  • Referrals: 6
    • Best And Paying PTC Sites
    • Email
Re: Free Aurora GPT Addons
« Reply #23 on: December 08, 2014, 04:45:13 AM »
Did you install to database

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 197
  • Karma: +0/-0
  • Best PTC Site List
  • Referrals: 6
    • Best And Paying PTC Sites
    • Email
Re: Free Aurora GPT Addons
« Reply #24 on: December 08, 2014, 04:47:15 AM »
Ok on line 29 I remove $result = mysql_query($sql); Now I'm testing & Work

members/helpreg.php do the same  remove   $result = mysql_query($sql); line 42
« Last Edit: December 08, 2014, 04:56:45 AM by homenet1 »

  • Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 26
  • Karma: +0/-0
  • Referrals: 0
    • AfroClix.com
Re: Free Aurora GPT Addons
« Reply #25 on: December 08, 2014, 09:21:23 AM »
Thank you. That error code is gone and I was able to see the ticket dashboard from Admin Panel.

When I tried to read the ticket I sent myself, I got another error:

Warning: include(members/viewticket.php): failed to open stream: No such file or directory in /home/angelvod/public_html/members/account.php on line 16

What is this error about?

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 197
  • Karma: +0/-0
  • Best PTC Site List
  • Referrals: 6
    • Best And Paying PTC Sites
    • Email
Re: Free Aurora GPT Addons
« Reply #26 on: December 08, 2014, 09:27:58 AM »
Go to your folder which you have help request center files and upload member fold to your ftp server

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 197
  • Karma: +0/-0
  • Best PTC Site List
  • Referrals: 6
    • Best And Paying PTC Sites
    • Email
Re: Free Aurora GPT Addons
« Reply #27 on: December 08, 2014, 09:30:29 AM »
I just sent a ticket with know errors on my side

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 197
  • Karma: +0/-0
  • Best PTC Site List
  • Referrals: 6
    • Best And Paying PTC Sites
    • Email
Re: Free Aurora GPT Addons
« Reply #28 on: December 08, 2014, 09:33:31 AM »
I see the error when you check your ticket. Make sure you inserted both sql files to database

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 197
  • Karma: +0/-0
  • Best PTC Site List
  • Referrals: 6
    • Best And Paying PTC Sites
    • Email
Re: Free Aurora GPT Addons
« Reply #29 on: December 08, 2014, 09:54:40 AM »
Here is the view tickets codes - Make viewticket.php with any text editior

Code: [Select]
<?
$includes[title]="View Ticket";

function replace($txt) {
$txt = str_replace(array("\r\n", "\n", "\r"), '<br>', $txt);
return $txt;
}



if($_GET['id'] != "") $id=$_GET['id'];
else if($_POST['id'] != "") $id=$_POST['id'];



$viewid=$_GET['viewid'];

$userinfo=$Db1->fetch_array($sql);
$user=$userinfo;
$id=$userinfo[userid];


$fetch=mysql_fetch_object(mysql_query("SELECT * FROM helprc WHERE id='$viewid'"));
if (!$fetch){
echo "<B>Invalid Ticket ID</B>";
exit();
}
$fetch2=mysql_fetch_object(mysql_query("SELECT * FROM helprcres WHERE id='$viewid'"));

if(strip_tags($_POST['resp']) && strip_tags($_POST['respondtext'])){

$respondtext = strip_tags($_POST['respondtext']);

$today = gmdate('Y-m-d h:i:s');
mysql_query("UPDATE helprc SET status='On Hold', lastupdated='$today' WHERE id='$viewid'");
mysql_query("INSERT INTO `helprcres` (`id`, `username`, `answer`)
VALUES ('$viewid', '$username', '$respondtext');") or die (
mysql_error());
echo "You responded to your ticket!";

}


$includes[content]="


<a href=\"index.php?view=account&ac=helpreq&".$url_variables."\" class=\"acc2\">Back</a>

<table width=\"90%\" class=\"tableData\">
<tr><th>Subject:</th></tr>
<tr><td>$fetch->subject</td></tr>
<tr><th>Question:</th></tr>
<tr><td>".replace($fetch->question)."</td></tr>
</table>

<table width=\"90%\" class=\"tableData\">
<tr><th>$fetch2->username   ($fetch->lastupdated)</th></tr>
<tr><td>".replace($fetch2->answer)."</td></tr>
</table>

<br>
".iif($permission==7,"
<form id=\"form1\" method=\"post\" action=\"\">
<table width=\"90%\" class=\"tableData\">
<tr><th>Respond</th></tr>
<tr><td><textarea name=\"respondtext\" id=\"respondtext\" rows=\"6\" style=\"width:100%;\"></textarea>            
<p align=\"center\">
<input type=\"submit\" name=\"resp\" id=\"resp\" value=\"Respond\" style=\"width:100%;\"/>
 </p></td></tr>
</table>
</form>

")."
";

?>

 

advertise here