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
Today Girl to v2.08
Controls ·  Search New posts · Mark unread

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

Unknown User
2012-03-04 09:01:07
New block! Updated!

Every day a new girl to your website!!

Add language to the next item in your file:

$LANG["TODAY_GIRL"] = "Today Girl";

Preview:

Test it

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5577"]girls_block.php[/url]
girls_block.php
Download
Unknown User
2012-03-04 09:12:07
what is this?
Unknown User
2012-03-04 09:18:22
do u understand what this piece of code is



if ($CURUSER["view_torrents"]=="yes" || !$site_config["MEMBERSONLY"])

?



First your saying they have to be logged in then this is saying if they can view torrents or $site_config["MEMBERSONLY"] is off but because of the first if statement the Membersonly flag will never be used. if u want to limit to just users then use






if ( !$CURUSER ) return;




before the begin_block, if you want to show to both do use if statements.
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: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728