[Apollo] Simple Subforums MOD

Specific instructions on how to apply certain mods to certain styles.

Moderator: Moderators

[Apollo] Simple Subforums MOD

Postby Reiji Kurosaky on Sun Jan 08, 2006 5:07 pm

Greetings...

I have updated this code because I found an error...since Apollo uses 5 different template color, the subforums images were not pointing to the right files so they weren't showing. Now thats fixed.

[code=Simple Subforums (Apollo Changes)]
##############################################################
## MOD Title: Simple Subforums MOD (Apollo Changes)
## MOD Author: Reiji Kurosaky < reiji@villavizar.com > (Gustavo Villavizar) http://villavizar.com
## MOD Description: Apollo style changes for the simple subforums mod by pentapenguin
## MOD Version: 1.0.2
##
## Installation Level: Easy
## Installation Time: 10 Minutes
##
## Files To Edit: 7
## templates/apollo/index_body.tpl
## templates/apollo/modcp_body.tpl
## templates/apollo/modcp_split.tpl
## templates/apollo/posting_body.tpl
## templates/apollo/apollo.cfg
## templates/apollo/viewforum_body.tpl
## templates/apollo/viewtopic_body.tpl
##
## Included Files: 10
## templates/apollo/images/black/folders_new.gif
## templates/apollo/images/black/folders.gif
## templates/apollo/images/blue/folders_new.gif
## templates/apollo/images/blue/folders.gif
## templates/apollo/images/green/folders_new.gif
## templates/apollo/images/green/folders.gif
## templates/apollo/images/purple/folders_new.gif
## templates/apollo/images/purple/folders.gif
## templates/apollo/images/red/folders_new.gif
## templates/apollo/images/red/folders.gif
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## This is only Disturbed One´s Apollo style changes for this MOD. To get the MOD go to

http://phpbbstyles.com/
## also, to get the Apollo Template, go to http://hvmdesign.com/
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
templates/apollo/index_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN forumrow -->

#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- IF ! forumrow.PARENT -->

#
#-----[ FIND ]------------------------------------------
#
<td class="row1h" width="100%" height="50"

onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'">
<span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}"

class="forumlink{catrow.forumrow.XS_NEW}">

{catrow.forumrow.FORUM_NAME}</a><br /></span> <span class="genmed">

{catrow.forumrow.FORUM_DESC}<br /></span><span

class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
</td>
<td class="row1" align="center" valign="middle" height="50"><span class="gensmall">

{catrow.forumrow.TOPICS}

</span></td>
<td class="row1" align="center" valign="middle" height="50"><span class="gensmall">

{catrow.forumrow.POSTS}

</span></td>

#
#-----[ REPLACE WITH ]------------------------------------------
#

<td class="row1h" width="100%" height="50"

onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'">
<span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}"

class="forumlink{catrow.forumrow.XS_NEW}">

{catrow.forumrow.FORUM_NAME}</a><br /></span> <span class="genmed">

{catrow.forumrow.FORUM_DESC}<br /></span><!-- IF catrow.forumrow.MODERATORS --><span

class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}<br /></span><!--

ENDIF -->

<!-- BEGIN sub --><!-- DEFINE $HAS_SUB = 1 --><!-- IF catrow.forumrow.sub.NUM > 0

-->, <!-- ELSE --><span class="genmed">{L_SUBFORUMS}: <!-- ENDIF -->

{catrow.forumrow.sub.LAST_POST_SUB} <a href="{catrow.forumrow.sub.U_VIEWFORUM}" <!-- IF

catrow.forumrow.sub.UNREAD -->class="topic-new"<!-- ENDIF -->

title="{catrow.forumrow.sub.FORUM_DESC_HTML}">

{catrow.forumrow.sub.FORUM_NAME}</a><!-- END sub -->
<!-- IF $HAS_SUB --></span><!-- UNDEFINE $HAS_SUB --><!-- ENDIF -->
</td>
<td class="row1" align="center" valign="middle" height="50"><span class="gensmall">

{catrow.forumrow.TOTAL_TOPICS}
</span></td>
<td class="row1" align="center" valign="middle" height="50"><span class="gensmall">

{catrow.forumrow.TOTAL_POSTS}
</span></td>


#
#-----[ FIND ]------------------------------------------
#
<!-- END forumrow -->

#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- ENDIF -->

#
#-----[ OPEN ]------------------------------------------
#
templates/apollo/modcp_body.tpl


#
#-----[ FIND ]------------------------------------------
#
<a href="{U_INDEX}" class="nav">{L_INDEX}</a>

#
#-----[ IN-LINE FIND ]------------------------------------------
#
</a>

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<!-- IF PARENT_FORUM -->&raquo; <a href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!--

ENDIF -->

#
#-----[ OPEN ]------------------------------------------
#
templates/apollo/modcp_split.tpl


#
#-----[ FIND ]------------------------------------------
#
<a href="{U_INDEX}" class="nav">{L_INDEX}</a>

#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- IF PARENT_FORUM -->&raquo; <a href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!--

ENDIF -->

#
#-----[ OPEN ]------------------------------------------
#
templates/apollo/posting_body.tpl


#
#-----[ FIND ]------------------------------------------
#
<a href="{U_VIEW_FORUM}">{FORUM_NAME}</a>

#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- IF PARENT_FORUM -->&raquo; <a href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!--

ENDIF -->

#
#-----[ OPEN ]------------------------------------------
#
templates/apollo/apollo.cfg


#
#-----[ FIND ]------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
#

// Begin Simple Subforums MOD
$images['forums'] = "$current_template_images/$color/folders.gif";
$images['forums_new'] = "$current_template_images/$color/folders_new.gif";
// End Simple Subforums MOD

#
#-----[ OPEN ]------------------------------------------
#
templates/apollo/viewforum_body.tpl


#
#-----[ FIND ]------------------------------------------
#
<a href="{U_INDEX}">{L_INDEX}</a>

#
#-----[ IN-LINE FIND ]------------------------------------------
#
</a>

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<!-- IF PARENT_FORUM -->&raquo; <a href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!--

ENDIF -->


#
#-----[ FIND ]------------------------------------------
#
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="bottom"><span class="gensmall">{L_MODERATOR}:

{MODERATORS}<br />{LOGGED_IN_USER_LIST}</span></td>

#
#-----[ BEFORE, ADD ]------------------------------------------
#

<br />
<!-- BEGIN catrow -->
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr>
<th colspan="5" class="header">{ARROW}{FORUM_NAME}</th>
</tr>
<tr>
<td class="catHead" colspan="2" height="28" nowrap="nowrap">{L_FORUM}</a></td>
<td class="catHead" width="50" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</td>
<td class="catHead" width="50" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</td>
<td class="catHead" width="150" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</td>
</tr>

<!-- BEGIN forumrow -->
<tr>
<td class="row1" width="30"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="25"

height="25"

alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}"

/></td>
<td class="row1h" width="70%"

onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><a class="topictitle

{topicrow.XS_NEW}" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br

/>
<span class="genmed">{catrow.forumrow.FORUM_DESC}
</span><br /><span class="gensmall">{catrow.forumrow.L_MODERATOR}

{catrow.forumrow.MODERATORS}</span></td>
<td class="row1" align="center" valign="middle" height="50"><span class="gensmall">

{catrow.forumrow.TOPICS}
</span></td>
<td class="row1" align="center" valign="middle" height="50"><span class="gensmall">

{catrow.forumrow.POSTS}
</span></td>
<td class="row1" width="130" align="center" class="catHead" nowrap="nowrap"><span

class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</table>
<!-- END catrow -->
<br />

#
#-----[ OPEN ]------------------------------------------
#
templates/apollo/viewtopic_body.tpl


#
#-----[ FIND ]------------------------------------------
#
<a href="{U_INDEX}">{L_INDEX}</a>


#
#-----[ IN-LINE FIND ]------------------------------------------
#
</a>


#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<!-- IF PARENT_FORUM --> &raquo; <a href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!

-- ENDIF -->

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
[/code]

:arrow: Demo: View Demo here

:arrow: Download (with buttons): [.zip]

:arrow: Pre-modded files: [.zip]

[edit by Disturbed One]
If you want the official images for Simple subforums, then you can get them below. If you don't wish to use them, then feel free to use Reiji's.
ImageImage
Last edited by Reiji Kurosaky on Wed Nov 16, 2011 1:45 am, edited 7 times in total.
My sites:
Villavizar.com

My Styles:
[Venus]
User avatar
Reiji Kurosaky
Registered User
Registered User
 
Posts: 858
Joined: Sat Dec 03, 2005 4:05 pm

Postby mwx on Sun Jan 08, 2006 7:30 pm

are these the complete instructions from subsilver?
User avatar
mwx
Registered User
Registered User
 
Posts: 1075
Joined: Wed Jul 13, 2005 3:19 pm
Location: long island, new york

Postby Reiji Kurosaky on Mon Jan 09, 2006 3:41 am

Yes they are...I still haven´t test them, but it SHOULD work fine.

If you find any error, please post it here so we can fix it.

Also, I am almost uploading the buttons for ALL the color schemes (the subforums one)...and I need to be in contact with Disturbed One, because I´m about to start (well, maybe tomorrow ;) ) the spanish translation for Apollo.
My sites:
Villavizar.com

My Styles:
[Venus]
User avatar
Reiji Kurosaky
Registered User
Registered User
 
Posts: 858
Joined: Sat Dec 03, 2005 4:05 pm

Postby mwx on Mon Jan 09, 2006 12:33 pm

when you get the images done I will upload some pre-modded tpl files
User avatar
mwx
Registered User
Registered User
 
Posts: 1075
Joined: Wed Jul 13, 2005 3:19 pm
Location: long island, new york

Postby kvfb97 on Mon Jan 09, 2006 2:18 pm

[quote user="mwx" post="63777"]when you get the images done I will upload some pre-modded tpl files[/quote]

They are done. Look at first post.
Tip: Don't argue with idiots, they'll drag you down to their level and beat you with experience.
User avatar
kvfb97
Registered User
Registered User
 
Posts: 1774
Joined: Mon Aug 02, 2004 8:18 am
Location: Northern Ireland, UK

Postby Reiji Kurosaky on Mon Jan 09, 2006 3:01 pm

Yes, hope you all like them. ;)

Image
My sites:
Villavizar.com

My Styles:
[Venus]
User avatar
Reiji Kurosaky
Registered User
Registered User
 
Posts: 858
Joined: Sat Dec 03, 2005 4:05 pm

Postby mwx on Mon Jan 09, 2006 8:14 pm

alright. 1 order of apollo simple subforum pre-modded tpl's comin up!
User avatar
mwx
Registered User
Registered User
 
Posts: 1075
Joined: Wed Jul 13, 2005 3:19 pm
Location: long island, new york

Postby Reiji Kurosaky on Mon Jan 09, 2006 8:15 pm

Did you got it working? Don´t you found any problem?
My sites:
Villavizar.com

My Styles:
[Venus]
User avatar
Reiji Kurosaky
Registered User
Registered User
 
Posts: 858
Joined: Sat Dec 03, 2005 4:05 pm

Postby Disturbed One on Tue Jan 10, 2006 3:47 am

Thank you for posting this. Your subforum images look fine, but if you want me to create a set, I can.
High Velocity Media - Accelerated Internet Solutions
http://hvmdesign.com | contact[at]hvmdesign[dot]com
User avatar
Disturbed One
Moderator
Moderator
 
Posts: 2106
Joined: Sat Oct 09, 2004 8:12 pm
Location: Right behind you...

Postby UseLess on Tue Jan 10, 2006 7:28 am

Greetings,

[quote user="Reiji Kurosaky" post="63837"]Did you got it working? Don´t you found any problem?[/quote]

No one should have any problems.

Your supposed to make sure the instructions you provide for adding a mod to a style works before posting it.
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby mwx on Tue Jan 10, 2006 11:00 am

i have a problem. my index is not showing
User avatar
mwx
Registered User
Registered User
 
Posts: 1075
Joined: Wed Jul 13, 2005 3:19 pm
Location: long island, new york

Postby UseLess on Tue Jan 10, 2006 12:58 pm

Greetings,

Are you using this style?
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby mwx on Tue Jan 10, 2006 9:09 pm

yes. my index.php code is in phpbb mod support forum under subforums problems
User avatar
mwx
Registered User
Registered User
 
Posts: 1075
Joined: Wed Jul 13, 2005 3:19 pm
Location: long island, new york

Postby UseLess on Tue Jan 10, 2006 9:24 pm

Greetings,

Then don't spam other posts repeating your problem.

Be patient.

Note: After a couple of days the non relevant posts will be removed from this topic.
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby mwx on Tue Jan 10, 2006 9:48 pm

ok sorry for the spamming :( just want to get my site working again.
User avatar
mwx
Registered User
Registered User
 
Posts: 1075
Joined: Wed Jul 13, 2005 3:19 pm
Location: long island, new york

Next

Return to How to mod some styles

Who is online

Users browsing this forum: No registered users and 1 guest