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
[MOD] Contact staff
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2008-10-15 03:01:19
This mod allows people on ur site to contact admins who have control on the cp u can then reply to there message from the staff pannel or delete and mark as answered



Alter tables

CREATE TABLE IF NOT EXISTS `staffmessages` (
`id` int(10) unsigned NOT NULL auto_increment,
`sender` int(10) unsigned NOT NULL default '0',
`added` datetime default NULL,
`msg` text,
`subject` varchar(100) NOT NULL default '',
`answeredby` int(10) unsigned NOT NULL default '0',
`answered` tinyint(1) NOT NULL default '0',
`answer` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;Open admincp.php
Find

<td align="center"><a href=admincp.php?action=ipbans><img src="images/admin/blocked.gif" border=0 width=32 height=32><BR>Banned IPs</a><BR></td>
Add bellow

<td align="center"><a href=staffbox.php><img src="images/admin/contact.png" border=0 width=32 height=32><BR>Staff contacts</a><BR></td>
Upload these 3 files to ur root
[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3013"]contactstaff.php[/url]
[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3014"]staffbox.php[/url]
[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3015"]takecontact.php[/url]
Image


Please let me no what u think and if it works as it is like 4.00am here lol
staffcontact.JPG
staffcontact.JPG
contactstaff.php
Download
staffbox.php
Download
takecontact.php
Download
contact.png
contact.png
Unknown User
2008-10-15 09:48:41
is already out this mod m8, contact staff, iv had it on mine for a long now time now
Unknown User
2008-10-15 11:55:06
All OK!!

a PM to the reception of the message would be useful!!  ;)

edit:

this:

show_error_msg("Succeeded", "Message was succesfully sent!

Not appare!
Unknown User
2008-10-15 13:54:44
these will pm all staff on a feedback also announce in shout

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

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

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3019"]takecontact.php[/url]
contactstaff.php
Download
staffbox.php
Download
takecontact.php
Download
Unknown User
2008-10-15 14:28:43
hmmm looks to me like foz likes to take others work and put his own credits on it. most of your code foz is from the tbdev hack that me and daffy have had on our trackers for a while. there may even be a post somewhere on torrent trader with it. when i find it i will post a link. so credit should go to MasterRoot over at tbdev and not foz.

edit:

here it is for v1 [url="http://www.torrenttrader.org/index.php?showtopic=5847&hl=staffbox"]http://www.torrenttrader.org/index.php?sho...amp;hl=staffbox[/url]

v2 may be out there
Unknown User
2008-10-15 17:31:47
Well i am very sorry for editing these mods i did not no someone had made this else i wouldent have posted it...All u do walker is pick at me i dont no what the f*ck ur problem is i edit these mods to be nice and this the sh*t i get all the time
Unknown User
2008-10-15 19:07:07
Quote:
Well i am very sorry for editing these mods i did not no someone had made this

which would mean if you edited the mod then you did know someone made it ?

but as walker said it is here for v1 and im pretty sure v2 as well i may be wrong on that

and credit should be given no matter what
Unknown User
2008-10-16 09:30:11
Quote:
these will pm all staff on a feedback also announce in shout

Attached File(s)

Attached File  contactstaff.php ( 1.16K ) Number of downloads: 2

Attached File  staffbox.php ( 11.43K ) Number of downloads: 2

Attached File  takecontact.php ( 2.14K ) Number of downloads: 1

sorry dont' work..

when i press SUBMIT i receive a blank page!
Unknown User
2008-10-16 09:43:57
correct:

in takecontact.php find:

require_once ("backend/functions.php");
replace with:


require "backend/functions.php";



work the version by Daffy, a new pm received and announce in shoutbox.

Thanx!
Unknown User
2008-11-04 11:42:28
Hi all,

I've 3 errors when I put this MOD on my tracker :

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in D:\sites\internet\tchatmania.com\www\tracker\backend\functions.php on line 605



Warning: require_once(themes//block.php) [function.require-once]: failed to open stream: No such file or directory in D:\sites\internet\tchatmania.com\www\tracker\backend\functions.php on line 236



Fatal error: require_once() [function.require]: Failed opening required 'themes//block.php' (include_path='.;C:\php5\pear') in D:\sites\internet\tchatmania.com\www\tracker\backend\functions.php on line 236
This is the first time I've this kind of error messages with a MOD...



[edit]

One more problem :


Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in D:\sites\internet\tchatmania.com\www\tracker\staffbox.php on line 63



I didn't change everything...

Reagrds,
Unknown User
2008-11-09 13:15:12
"MJ92, post: 48421":
Hi all,
I've 3 errors when I put this MOD on my tracker :

<?php

///////////////////////////////////////////////////////////

/// hack by MasterRoot by www.maniatorrent.com

/// 05/07/2007 Open Souce GPL

// Please dont remove my credits

// Torrent Trader for all versions

////////////////////////////////////////////////////////////

require "backend/functions.php";

if ($_SERVER["REQUEST_METHOD"] != "POST")

show_error_msg("Erreur", "M
Unknown User
2008-11-12 02:18:48
I have some problems...

Parse error: syntax error, unexpected ']' in /homepages/12/**********/htdocs/takecontact.php on line 34

Line: 34

mysql_query("INSERT INTO messages (poster, sender, receiver, added, msg) VALUES(0, 0, $arr[0], $dt, '" .$CURUSER['username'] . ". needs help in the ."/staffbox.php]Staff Box')") or die(mysql_error());





Which ] is it?



When I submit on contactstaff.php



I get to this





Mysite.com/SAM`SC~1/AppData/Local/Temp/takecontact.php
Unknown User
2008-11-12 12:42:29
try taking away the ] at the end of staffbox.php]
Unknown User
2008-11-12 16:26:21
Yes, that's I had thought as well, but look now

Parse error: syntax error, unexpected T_STRING in /homepages/12/*************/htdocs/takecontact.php on line 35





line 34-35





mysql_query("INSERT INTO messages (poster, sender, receiver, added, msg) VALUES(0, 0, $arr[0], $dt, '" .$CURUSER['username'] . ". needs help in the ."/staffbox.php

Staff Box')") or die(mysql_error());
Unknown User
2008-11-12 19:50:50
this is how it is on my site and it works.

mysql_query("INSERT INTO messages (poster, sender, receiver, added, msg) VALUES(0, 0, $arr[0], $dt, '[url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url] needs help in the [url=".$site_config["SITEURL"]."/staffbox.php]Staff Box[/url]')") or die(mysql_error());
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