[ABD] Collapsible Categories

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: [Beta] Collapsible Categories

Post by autinhyeu »

yes, this MOD is nice ;)
but, it not work with my forum :(
i use phpbb3.0.2 and style TMOL (base subsilver2)
my forum: http://autinhyeu.com
thx
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52219
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [Beta] Collapsible Categories

Post by Brf »

Ypo certainly have a lot of nasty code in that template :P

Try this:

replace

Code: Select all

			<td class="cat" colspan="5"><center><h4><a class="maiyeulananh" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></center></td>
with

Code: Select all

			<td class="cat" colspan="5"><center><h4><a class="maiyeulananh" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></center><input type="button" class="{forumrow.COLLAPSE_CLASS}" value=" " onclick="flipf(this,'{forumrow.FORUM_ID}');" /></td>
		</tr>
		<tbody id="flist{forumrow.FORUM_ID}" {forumrow.S_COLLAPSE}>
autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: [Beta] Collapsible Categories

Post by autinhyeu »

yeah, this MOD have work ;)
thx you very much, nice MOD Image
P/S: how to who is to move icon via right-handed and upwards somewhat of??? it wills more beautiful
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52219
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [Beta] Collapsible Categories

Post by Brf »

Instead of this:

Code: Select all

			<td class="cat" colspan="5"><center><h4><a class="maiyeulananh" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></center><input type="button" class="{forumrow.COLLAPSE_CLASS}" value=" " onclick="flipf(this,'{forumrow.FORUM_ID}');" /></td>
try this:

Code: Select all

			<td class="cat" colspan="4"><center><h4><a class="maiyeulananh" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></center></td><td align="right"><input type="button" class="{forumrow.COLLAPSE_CLASS}" value=" " onclick="flipf(this,'{forumrow.FORUM_ID}');" /></td>
autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: [Beta] Collapsible Categories

Post by autinhyeu »

Brf wrote:Instead of this:

Code: Select all

			<td class="cat" colspan="5"><center><h4><a class="maiyeulananh" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></center><input type="button" class="{forumrow.COLLAPSE_CLASS}" value=" " onclick="flipf(this,'{forumrow.FORUM_ID}');" /></td>
try this:

Code: Select all

			<td class="cat" colspan="4"><center><h4><a class="maiyeulananh" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></center></td><td align="right"><input type="button" class="{forumrow.COLLAPSE_CLASS}" value=" " onclick="flipf(this,'{forumrow.FORUM_ID}');" /></td>
Thanks ^^!
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible
drankur
Registered User
Posts: 271
Joined: Sat Dec 22, 2007 4:16 am

Re: [Beta] Collapsible Categories

Post by drankur »

can anybody plz make this for this style
http://demo.phpbb3styles.net/4poziomSEO ... 94c2af0f7d

thanks
Sat001
Registered User
Posts: 65
Joined: Sun Jul 06, 2008 1:38 am

Re: [Beta] Collapsible Categories

Post by Sat001 »

Hi, is it possible obtain the mod in this forumlist_body? :

Code: Select all

<table class="tablebg" cellspacing="1" width="100%"> 
<tr>
	<th width="50">&nbsp;</th>
	<th align="left">&nbsp;{L_FORUM}&nbsp;</th>
	<th>&nbsp;{L_LAST_POST}&nbsp;</th>
	<th width="50">&nbsp;{L_TOPICS}&nbsp;</th>	
	<th width="50">&nbsp;{L_POSTS}&nbsp;</th>	
</tr>
<!-- BEGIN forumrow -->
	<!-- IF forumrow.S_IS_CAT -->
		<tr>
			<td class="cat" colspan="5"><h4><a href="{forumrow.U_VIEWFORUM}" class="h4">{forumrow.FORUM_NAME}</a></h4></td>			
	</tr>	
	<!-- ELSEIF forumrow.S_IS_LINK -->
		<tr>
			<td class="row2" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row1">
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
			</td>
			<!-- IF forumrow.CLICKS -->
				<td class="row2" colspan="3" align="center"><span class="genmed">{L_REDIRECTS}: {forumrow.CLICKS}</span></td>
			<!-- ELSE -->
				<td class="row2" colspan="3" align="center">&nbsp;</td>
			<!-- ENDIF -->
		</tr>
	<!-- ELSE -->
		<!-- IF forumrow.S_NO_CAT -->		
			<tr>
				<td class="cat" colspan="5"><h4>{L_FORUM}</h4></td>							
			</tr>
		<!-- ENDIF -->
		<tr>
			<td class="row2" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row1" width="70%">
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.MODERATORS -->
					<p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p>
				<!-- ENDIF -->
				<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
					<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
				<!-- ENDIF -->
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
			</td>
			<td class="row2" width="30%" align="center" nowrap="nowrap">
				<!-- IF forumrow.LAST_POST_TIME -->
					<p class="topicdetails">{forumrow.LAST_POST_TIME}</p>
					<p class="topicdetails">{forumrow.LAST_POSTER_FULL}
						<a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a>
					</p>
				<!-- ELSE -->
					<p class="topicdetails">{L_NO_POSTS}</p>
				<!-- ENDIF -->
			</td>
			<td class="row1" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
			<td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td>
		</tr>
	<!-- ENDIF -->
<!-- BEGINELSE -->
	<tr>
		<td class="row1" colspan="5" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td>
	</tr>
<!-- END forumrow -->
	<tr>
		<td class="foot" colspan="5" align="center">
		 <!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}" class="foot">{L_DELETE_COOKIES}</a><!-- ENDIF -->&nbsp;&nbsp;<a href="{U_TEAM}" class="foot">{L_THE_TEAM}</a>&nbsp;&nbsp;<!-- IF not S_IS_BOT and U_MARK_FORUMS --><a href="{U_MARK_FORUMS}" class="foot">{L_MARK_FORUMS_READ}</a><!-- ENDIF --> 
		 
		</td>
	</tr>	
</table>
With subsilver and prosilver it's perfect, but with this style i don't know how installing it. I've tried many times but get some error every time...
twodayslate
Registered User
Posts: 210
Joined: Mon Jan 22, 2007 11:27 pm

Re: [Beta] Collapsible Categories

Post by twodayslate »

This is looking good. Good job!
twodayslate WPblog | PbGunTrader The Paintball Buy, Sell, Trade | DreamHost Quality Hosting
Sat001
Registered User
Posts: 65
Joined: Sun Jul 06, 2008 1:38 am

Re: [Beta] Collapsible Categories

Post by Sat001 »

Sat001 wrote:Hi, is it possible obtain the mod in this forumlist_body? :

Code: Select all

<table class="tablebg" cellspacing="1" width="100%"> 
<tr>
	<th width="50">&nbsp;</th>
	<th align="left">&nbsp;{L_FORUM}&nbsp;</th>
	<th>&nbsp;{L_LAST_POST}&nbsp;</th>
	<th width="50">&nbsp;{L_TOPICS}&nbsp;</th>	
	<th width="50">&nbsp;{L_POSTS}&nbsp;</th>	
</tr>
<!-- BEGIN forumrow -->
	<!-- IF forumrow.S_IS_CAT -->
		<tr>
			<td class="cat" colspan="5"><h4><a href="{forumrow.U_VIEWFORUM}" class="h4">{forumrow.FORUM_NAME}</a></h4></td>			
	</tr>	
	<!-- ELSEIF forumrow.S_IS_LINK -->
		<tr>
			<td class="row2" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row1">
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
			</td>
			<!-- IF forumrow.CLICKS -->
				<td class="row2" colspan="3" align="center"><span class="genmed">{L_REDIRECTS}: {forumrow.CLICKS}</span></td>
			<!-- ELSE -->
				<td class="row2" colspan="3" align="center">&nbsp;</td>
			<!-- ENDIF -->
		</tr>
	<!-- ELSE -->
		<!-- IF forumrow.S_NO_CAT -->		
			<tr>
				<td class="cat" colspan="5"><h4>{L_FORUM}</h4></td>							
			</tr>
		<!-- ENDIF -->
		<tr>
			<td class="row2" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row1" width="70%">
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.MODERATORS -->
					<p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p>
				<!-- ENDIF -->
				<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
					<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
				<!-- ENDIF -->
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
			</td>
			<td class="row2" width="30%" align="center" nowrap="nowrap">
				<!-- IF forumrow.LAST_POST_TIME -->
					<p class="topicdetails">{forumrow.LAST_POST_TIME}</p>
					<p class="topicdetails">{forumrow.LAST_POSTER_FULL}
						<a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a>
					</p>
				<!-- ELSE -->
					<p class="topicdetails">{L_NO_POSTS}</p>
				<!-- ENDIF -->
			</td>
			<td class="row1" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
			<td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td>
		</tr>
	<!-- ENDIF -->
<!-- BEGINELSE -->
	<tr>
		<td class="row1" colspan="5" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td>
	</tr>
<!-- END forumrow -->
	<tr>
		<td class="foot" colspan="5" align="center">
		 <!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}" class="foot">{L_DELETE_COOKIES}</a><!-- ENDIF -->&nbsp;&nbsp;<a href="{U_TEAM}" class="foot">{L_THE_TEAM}</a>&nbsp;&nbsp;<!-- IF not S_IS_BOT and U_MARK_FORUMS --><a href="{U_MARK_FORUMS}" class="foot">{L_MARK_FORUMS_READ}</a><!-- ENDIF --> 
		 
		</td>
	</tr>	
</table>
With subsilver and prosilver it's perfect, but with this style i don't know how installing it. I've tried many times but get some error every time...
Can someone help me? :(
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52219
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [Beta] Collapsible Categories

Post by Brf »

I cannot help you without seeing what your forum looks like.
Sat001
Registered User
Posts: 65
Joined: Sun Jul 06, 2008 1:38 am

Re: [Beta] Collapsible Categories

Post by Sat001 »

Hi Brf thx for your answer. I cannot show u the style because isn't online...anyway it's based on subsilver2, the only difference is that the cells for {forumrow.FORUM_NAME} and {L_FORUM} haven't 2 columns but 1. Ive tried with the S_CONTENT_FLOW_END tag to move the image on the right but it doesn't works. If I try to divide these cells, the dividing line gives a bad graphic effect. :?
_Ming_
Registered User
Posts: 27
Joined: Thu Jun 12, 2008 7:16 pm

Re: [Beta] Collapsible Categories

Post by _Ming_ »

High there,

does somebody know, how I can use this super mod with this great gallery Mod too?

Any help would be great :!: :!:

thnx
Ming
My funboard - I'm happy about every visitor
==========================================
www.CYBERDOOM.de
"Bilder" means "funny pictures" and "Spiele" means "flashgames" :D
==========================================
ENJOY!
_Ming_
Registered User
Posts: 27
Joined: Thu Jun 12, 2008 7:16 pm

Re: [Beta] Collapsible Categories

Post by _Ming_ »

..--little push--..

nobody any idea?

wishful waiting
Ming
My funboard - I'm happy about every visitor
==========================================
www.CYBERDOOM.de
"Bilder" means "funny pictures" and "Spiele" means "flashgames" :D
==========================================
ENJOY!
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52219
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [Beta] Collapsible Categories

Post by Brf »

What does a gallery have to do with collapsing categories?
_Ming_
Registered User
Posts: 27
Joined: Thu Jun 12, 2008 7:16 pm

Re: [Beta] Collapsible Categories

Post by _Ming_ »

...cause there are categories in the same way like the main-forum...

look @ this example :arrow: _SKETCH_

thnx 4 any suggestion :roll:
My funboard - I'm happy about every visitor
==========================================
www.CYBERDOOM.de
"Bilder" means "funny pictures" and "Spiele" means "flashgames" :D
==========================================
ENJOY!
Locked

Return to “[3.0.x] Abandoned MODs”