The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

problem with last topic titles on index

4 posters

Go down

Solved problem with last topic titles on index

Post by Ahmed-Chess December 22nd 2010, 7:13 pm

Hi,
i have problem with last topic titles on index:
before when i click on the last topic titles on index it go to the last page in the topic but now it go to the first page in the topic
any idea about this problem ?
Thanks
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: problem with last topic titles on index

Post by Harperboy326 December 22nd 2010, 7:25 pm

I have been told by many people that resyncing your forum helps straighting out the kinks.

ACP > General > Forum > Configuration > Resynchronize your forum
Check the box and click save
Harperboy326
Harperboy326
Forumember

Male Posts : 753
Reputation : 239
Language : English
Location : On the support forum

http://www.ThatTechKid.com

Back to top Go down

Solved Re: problem with last topic titles on index

Post by Ahmed-Chess December 22nd 2010, 7:38 pm

Does not work
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: problem with last topic titles on index

Post by Jophy December 23rd 2010, 12:38 am

I already reported this, Typlo already reported this bug to the techs so we need to wait for it.
Jophy
Jophy
ForumGuru

Male Posts : 17924
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Solved Re: problem with last topic titles on index

Post by Ahmed-Chess December 26th 2010, 1:02 am

Thanks, but Still I have this problem. any idea to solve that ?
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: problem with last topic titles on index

Post by Guest December 26th 2010, 3:24 am

Hello !

There is no bug on that !
It's a choice made by developers

If your forum is running under punBB or phpBB2, there is a way to bring back the old behaviour of thoses links by editing index_box template.

If your forum uses Invision or phpBB3, you still can reach latest post by clicking on latest post icon.

Developers are currenty working to find a way to offer the same choice to phpBB3 and Invision users.
avatar
Guest
Guest


Back to top Go down

Solved Re: problem with last topic titles on index

Post by Ahmed-Chess December 26th 2010, 12:21 pm

okay Thanks
my Version is phpBB2
so how i change that in index_box template ?
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: problem with last topic titles on index

Post by Guest December 26th 2010, 12:39 pm

Well !

Typlo wrote:phpbb2 & punbb

¤ Description : Customize the links of the last topics on the homepage


  • in index_box.tpl,

    replace :
    by (same as the old index version) :
I just added <br> to Typlo's code for your comfort !


Last edited by AoF-Neptune on December 26th 2010, 1:04 pm; edited 1 time in total
avatar
Guest
Guest


Back to top Go down

Solved Re: problem with last topic titles on index

Post by Ahmed-Chess December 26th 2010, 12:48 pm

Thanks AoF-Neptune, but i can not find this code in index_box ?
Code:
<span>
<!-- BEGIN switch_topic_title -->
<a href="{catrow.forumrow.U_LATEST_TOPIC_POST}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br>

<!-- END switch_topic_title -->
{catrow.forumrow.USER_LAST_POST}
</span>
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: problem with last topic titles on index

Post by Guest December 26th 2010, 1:02 pm

The code above is the replacement one

You need to find
Code:
{catrow.forumrow.LAST_POST}
And replace it with the code you wrote.
avatar
Guest
Guest


Back to top Go down

Solved Re: problem with last topic titles on index

Post by Ahmed-Chess December 26th 2010, 1:14 pm

i found it and i replace it but did not work
the last topic titles is Disappeared from home page
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: problem with last topic titles on index

Post by Guest December 26th 2010, 1:33 pm

Ah i see, your template was modified yet

Can you post your whole template here ?
avatar
Guest
Guest


Back to top Go down

Solved Re: problem with last topic titles on index

Post by Ahmed-Chess December 26th 2010, 1:36 pm

Code:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
   <tr>
      <td valign="bottom">
         <!-- BEGIN switch_user_logged_in -->
         <span class="gensmall">{LAST_VISIT_DATE}<br />
         {CURRENT_TIME}<br />
         </span>
         <!-- END switch_user_logged_in -->
         <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
      </td>
      <td class="gensmall" align="right" valign="bottom">
         <!-- BEGIN switch_user_logged_in -->
         <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
         <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
         <!-- END switch_user_logged_in -->
         <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
      </td>
   </tr>
</table>
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
                <th nowrap="nowrap" width="50"><div style="width:45px;">{L_TOPICS}</div></th>
                <th nowrap="nowrap" width="50"><div style="width:45px;">{L_POSTS}</th></div>
      <th nowrap="nowrap" width="150"><div style="width:170px;">{L_LASTPOST}</div></th>
   </tr>
   <!-- END tablehead -->
   <!-- BEGIN cathead -->
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
      <td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
         <h{catrow.cathead.LEVEL} class="hierarchy">
            <span class="cattitle">
               <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
            </span>
         </h{catrow.cathead.LEVEL}>
      </td>
      <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
   </tr>
   <!-- END cathead -->
   <!-- BEGIN forumrow -->
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
      <!-- END inc -->
      <td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
         <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
      </td>
      <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
         <h{catrow.forumrow.LEVEL} class="hierarchy">
            <span class="forumlink">
               <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
            </span>
         </h{catrow.forumrow.LEVEL}>
         <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
         <span class="gensmall">
            <!-- BEGIN switch_moderators_links -->
            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
            <!-- END switch_moderators_links -->
            {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
         </span>
      </td>
      <!-- BEGIN forum_link_no -->
      <td class="row3" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.TOPICS}</span>
      </td>
      <td class="row2" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.POSTS}</span>
      </td>
      <td class="row3 over" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
      </td>
      <!-- END forum_link_no -->
      <!-- BEGIN forum_link -->
      <td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
      <!-- END forum_link -->
   </tr>
   <!-- END forumrow -->
   <!-- BEGIN catfoot -->
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
      <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
   </tr>
   <!-- END catfoot -->
   <!-- BEGIN tablefoot -->
</table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: problem with last topic titles on index

Post by Guest December 26th 2010, 1:41 pm

Replace your whole template with that one !
It should work
Code:

<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
  <tr>
      <td valign="bottom">
        <!-- BEGIN switch_user_logged_in -->
        <span class="gensmall">{LAST_VISIT_DATE}<br />
        {CURRENT_TIME}<br />
        </span>
        <!-- END switch_user_logged_in -->
        <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
      </td>
      <td class="gensmall" align="right" valign="bottom">
        <!-- BEGIN switch_user_logged_in -->
        <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
        <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
        <!-- END switch_user_logged_in -->
        <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
      </td>
  </tr>
</table>
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
  <tr>
      <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
                <th nowrap="nowrap" width="50"><div style="width:45px;">{L_TOPICS}</div></th>
                <th nowrap="nowrap" width="50"><div style="width:45px;">{L_POSTS}</th></div>
      <th nowrap="nowrap" width="150"><div style="width:170px;">{L_LASTPOST}</div></th>
  </tr>
  <!-- END tablehead -->
  <!-- BEGIN cathead -->
  <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
      <td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
        <h{catrow.cathead.LEVEL} class="hierarchy">
            <span class="cattitle">
              <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
            </span>
        </h{catrow.cathead.LEVEL}>
      </td>
      <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
  </tr>
  <!-- END cathead -->
  <!-- BEGIN forumrow -->
  <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
      <!-- END inc -->
      <td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
      </td>
      <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
        <h{catrow.forumrow.LEVEL} class="hierarchy">
            <span class="forumlink">
              <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
            </span>
        </h{catrow.forumrow.LEVEL}>
        <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
        <span class="gensmall">
            <!-- BEGIN switch_moderators_links -->
            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
            <!-- END switch_moderators_links -->
            {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
        </span>
      </td>
      <td class="row3" align="center" valign="middle" height="50">
        <span class="gensmall">{catrow.forumrow.TOPICS}</span>
      </td>
      <td class="row2" align="center" valign="middle" height="50">
        <span class="gensmall">{catrow.forumrow.POSTS}</span>
      </td>
      <td class="row3 over" align="center" valign="middle" height="50">
        <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
      </td>
  </tr>
  <!-- END forumrow -->
  <!-- BEGIN catfoot -->
  <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
      <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
  </tr>
  <!-- END catfoot -->
  <!-- BEGIN tablefoot -->
</table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

I deleted this line
Code:
      <!-- BEGIN forum_link_no -->
and that block
Code:
      <!-- END forum_link_no -->
      <!-- BEGIN forum_link -->
      <td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
      <!-- END forum_link -->
avatar
Guest
Guest


Back to top Go down

Solved Re: problem with last topic titles on index

Post by Ahmed-Chess December 26th 2010, 2:12 pm

Thanks AoF-Neptune!!
you mean if i deleted this line and this block from my template it will work ?
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: problem with last topic titles on index

Post by Guest December 26th 2010, 2:23 pm

Yes !

But i prefered to post whole template to make things easier.
avatar
Guest
Guest


Back to top Go down

Solved Re: problem with last topic titles on index

Post by Ahmed-Chess December 26th 2010, 2:41 pm

Thanks AoF-Neptune, but still not work, any idea ?
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: problem with last topic titles on index

Post by Guest December 26th 2010, 2:47 pm

I tried template and it worked perfectly.

Did you ever made any template modification before.

When you submit your template, you also need to publish problem with last topic titles on index Ajouter it if you want it to work.
avatar
Guest
Guest


Back to top Go down

Solved Re: problem with last topic titles on index

Post by Ahmed-Chess December 26th 2010, 2:56 pm

Of course i publish it, i do not know why does not work
you have any another idea ?
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: problem with last topic titles on index

Post by Guest December 26th 2010, 3:11 pm

I discovered what was wrong.

When i asked for full template, i thought you already made my first change on it.
When you said topic title have completely disappeared i thought i was working on that defectuous template.
Tried it, saw titles back and i was happy Wink

I did only have to apply again my first change.

Tell me about that template !
Working Index_box (hope so) :
avatar
Guest
Guest


Back to top Go down

Solved Re: problem with last topic titles on index

Post by Ahmed-Chess December 26th 2010, 3:16 pm

yes it work now!!!
Thank you AoF-Neptune!
What happen ?
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: problem with last topic titles on index

Post by Guest December 26th 2010, 3:22 pm

As i said when i posted fixed template i thought Typlo code was already applied to it and i just solved the problem of disappearing link.

I should have checked more carefully and i would have seen that Typlo code wasn't in the template you posted.
And as i had links back on my testing forum i thought it worked without checking link was going to last post.
avatar
Guest
Guest


Back to top Go down

Solved Re: problem with last topic titles on index

Post by Ahmed-Chess December 26th 2010, 3:25 pm

Thanks, SOLVED!
avatar
Ahmed-Chess
Forumember

Posts : 159
Reputation : 0
Language : Arabic

Back to top Go down

Solved Re: problem with last topic titles on index

Post by MrMario December 26th 2010, 6:13 pm

Solved => Locked
MrMario
MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1839
Language : test

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum