[Aphrodite] Cat Hierarchy 2.1

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

Moderator: Moderators

Postby Florynel on Mon Apr 18, 2005 2:31 pm

nice but I didn't understood a word in there :) if u moded the style to the lates version an works..pls give me a download link(if u wanna share) for the moded Aphrodite template.
User avatar
Florynel
Registered User
Registered User
 
Posts: 27
Joined: Tue Mar 01, 2005 2:58 pm

Postby incredibles on Mon Apr 18, 2005 3:09 pm

sorry, my english is very very bad ;)

i think that u can edit .php files
i edited .tpl files with some cheat
i can share files which can help u
But i added some mods i couldnt take them out like birthday, color groups etc. so i couldnt give .php files.
  • index_body.tpl
    Code: Select all
    <!-- mod : announces -->
    <div class="forumline nav-div">
       <p class="nav-header">
          <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}
       </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_FORUMS_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_show_news -->
    <div align="center">
    {XS_NEWS}
    </div>
    <!-- END switch_show_news -->

    <!-- 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 -->
    {BOARD_ANNOUNCES}
    {BOARD_INDEX}
    <!-- BEGIN disable_viewonline -->
    <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline">
    <tr>
       <th class="row-header" colspan="2"><span><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></span></th>
    </tr>
    <!--
    <tr>
       <td class="row2 row-center-small" align="center" valign="middle" rowspan="4"><img src="../templates/ca_aphrodite/images/guest.gif" alt="{L_WHO_IS_ONLINE}" /></td>
    </tr>
    -->
      <tr>
       <td class="row2 row-center-small" align="center" valign="middle" rowspan="4"><span class="mainmenu">{L_NAME_WELCOME}</span><BR /><span class="mainmenu">{U_NAME_LINK}</span><BR />{AVATAR_IMG}</td>
       <td class="row2 gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</td>
      </tr>
    <!-- Start add - Last visit MOD -->
    <tr>
       <td class="row2 gensmall">{L_USERS_TODAY}&nbsp;{L_USERS_LASTHOUR}<br />{USERS_TODAY_LIST}</br></td>   
    </tr>
    <!-- Start add - Last visit MOD -->
      <tr>
       <td class="row2 gensmall">{TOTAL_USERS_ONLINE} &nbsp; {COLOR_GROUPS_LIST}<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}<br />{L_ONLINE_EXPLAIN}</td>
      </tr>
    <!-- Start add - Birthday MOD -->
      <tr>
       <td class="row2 gensmall" >{L_WHOSBIRTHDAY_TODAY}<br />{L_WHOSBIRTHDAY_WEEK}</td>
      </tr>
    <!-- End add - Birthday MOD -->
    </table>
    <!-- END disable_viewonline -->

    <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>
  • index_box.tpl
    Code: Select all
    <!-- BEGIN catrow -->
    <!-- BEGIN tablehead -->
    <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
    <tr>
       <td colspan="5" class="row-header"><span>{catrow.tablehead.L_FORUM}</span></td>
    </tr>
    <tr>
       <th colspan="{catrow.tablehead.INC_SPAN}" width="100%" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
       <th width="50" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
       <th width="50" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
       <th width="150" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
    </tr>
    <!-- END tablehead -->
    <!-- BEGIN cathead -->
    <tr>
       <td class="cat2" width="100%" colspan="5"><span><b>&raquo;</b>&nbsp;<a href="{catrow.cathead.U_VIEWCAT}"><b>{catrow.cathead.CAT_TITLE}</b></a></span></td>
    </tr>
    <!-- END cathead -->

    <!-- BEGIN forumrow -->
    <tr>
       <!-- BEGIN inc -->
       <td width="46" class="{catrow.forumrow.inc.INC_CLASS}"><img src="{SPACER}" width="46" height="0" /></td>
       <!-- END inc -->
       <td  class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle" height="50"><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{catrow.forumrow.XS_NEW} row-forum" width="100%" height="50" colspan="{catrow.forumrow.INC_SPAN}" valign="top">
          <!-- BEGIN forum_icon -->
          <table cellpadding="2" cellspacing="0" border="0" width="100%" height="47">
          <tr>
          <td width="46" align="center"><a href="{catrow.forumrow.U_VIEWFORUM}"><img src="{catrow.forumrow.ICON_IMG}" border="0" /></a></td>
          <td>
          <!-- END forum_icon -->
          <span class="genmed"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /></span>
          <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
          <span class="moderators">{catrow.forumrow.L_MODERATOR}{catrow.forumrow.MODERATORS}{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span>
          <!-- BEGIN forum_icon -->
             </td>
          </tr>
          </table>
          <!-- END forum_icon -->
       </td>
       <!-- BEGIN forum_link_no -->
       <td class="row3" align="center" valign="middle" height="50"><span class="gensmall"><center>{catrow.forumrow.TOPICS}</center></span></td>
       <td class="row2" align="center" valign="middle" height="50"><span class="gensmall"><center>{catrow.forumrow.POSTS}</center></span></td>
       <td class="row3" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall"><center>{catrow.forumrow.LAST_POST}</center></span></td>
       <!-- END forum_link_no -->
       <!-- BEGIN forum_link -->
       <td class="row3" align="center" valign="middle" height="50" colspan="3"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
       <!-- END forum_link -->
    </tr>
    <!-- END forumrow -->
    <!-- BEGIN tablefoot -->
    </table>
    <br class="gensmall" />
    <!-- END tablefoot -->
    <!-- END catrow -->
  • viewforum_body.tpl
    Code: Select all
    <div class="forumline nav-div">
       <p class="nav-header">
          <span class="nav"><a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</span>
       </p>
       <div class="nav-links">
          <div class="nav-links-left">
             {CURRENT_TIME}
          </div>
          <!-- BEGIN switch_user_logged_in -->
          <a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a>
          <!-- END switch_user_logged_in -->
          <!-- BEGIN switch_user_logged_out --> 
          &nbsp;
          <!-- END switch_user_logged_out -->
       </div>
    </div>

    <table width="100%" cellspacing="0" class="empty-table">
    <tr>
       <td align="left" valign="bottom" width="70%"><span class="gensmall">{L_MODERATOR}: {MODERATORS}<br />{LOGGED_IN_USER_LIST}</span></td>
       <td align="right" valign="bottom" rowspan="2"><span class="gen">
          {PAGE_NUMBER}<br />
          <span class="pagination">{PAGINATION}</span>
       </span></td>
    </tr>
    <tr>
       <td align="left" valign="middle"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" alt="{L_POST_NEW_TOPIC}" /></a></td>
    </tr>
    </table>
    {BOARD_INDEX}
    <!-- mod : announces -->

    <form method="post" action="{S_POST_DAYS_ACTION}" style="display: inline;">
    {BOARD_ANNOUNCES}

    <table cellspacing="0" width="100%" class="forumline">
    <tr>
       <td colspan="6" class="row-header"><span><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
    </tr>
    <tr>
       <th colspan="2">{L_TOPICS}</th>
       <th width="50">{L_REPLIES}</th>
       <th width="100">{L_AUTHOR}</th>
       <th width="50">{L_VIEWS}</th>
       <th width="150">{L_LASTPOST}</th>
    </tr>
    <!-- BEGIN topicrow -->
    <tr>
       <td class="row3 row-center" width="18"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="15" height="15" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></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}">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_ATTACHMENT_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></span>
          <span class="gotopage">{topicrow.GOTO_PAGE}</span>
       </td>
       <td class="row2 row-center-small">{topicrow.REPLIES}</td>
       <td class="row3 row-center-small">{topicrow.TOPIC_AUTHOR}</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 />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</td>
    </tr>
    <!-- END topicrow -->
    <!-- BEGIN switch_no_topics -->
    <tr>
       <td class="row1 row-center" colspan="6" height="30"><span class="gen">{L_NO_TOPICS}</span></td>
    </tr>
    <!-- END switch_no_topics -->
    <tr>
       <td class="catBottom" align="right" valign="middle" colspan="6"><table width="100%" cellspacing="0" cellpadding="0" border="0">
         <tr>
          <td valign="middle" nowrap="nowrap"><span class="genmed">&nbsp;{L_DISPLAY_TOPICS}:</span></td>
          <td valign="middle" nowrap="nowrap">&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;<input type="submit" class="liteoption jumpbox" value="{L_GO}" name="submit" /></td>
          <td valign="middle" align="right" width="100%"><span class="genmed">{S_TIMEZONE}&nbsp;</span></td>
         </tr></table></td>
       </tr>
    </table>
    </form>

    <table width="100%" cellspacing="0" cellpadding="0">
    <tr>
       <td align="left" valign="top" nowrap="nowrap">
          <a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" alt="{L_POST_NEW_TOPIC}" /></a><br />
          <table cellspacing="2" cellpadding="0" border="0" class="forumline">
             <tr>
                <td width="20" align="center"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="15" height="15" /></td>
                <td class="gensmall">{L_NEW_POSTS}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="15" height="15" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS}</td>
                <td>&nbsp;&nbsp;</td>
             </tr>
             <tr>
                <td class="gensmall" align="center"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_TOPIC_LOCKED}" width="15" height="15" /></td>
                <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
                <td>&nbsp;&nbsp;</td>
                <td class="gensmall" align="center"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_TOPIC_LOCKED}" width="15" height="15" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
                <td>&nbsp;&nbsp;</td>
             </tr>
          </table>
          {JUMPBOX}<br />
       </td>
       <td align="right" valign="top" nowrap="nowrap">
          <span class="pagination">{PAGINATION}</span><br />
          <span class="gensmall">{S_AUTH_LIST}</span><br />
       </td>
    </tr>
    </table>
  • topics_list_box.tpl
    Code: Select all
    <!-- BEGIN topics_list_box -->
    <!-- BEGIN row -->
    <!-- BEGIN header_table -->
    <!-- BEGIN multi_selection -->
    <script language="Javascript" type="text/javascript">
    //
    // checkbox selection management
    function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}()
    {
       var all_checked = true;
       for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++)
       {
          if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}')
          {
             all_checked =  document.{topics_list_box.FORMNAME}.elements[i].checked;
          }
       }
       document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
    }
    // check/uncheck all
    function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}()
    {
       for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++)
       {
          if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}')
          {
             document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
          }
       }
    }
    </script>
    <!-- END multi_selection -->

    <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
    <tr>
       <th colspan="{topics_list_box.row.header_table.COLSPAN}" align="center" nowrap="nowrap">&nbsp;{topics_list_box.row.L_TITLE}&nbsp;</th>
       <th width="50" align="center" nowrap="nowrap">&nbsp;{topics_list_box.row.L_REPLIES}&nbsp;</th>
       <th width="100" align="center" nowrap="nowrap">&nbsp;{topics_list_box.row.L_AUTHOR}&nbsp;</th>
       <th width="50" align="center" nowrap="nowrap">&nbsp;{topics_list_box.row.L_VIEWS}&nbsp;</th>
       <th width="150" align="center" nowrap="nowrap">&nbsp;{topics_list_box.row.L_LASTPOST}&nbsp;</th>
       <!-- BEGIN multi_selection -->
       <th width="20" align="center" nowrap="nowrap"><input type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" onClick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" /></th>
       <!-- END multi_selection -->
    </tr>
    <!-- END header_table -->
    <!-- BEGIN header_row -->
    <tr>
       <td class="row3" colspan="{topics_list_box.row.COLSPAN}"><span class="gensmall">&nbsp;&nbsp;<b>{topics_list_box.row.L_TITLE}</b></span></td>
    </tr>
    <!-- END header_row -->
    <!-- BEGIN topic -->
    <tr>
       <!-- BEGIN single_selection -->
       <td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20"><input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>
       <!-- END single_selection -->
       <td class="{topics_list_box.row.ROW_FOLDER_CLASS}" align="center" valign="middle" width="20"><img src="{topics_list_box.row.TOPIC_FOLDER_IMG}" width="15" height="15" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" /></td>
       <!-- BEGIN icon -->
       <td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20">{topics_list_box.row.ICON}</td>
       <!-- END icon -->
       <td class="{topics_list_box.row.ROW_CLASS}" width="100%">
          <span class="topictitle">{topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.TOPIC_TYPE}<a href="{topics_list_box.row.U_VIEW_TOPIC}" class="topictitle">{topics_list_box.row.TOPIC_TITLE}</a></span><span class="gensmall">&nbsp;&nbsp;{topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span>
          <span class="gensmall">
             {topics_list_box.row.GOTO_PAGE}
             <!-- BEGIN nav_tree -->
             {topics_list_box.row.TOPIC_NAV_TREE}
             <!-- END nav_tree -->
          </span>
       </td>
       <td class="row2" align="center" valign="middle"><span class="postdetails">{topics_list_box.row.REPLIES}</span></td>
       <td class="row3" align="center" valign="middle"><span class="name">{topics_list_box.row.TOPIC_AUTHOR}</span></td>
       <td class="row2" align="center" valign="middle"><span class="postdetails">{topics_list_box.row.VIEWS}</span></td>
       <td class="row3" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topics_list_box.row.LAST_POST_TIME}<br />{topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</span></td>
       <!-- BEGIN multi_selection -->
       <td class="row2" align="center" valign="middle"><span class="postdetails"><input type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" onClick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" {topics_list_box.row.L_SELECT} /></span></td>
       <!-- END multi_selection -->
    </tr>
    <!-- END topic -->
    <!-- BEGIN no_topics -->
    <tr>
       <td class="row1" colspan="{topics_list_box.row.COLSPAN}" height="30" align="center" valign="middle"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></td>
    </tr>
    <!-- END no_topics -->
    <!-- BEGIN bottom -->
    <tr>
       <td class="catBottom" colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle"><span class="genmed">{topics_list_box.row.FOOTER}</span></td>
    </tr>
    <!-- END bottom -->
    <!-- BEGIN footer_table -->
    </table>
    <!-- END footer_table -->
    <!-- BEGIN spacer -->
    <br class="gensmall">
    <!-- END spacer -->
    <!-- END row -->
    <!-- END topics_list_box -->


PC: Excuse for my english
phpBB Turkey - phpBB Turkish Support
User avatar
incredibles
Registered User
Registered User
 
Posts: 31
Joined: Mon Jan 17, 2005 2:05 pm
Location: titan

Postby Florynel on Mon Apr 18, 2005 3:15 pm

thank you :) now let me see what I can do :)
User avatar
Florynel
Registered User
Registered User
 
Posts: 27
Joined: Tue Mar 01, 2005 2:58 pm

Postby Cr@ter$ on Mon Apr 18, 2005 3:32 pm

[quote user="incredibles" post="29154"]hi all,
first
it isn't an advertisement.
just an example
i added my forum the latest version of Categories Hierarchy Mod, Announcement Suite Mod and Files Attachment Mod.

thanks :)[/quote]You do know that Categories Hierarchy has a global announcements feature to it, so you don't need the Announcement Suite mod :)
User avatar
Cr@ter$
Registered User
Registered User
 
Posts: 64
Joined: Fri Mar 04, 2005 4:54 am

Postby Cr@ter$ on Mon Apr 18, 2005 3:46 pm

[quote user="Florynel" post="29123"]I had to uninstall the Aphrodite style and now I’m currently on subsilver template until I can find a solution to my problem) …. Helppppppppppp ! … I’m on subsilver guys pls …any help is appreciated !

Other bugs tha I found with Aphrodite :

- the global announcement is not displayed
- the subforums are not displayed[/quote]Hmmm... I don't have those problems, or any other problems (except with one other mod, and the problems with that mod don't bother me). I just have this minor little quirk with the Quick Reply, and it's not even that big of a deal, just an annoyance really.

You may want to try here for support on Categories Hierarchy. I think I read a post somewhere of someone else having those issues, don't remember solution though, or exactly where I read it.

All the files you need to make Aphrodite work with CH are on the first page of this thread (down the page some), those are the ones I used anyway.
Last edited by Cr@ter$ on Mon Apr 18, 2005 3:54 pm, edited 1 time in total.
User avatar
Cr@ter$
Registered User
Registered User
 
Posts: 64
Joined: Fri Mar 04, 2005 4:54 am

Postby Florynel on Mon Apr 18, 2005 3:53 pm

Everything works fine, 1 option is still not working, the view last post in the main file (index.php) hmm I think that’ something is wrong in the index_body.tpl (the file from incredibles didn’t worked for me, thanks anyway)..I’m using the file from CyberAlien(for the 2.1.0 version of the CH mod)…
CyberAlien,I know that you probably have more important thinks to do…but can u take a look at the premoded Aphrodite, and see if u can find what’s wrong with the display of the last post option .

TY ALL for ur help
User avatar
Florynel
Registered User
Registered User
 
Posts: 27
Joined: Tue Mar 01, 2005 2:58 pm

Postby PostBot on Mon Apr 18, 2005 4:06 pm

[quote user="Florynel" post="29172"]CyberAlien,I know that you probably have more important thinks to do…but can u take a look at the premoded Aphrodite, and see if u can find what’s wrong with the display of the last post option .

TY ALL for ur help[/quote]
Sorry, I have no idea what could be wrong. Otherwise I would have replied by now. I'm not familiar well enough with cat_hierarchy mod
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 incredibles on Mon Apr 18, 2005 4:27 pm

[quote user="Cr@ter$" post="29169"]You do know that Categories Hierarchy has a global announcements feature to it, so you don't need the Announcement Suite mod :)[/quote]

i dont interest in Categories Hierarchy mod future, i dont like to edit my forum everytime.
it works well and if mod author fixed secure bug i can change it.
;)
phpBB Turkey - phpBB Turkish Support
User avatar
incredibles
Registered User
Registered User
 
Posts: 31
Joined: Mon Jan 17, 2005 2:05 pm
Location: titan

Postby Florynel on Mon Apr 18, 2005 6:08 pm

I've made 2 screenshots with the
default subsilver and with Aphrodite,It's very strange....
User avatar
Florynel
Registered User
Registered User
 
Posts: 27
Joined: Tue Mar 01, 2005 2:58 pm

Postby kvfb97 on Mon Apr 18, 2005 6:23 pm

Looks like you have left out a <td> somewhere...
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 PostBot on Mon Apr 18, 2005 6:43 pm

Change mod configuration so every category would be in its own table.
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

It works :)

Postby Florynel on Tue Apr 19, 2005 12:12 am

After hours of code reading I’ve finally got it right!
I’ve found the problem the version 2.1.1 of CH mod has changed the index_body.tpl code (I think) instead of

Code: Select all
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{indexrow.forum.TOPICS}</span></td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{indexrow.forum.POSTS}</span></td>
   <td class="row3right" align="center" valign="middle" height="50" nowrap="nowrap"><span class="gensmall">
      <!-- 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 -->
      </span>
   </td>



it shoud be

Code: Select all
   <!-- BEGIN auth_read -->
   <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{indexrow.forum.TOPICS}</span></td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{indexrow.forum.POSTS}</span></td>
   <td class="row3right" align="center" valign="middle" height="50" nowrap="nowrap"><span class="gensmall">
      <!-- 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 -->
      </span>
   </td>
   <!-- END auth_read -->


the lines <!-- BEGIN auth_read --> and <!-- END auth_read --> where missing from my code,dunno why :)
User avatar
Florynel
Registered User
Registered User
 
Posts: 27
Joined: Tue Mar 01, 2005 2:58 pm

Postby Bicet on Sat Apr 30, 2005 6:43 am

Anybody having problem in posting_body.tpl?

I cannot see any topic icons I cannot post announcement.
User avatar
Bicet
Coder
Coder
 
Posts: 247
Joined: Mon Nov 15, 2004 7:50 pm

Postby Florynel on Sat Apr 30, 2005 4:04 pm

m8 my advice to you is to remove this mod..because ot it I lost almost 1200 posts ( all made in one of the subforums)..I've restored my database from a previous save..and I put my old phpbb files on....big trouble with this mod...for nothing.
User avatar
Florynel
Registered User
Registered User
 
Posts: 27
Joined: Tue Mar 01, 2005 2:58 pm

Postby webnoobie on Mon Jun 13, 2005 8:58 pm

Greetings,

Ok. I am starting a Development website and or sort of trying to re-design my current website on a different subdomain, but when I have a Sub Forum, there is no different Folder ICON. I want to get the one that you use for the Simple Forums with the little + sign, but non show up no matter what. I have used your .zip file and installed ca_aphrodite that way. Please help me! :D
webnoobie
Registered User
Registered User
 
Posts: 366
Joined: Wed Jun 08, 2005 10:38 pm
Location: My Computer

PreviousNext

Return to How to mod some styles

Who is online

Users browsing this forum: No registered users and 1 guest

cron