vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Layout "View first unread" problem (https://vborg.vbsupport.ru/showthread.php?t=143603)

G_Gekko 03-30-2007 12:47 PM

Layout "View first unread" problem
 
Hi
I have crated my own layout for my forum the View first unread function doesn't work. If I click that link it shows the thread tool box. Am hoping that it is an basic error I made that someone will find and help me correct ;-)

I use the following code for the toolbar:
Code:



<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" $stylevar[cellspacing] border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
        <td class="tcat" width="100%" style="padding:0px;">
          <table cellspacing="0" cellpadding="0" width="100%" style="height:30px;">
                      <td class="thead2f" style="width:30px;" nowrap>&nbsp;
                      </td>
    <if condition="$show['firstunreadlink']">
<td class="thead2" id="threadtools" nowrap="nowrap">
                <div class="smallfont">
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
              </div>
</td>
                </if>
        <td class="thead2" id="threadtools" nowrap="nowrap" align="right">
                <a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
                <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
        </td>
        <if condition="$show['search']">
                <td class="thead2" id="threadsearch" nowrap="nowrap" align="right">
                        <a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
                        <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
                </td>
        </if>
        <if condition="$show['threadrating']">
                <td class="thead2" id="threadrating" nowrap="nowrap" align="right">
                        <a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
                        <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
                </td>
        </if>
        <if condition="$vboptions['allowthreadedmode']">
        <td class="thead2" id="displaymodes" nowrap="nowrap" align="right">
                <a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
                <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
        </td>
        </if>
       
        <if condition="$show['inlinemod']">
                <if condition="$show['popups']">
                        <td class="thead2" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod'); </script></td>
                <else />
                        <td class="thead2" align="center">
                                <input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
                        </td>
                </if>
        </if>
            <td  class="thead2e" width="10%">
                   
                      </td>
        </table>
       
</tr>
</table>
<!-- / toolbar -->

Thanks in advance and thanks for looking


All times are GMT. The time now is 09:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01014 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete