Split Topic Type AND Aphrodite Style?

Support for phpBB mods/hacks.

Moderator: Moderators

Split Topic Type AND Aphrodite Style?

Postby nevergone on Sun Jul 03, 2005 3:19 pm

Is there a way to make the Mod Split Topic Type compatible to Aphrodite Style?

nevergone
nevergone
Registered User
Registered User
 
Posts: 17
Joined: Wed Apr 13, 2005 3:24 pm

Postby kukacomone on Sun Jul 03, 2005 8:47 pm

I think it is compatible. When u edit the viewforum_body.tpl, search for only parts.
So for example, it says:

Code: Select all
#-----[ FIND ]------------------------------------------------
#
<form method="post" action="{S_POST_DAYS_ACTION}">
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
<!-- mod : split topic type -->


and if u dont find

Code: Select all
<form method="post" action="{S_POST_DAYS_ACTION}">


search for only

Code: Select all
S_POST_DAYS_ACTION


etc..
User avatar
kukacomone
Registered User
Registered User
 
Posts: 184
Joined: Tue Oct 26, 2004 8:24 pm

Postby UseLess on Mon Jul 04, 2005 12:05 am

Greetings,

I had that mod installed on a forum I've recently redone, however it caused problems due to the style doing a few of the things the mod did like own posts for example. And then things stopped working like new topics would remain new topics even after they had been read, the only way to clear this was by closing the browser and revisiting the site.

So I installed this version;

viewtopic.php?t=771

with a slight change, I placed this after '<!-- BEGIN topicrow -->'

Code: Select all
<!-- IF topicrow.TOPIC_TYPE == L_STYLE_GLOBAL --> 
   <!-- IF $T_GLOBAL --> 
   <!-- ELSE --> 
      <!-- DEFINE $T_GLOBAL = 1 --> 
      <tr> 
         <td class="row3" colspan="6"><span class="gensmall">{L_STYLE_GLOBAL}</span> </td> 
      </tr> 
   <!-- ENDIF --> 
<!-- ELSEIF topicrow.TOPIC_TYPE == L_STYLE_ANNOUNCE --> 
   <!-- IF $T_ANNOUNCE --> 
   <!-- ELSE --> 
      <!-- DEFINE $T_ANNOUNCE = 1 --> 
      <tr> 
         <td class="row3" colspan="6"><span class="gensmall">{L_STYLE_ANNOUNCE}</span> </td> 
      </tr> 
   <!-- ENDIF --> 
<!-- ELSEIF topicrow.TOPIC_TYPE == L_STYLE_STICKY --> 
   <!-- IF $T_STICKY --> 
   <!-- ELSE --> 
      <!-- DEFINE $T_STICKY = 1 --> 
      <tr> 
         <td class="row3" colspan="6"><span class="gensmall">{L_STYLE_STICKY}</span> </td> 
      </tr> 
   <!-- ENDIF --> 
<!-- ELSE --> 
   <!-- IF $T_TOPICS --> 
   <!-- ELSE --> 
      <!-- DEFINE $T_TOPICS = 1 --> 
      <tr> 
         <td class="row3" colspan="6"><span class="gensmall">{L_STYLE_TOPICS}</span> </td> 
      </tr> 
   <!-- ENDIF --> 
<!-- ENDIF -->


Then placed this after '<!-- END topicrow -->'

Code: Select all
<!-- UNDEFINE $T_GLOBAL --> 
<!-- UNDEFINE $T_ANNOUNCE --> 
<!-- UNDEFINE $T_STICKY --> 
<!-- UNDEFINE $T_TOPICS -->


So it now works as it should and you don't get the topics title repeated above every 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


Return to phpBB Mods

Who is online

Users browsing this forum: No registered users and 1 guest