Expand categories

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
myju
Registered User
Posts: 105
Joined: Wed Feb 03, 2010 1:54 am
Location: Dublin, Ireland.
Contact:

Re: Expand categories

Post by myju » Fri Mar 05, 2010 6:07 pm

Excellent folks!

Thanks for the info update, much appreciated.

mut2nt
Registered User
Posts: 47
Joined: Sun Feb 21, 2010 8:22 pm
Location: HELL
Name: none mut2nt
Contact:

Re: Expand categories

Post by mut2nt » Thu Apr 08, 2010 10:56 pm

Any instructions up to date with this version on subsilver2 ?

User avatar
Théonaute
Registered User
Posts: 341
Joined: Sun Jan 22, 2006 10:31 am

Re: Expand categories

Post by Théonaute » Fri Apr 09, 2010 12:40 pm

No.
Théonaute | ex-MOD Team member on phpbb-fr.com
No more phpBB's activities. No MODs updates, no new MODs... Thanks.

skarbanan
Registered User
Posts: 158
Joined: Mon Dec 01, 2008 9:11 am
Contact:

Re: Expand categories

Post by skarbanan » Fri Apr 09, 2010 3:27 pm

Hi, thanks for the great mod!

I was wondering what should i do to have the +/- thing at the rigth side of the category?

I would really appreciate some help.

http://www.piccler.com/viewer.php?file= ... 897773.png

this is my forumlist_body.html:

Code: Select all

<script type="text/javascript">
//<![CDATA[
function show_details(id)
{
   if(document.getElementById(id).style.display == 'none')
   {
      //Display
      document.getElementById(id).style.display = 'block';
      //Change link
      document.getElementById('phpbb_'+id).innerHTML = '<a href="javascript:show_details(\''+id+'\');" title="{L_EXPAND_CAT_HIDE}">-</a>';
      //Delete cookie
      document.cookie = '{COOKIE_NAME}_'+id+'_aff_stat=1;';
   }
   else
   {
      //Don't display
      document.getElementById(id).style.display = 'none';
      //Change link
      document.getElementById('phpbb_'+id).innerHTML = '<a href="javascript:show_details(\''+id+'\');" title="{L_EXPAND_CAT_DISPLAY}">+</a>';      
      //Create cookie
      document.cookie = '{COOKIE_NAME}_'+id+'_aff_stat=0;';
   }
}//]]>
</script>
<!-- BEGIN forumrow -->
	<!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT  -->
			</ul>
	</div> <!-- end custom row -->
<div class="custom-foot"><div class="custom-foot-right"></div></div>
		</div>
	<!-- ENDIF -->

	<!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW  or forumrow.S_NO_CAT  -->
			<div class="inner">
			<ul class="topiclist">
				<li class="header">
                <div class="custom-cat-header">
                <div class="custom-cat-header-left">
					<dl class="icon">
                    

                    <div class="custom-cat-header-right"></div>
						<dt><!-- IF forumrow.S_IS_CAT --><span id="phpbb_cat_{forumrow.FORUM_ID}" style="font-size:10px;margin-right:8px;">{forumrow.DISPLAY_CAT_LINK}</span><div style="padding-left: 20px; margin-top: 1px;"><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE --><div style="padding-left: 20px; margin-top: 8px; font-weight: bold; font-family: Tahoma, Geneva, sans-serif; text-shadow: 2px 2px 2px #0b2534;">{L_FORUM}</div><!-- ENDIF --></div></dt>
					</dl>
                    </div> <!-- /custom-cat-header-left -->
                    </div> <!-- custom cat header -->
                    
				</li>
			</ul>  			</div>  <div class="custom-row">
				<div id="cat_{forumrow.FORUM_ID}" style="display:{forumrow.DISPLAY_CAT};">
			<ul class="topiclist forums">
	<!-- ENDIF -->

	<!-- IF not forumrow.S_IS_CAT -->

		<li class="row">
			<dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
				<dt title="{forumrow.FORUM_FOLDER_IMG_ALT}">
                
                <!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --> <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> <!-- ENDIF -->

					<!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF -->
					<a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br />
					<span class="forum-descriptions">{forumrow.FORUM_DESC}</span>
					<!-- IF forumrow.MODERATORS -->
						<br /><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}
					<!-- ENDIF -->
					<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS --><br /><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}<!-- ENDIF -->
				</dt>
				<!-- IF forumrow.CLICKS -->
					<dd class="redirect"><span>{L_REDIRECTS}: {forumrow.CLICKS}</span></dd>
				<!-- ELSEIF not forumrow.S_IS_LINK -->
                <dd class="lastpost"><span>
                    	<!-- IF forumrow.U_UNAPPROVED_TOPICS --><a href="{forumrow.U_UNAPPROVED_TOPICS}">{UNAPPROVED_IMG}</a><!-- ENDIF -->
						 <!-- IF forumrow.LAST_POST_TIME --><a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}">{forumrow.LAST_POST_SHORTENED_SUBJECT}</a><br />{L_LAST_POST} {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}
						<!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<br />&nbsp;<!-- ENDIF --></span>
					</dd>
					<dd class="topics">{forumrow.TOPICS}<br /><span>{L_TOPICS}</span><dfn>{L_TOPICS}</dfn></dd>
					<dd class="posts">{forumrow.POSTS}<br /><span>{L_POSTS}</span><dfn>{L_POSTS}</dfn></dd>
				<!-- ENDIF -->
			</dl>
		</li>

	<!-- ENDIF -->

	<!-- IF forumrow.S_LAST_ROW -->
			</ul>
			</div>
         <!-- end custom row -->
			</div><div class="custom-foot"><div class="custom-foot-right"></div></div>
	<!-- ENDIF -->

<!-- BEGINELSE -->
	<div class="panel">
		<div class="inner"><span class="corners-top"><span></span></span>
		<strong>{L_NO_FORUMS}</strong>
		<span class="corners-bottom"><span></span></span></div>
	</div>
<!-- END forumrow -->

Schoaf1
Registered User
Posts: 13
Joined: Wed Mar 24, 2010 11:14 am

Re: Expand categories

Post by Schoaf1 » Sat Apr 10, 2010 2:20 pm

Is it also possible to Collapse/Expand a forum (to show / not show its subforums) as you did with category?

gzesku
Registered User
Posts: 3
Joined: Sun Mar 07, 2010 11:49 am

Re: Expand categories

Post by gzesku » Sun Apr 11, 2010 8:54 pm

When can we expect update to 3.0.7? ;)

User avatar
Théonaute
Registered User
Posts: 341
Joined: Sun Jan 22, 2006 10:31 am

Re: Expand categories

Post by Théonaute » Mon Apr 12, 2010 1:46 pm

gzesku wrote:When can we expect update to 3.0.7? ;)
I don't know. My personal life is very busy for the moment and i havent time to code.
Théonaute | ex-MOD Team member on phpbb-fr.com
No more phpBB's activities. No MODs updates, no new MODs... Thanks.

Locked

Return to “[3.0.x] MOD Database Releases”