top



Hey guys,

When i put those codes in the Templates they dosen't work so can any one tell me how to fix this,

Code:
Total posts {FORUMCOUNTPOST} • Total topics {FORUMCOUNTOPIC} • Total members {FORUMCOUNTUSER} • Our newest member {FORUMLASTUSERLINK}

I want to make the Statistics like this

Total posts 12700 • Total topics 1341 • Total members 436 • Our newest member fletgrea

God... haven't i said this like 2 days ago?
You can't use post varaibles in templates

Total post ( it will say the whole sentence, not just the number)
{TOTAL_POSTS}

Total users ( same as above)
{TOTAL_USERS}

newest user ( same as above)
{NEWEST_USER}

Total topics... Haven't seen it

try this

Code:
  Total posts  <span class="USERCOUNTPOST"></span>  Total topics  <span class="FORUMCOUNTOPIC"></span> Total members <span class="FORUMCOUNTUSER"></span>  our newest member is <span class="FORUMLASTUSERLINK"></span>

Razvan wrote:try this

Code:
  Total posts  <span class="USERCOUNTPOST"></span>  Total topics  <span class="FORUMCOUNTOPIC"></span> Total members <span class="FORUMCOUNTUSER"></span>  our newest member is <span class="FORUMLASTUSERLINK"></span>
I just tried that because it seems impossible to me as there are no PHP variables. And indeed, it doesn't work

The variables i used before do work

LilJur wrote:God... haven't i said this like 2 days ago?
You can't use post varaibles in templates

Total post ( it will say the whole sentence, not just the number)
{TOTAL_POSTS}

Total users ( same as above)
{TOTAL_USERS}

newest user ( same as above)
{NEWEST_USER}

Total topics... Haven't seen it

yeah i know that but its not how i wanna it xD

"Total posts 11489 • Total topics 1174 • Total members 266 • Our newest member "

Just replace the text between the dots with the right stuff given above

LilJur wrote:"Total posts 11489 • Total topics 1174 • Total members 266 • Our newest member "

Just replace the text between the dots with the right stuff given above

Really ?

Yea.

{TOTAL_POSTS} • {TOTAL_USERS} • {NEWEST_USER}
Should do the trick

I know that but the text isn't the the same lol but ok this can be locked now.

You can't do it else way as you don't have acces to the php

Unless you do this Smile

Add this to your site description.

Code:
<script type="text/javascript"> var newuser='{FORUMLASTUSERLINK}'; var topics={FORUMCOUNTOPIC}; var messages={FORUMCOUNTPOST}; var user={FORUMCOUNTUSER}; </script>
And if you wish to use one of them, then just write...
Code:
<script type="text/javascript"> document.write(newuser); </script>
... Which is eqaul to:
Code:
{FORUMLASTUSERLINK}

Don't need this anymore since i fixed the Statistics Smile