[Aphrodite] Cat Hierarchy 2.1

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

Moderator: Moderators

[Aphrodite] Cat Hierarchy 2.1

Postby groundfighter on Tue Mar 15, 2005 4:12 pm

I have applied most of the formatting changes to aphrodite that CA has helped me with on the local server. I have not uploaded them yet, to the testing server. On the entry page Development Site
There are rows and tables that do not span all they way across to the right, what do I look for in the code to modify these please?
User avatar
groundfighter
Registered User
Registered User
 
Posts: 504
Joined: Sun Feb 06, 2005 12:20 am
Location: Las Vegas

Postby UseLess on Tue Mar 15, 2005 7:29 pm

Greetings,

This: colspan="2" should probably be colspan="5"
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 groundfighter on Tue Mar 15, 2005 7:31 pm

Thanks I will give it a shot.
User avatar
groundfighter
Registered User
Registered User
 
Posts: 504
Joined: Sun Feb 06, 2005 12:20 am
Location: Las Vegas

Postby groundfighter on Tue Mar 15, 2005 7:50 pm

Is there a way to get the {L_LASTPOST} in cells it is that way in subsilver but not here. I would also like to extend the shading on each forum title to extend all the way to the end.
User avatar
groundfighter
Registered User
Registered User
 
Posts: 504
Joined: Sun Feb 06, 2005 12:20 am
Location: Las Vegas

Postby PostBot on Tue Mar 15, 2005 7:59 pm

Here is topics_box.tpl for that style (requires xs_mod 2.2):[code filename="topics_box.tpl"]
<!-- BEGIN forum_header -->
<?php $forum_name = $forum_header_item['FORUM_NAME']; ?>
<table width="100%" cellspacing="0" class="empty-table">
<tr>
<td align="left" valign="bottom" width="70%"><span class="gensmall">
<!-- BEGIN moderators -->
{L_MODERATORS}:
<!-- BEGIN mod -->
<a href="{forum_header.moderators.mod.U_MOD}" title="{forum_header.moderators.mod.L_MOD_TITLE}">{forum_header.moderators.mod.L_MOD}</a>{forum_header.moderators.mod.L_SEP}
<!-- END mod -->
<!-- END moderators -->
</span></td>
<td align="right" valign="bottom" rowspan="2"><span class="gen">
<!-- BEGIN pagination -->
<b>{forum_header.pagination.L_PAGE_OF}</b>&nbsp;{forum_header.pagination.L_COUNT}<br />
<span class="pagination">
<!-- BEGIN unique_ELSE -->
{forum_header.pagination.L_GOTO}:&nbsp;
<!-- END unique_ELSE -->
<!-- BEGIN previous -->
<a href="{forum_header.pagination.U_PREVIOUS}">{forum_header.pagination.L_PREVIOUS}</a>&nbsp;
<!-- END previous -->
<!-- BEGIN page_number -->
<!-- BEGIN number -->
<!-- BEGIN current -->
{forum_header.pagination.page_number.PAGE}{forum_header.pagination.page_number.L_SEP}
<!-- END current -->
<!-- BEGIN current_ELSE -->
<a href="{forum_header.pagination.page_number.U_PAGE}">{forum_header.pagination.page_number.PAGE}</a>{forum_header.pagination.page_number.L_SEP}
<!-- END current_ELSE -->
<!-- END number -->
<!-- BEGIN number_ELSE -->
...,
<!-- END number_ELSE -->
<!-- END page_number -->

<!-- BEGIN next -->
<a href="{forum_header.pagination.U_NEXT}">{forum_header.pagination.L_NEXT}</a>
<!-- END next -->
</span>
<!-- END pagination -->
</span></td>
</tr>
<tr>
<td align="left" valign="middle"><a href="{U_POST_NEW_TOPIC}" title="{L_POST_NEW_TOPIC}"><img src="{I_POST_NEW_TOPIC}" alt="{L_POST_NEW_TOPIC}" /></a></td>
</tr>
</table>
<!-- END forum_header -->

<!-- BEGIN topicrow -->
<!-- BEGIN startblock -->
<table cellspacing="0" width="100%" class="forumline">
<tr>
<td colspan="7" class="row-header"><span><?php echo $forum_name; ?></span></td>
</tr>
<tr>
<!-- BEGIN no_topics -->
<th>
<!-- END no_topics -->
<!-- BEGIN no_topics_ELSE -->
<th colspan="3">
<!-- END no_topics_ELSE -->
&nbsp;{topicrow.L_TOPICS}&nbsp;
</th>
<th width="100">&nbsp;{L_AUTHOR}&nbsp;</th>
<th width="70">&nbsp;{L_REPLIES}&nbsp;</th>
<th width="70">&nbsp;{L_VIEWS}&nbsp;</th>
<th width="200">&nbsp;{L_LASTPOST}&nbsp;</th>
</tr>
<!-- END startblock -->
<!-- BEGIN topic -->
<!-- BEGIN header -->
<tr>
<td class="row2" colspan="7"><span class="gensmall">
<b>&nbsp;{topicrow.L_HEADER_TITLE}&nbsp;</b>
</span></td>
</tr>
<!-- END header -->
<tr>
<td class="row3 row-center" width="18"><img src="{topicrow.I_TOPIC_FOLDER}" width="15" height="15" alt="{topicrow.L_TOPIC_FOLDER}" title="{topicrow.L_TOPIC_FOLDER}" /></td>
<td class="row3 row-center" width="1%">
<!-- BEGIN msg_icon -->
<img src="{topicrow.topic.msg_icon.I_ICON}" title="{topicrow.topic.msg_icon.L_ICON}" />
<!-- END msg_icon -->
<!-- BEGIN msg_icon_ELSE -->
<img src="{I_SPACER}" width="19" border="0" />
<!-- END msg_icon_ELSE -->
</td>
<td class="row1h row-forum" width="100%" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'"><span class="topiclink">
<!-- BEGIN newest_post -->
<a href="{topicrow.U_NEWEST_POST}" alt="{topicrow.L_NEWEST_POST}"><img src="{topicrow.I_NEWEST_POST}" border="0" alt="{topicrow.L_NEWEST_POST}" title="{topicrow.L_NEWEST_POST}" /></a>
<!-- END newest_post -->
<!-- BEGIN type -->
<!-- BEGIN image -->
<img src="{topicrow.topic.type.I_TOPIC_TYPE}" alt="{topicrow.topic.type.L_TOPIC_TYPE}" title="{topicrow.topic.type.L_TOPIC_TYPE}" />
<!-- END image -->
<!-- BEGIN image_ELSE -->
<b>[{topicrow.topic.type.L_TOPIC_TYPE}]</b>
<!-- END image_ELSE -->
<!-- END type -->
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
</span><span class="gensmall">&nbsp;
<!-- BEGIN sub_title -->
<br />{topicrow.topic.sub_title.SUB_TITLE}
<!-- END sub_title -->
<!-- BEGIN calendar_event -->
<br />{topicrow.topic.calendar_event.S_CALENDAR_EVENT}
<!-- END calendar_event -->
<!-- BEGIN announce -->
<br />{topicrow.topic.announce.S_ANNOUNCE}
<!-- END announce -->
<!-- BEGIN pagination_OR_nav -->
<br />
<!-- END pagination_OR_nav -->
<!-- BEGIN pagination -->
<span class="gotopage">[&nbsp;{topicrow.topic.pagination.L_GOTO}:
<!-- BEGIN page_number -->
<!-- BEGIN number -->
<a href="{topicrow.topic.pagination.page_number.U_PAGE}">{topicrow.topic.pagination.page_number.PAGE}</a>{topicrow.topic.pagination.page_number.L_SEP}
<!-- END number -->
<!-- BEGIN number_ELSE -->
...,
<!-- END number_ELSE -->
<!-- END page_number -->
]</span>
<!-- END pagination -->

<!-- BEGIN navigation -->
[
<!-- BEGIN nav -->
<a href="{topicrow.topic.navigation.nav.U_NAV}" title="{topicrow.topic.navigation.nav.L_NAV_DESC}">{topicrow.topic.navigation.nav.L_NAV}</a>
<!-- BEGIN sep -->
&raquo;
<!-- END sep -->
<!-- END nav -->
]
<!-- END navigation -->
</span></td>
<td class="row1 row-center-small">
<!-- BEGIN author_userlink -->
<a href="{topicrow.U_TOPIC_AUTHOR}" title="{L_VIEW_PROFILE}">{topicrow.TOPIC_AUTHOR}</a>
<!-- END author_userlink -->
<!-- BEGIN author_userlink_ELSE -->
{topicrow.TOPIC_AUTHOR}
<!-- END author_userlink_ELSE -->
</td>
<td class="row2 row-center-small">{topicrow.REPLIES}</td>
<td class="row2 row-center-small">{topicrow.VIEWS}</td>
<td class="row3 row-center-small" style="padding-top: 0;" nowrap="nowrap">
{topicrow.LAST_POST_TIME}<br />
<!-- BEGIN last_post_userlink -->
<a href="{topicrow.U_LAST_POST_AUTHOR}" title="{L_VIEW_PROFILE}">{topicrow.LAST_POST_AUTHOR}</a>
<!-- END last_post_userlink -->
<!-- BEGIN last_post_userlink_ELSE -->
{topicrow.LAST_POST_AUTHOR}
<!-- END last_post_userlink_ELSE -->
<!-- BEGIN moved_ELSE -->
<a href="{topicrow.U_LAST_POST}" title="{L_LAST_POST}"><img src="{I_LAST_POST}" alt="{L_LAST_POST}" border="0" /></a>
<!-- END moved_ELSE -->
</td>
</tr>
<!-- END topic -->
<!-- BEGIN no_topics -->
<tr>
<td class="row1" colspan="7" height="30" align="center" valign="middle"><span class="gen">
{L_NO_TOPICS}
</span></td>
</tr>
<!-- END no_topics -->
<!-- BEGIN bottom -->
<tr><form method="post" action="{S_ACTION}">
<td class="catBottom" colspan="7"><span class="genmed">
{L_PREVIOUS_DAYS}:&nbsp;<select name="topicdays">{TOPICDAYS}</select>&nbsp;
{L_SORT_BY}:&nbsp;<select name="sort">{SORT}</select>
<select name="order">{ORDER}</select>&nbsp;
<input type="submit" class="liteoption" value="{L_GO}" name="submit" />
</span></td>
</form></tr>
<!-- END bottom -->
<!-- BEGIN endblock -->
</table>
<!-- END endblock -->
<!-- END topicrow -->

<!-- BEGIN forum_header -->
<?php $forum_name = $forum_header_item['FORUM_NAME']; ?>
<table width="100%" cellspacing="0" class="empty-table">
<tr>
<td align="left" valign="bottom" width="70%"><span class="gensmall">
<!-- BEGIN moderators -->
{L_MODERATORS}:
<!-- BEGIN mod -->
<a href="{forum_header.moderators.mod.U_MOD}" title="{forum_header.moderators.mod.L_MOD_TITLE}">{forum_header.moderators.mod.L_MOD}</a>{forum_header.moderators.mod.L_SEP}
<!-- END mod -->
<!-- END moderators -->
</span></td>
<td align="right" valign="bottom" rowspan="2"><span class="gen">
<!-- BEGIN pagination -->
<b>{forum_header.pagination.L_PAGE_OF}</b>&nbsp;{forum_header.pagination.L_COUNT}<br />
<span class="pagination">
<!-- BEGIN unique_ELSE -->
{forum_header.pagination.L_GOTO}:&nbsp;
<!-- END unique_ELSE -->
<!-- BEGIN previous -->
<a href="{forum_header.pagination.U_PREVIOUS}">{forum_header.pagination.L_PREVIOUS}</a>&nbsp;
<!-- END previous -->
<!-- BEGIN page_number -->
<!-- BEGIN number -->
<!-- BEGIN current -->
{forum_header.pagination.page_number.PAGE}{forum_header.pagination.page_number.L_SEP}
<!-- END current -->
<!-- BEGIN current_ELSE -->
<a href="{forum_header.pagination.page_number.U_PAGE}">{forum_header.pagination.page_number.PAGE}</a>{forum_header.pagination.page_number.L_SEP}
<!-- END current_ELSE -->
<!-- END number -->
<!-- BEGIN number_ELSE -->
...,
<!-- END number_ELSE -->
<!-- END page_number -->

<!-- BEGIN next -->
<a href="{forum_header.pagination.U_NEXT}">{forum_header.pagination.L_NEXT}</a>
<!-- END next -->
</span>
<!-- END pagination -->
</span></td>
</tr>
<tr>
<td align="left" valign="middle"><a href="{U_POST_NEW_TOPIC}" title="{L_POST_NEW_TOPIC}"><img src="{I_POST_NEW_TOPIC}" alt="{L_POST_NEW_TOPIC}" /></a></td>
</tr>
</table>
<!-- END forum_header -->
[/code]here is index_body.tpl:[code file="index_body.tpl"]<div class="forumline nav-div">
<p class="nav-header">
{NAVIGATION_BOX}
</p>
<div class="nav-links">
<div class="nav-links-left">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a><br />
<!-- END switch_user_logged_in -->
{CURRENT_TIME} | {S_TIMEZONE}
</div>
<!-- BEGIN switch_user_logged_in -->
<a href="{U_MARK_READ}">{L_MARK_READ}</a> | <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> | <a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
<!-- END switch_user_logged_out -->
</div>
</div>

<!-- BEGIN switch_user_logged_out -->
<div align="right">
<form method="post" action="{S_LOGIN_ACTION}"><input type="hidden" name="autologin" value="checked" />
<span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="username" size="10" />
&nbsp;{L_PASSWORD}:
<input class="post" type="password" name="password" size="10" maxlength="32" />
&nbsp;
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</span>
</form>
</div>
<!-- END switch_user_logged_out -->




<!-- BEGIN indexrow -->
<!-- BEGIN header -->
<table width="100%" cellspacing="0" class="forumline">
<!-- DEFINE $NO_HEADER = 1 -->
<!-- END header -->

<!-- BEGIN cat -->
<!-- BEGIN row -->
<!-- UNDEFINE $NO_HEADER -->
<tr>
<td colspan="5" class="row-header"><span><a href="{indexrow.cat.U_VIEWCAT}">{indexrow.cat.CAT_DESC}</a></span></td>
</tr>
<tr>
<th colspan="2">{L_FORUM}</th>
<th>{L_TOPICS}</th>
<th>{L_POSTS}</th>
<th>{L_LASTPOST}</th>
</tr>
<!-- END row -->
<!-- END cat -->

<!-- BEGIN forum -->
<!-- BEGIN row -->
<!-- IF $NO_HEADER -->
<!-- UNDEFINE $NO_HEADER -->
<tr>
<td colspan="5" class="row-header"><span><!-- IF $FORUM_NAME -->{$FORUM_NAME}<!-- ELSE -->{L_FORUM}<!-- ENDIF --></span></td>
</tr>
<tr>
<th colspan="2">{L_FORUM}</th>
<th>{L_TOPICS}</th>
<th>{L_POSTS}</th>
<th>{L_LASTPOST}</th>
</tr>
<!-- ENDIF -->
<tr>
<td class="row3 row-center" width="30"><img src="{indexrow.forum.I_FORUM_FOLDER}" width="25" height="25" alt="{indexrow.forum.L_FORUM_FOLDER}" title="{indexrow.forum.L_FORUM_FOLDER}" /></td>
<td class="row1h{indexrow.forum.XS_NEW} row-forum" width="70%" onclick="window.location.href='{indexrow.forum.U_VIEWFORUM}'"><a class="forumlink{catrow.forumrow.XS_NEW}" href="{indexrow.forum.U_VIEWFORUM}">{indexrow.forum.FORUM_NAME}</a><br />
<span class="genmed">{indexrow.forum.FORUM_DESC}<br />
</span>
<!-- BEGIN moderators -->
<span class="moderators">
{L_MODERATORS}:
<!-- BEGIN mod -->
<a href="{indexrow.forum.row.moderators.mod.U_MOD}" title="{indexrow.forum.row.moderators.mod.L_MOD_TITLE}" class="gensmall">{indexrow.forum.row.moderators.mod.L_MOD}</a>{indexrow.forum.row.moderators.mod.L_SEP}
<!-- END mod -->
</span>
<!-- END moderators -->
<!-- BEGIN subforums -->
<span class="gensmall">
<b>{L_SUBFORUMS}:&nbsp;</b>
<!-- BEGIN sub -->
<img src="{indexrow.forum.row.subforums.sub.I_SUB}" border="0" align="middle" alt="{indexrow.forum.row.subforums.sub.L_SUB_ALT}" title="{indexrow.forum.row.subforums.sub.L_SUB_ALT}" /><a href="{indexrow.forum.row.subforums.sub.U_SUB}" title="{indexrow.forum.row.subforums.sub.L_SUB_DESC}" class="gensmall">{indexrow.forum.row.subforums.sub.L_SUB}</a>{indexrow.forum.row.subforums.sub.L_SEP}
<!-- END sub -->
<br /></span>
<!-- END subforums -->
</td>
<td class="row2 row-center-small">{indexrow.forum.TOPICS}</td>
<td class="row2 row-center-small">{indexrow.forum.POSTS}</td>
<td class="row3 row-center-small" width="130">
<!-- BEGIN last_post -->
<a href="{indexrow.forum.U_LAST_TOPIC}" class="gensmall" title="{indexrow.forum.LAST_TOPIC_TITLE_ALT}">{indexrow.forum.LAST_TOPIC_TITLE}</a><br />
{indexrow.forum.LAST_POST_TIME}<br />
<!-- BEGIN userlink -->
<a href="{indexrow.forum.U_LAST_POSTER}" class="gensmall" title="{L_LAST_POSTER}">{indexrow.forum.LAST_POSTER}</a>
<!-- END userlink -->
<!-- BEGIN userlink_ELSE -->
{indexrow.forum.LAST_POSTER}
<!-- END userlink_ELSE -->
<a href="{indexrow.forum.U_LAST_POST}" class="gensmall" title="{L_LAST_POST}"><img src="{I_LAST_POST}" border="0" alt="{L_LAST_POST}" /></a><br />
<!-- END last_post -->
<!-- BEGIN last_post_ELSE -->
{L_NO_POSTS}
<!-- END last_post_ELSE -->
</td>
</tr>
<!-- END row -->
<!-- END forum -->

<!-- BEGIN link -->
<!-- BEGIN row -->
<!-- UNDEFINE $NO_HEADER -->
<tr>
<td colspan="5" class="row-header"><span><!-- IF $FORUM_NAME -->{$FORUM_NAME}<!-- ELSE -->{L_FORUM}<!-- ENDIF --></span></td>
</tr>
<tr>
<th colspan="2">{L_FORUM}</th>
<th>{L_TOPICS}</th>
<th>{L_POSTS}</th>
<th>{L_LASTPOST}</th>
</tr>
<!-- ENDIF -->
<tr>
<td class="row1" align="center" valign="middle" height="50" width="50">
<img src="{indexrow.link.I_FORUM_FOLDER}" border="0" alt="{indexrow.link.L_FORUM_FOLDER}" title="{indexrow.link.L_FORUM_FOLDER}" />
</td>
<td class="row1" height="50">
<!-- BEGIN forum_icon -->
<table cellpadding="0" cellspacing="0" width="100%" border="0"><tr>
<td><a href="{indexrow.link.U_VIEWFORUM}" class="forumlink"><img src="{indexrow.link.FORUM_ICON}" border="0" alt="" title="" /></a></td><td><span class="gen">&nbsp;</span></td><td width="100%">
<!-- END forum_icon -->
<span class="forumlink"><a href="{indexrow.link.U_VIEWFORUM}" class="forumlink">{indexrow.link.FORUM_NAME}</a><br /></span>
<span class="genmed">{indexrow.link.FORUM_DESC}<br /></span>
<!-- BEGIN subforums -->
<span class="gensmall">
<b>{L_SUBFORUMS}:&nbsp;</b>
<!-- BEGIN sub -->
<img src="{indexrow.link.row.subforums.sub.I_SUB}" border="0" align="middle" alt="{indexrow.link.row.subforums.sub.L_SUB_ALT}" title="{indexrow.link.row.subforums.sub.L_SUB_ALT}" /><a href="{indexrow.link.row.subforums.sub.U_SUB}" title="{indexrow.link.row.subforums.sub.L_SUB_DESC}" class="gensmall">{indexrow.link.row.subforums.sub.L_SUB}</a>{indexrow.link.row.subforums.sub.L_SEP}
<!-- END sub -->
<br /></span>
<!-- END subforums -->
<!-- BEGIN forum_icon -->
</td></tr></table>
<!-- END forum_icon -->
</td>
<td class="row3right" align="center" valign="middle" height="50" colspan="3" width="340"><span class="gensmall">{indexrow.link.HITS}</span></td>
</tr>
<!-- END row -->
<!-- END link -->

<!-- BEGIN footer -->
</table>
<!-- DEFINE $NO_HEADER = 1 -->
<!-- END footer -->
<!-- END indexrow -->

{FORUM_TOPICS}

{STATS_BOX}

<!-- BEGIN forum_legend -->
<table cellspacing="3" align="center" cellpadding="0" class="forumline no-width">
<tr>
<td class="row-center-small"><img src="templates/ca_aphrodite/images/folder_new.gif" alt="{L_NEW_POSTS}"/></td>
<td class="row-center-small">{L_NEW_POSTS}</td>
<td class="row-center-small">&nbsp;&nbsp;</td>
<td class="row-center-small"><img src="templates/ca_aphrodite/images/folder.gif" alt="{L_NO_NEW_POSTS}" /></td>
<td class="row-center-small">{L_NO_NEW_POSTS}</td>
<td class="row-center-small">&nbsp;&nbsp;</td>
<td class="row-center-small"><img src="templates/ca_aphrodite/images/folder_locked.gif" alt="{L_FORUM_LOCKED}" /></td>
<td class="row-center-small">{L_FORUM_LOCKED}</td>
</tr>
</table>
<!-- END forum_legend -->
[/code]index_stats_box.tpl:[code file="index_stats_box.tpl"]<!-- BEGIN stats -->
<div class="forumline">
<p class="row-header"><span><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></span></p>
<!-- BEGIN root -->
<p class="row1 gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS} :: {NEWEST_USER}<br />{RECORD_USERS}</p>
<!-- END root -->
<p class="row1 gensmall">
<!-- BEGIN root -->
{L_TOTAL_ONLINE}{TOTAL_USERS_ONLINE}<br />
<!-- END root -->
{L_ONLINE_USERS}
<!-- BEGIN root_ELSE -->
{TOTAL_USERS_ONLINE}<br />
<!-- END root_ELSE -->
<!-- BEGIN online -->
{stats.online.L_SEP}<a href="{stats.online.U_VIEW_PROFILE}" title="{L_VIEW_PROFILE}" class="gensmall" {stats.online.STYLE}>{stats.online.USERNAME}</a>
<!-- END online -->
<!-- BEGIN none -->
{NO_USERS_ONLINE}
<!-- END none -->
</p>
<!-- BEGIN past -->
<p class="row1 gensmall">
{L_TOTAL_PAST}{TOTAL_PAST_USERS}<br />{TOTAL_HOUR_USERS}<br />
{L_ONLINE_USERS}
<!-- BEGIN online -->
{stats.past.online.L_SEP}<a href="{stats.past.online.U_VIEW_PROFILE}" title="{L_VIEW_PROFILE}" class="gensmall" {stats.past.online.STYLE}>{stats.past.online.USERNAME}</a>
<!-- END online -->
<!-- BEGIN none -->
{NO_USERS_ONLINE}
<!-- END none -->
</p>
<!-- END past -->
<p class="row1 gensmall">
<b>{L_LEGEND}:</b>&nbsp;
<!-- BEGIN legend -->
<!-- BEGIN link -->
[&nbsp;<b><a href="{stats.legend.U_LEVEL}" class="gensmall" {stats.legend.STYLE}>{stats.legend.LEVEL_NAME}</a></b>&nbsp;]
<!-- END link -->
<!-- BEGIN link_ELSE -->
[&nbsp;<b><span {stats.legend.STYLE}>{stats.legend.LEVEL_NAME}</span></b>&nbsp;]
<!-- END link_ELSE -->
<!-- END legend -->
</p>
</div>
<!-- END stats -->
[/code]navigation_box.tpl and navigation_only_box.tpl (same content for both files):[code file="navigation_box.tpl"]<!-- BEGIN nav -->
<!-- BEGIN sep -->
<a href="{nav.U_NAV}" title="{nav.L_NAV_DESC}">{nav.L_NAV}</a> &raquo;
<!-- BEGINELSE -->
<a href="{nav.U_NAV}" title="{nav.L_NAV_DESC}" class="nav-current">{nav.L_NAV}</a>
<?php $this->_tpldata['DEFINE']['.']['FORUM_NAME'] = $nav_item['L_NAV']; ?>
<!-- END sep -->
<!-- END nav -->
[/code]
I'll post the rest of files when I'll finish working on it.
Do NOT pm me, I don't visit this forum anymore, don't own it, don't provide any support and don't moderate.
User avatar
PostBot
Moderator
Moderator
 
Posts: 10659
Joined: Sat Aug 02, 2003 3:52 pm
Location: Mars

Postby groundfighter on Tue Mar 15, 2005 8:02 pm

Sweet, thanks a lot! Greatly appreciative. 8)
User avatar
groundfighter
Registered User
Registered User
 
Posts: 504
Joined: Sun Feb 06, 2005 12:20 am
Location: Las Vegas

Postby groundfighter on Tue Mar 15, 2005 8:15 pm

I just put all that code in the style, WOW nice job! Knocked out 99% or more of styling issues.
User avatar
groundfighter
Registered User
Registered User
 
Posts: 504
Joined: Sun Feb 06, 2005 12:20 am
Location: Las Vegas

Postby PostBot on Tue Mar 15, 2005 9:05 pm

Its not finished yet. I'll finish all files and will create images tomorrow.
Do NOT pm me, I don't visit this forum anymore, don't own it, don't provide any support and don't moderate.
User avatar
PostBot
Moderator
Moderator
 
Posts: 10659
Joined: Sat Aug 02, 2003 3:52 pm
Location: Mars

Postby PostBot on Wed Mar 16, 2005 12:21 pm

I finished working on it. Everything seems to work fine.

Hovewer, few of tpl files that I posted above are modified.

New images:
[img src="http://www.phpbbstyles.com/temp/buttons/aphrodite/blue/folder_link.gif" /][img src="http://www.phpbbstyles.com/temp/buttons/aphrodite/blue/folders.gif" /][img src="http://www.phpbbstyles.com/temp/buttons/aphrodite/blue/folders_new.gif" /]
[img src="http://www.phpbbstyles.com/temp/buttons/aphrodite/green/folder_link.gif" /][img src="http://www.phpbbstyles.com/temp/buttons/aphrodite/green/folders.gif" /][img src="http://www.phpbbstyles.com/temp/buttons/aphrodite/green/folders_new.gif" /]

Then open xs.cfg and replace second part of file (where $replace array is) with this:
Code: Select all
$replace['overall_header.tpl'] = 'xs/xs_header.tpl';
$replace['index_body.tpl'] = 'xs/xs_index.tpl';
// $replace['viewforum_body.tpl'] = 'xs/xs_forum.tpl';
$replace['viewtopic_body.tpl'] = 'xs/xs_topic.tpl';
// $replace['jumpbox.tpl'] = 'xs/jumpbox.tpl';
$replace['topics_box.tpl'] = 'xs/xs_topics_box.tpl';

Here is code for ca_aphrodite.cfg:[code file="ca_aphrodite.cfg"]//-- mod : categories hierarchy ------------------------------------------------
//-- add
// images addition
$images['whosonline'] = $current_template_images . '/spacer.gif';
$images['icon_unmark_read'] = $current_template_images . '/spacer.gif';

$images['category'] = $current_template_images . '/folders.gif';
$images['category_new'] = $current_template_images . '/folders_new.gif';
$images['category_locked'] = $current_template_images . '/folder_locked.gif';

$images['link'] = $current_template_images . '/folder_link.gif';
$images['icon_minilink'] = $current_template_images . '/icon_post.gif';

$images['forum_tiny'] = $current_template_images . '/icon_post.gif';
$images['forum_new_tiny'] = $current_template_images . '/icon_post_new.gif';
$images['forum_locked_tiny'] = $current_template_images . '/icon_post.gif';

$images['icon_minicat'] = "$current_template_images/icon_minicat.gif";
$images['icon_minicat_new'] = "$current_template_images/icon_minicat_new.gif";
$images['icon_minicat_locked'] = "$current_template_images/icon_minicat_lock.gif";

$images['topic_locked_tiny'] = "$current_template_images/icon_minipost_lock.gif";

// topics
$images['folder_locked_own'] = $current_template_images . '/post_locked_posted.gif';
$images['folder_locked_new_own'] = $current_template_images . '/post_locked_new_posted.gif';

$images['folder_global'] = $current_template_images . '/post_important.gif';
$images['folder_global_new'] = $current_template_images . '/post_important_new.gif';
$images['folder_global_own'] = $current_template_images . '/post_important_posted.gif';
$images['folder_global_new_own'] = $current_template_images . '/post_important_new_posted.gif';

$images['folder_announce_own'] = $current_template_images . '/post_important_posted.gif';
$images['folder_announce_new_own'] = $current_template_images . '/post_important_new_posted.gif';

$images['folder_sticky_own'] = $current_template_images . '/post_important_posted.gif';
$images['folder_sticky_new_own'] = $current_template_images . '/post_important_new_posted.gif';

$images['folder_own'] = $current_template_images . '/post_posted.gif';
$images['folder_new_own'] = $current_template_images . '/post_new_posted.gif';
$images['folder_hot_own'] = $current_template_images . '/post_posted.gif';
$images['folder_hot_new_own'] = $current_template_images . '/post_new_posted.gif';

$images['tree_pic_' . TREE_HSPACE] = "$current_template_images/tree_hspace.gif";
$images['tree_pic_' . TREE_VSPACE] = "$current_template_images/tree_vspace.gif";
$images['tree_pic_' . TREE_CROSS] = "$current_template_images/tree_fcross.gif";
$images['tree_pic_' . TREE_CLOSE] = "$current_template_images/tree_hcross.gif";

$images['cmd_up_arrow'] = "$current_template_images/bs_arrow_up.gif";
$images['cmd_down_arrow'] = "$current_template_images/bs_arrow_down.gif";
$images['cmd_details'] = "$current_template_images/bs_command_details.gif";
$images['cmd_cancel'] = "$current_template_images/{LANG}/bs_command_cancel.gif";
$images['cmd_create'] = "$current_template_images/{LANG}/bs_command_create.gif";
$images['cmd_delete'] = "$current_template_images/{LANG}/bs_command_delete.gif";
$images['cmd_edit'] = "$current_template_images/{LANG}/bs_command_edit.gif";
$images['cmd_submit'] = "$current_template_images/{LANG}/bs_command_submit.gif";
$images['cmd_select'] = "$current_template_images/{LANG}/bs_command_select.gif";
$images['cmd_search'] = "$current_template_images/{LANG}/bs_command_search.gif";
$images['cmd_synchro'] = "$current_template_images/{LANG}/bs_command_synchro.gif";
$images['cmd_export'] = "$current_template_images/{LANG}/bs_command_export.gif";
$images['cmd_check'] = "$current_template_images/{LANG}/bs_command_check.gif";
$images['cmd_regen'] = "$current_template_images/{LANG}/bs_command_regen.gif";
$images['cmd_add'] = "$current_template_images/{LANG}/bs_command_add.gif";

$images['cmd_mini_copy'] = "$current_template_images/bs_command_mini_copy.gif";
$images['cmd_mini_cancel'] = "$current_template_images/bs_command_mini_cancel.gif";
$images['cmd_mini_create'] = "$current_template_images/bs_command_mini_create.gif";
$images['cmd_mini_delete'] = "$current_template_images/bs_command_mini_delete.gif";
$images['cmd_mini_edit'] = "$current_template_images/bs_command_mini_edit.gif";
$images['cmd_mini_submit'] = "$current_template_images/bs_command_mini_submit.gif";
$images['cmd_mini_synchro'] = "$current_template_images/bs_command_mini_synchro.gif";

$images['sts_group'] = "$current_template_images/bs_status_group.gif";
$images['sts_user'] = "$current_template_images/bs_status_user.gif";

$images['spacer'] = $current_template_images . '/spacer.gif';
//-- fin mod : categories hierarchy --------------------------------------------

[/code]Modified index_body.tpl (ignore file in my previous post):[code file="index_body.tpl"]<div class="forumline nav-div">
<p class="nav-header">
{NAVIGATION_BOX}
</p>
<div class="nav-links">
<div class="nav-links-left">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a><br />
<!-- END switch_user_logged_in -->
{CURRENT_TIME} | {S_TIMEZONE}
</div>
<!-- BEGIN switch_user_logged_in -->
<a href="{U_MARK_READ}">{L_MARK_READ}</a> | <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> | <a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
<!-- END switch_user_logged_out -->
</div>
</div>

<!-- BEGIN switch_user_logged_out -->
<div align="right">
<form method="post" action="{S_LOGIN_ACTION}"><input type="hidden" name="autologin" value="checked" />
<span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="username" size="10" />
&nbsp;{L_PASSWORD}:
<input class="post" type="password" name="password" size="10" maxlength="32" />
&nbsp;
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</span>
</form>
</div>
<!-- END switch_user_logged_out -->


<!-- BEGIN indexrow -->
<!-- BEGIN header -->
<table width="100%" cellspacing="0" class="forumline">
<!-- DEFINE $NO_HEADER = 1 -->
<!-- END header -->

<!-- BEGIN cat -->
<!-- BEGIN row -->
<!-- UNDEFINE $NO_HEADER -->
<tr>
<td colspan="5" class="row-header"><span><a href="{indexrow.cat.U_VIEWCAT}">{indexrow.cat.CAT_DESC}</a></span></td>
</tr>
<tr>
<th colspan="2">{L_FORUM}</th>
<th>{L_TOPICS}</th>
<th>{L_POSTS}</th>
<th>{L_LASTPOST}</th>
</tr>
<!-- END row -->
<!-- END cat -->

<!-- BEGIN forum -->
<!-- BEGIN row -->
<!-- IF $NO_HEADER -->
<!-- UNDEFINE $NO_HEADER -->
<tr>
<td colspan="5" class="row-header"><span><!-- IF $FORUM_NAME -->{$FORUM_NAME}<!-- ELSE -->{L_FORUM}<!-- ENDIF --></span></td>
</tr>
<tr>
<th colspan="2">{L_FORUM}</th>
<th>{L_TOPICS}</th>
<th>{L_POSTS}</th>
<th>{L_LASTPOST}</th>
</tr>
<!-- ENDIF -->
<tr>
<td class="row3 row-center" width="30"><img src="{indexrow.forum.I_FORUM_FOLDER}" width="25" height="25" alt="{indexrow.forum.L_FORUM_FOLDER}" title="{indexrow.forum.L_FORUM_FOLDER}" /></td>
<td class="row1h{indexrow.forum.XS_NEW} row-forum" width="70%" onclick="window.location.href='{indexrow.forum.U_VIEWFORUM}'"><a class="forumlink{indexrow.forum.XS_NEW}" href="{indexrow.forum.U_VIEWFORUM}">{indexrow.forum.FORUM_NAME}</a><br />
<span class="genmed">{indexrow.forum.FORUM_DESC}<br />
</span>
<!-- BEGIN moderators -->
<span class="moderators">
{L_MODERATORS}:
<!-- BEGIN mod -->
<a href="{indexrow.forum.row.moderators.mod.U_MOD}" title="{indexrow.forum.row.moderators.mod.L_MOD_TITLE}" class="gensmall">{indexrow.forum.row.moderators.mod.L_MOD}</a>{indexrow.forum.row.moderators.mod.L_SEP}
<!-- END mod -->
</span>
<!-- END moderators -->
<!-- BEGIN subforums -->
<span class="gensmall">
<b>{L_SUBFORUMS}:&nbsp;</b>
<!-- BEGIN sub -->
<img src="{indexrow.forum.row.subforums.sub.I_SUB}" border="0" align="middle" alt="{indexrow.forum.row.subforums.sub.L_SUB_ALT}" title="{indexrow.forum.row.subforums.sub.L_SUB_ALT}" /><a href="{indexrow.forum.row.subforums.sub.U_SUB}" title="{indexrow.forum.row.subforums.sub.L_SUB_DESC}" class="gensmall">{indexrow.forum.row.subforums.sub.L_SUB}</a>{indexrow.forum.row.subforums.sub.L_SEP}
<!-- END sub -->
<br /></span>
<!-- END subforums -->
</td>
<td class="row2 row-center-small">{indexrow.forum.TOPICS}</td>
<td class="row2 row-center-small">{indexrow.forum.POSTS}</td>
<td class="row3 row-center-small" width="130">
<!-- BEGIN last_post -->
<a href="{indexrow.forum.U_LAST_TOPIC}" class="gensmall" title="{indexrow.forum.LAST_TOPIC_TITLE_ALT}">{indexrow.forum.LAST_TOPIC_TITLE}</a><br />
{indexrow.forum.LAST_POST_TIME}<br />
<!-- BEGIN userlink -->
<a href="{indexrow.forum.U_LAST_POSTER}" class="gensmall" title="{L_LAST_POSTER}">{indexrow.forum.LAST_POSTER}</a>
<!-- END userlink -->
<!-- BEGIN userlink_ELSE -->
{indexrow.forum.LAST_POSTER}
<!-- END userlink_ELSE -->
<a href="{indexrow.forum.U_LAST_POST}" class="gensmall" title="{L_LAST_POST}"><img src="{I_LAST_POST}" border="0" alt="{L_LAST_POST}" /></a><br />
<!-- END last_post -->
<!-- BEGIN last_post_ELSE -->
{L_NO_POSTS}
<!-- END last_post_ELSE -->
</td>
</tr>
<!-- END row -->
<!-- END forum -->

<!-- BEGIN link -->
<!-- BEGIN row -->
<!-- IF $NO_HEADER -->
<!-- UNDEFINE $NO_HEADER -->
<tr>
<td colspan="5" class="row-header"><span><!-- IF $FORUM_NAME -->{$FORUM_NAME}<!-- ELSE -->{L_FORUM}<!-- ENDIF --></span></td>
</tr>
<tr>
<th colspan="2">{L_FORUM}</th>
<th>{L_TOPICS}</th>
<th>{L_POSTS}</th>
<th>{L_LASTPOST}</th>
</tr>
<!-- ENDIF -->
<tr>
<td class="row3 row-center" width="30"><img src="{indexrow.link.I_FORUM_FOLDER}" alt="{indexrow.link.L_FORUM_FOLDER}" title="{indexrow.link.L_FORUM_FOLDER}" /></td>
<td class="row1h row-forum" width="70%" onclick="window.location.href='{indexrow.link.U_VIEWFORUM}'"><a class="forumlink" href="{indexrow.link.U_VIEWFORUM}">{indexrow.link.FORUM_NAME}</a><br />
<span class="genmed">{indexrow.link.FORUM_DESC}<br />
</span>
<!-- BEGIN subforums -->
<span class="gensmall">
<b>{L_SUBFORUMS}:&nbsp;</b>
<!-- BEGIN sub -->
<img src="{indexrow.link.row.subforums.sub.I_SUB}" align="middle" alt="{indexrow.link.row.subforums.sub.L_SUB_ALT}" title="{indexrow.link.row.subforums.sub.L_SUB_ALT}" /><a href="{indexrow.link.row.subforums.sub.U_SUB}" title="{indexrow.link.row.subforums.sub.L_SUB_DESC}" class="gensmall">{indexrow.link.row.subforums.sub.L_SUB}</a>{indexrow.link.row.subforums.sub.L_SEP}
<!-- END sub -->
<br /></span>
<!-- END subforums -->
</td>
<td class="row3 row-center-small" colspan="3" width="340"><span class="gensmall">{indexrow.link.HITS}</span></td>
</tr>
<!-- END row -->
<!-- END link -->

<!-- BEGIN footer -->
</table>
<!-- DEFINE $NO_HEADER = 1 -->
<!-- END footer -->
<!-- END indexrow -->

{FORUM_TOPICS}

{STATS_BOX}

<!-- BEGIN forum_legend -->
<table cellspacing="3" align="center" cellpadding="0" class="forumline no-width">
<tr>
<td class="row-center-small"><img src="templates/ca_aphrodite/images/folder_new.gif" alt="{L_NEW_POSTS}"/></td>
<td class="row-center-small">{L_NEW_POSTS}</td>
<td class="row-center-small">&nbsp;&nbsp;</td>
<td class="row-center-small"><img src="templates/ca_aphrodite/images/folder.gif" alt="{L_NO_NEW_POSTS}" /></td>
<td class="row-center-small">{L_NO_NEW_POSTS}</td>
<td class="row-center-small">&nbsp;&nbsp;</td>
<td class="row-center-small"><img src="templates/ca_aphrodite/images/folder_locked.gif" alt="{L_FORUM_LOCKED}" /></td>
<td class="row-center-small">{L_FORUM_LOCKED}</td>
</tr>
</table>
<!-- END forum_legend -->
[/code]Modified topics_box.tpl (ignore file in my previous post):[code file="topics_box.tpl"]
<!-- BEGIN forum_header -->
<?php $forum_name = $forum_header_item['FORUM_NAME']; ?>
<table width="100%" cellspacing="0" class="empty-table">
<tr>
<td align="left" valign="bottom" width="70%"><span class="gensmall">
<!-- BEGIN moderators -->
{L_MODERATORS}:
<!-- BEGIN mod -->
<a href="{forum_header.moderators.mod.U_MOD}" title="{forum_header.moderators.mod.L_MOD_TITLE}">{forum_header.moderators.mod.L_MOD}</a>{forum_header.moderators.mod.L_SEP}
<!-- END mod -->
<!-- END moderators -->
</span></td>
<td align="right" valign="bottom" rowspan="2"><span class="gen">
<!-- BEGIN pagination -->
<b>{forum_header.pagination.L_PAGE_OF}</b>&nbsp;{forum_header.pagination.L_COUNT}<br />
<span class="pagination">
<!-- BEGIN unique_ELSE -->
{forum_header.pagination.L_GOTO}:&nbsp;
<!-- END unique_ELSE -->
<!-- BEGIN previous -->
<a href="{forum_header.pagination.U_PREVIOUS}">{forum_header.pagination.L_PREVIOUS}</a>&nbsp;
<!-- END previous -->
<!-- BEGIN page_number -->
<!-- BEGIN number -->
<!-- BEGIN current -->
{forum_header.pagination.page_number.PAGE}{forum_header.pagination.page_number.L_SEP}
<!-- END current -->
<!-- BEGIN current_ELSE -->
<a href="{forum_header.pagination.page_number.U_PAGE}">{forum_header.pagination.page_number.PAGE}</a>{forum_header.pagination.page_number.L_SEP}
<!-- END current_ELSE -->
<!-- END number -->
<!-- BEGIN number_ELSE -->
...,
<!-- END number_ELSE -->
<!-- END page_number -->

<!-- BEGIN next -->
<a href="{forum_header.pagination.U_NEXT}">{forum_header.pagination.L_NEXT}</a>
<!-- END next -->
</span>
<!-- END pagination -->
</span></td>
</tr>
<tr>
<td align="left" valign="middle"><a href="{U_POST_NEW_TOPIC}" title="{L_POST_NEW_TOPIC}"><img src="{I_POST_NEW_TOPIC}" alt="{L_POST_NEW_TOPIC}" /></a></td>
</tr>
</table>
<!-- END forum_header -->

<!-- BEGIN topicrow -->
<!-- BEGIN startblock -->
<table cellspacing="0" width="100%" class="forumline">
<tr>
<td colspan="7" class="row-header"><span><?php echo $forum_name; ?></span></td>
</tr>
<tr>
<!-- BEGIN no_topics -->
<th>
<!-- END no_topics -->
<!-- BEGIN no_topics_ELSE -->
<th colspan="3">
<!-- END no_topics_ELSE -->
&nbsp;{topicrow.L_TOPICS}&nbsp;
</th>
<th width="100">&nbsp;{L_AUTHOR}&nbsp;</th>
<th width="70">&nbsp;{L_REPLIES}&nbsp;</th>
<th width="70">&nbsp;{L_VIEWS}&nbsp;</th>
<th width="200">&nbsp;{L_LASTPOST}&nbsp;</th>
</tr>
<!-- END startblock -->
<!-- BEGIN topic -->
<!-- BEGIN header -->
<tr>
<td class="row2" colspan="7"><span class="gensmall">
<b>&nbsp;{topicrow.L_HEADER_TITLE}&nbsp;</b>
</span></td>
</tr>
<!-- END header -->
<tr>
<td class="row3 row-center" width="18"><img src="{topicrow.I_TOPIC_FOLDER}" width="15" height="15" alt="{topicrow.L_TOPIC_FOLDER}" title="{topicrow.L_TOPIC_FOLDER}" /></td>
<td class="row3 row-center" width="1%">
<!-- BEGIN msg_icon -->
<img src="{topicrow.topic.msg_icon.I_ICON}" title="{topicrow.topic.msg_icon.L_ICON}" />
<!-- END msg_icon -->
<!-- BEGIN msg_icon_ELSE -->
<img src="{I_SPACER}" width="19" border="0" />
<!-- END msg_icon_ELSE -->
</td>
<td class="row1h{topicrow.XS_NEW} row-forum" width="100%" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'"><span class="topiclink{topicrow.XS_NEW}">
<!-- BEGIN newest_post -->
<a href="{topicrow.U_NEWEST_POST}" alt="{topicrow.L_NEWEST_POST}"><img src="{topicrow.I_NEWEST_POST}" border="0" alt="{topicrow.L_NEWEST_POST}" title="{topicrow.L_NEWEST_POST}" /></a>
<!-- END newest_post -->
<!-- BEGIN type -->
<!-- BEGIN image -->
<img src="{topicrow.topic.type.I_TOPIC_TYPE}" alt="{topicrow.topic.type.L_TOPIC_TYPE}" title="{topicrow.topic.type.L_TOPIC_TYPE}" />
<!-- END image -->
<!-- BEGIN image_ELSE -->
<b>[{topicrow.topic.type.L_TOPIC_TYPE}]</b>
<!-- END image_ELSE -->
<!-- END type -->
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
</span><span class="gensmall">&nbsp;
<!-- BEGIN sub_title -->
<br />{topicrow.topic.sub_title.SUB_TITLE}
<!-- END sub_title -->
<!-- BEGIN calendar_event -->
<br />{topicrow.topic.calendar_event.S_CALENDAR_EVENT}
<!-- END calendar_event -->
<!-- BEGIN announce -->
<br />{topicrow.topic.announce.S_ANNOUNCE}
<!-- END announce -->
<!-- BEGIN pagination_OR_nav -->
<br />
<!-- END pagination_OR_nav -->
<!-- BEGIN pagination -->
<span class="gotopage">[&nbsp;{topicrow.topic.pagination.L_GOTO}:
<!-- BEGIN page_number -->
<!-- BEGIN number -->
<a href="{topicrow.topic.pagination.page_number.U_PAGE}">{topicrow.topic.pagination.page_number.PAGE}</a>{topicrow.topic.pagination.page_number.L_SEP}
<!-- END number -->
<!-- BEGIN number_ELSE -->
...,
<!-- END number_ELSE -->
<!-- END page_number -->
]</span>
<!-- END pagination -->

<!-- BEGIN navigation -->
[
<!-- BEGIN nav -->
<a href="{topicrow.topic.navigation.nav.U_NAV}" title="{topicrow.topic.navigation.nav.L_NAV_DESC}">{topicrow.topic.navigation.nav.L_NAV}</a>
<!-- BEGIN sep -->
&raquo;
<!-- END sep -->
<!-- END nav -->
]
<!-- END navigation -->
</span></td>
<td class="row1 row-center-small">
<!-- BEGIN author_userlink -->
<a href="{topicrow.U_TOPIC_AUTHOR}" title="{L_VIEW_PROFILE}">{topicrow.TOPIC_AUTHOR}</a>
<!-- END author_userlink -->
<!-- BEGIN author_userlink_ELSE -->
{topicrow.TOPIC_AUTHOR}
<!-- END author_userlink_ELSE -->
</td>
<td class="row2 row-center-small">{topicrow.REPLIES}</td>
<td class="row2 row-center-small">{topicrow.VIEWS}</td>
<td class="row3 row-center-small" style="padding-top: 0;" nowrap="nowrap">
{topicrow.LAST_POST_TIME}<br />
<!-- BEGIN last_post_userlink -->
<a href="{topicrow.U_LAST_POST_AUTHOR}" title="{L_VIEW_PROFILE}">{topicrow.LAST_POST_AUTHOR}</a>
<!-- END last_post_userlink -->
<!-- BEGIN last_post_userlink_ELSE -->
{topicrow.LAST_POST_AUTHOR}
<!-- END last_post_userlink_ELSE -->
<!-- BEGIN moved_ELSE -->
<a href="{topicrow.U_LAST_POST}" title="{L_LAST_POST}"><img src="{I_LAST_POST}" alt="{L_LAST_POST}" border="0" /></a>
<!-- END moved_ELSE -->
</td>
</tr>
<!-- END topic -->
<!-- BEGIN no_topics -->
<tr>
<td class="row1 row-center" colspan="7" height="30"><span class="gen">
{L_NO_TOPICS}
</span></td>
</tr>
<!-- END no_topics -->
<!-- BEGIN bottom -->
<tr><form method="post" action="{S_ACTION}">
<td class="catBottom" colspan="7"><span class="genmed">
{L_PREVIOUS_DAYS}:&nbsp;<select name="topicdays">{TOPICDAYS}</select>&nbsp;
{L_SORT_BY}:&nbsp;<select name="sort">{SORT}</select>
<select name="order">{ORDER}</select>&nbsp;
<input type="submit" class="liteoption" value="{L_GO}" name="submit" />
</span></td>
</form></tr>
<!-- END bottom -->
<!-- BEGIN endblock -->
</table>
<!-- END endblock -->
<!-- END topicrow -->

<!-- BEGIN forum_header -->
<?php $forum_name = $forum_header_item['FORUM_NAME']; ?>
<table width="100%" cellspacing="0" class="empty-table">
<tr>
<td align="left" valign="bottom" width="70%"><span class="gensmall">
<!-- BEGIN moderators -->
{L_MODERATORS}:
<!-- BEGIN mod -->
<a href="{forum_header.moderators.mod.U_MOD}" title="{forum_header.moderators.mod.L_MOD_TITLE}">{forum_header.moderators.mod.L_MOD}</a>{forum_header.moderators.mod.L_SEP}
<!-- END mod -->
<!-- END moderators -->
</span></td>
<td align="right" valign="bottom" rowspan="2"><span class="gen">
<!-- BEGIN pagination -->
<b>{forum_header.pagination.L_PAGE_OF}</b>&nbsp;{forum_header.pagination.L_COUNT}<br />
<span class="pagination">
<!-- BEGIN unique_ELSE -->
{forum_header.pagination.L_GOTO}:&nbsp;
<!-- END unique_ELSE -->
<!-- BEGIN previous -->
<a href="{forum_header.pagination.U_PREVIOUS}">{forum_header.pagination.L_PREVIOUS}</a>&nbsp;
<!-- END previous -->
<!-- BEGIN page_number -->
<!-- BEGIN number -->
<!-- BEGIN current -->
{forum_header.pagination.page_number.PAGE}{forum_header.pagination.page_number.L_SEP}
<!-- END current -->
<!-- BEGIN current_ELSE -->
<a href="{forum_header.pagination.page_number.U_PAGE}">{forum_header.pagination.page_number.PAGE}</a>{forum_header.pagination.page_number.L_SEP}
<!-- END current_ELSE -->
<!-- END number -->
<!-- BEGIN number_ELSE -->
...,
<!-- END number_ELSE -->
<!-- END page_number -->

<!-- BEGIN next -->
<a href="{forum_header.pagination.U_NEXT}">{forum_header.pagination.L_NEXT}</a>
<!-- END next -->
</span>
<!-- END pagination -->
</span></td>
</tr>
<tr>
<td align="left" valign="middle"><a href="{U_POST_NEW_TOPIC}" title="{L_POST_NEW_TOPIC}"><img src="{I_POST_NEW_TOPIC}" alt="{L_POST_NEW_TOPIC}" /></a></td>
</tr>
</table>
<!-- END forum_header -->
[/code]Replace xs/xs_index.tpl with this:[code file="xs_index.tpl"]<!-- BEGIN indexrow -->
<!-- BEGIN forum -->
<!-- BEGIN row -->
<?php

$new_item = strpos($forum_item['I_FORUM_FOLDER'], '_new') > 0 ? true : false;
if($new_item)
{
$new_msg = true;
$forum_item['XS_NEW'] = '-new';
}

?>
<!-- END indexrow -->
<!-- END forum -->
<!-- END row -->

<!-- INCLUDE index_body.tpl -->[/code]Create new file xs/xs_topics_box.tpl:[code file="xs_topics_box.tpl"]<!-- BEGIN topicrow -->
<!-- BEGIN topic -->
<?php

$new_item = strpos($topicrow_item['I_TOPIC_FOLDER'], '_new') > 0 ? true : false;
if($new_item)
{
$new_msg = true;
$topicrow_item['XS_NEW'] = '-new';
}

?>
<!-- END topic -->
<!-- END topicrow -->

<!-- INCLUDE topics_box.tpl -->[/code]
Do NOT pm me, I don't visit this forum anymore, don't own it, don't provide any support and don't moderate.
User avatar
PostBot
Moderator
Moderator
 
Posts: 10659
Joined: Sat Aug 02, 2003 3:52 pm
Location: Mars

Postby PostBot on Wed Mar 16, 2005 12:24 pm

Also I've uploaded premodded package: http://files.phpbbstyles.com/ca/aphrodite_ch210.zip

It requires:
- cat hierarchy mod 2.1.0
- xs_mod 2.2.0
- subSilver (I didn't include all tpl files for cat_hierarchy mod, so xs_mod will use missing files from subSilver)
Do NOT pm me, I don't visit this forum anymore, don't own it, don't provide any support and don't moderate.
User avatar
PostBot
Moderator
Moderator
 
Posts: 10659
Joined: Sat Aug 02, 2003 3:52 pm
Location: Mars

Postby groundfighter on Wed Mar 16, 2005 5:43 pm

I installed the updated files but it is not finding any of the .tpl files that are installed both in subsilver and aphrodite for instance

Template->make_filename(): Error - template file not found: topics_box.tpl where topics_bx.tpl resides in both template directories.

I assume even though you didn't throw the .tpl files into a subdirectory in the pre-modded file I just downloaded, they still go into phpbb/templates/ca_aphrodite
User avatar
groundfighter
Registered User
Registered User
 
Posts: 504
Joined: Sun Feb 06, 2005 12:20 am
Location: Las Vegas

Postby UseLess on Wed Mar 16, 2005 6:07 pm

Greetings,

I see an bug with the code tags and the code CA posted above, your sig has been included.

Also could the errors be that the normal 'template.php' file is not being used?
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 PostBot on Wed Mar 16, 2005 6:32 pm

Interesting bug. I'll try to fix it.

[quote user="groundfighter" post="23396"]I installed the updated files but it is not finding any of the .tpl files that are installed both in subsilver and aphrodite for instance

Template->make_filename(): Error - template file not found: topics_box.tpl where topics_bx.tpl resides in both template directories.

I assume even though you didn't throw the .tpl files into a subdirectory in the pre-modded file I just downloaded, they still go into phpbb/templates/ca_aphrodite[/quote]
Premodded version is taken directly from my dev forum. I didn't add/remove/rename anything. So it should work fine.

On my test forum configuration for xs_mod and for cat_hierarchy mods is default. And the only other template used is subSilver.
Do NOT pm me, I don't visit this forum anymore, don't own it, don't provide any support and don't moderate.
User avatar
PostBot
Moderator
Moderator
 
Posts: 10659
Joined: Sat Aug 02, 2003 3:52 pm
Location: Mars

Postby groundfighter on Wed Mar 16, 2005 6:34 pm

It worked this morning before I copied the files over. :lol:
User avatar
groundfighter
Registered User
Registered User
 
Posts: 504
Joined: Sun Feb 06, 2005 12:20 am
Location: Las Vegas

Postby PostBot on Wed Mar 16, 2005 6:43 pm

What version of cat_hierarchy mod are you using?

[quote user="UseLess" post="23398"]I see an bug with the code tags and the code CA posted above, your sig has been included.[/quote]
Fixed. It was caused by database limit. I changed type for post_text_compiled from TEXT to LONGTEXT and now it works fine :D
Do NOT pm me, I don't visit this forum anymore, don't own it, don't provide any support and don't moderate.
User avatar
PostBot
Moderator
Moderator
 
Posts: 10659
Joined: Sat Aug 02, 2003 3:52 pm
Location: Mars

Next

Return to How to mod some styles

Who is online

Users browsing this forum: No registered users and 2 guests