Ex0dus wrote: Two questions:
1. Does the preview shift with the template in use? (im pretty sure it does, but im asking anyway ^_<)
and
2. Is the maximum preview configurable? If not, could that feature be added?
-Ex0dus
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
templates/ca_aphrodite/viewforum_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<a href="{topicrow.U_VIEW_TOPIC}" onmouseover="return overlib('<table cellspacing=0 width=100% class=forumline><tr><th>{L_TOPIC_PREVIEW}</th></tr><tr><td class=row1g align=left><span class=gensmall>{topicrow.TOPIC_PREVIEW}</span></td></tr></table>')" onmouseout="return nd();">{topicrow.TOPIC_TITLE}</a>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<a href="{topicrow.U_VIEW_TOPIC}" onmouseover="return overlib('<table cellspacing=0 width=100% class=forumline><tr><th>{L_TOPIC_PREVIEW}</th></tr><tr><td class=post-text align=left><span class=gensmall>{topicrow.TOPIC_PREVIEW}</span></td></tr></table>')" onmouseout="return nd();">{topicrow.TOPIC_TITLE}</a>
kvfb97 wrote: I think mine looks and works better...
In how configurable, do you mean how long can the preview be? Maximum is 255 characters.
DeViAnThans3 wrote:kvfb97 wrote:I think mine looks and works better...
In how configurable, do you mean how long can the preview be? Maximum is 255 characters.
by example i mean, you can set, it should only show xxx characters, you can choose yourself how much characters it should show
and maybe also other options like "allow bbcode parsing or not" ...
Swizec wrote: My Topic Description mod already does this, but still, yours seems to be only about the tooltips which is good, simplicity for those who want it
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
viewforum.php
#
#-----[ FIND ]------------------------------------------
#
$topic_preview = str_replace("\n", "<br/>", $topic_preview);
#
#-----[ AFTER, ADD ]------------------------------------------
#
$topic_preview = str_replace("'", "\'", $topic_preview);
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM