First thanks for your great work, this CMS is unique and I believe in, most of them do not propose an integrated tracker so its a good point, most searched.
Well, i have problem, I just dont want visitors can see all posts dealing with the tracker, i mean if iam a visitor i just can see blog news and so on but NOT the last uploaded torrent for example.
First thanks for your great work, this CMS is unique and I believe in, most of them do not propose an integrated tracker so its a good point, most searched.
Well, i have problem, I just dont want visitors can see all posts dealing with the tracker, i mean if iam a visitor i just can see blog news and so on but NOT the last uploaded torrent for example.
Can i do this ? If its yes how ?
Thanks for your attention,
P2PMyLife.com
Insert this line :
{if (isset($smarty.session.logged) && $smarty.session.logged===true) || $posts[p].lid=="xxxxx" }
At ~30 before „<div class=“post_holder{if isset ( $start_page )..."
And {/if} at the line ~98 after the </div>.
In this file : „blog.tpl.php“.
In the test, xxxxx is the name of your blog categories (of your choice) you want to see on your mainpage when you're not logged ...
Now the last torrents cannot appear on the main page when you are a visitor !
If you have a better solution, your welcome !
Thanks.
Added downloads: 2
Comments: 18
Forum posts: 573