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

[ADDON] Forums — 2011-03-08 11:29:20 in v2 Only Mods Complete
"rdesormiers, post: 71170":
Hi Guys,
This might sounds as a silly question, but I have looked around and would there be a way to add code to be able to MOVE a POST that wasn't posted in the right section as per example.  I can't image the only way would be to delete and recreate it!

Thanx. Regards.
For you move a topic that has not been put in the right section. it is in the post and you look at the bottom is the moderation
Post 1 updated
I have this hacks because I received emails from members who wanted more mass emails.

Sql

ALTER TABLE 
I do like me this is working perfectly

<?php

ksort($tzs);

reset($tzs);

while (list($key, $val) = each($tzs)) {



$tz .= "<option value=\"$key\" selected>$val</option>\n";

}



print("<TR><TD align=right class=table_col1>".TZOFFSET.": </td><TD align=left class=table_col1><select name='tzoffset'>$tz</select></td></tr>");

?>
[ADDON] Forums — 2011-02-11 12:23:01 in v2 Only Mods Complete
Hello

I have a problem with

Quote:
for the messages it does not work
But call well bbcode.php page

print ("<a href=\"java script:SmileIT('
$postername:
$quote
', 'Form', 'body')\"><img src=".$themedir."p_quote.gif border='0' /></a>&nbsp;");

Adult section completed research is doing with SugarDvd.com
"Lakicevic Boris, post: 66770":
that is cool .

Yes because I do not think it exists in English. And I know it's nice to have a beautiful presentation.

I just finished the software section of the research is done with download.cnet.com
I will keep you informed of developments. I've almost finished the section Movies & Music.

The game section is being
That I never found in English, and I doubt you would have beautiful presentations that uploads your members upload or post.

So I am using my generator is in French by translating it into English

The research section will be on English sites. The I just finished the film sections, the research will do with the site www.screenrush.co.uk.

Other sections will emerge notament

Music, manga, games, magazines, ebook, software etc etc.. if you know of sites to search I'd be good to know.

The address of the generator [url="http://english.visualprezz.net/"]http://english.visualprezz.net/[/url]

[url="http://img829.imageshack.us/img829/2726/resultat.png"][/url]
BBcode Deezer — 2010-10-23 07:34:34 in v2 Only Mods Complete
[url="http://www.deezer.com/en/"]http://www.deezer.com/en/[/url]
BBcode Deezer — 2010-10-22 08:51:26 in v2 Only Mods Complete
Here is the bbcode for the playlist of your comment is deezer In the audio button [audio] [audio /]

open backend/functions.php and find

Quote:
//[audio]http://somesite.com/file.mp3[/audio]$s = preg_replace("/\[audio\]((www.|http:\/\/|https:\/\/)[^\s]+(\.mp3))\[\/audio\]/i","<embed autostart=false loop=false controller=true width=220 height=42 src=\\1></embed>", $s);

Add after

Quote:
//[audio]DEEZER Audio url[/audio]$s = preg_replace("/\[audio\][^\s'\"<>]*deezer.com.*pid=([^\s'\"<>]+)\[\/audio\]/ims", "<object width=\"300\" height=\"250\"><param name=\"movie\" value=\"http://www.deezer.com/embed/player?pid=\\1\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param><embed src=\"http://www.deezer.com/embed/player?pid=\\1\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"300\" height=\"250\"></embed></object>", $s);
Is it possible to do the same thing with the number of messages and topics posted in the forum. For example if he has 100 messages posted it is automatically promoted
[MOD] Popup MP — 2010-01-13 11:46:27 in v2 Only Mods Complete
"kardklub, post: 61735":
images/mp/nomp.png\">";"images/mp/yesmp.png\

have you got these images also

thanks

kard


[MOD] Popup MP — 2010-01-10 21:58:17 in v2 Only Mods Complete
"Kasparas, post: 61703":
I' tried it in header.php also but mod doesnt work :/

it has put in theme.css

and login blocks is his need to find

$res = mysql_query("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')") or print(mysql_error());

$arr = mysql_fetch_row($res);

$unreadmail = $arr[0];

if ($unreadmail)

$inboxpic = "<img style=\"border:none\" alt=\"inbox\" title=\"You have a new massage\" src=\"images/mail/newmess.gif\">";

else

$inboxpic = "<img style=\"border:none\" alt=\"inbox\" title=\"No new massages\" src=\"images/mail/nonew.gif\">";

if ($unreadmail){

print("My messages:&nbsp;&nbsp;<a href=mailbox.php?inbox>$inboxpic</a>&nbsp;&nbsp;<b>(<font color=red>$unreadmail</font>)</b>");

}else{

print("My messages:&nbsp;&nbsp;<a href=mailbox.php>$inboxpic</a>&nbsp;&nbsp;<b>(<font color=green>$unreadmail</font>)</b></center>");

}
[MOD] Popup MP — 2010-01-09 23:21:42 in v2 Only Mods Complete
Here's a mod tbdev which display a popup for MP unread.

First popup_msg.js create the file and save it in the js file

Quote:
var ns4=document.layersvar ie4=document.all

var ns6=document.getElementById&&!document.all

//drag drop function for NS 4////

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

var dragswitch=0

var nsx

var nsy

var nstemp

function drag_dropns(name){

if (!ns4)

return

temp=eval(name)

temp.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)

temp.onmousedown=gons

temp.onmousemove=dragns

temp.onmouseup=stopns

}

function gons(e){

temp.captureEvents(Event.MOUSEMOVE)

nsx=e.x

nsy=e.y

}

function dragns(e){

if (dragswitch==1){

temp.moveBy(e.x-nsx,e.y-nsy)

return false

}

}

function stopns(){

temp.releaseEvents(Event.MOUSEMOVE)

}

//drag drop function for ie4+ and NS6////

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

function drag_drop(e){

if (ie4&&dragapproved){

crossobj.style.left=tempx+event.clientX-offsetx

crossobj.style.top=tempy+event.clientY-offsety

return false

}

else if (ns6&&dragapproved){

crossobj.style.left=tempx+e.clientX-offsetx+"px"

crossobj.style.top=tempy+e.clientY-offsety+"px"

return false

}

}

function initializedrag(e){

crossobj=ns6? document.getElementById("showimage") : document.all.showimage

var firedobj=ns6? e.target : event.srcElement

var topelement=ns6? "html" : document.compatMode && document.compatMode!="BackCompat"? "documentElement" : "body"

while (firedobj.tagName!=topelement.toUpperCase() && firedobj.id!="dragbar"){

firedobj=ns6? firedobj.parentNode : firedobj.parentElement

}

if (firedobj.id=="dragbar"){

offsetx=ie4? event.clientX : e.clientX

offsety=ie4? event.clientY : e.clientY

tempx=parseInt(crossobj.style.left)

tempy=parseInt(crossobj.style.top)

dragapproved=true

document.onmousemove=drag_drop

}

}

document.onmouseup=new Function("dragapproved=false")

////drag drop functions end here//////

function hidebox(){

crossobj=ns6? document.getElementById("showimage") : document.all.showimage

if (ie4||ns6)

crossobj.style.visibility="hidden"

else if (ns4)

document.showimage.visibility="hide"

}

Now popup_msg.php file that you put at the root of your FTP

<?php 

//===================================//

// Pop-Up Message System by ShadoW69 //

// Updated by TripleH //

//===================================//

// credits to original coder(s) for  //

// supplying the js script and //

//   basic html structure //

//===================================//

require_once("include/functions.php");

?>

<link rel="stylesheet" type="text/css" href="themes/<?$THEME?>/theme.css">

<script type="text/javascript" src="js/popup_msg.js"></script>





<div id="showimage" style="position:absolute; width:400px; left:400px; top:250px;">

<table border="0" width="400" bgcolor="161617" cellspacing="0" cellpadding="0">

 <tr>

<td width="100%" style="border:none;">

 <table border="0" width="100%" cellspacing="0" cellpadding="0" height="36px">

<tr>

 <td id="dragbar" width="100%" onmousedown="initializedrag(event)">

  <ilayer width="100%" onselectStart="return false">

<layer width="100%" onmouseover="dragswitch=1;if (ns4) drag_dropns(showimage)" onmouseout="dragswitch=0">

<font face="Verdana" color="#007777">

 <strong>

  <small>

<?php

$res = mysql_query("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')") or print(mysql_error());

$arr = mysql_fetch_row($res);

$unread = $arr[0];

echo "<font face=Verdana color=#ffffff>Vous avez $unread nouveau message" . ($unread > 1 ? "s" : "") . "!</font>";

?>

  </small>

 </strong>

</font>

</layer>

  </ilayer>

 </td>

 <td id="bar" align="center">

  <a href="#" onclick="hidebox();return false">

<img src="images/close.png" width="21px" height="20px" border="0">

  </a>

 </td>

</tr>

<tr>

<td width="100%" id="mainbody" colspan="2">



<?php



$res = mysql_query("SELECT * FROM messages as m LEFT JOIN users as u on m.sender = u.id WHERE m.receiver=" . $CURUSER["id"] . " AND m.unread = 'yes' AND m.location IN ('in','both') LIMIT 1 ") or die("barf!");



 while ($arr = mysql_fetch_assoc($res))

{

 if (is_valid_id($arr["sender"]))

{

$sender = "<a href=account-details.php?id={$arr['sender']}>" . ($arr["username"]?$arr["username"]:"[Deleted]") . "</a>";

}

 else

$sender = "System";



$elapsed = get_elapsed_time(sql_timestamp_to_unix_timestamp($arr["added"]));



$reply = "mailbox.php?inbox";



$delete = "mailbox.php?id={$arr['id']}&type=in";



?>



De <b><?php echo $sender;?></b> le <?php echo $arr["added"];?> [Il y a <?php echo $elapsed;?> ]



<?php if ($arr["unread"] == "yes") { ?>



<b>(<font color=red>NOUVEAU!</font>)</b>



<?php   }   ?>



<p>

<table class=main width="100%" border=1 cellspacing=0 cellpadding=10>

 <tr>

<td class=text id='c_body'>

 <?php echo format_comment($arr["msg"]);?>

</td>

 </tr>

</table>

</p>

<p>

<table width="100%" border=0>

 <tr>

<td class=embedded>



 <?php echo ($arr["sender"] ? "<center><a href=$reply><b>Repondre</b></a>" : "<font class=gray><b>Repondre</b></font><center>"); ?>



 </td>

 </tr>

</table>

</p>

<?php } ?>



</td>

</tr>

 </table>

</td>

 </tr>

</table>

</div>

<?php

//===================================//

// Pop-Up Message System End //

//===================================//

?>
Open the CSS of your theme.css and add this (change the colors and images based on your theme)




/*CSS popup MP*/

#dragbar {

 cursor:hand;

 cursor:pointer;

 border:none;

 border-left:solid #9999CC 1px;

 border-top:solid #9999CC 1px;

 padding-left:3px;

 background:url(images/NB_ftm.gif) repeat-x;

}



#bar {

 cursor:hand;

 border:none;

 border-top:solid #9999CC 1px;

 border-right:solid #9999CC 1px;

 background:url(images/NB_ftm.gif) repeat-x;

 vertical-align:bottom;

}



#mainbody {

 background-color: #bbced4;

 border:solid #9999CC 1px;

 border-top:none;

 border-bottom: solid #9999CC 1px;

 border-right: solid #9999CC 1px;

 padding:10px;

}



#c_body {

 border:solid #3d3d3e 1px;

 border-top: solid #9999CC 1px;

 border-left: solid #9999CC 1px;

}





Ouvrez login_block.php et cherchez



$res = mysql_query("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')") or print(mysql_error());

$arr = mysql_fetch_row($res);

$unreadmail = $arr[0];

if ($unreadmail)

$inboxpic = "<img style=\"border:none\" alt=\"inbox\" title=\"You have a new massage\" src=\"images/mail/newmess.gif\">";

else

$inboxpic = "<img style=\"border:none\" alt=\"inbox\" title=\"No new massages\" src=\"images/mail/nonew.gif\">";

if ($unreadmail){

print("My messages:&nbsp;&nbsp;<a href=mailbox.php?inbox>$inboxpic</a>&nbsp;&nbsp;<b>(<font color=red>$unreadmail</font>)</b>");

}else{

print("My messages:&nbsp;&nbsp;<a href=mailbox.php>$inboxpic</a>&nbsp;&nbsp;<b>(<font color=green>$unreadmail</font>)</b></center>");

}





Replace



		$res = mysql_query("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')") or print(mysql_error());

$arr = mysql_fetch_row($res);

$unreadmail = $arr[0];

if ($unreadmail){

require_once("popup_msg.php");

$inboxpic = "<img style=\"border:none\" alt=\"inbox\" title=\"You have a new massage\" src=\"images/mail/newmess.gif\">";

}else{

$inboxpic = "<img style=\"border:none\" alt=\"inbox\" title=\"No new massages\" src=\"images/mail/nonew.gif\">";

}

if ($unreadmail){

print("My messages:&nbsp;&nbsp;<a href=mailbox.php?inbox>$inboxpic</a>&nbsp;&nbsp;<b>(<font color=red>$unreadmail</font></b>");

}else{

print("My messages:&nbsp;&nbsp;<a href=mailbox.php>$inboxpic</a>&nbsp;&nbsp;<b>(<font color=green>$unreadmail</font>)</b></center>");

}



It is a popular set, I wished that when you descend down the index page the popup am

Here close.png has put in images



screenshot

language — 2010-01-01 13:02:34 in v2 Only Mods Complete
Use the block themelang_block.php
Happy New year — 2010-01-01 12:59:18 in General Chat
A Happy New Year 2010

Une bonne et heureuse Ann
I have three errors

Fatal error: Call to undefined function pun_hash() in

Fatal error: Call to undefined function pun_setcookie() in C:\AppServ\www\account-login.php on line 46

Fatal error: Call to undefined function pun_setcookie() in C:\AppServ\www\account-logout.php on line 16

Fatal error: Call to undefined function pun_setcookie() in C:\AppServ\www\account-login.php on line 25

an idea?
I have this error in viewsnatches.php

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 '' at line 1


of or can it come

thank you for your help

My version torrenttrader 2.05
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728