|
#1
|
|||
|
|||
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
|
#2
|
||||
|
||||
Are you wanting these removing altogether ? or just to be viewed for members only?
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
|
#3
|
||||
|
||||
PHP Code:
|
#4
|
|||
|
|||
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: @Bigjoos, what file is this from and will this remove the boxes even after the user logs in? i would like the stats and categories boxes to be shown only once the user logs in. sorry if i'm asking a dumb question, but i'm still getting used to this. thanks |
#5
|
||||
|
||||
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)) { categories_block("Cats"); }
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
Last edited by daffy; 8th December 2011 at 01:50. |
#6
|
||||
|
||||
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:
|
#7
|
|||
|
|||
Personaling TorrentStrike login screen
thanks a lot guys, will try it and see how it goes!
|
#8
|
||||
|
||||
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 : )
|
#9
|
|||
|
|||
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. Last edited by joeroberts; 8th December 2011 at 13:56. Reason: please use tags |
#10
|
||||
|
||||
upload the file bud
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
|
Tags |
login , personaling , screen , torrentstrike |
|
|