Personaling TorrentStrike login screen
Hi, i'm currently trying to design my tracker and i'm using torrentstrike 0.4. However, i want my login screen to show very little of my sites content and i want the "stats" and torrent categories boxes to not appear at the login screen. how can i change that? i'm using the icgstation theme that comes with it. what should i edit? thanks :sos:
|
Are you wanting these removing altogether ? or just to be viewed for members only?
|
PHP Code:
|
Personaling TorrentStrike login screen
@daffy, basically what i want is for the boxes such as: stats & categories not to be shown at the login screen. only once the user logs in should they be able to see the boxes. how do i do this?
Bump: Quote:
|
post your stdhead mate. that code what joos showed you is what you need to add. you need to add
Code:
if(isset($CURUSER)) { and Code:
} so your categories will be from Code:
categories_block("Cats"); Code:
if(isset($CURUSER)) { |
Aye like daffys says - just follow that..
PHP Code:
PHP Code:
Now remember to use php tags to break in and out otherwise whitey screens and syntax errors unless your aware of that scenario. PHP Code:
|
Personaling TorrentStrike login screen
thanks a lot guys, will try it and see how it goes!
|
If you dont manage it then simply post back with a section of the code and we can show you what you need to do, that way you learn and know how to do the rest : )
|
Personaling TorrentStrike login screen
@Bigjoos, okay will see how it goes. thanks
EDIT: got the hang of it guys and its working great. the boxes don't show anymore, only when the user logs in. thats exactly what i wanted. thanks! Bump: Okay guys, sorry to bother again, but i'm sitting with another problem: i removed the "General" box successfully and now i'm trying to remove the "Stats" and "NZB's" boxes. i'm not too sure what to do here, and when i try always get errors. what am i doing wrong? here is the code below: stdfoot.php PHP Code:
EDIT: if you want me to upload the actual file, just give me a shout, okay. |
upload the file bud
|
All times are GMT +2. The time now is 17:30. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.