Jump to content
Welcome, Guest
Existing user? Sign In  

Sign In



Sign Up
Search In
  • More options...
Find results that contain...
Find results in...
Home Forums Minecraft Store Leaderboard Club MuOnline Activity

RizRari

[Tutorial]Hidden Subcategory IPB

Recommended Posts

Look & Feel / Tema / Board Index / boardIndexTemplate

 

 

Cauta:

<if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']">

Inlocuieste cu:

<if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums'] AND $_data['cat_data']['id']!=idul_categoriei">

Textul "idul_categoriei" trebuie inlocuit cu idul categorie care contine arhiva/cosul de gunoi (ATENTIE!: Id-ul categorie care contine arhiva, nu idul arhivei.).

Sau daca aveti mai multe forumuri si nu vreti sa bagati cod la greu in acel IF, puteti incerca asta:

<if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums'] AND !in_array( $_data['cat_data']['id'], array( 1, 2, 3, 4, etc ) )">

Unde schimbati

1, 2, 3, 4, etc

cu ID-urile categoriilor.

Edited by RizRari

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Social Media: Back to top
Gamster.org | gaming is not a crime!
×