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
User Posts

Go to Profile

Excellent, but If you put it in the footer you would have to do it to all themes wouldn't you?

Heres a little extra for your block

Most users online ever   :)

CREATE TABLE IF NOT EXISTS `mostonline` (
 `amount` tinyint(4) NOT NULL DEFAULT '1',
 `date` datetime NOT NULL DEFAULT '2010-11-24 00:00:00'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;










// Most users online
$monli = "SELECT * FROM mostonline";
$result = SQL_Query_exec($monli);
$details = mysql_fetch_array($result);

if ($totalonline > $details['amount'])
{
SQL_Query_exec("UPDATE mostonline SET amount = $totalonline");
SQL_Query_exec("UPDATE mostonline SET date = now()");
}

$date1=date("D, d M Y H:i:s", strtotime($details['date']));


// Most users online end










echo "<div align='center'>Most Users Online<br />".$date1." <font color = green>".$details['amount']."</font></div>";

sorry didnt mean to kill this thread with my question :rolleyes:
"BigMax1, post: 89571":
Into backend/functions.php replace the warned code with this one:


I think you mean admincp.php ;)
Hi guys

H&R is working well but it seems the member(s) that have H&R get a new message(s) on every clean up so 1 member might get 10 messages for the H&R that they receive.

Also is there any way we can get the torrent name sent in the pm to the member that has H&R?

@ BigMax1 I use rtorrent and my seed times are spot on.
Thanks guys pm's are sent now :)
works well picking up the H&R but for me it does not send the pm, using 2.08



Database Error in backend/cleanup.php on line 332: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 're warned because you have accumulated 3 HnR','2013-03-15 11:53:23','22-Mar-2013' at line 1. Query was: INSERT INTO warnings (userid, reason, added, expiry, warnedby, type) VALUES (439,'You're warned because you have accumulated 3 HnR','2013-03-15 11:53:23','22-Mar-2013 09:53:23','0','HnR').

code on line 332 for me is






SQL_Query_exec("INSERT INTO warnings (userid, reason, added, expiry, warnedby, type) VALUES ($user,'".$reason."','".get_date_time()."','".$expiretime."','0','HnR')");





Apache version 2.2.21

PHP version 5.3.8

MySQL version 5.1.68-cll

Architecture x86_64

Operating system linux
Google translate say you  both said

a toi de les rédiger!! Tu veux pas je t'installe le mod non plus?

(you have to write! You want to install the mod I not?)

HÉ c'est une question !!! ON SE CALME!!

(HEY this is an issue! SE ON QUIET!)

which doesn't make any sense to us english speaking members :wacko:
"mostvotedplaya, post: 84065":
If you want to be more accurate maybe use



$secs = date('t') * 86400;

That should return the number of days in the correct month.





thanks for that  :)



i use or (edit_users)





i think it better that way.



if ($CURUSER["control_panel"] == "yes") {






Instead of







if ($CURUSER["class"] == "7") {

"ArcticWolf, post: 84614":
only time i ever seen that bug with image upload is when an image is really not an .jpg but an .bmp or .png just renamed to an .jpg that might be your issue.

yeah could be, who knows whats been done with these images that are on the net these days lol
Yeah tried that but then png's and gif's don't work, i just let my users know they can't upload jpg's, they can live with it :lol:
Tested and working. Thanks again Arcticwolf  EDIT: hhmm seams i spoke too soon, it uploaded once then i tried another image and still wont work  :(



PHP Warning:  imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: gd-jpeg: JPEG library reports unrecoverable error:  in /var/home/xxxx/public_html/upavatar.php on line 51

[05-Aug-2012 08:50:04] PHP Warning:  imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: '/tmp/phpQJ1uSR' is not a valid JPEG file in /var/home/xxxx/public_html/upavatar.php on line 51

[05-Aug-2012 08:50:04] PHP Warning:  imagecopyresampled() expects parameter 2 to be resource, boolean given in /var/home/xxxx/public_html/upavatar.php on line 52

I have the same problem, gifs upload fine as well as png's it just seems to be jpg's

I have tried renaming the extension to  jpg, JPG, jpeg And even JPEG but still not uploading image to server.

Dedicated Server.

TT 2.08

Apache version 2.2.21

linux  2.6.18-238.19.1.el5

PHP version 5.3.8

MySQL version 5.1.63-cll
i tested your announce with a clean insert of the code and it works fine  ^_^

try attached

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5770"]announce.php[/url]
Thanks guys, i found that code too  :)

also for reset funds per month



//===clear funds after one month

 

$secs = 28*86400;

$dt = sqlesc(get_date_time(gmtime() - $secs));

SQL_Query_exec("DELETE FROM funds WHERE added < $dt");



 //===end

"ArcticWolf, post: 82900":
I of the other addons about donor stuff here has the cleanup to reset to power user once it expires.. use the search thats whats it here for!!!!!!!!!!!!!!!


would you write me the clean up code if i pay you?

or if not you could someone else?
thanks again, is there away to show the donor until in account and account details?
ok have tested and still no upgrade, received the pm's this time though, thanks for your effort.

"ArcticWolf, post: 82861":
so if dont work for you dont call me i will call you:)

:huh:

I do have a working ipn donate system but i really like the donor until option this one gave.

thanks again
thanks for the share
Thanks

mostvotedplaya's worked for me, i have coolys ajaxshout :)
hmm seems it doesn't update the tables, works as far as paypal and receiving the money but account not updated.

i have tried with my paypal email and my ipn addy, still no go :(
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: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728