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
[ADDON] Recommended Torrents
Controls ·  Search New posts · Mark unread

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

Unknown User
2010-10-12 07:20:48
"phrenytz, post: 62113":
Is there any way to divide it in two rows so it shows three pictures at the upper row and 3 above?I'd really appreciate that  ;)

Thanks
That's exactly what I'm looking for.

How to divide in two rows. I have limited to 8 posters but I want to make two rows with 8 posters each.

Any help?

Thanks
Unknown User
2011-02-22 20:36:22
When using IE as browser it shows the $altname and $cat correct but in Chrome this info doesnt shows up when you hover over the picture.

Is it possible to adapt in Chrome or is it a Chrome problem only ??
Unknown User
2011-02-23 03:12:15
That would be cool to I seen it once just cant remember the php it was in:(

"kastianas, post: 65983":
That's exactly what I'm looking for.How to divide in two rows. I have limited to 8 posters but I want to make two rows with 8 posters each.

Any help?

Thanks
Unknown User
2011-02-23 05:40:52
u mean something like

| | | |

| | | |

the | represent pictures... if thats what u want then can be done by tables.
Unknown User
2011-10-26 19:07:11
"Skayver, post: 33791":
MissDanni after installing this Addon.In file backend/config.php

edit line:

$site_config['RECO_CLASS'] = 6;

confgure who is recomende torrents;

7=Administrator

6=Super Moderators and Administrator

5=Moderators, Super Moderator and Administrator

4=Uploader, Moderators, Super Moderator and Administrator (not recomended)

Defilt this mod configured to onli Super Moderator and Administrator recommende torent.

Sorry for my BAD English

not work for me.everyone can.

Quote:
/// START RECOMMENDED TORRENTS ///$site_config['RECOMMENDED_ON'] = true; //enable/disable Recommended Torrents

$site_config['RECO_CLASS'] = 8; /// Level of users to recommende torrent (5=MOD) (6=SUPER MOD)

// END RECOMMENDED TORRENTS ///
;)
Unknown User
2011-11-10 19:43:56
Hello,

And if I want to show only one sort of category, what can I change?

for example, imagine my category movie is id=3, and I want only show this category as recommended, what can I change please?(in the lines below)

Quote:
/// Recommended torrents imagesbegin_frame("Recommended");

$news = mysql_query("SELECT id, name, added, image1, image2 FROM torrents WHERE banned ='no' AND visible='yes' AND torrents.recommended='yes' ORDER BY torrents.id DESC LIMIT 6"); ///limit number of images

if (mysql_num_rows($news) > 0) {

print("<table align=center cellpadding=0 cellspacing=0 width=100% border=0><tr>");

while ($row2 = mysql_fetch_array($news, MYSQL_NUM)) {

$tor = $row2['0'];

$altname = $row2['1'];

$where = "WHERE banned = 'no' AND visible='yes' AND torrents.id='$tor'";

$res = mysql_query("SELECT torrents.id, torrents.image1, torrents.image2, torrents.added, categories.name AS cat_name FROM torrents LEFT JOIN categories ON torrents.category = categories.id $where $orderby $limit");

$row = mysql_fetch_array($res);

$cat = $row['cat_name'];

$img1 = "<a href='$site_config[sITEURL]/torrents-details.php?id=$row[id]'><img border='0'

src='uploads/images/$row[image1]' alt=\"$altname / $cat\" width=90></a>";

if ($row["image1"] != ""){

print("<td align=center>". $img1 ."<BR></td><td>&nbsp;</td>");

}

}

print("</tr></table>");

}

end_frame();

/// end recommended torrent images

Thanx in advance
Unknown User
2011-11-10 20:01:07
torrents.recommended='yes'





Change to





torrents.category = '3'
Unknown User
2011-11-11 07:53:23
Thanx for your response XIII but I didn't explain correctly what I want...

In fact, I would recommend 2 or 3 cathegories and in the index.php, I want to show only one sort of recommended torrent, decided by myself. Do you understand what I mean?

If I change to "torrents.category = '3'", it will be no correct because others recommended torrents can't be showed and I don't want to show all the cathegory, only one recommended .

To resume, I want to recommended torrents by cathegory.

Ex: Show 3 recommended torrents in Music cathegory + 3 recommended torrents in Movie cathegory + 3 recommended torrents in Ebook cathegory... each cathegory in a different frame in index.php, do you see?

I know it's difficult to explain it...Sorry for my english but I'm sure you understood  :)

Thanx m8
Unknown User
2011-11-11 19:38:01
I did post a mod somewhere where it does this then u would have to add the reccommended to the query, you may be able to find it if you view my posts from my profile
Unknown User
2011-11-30 10:48:03
"Skayver, post: 33787":
####################################################

##

## MOD Title: Recommendet Torrents

##

## MOD Author: Sk@yver

##

## MOD Description: This MOD will add the ability to

## recommend torrents and show

## recommended or top 10 torrents

## in torrent browse page.

##

## MOD Required Settings: NO

##

## MOD Compatibility:  TTv2.x

## Support multilanguage:  Yes

## Installation Level:  Easy

## Installation Time:  5min.

## SQL changes: YES

##

## Files To Edit: 5

## languages/english.lang #Or your language

## torrents.php

## torrents-edit.php

## account.php

## backend/config.php

##

## Files To Upload: 0

##

####################################################


MOD instruction is in the Attachment.



can you pls tel me where to put recommendedtorrents_block.php and where to add these lines?? i mean in index.php if so pls give me location of index.php that after which lines to add these as i edit other instruction i.e account.php,torrents-edit.php,config.php.

Thanks
Unknown User
2011-11-30 13:53:13
it tells you everything you need to know in the install_en.txt
Unknown User
2011-11-30 15:15:03
"thedarklord, post: 77029":
it tells you everything you need to know in the install_en.txt

yes read instruction & i edit all 5 files i.e languages/english.lang,torrents.php,torrents-edit.php,account.php, backend/config.php & i put recommendedtorrents_block.php in blocks folder but when i start preview it show like this in pic, dont know why it showlike this? or if i Enabled Blocks at site it says me same thing which is in pic and site freez on that pls help

1.jpg
1.jpg
Unknown User
2011-11-30 15:26:23
in 2-svn english.lang is depreciated.

The error is saying you do not have that field in the database.
Unknown User
2011-11-30 15:39:38
"XIII, post: 77036":
in 2-svn english.lang is depreciated.
The error is saying you do not have that field in the database.

so what i need to do? is it work at my site or not?
Unknown User
2011-11-30 15:54:01
Well if you followed thedarklord's advice im sure it would of fixed the issue.
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