Jump to content

Recommended Posts

  • Moderators
Posted

Incearca sa adaugi in boardIndexTemplate intre:

<li class='clear'>
	<span class='value'>{$stats['info']['mem_count']}</span>
	{$this->lang->words['total_members']}
</li>

<!-- AICI NOUL COD -->

<li class='clear'>
	{IPSMember::makeProfileLink( $stats['info']['last_mem_name'], $stats['info']['last_mem_id'], $stats['info']['last_mem_seo'], 'value' )}
	{$this->lang->words['newest_member']}
</li>

Urmatoru lucru:

<li class='clear'><span class='value'>{$membersToday['count']}</span> Text pentru membri inregistrati astazi</li>
  • Upvote 1

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

  • Moderators
Posted

Da, scuze am uitat si codul php:

<php>$membersToday=ipsRegistry::DB()->buildAndFetch( array( 'select' => 'count(*) as count','from'   => 'members','where' => "FROM_UNIXTIME(joined, '%Y-%m-%d') = CURDATE()") );</php>

Adauga-l deasupa:

<li class='clear'><span class='value'>{$membersToday['count']}</span> Text pentru membri inregistrati astazi</li>
  • Upvote 2

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

  • Moderators
Posted

Ai configurat setarile la hook?

eNEH9nC.png

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.