Jump to content

Cum pot face acest script


WinrraR

Recommended Posts

1 hour ago, WinrraR said:

Stii cumva acel script din board ? te rog?

<php>
$total_topics_posts = $days = ereg_replace("[^0-9]", "", $forum_data['topics']) + $days = ereg_replace("[^0-9]", "", $forum_data['posts']);

/*$total_topics_posts = number_format($total_topics_posts, null, '.', '.');*/
</php>


 

{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $total_topics_posts ) )"} 

 

Acel cod cu <php> il adaugi in boardindextemplate nu conteaza unde

Si cel cu {parse expression etc... il adaugi in boardindextemplate unde vrei sa iti arate numarul total de posts/topics la o categorie

Link to comment
Share on other sites

2 minutes ago, strongtaz said:

<php>
$total_topics_posts = $days = ereg_replace("[^0-9]", "", $forum_data['topics']) + $days = ereg_replace("[^0-9]", "", $forum_data['posts']);

/*$total_topics_posts = number_format($total_topics_posts, null, '.', '.');*/
</php>


 


{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $total_topics_posts ) )"} 

 

Acel cod cu <php> il adaugi in boardindextemplate nu conteaza unde

Si cel cu {parse expression etc... il adaugi in boardindextemplate unde vrei sa iti arate numarul total de posts/topics la o categorie

Si unde anume gasesc acel script sa se puna in fata categoriilor acolo f_icon adica acel script unde il gasesc in boardindex?

Link to comment
Share on other sites

2 minutes ago, strongtaz said:

De obicei sunt adaugate sub


<td class='col_c_icon'>

Nu e ceva ce poate sa fie facut intr-un topic.. prea mult de explicat.

Mersi man apreciez acum trebuie sa gasesc un script ceva un mod in care sa pun cum este in imagine , se pare ca .. fondatorii sunt zgarciti si nu vor sa ajute.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.