vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Please (https://vborg.vbsupport.ru/showthread.php?t=204944)

digif 02-10-2009 09:24 PM

Please
 
How to..
1) Put the link to the new posts on thread (right to the 1,2,3...last page)
2) in the thread set up that posts doesn't counts

Lynne 02-10-2009 10:13 PM

You want to move the link to the new posts (View First Unread) to next to the pagination numbers? Just find and move this code in the SHOWTHREAD template to where you want it:

HTML Code:

        <div class="smallfont">
        <if condition="$show['firstunreadlink']">
            <a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
            <a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
        </if>
        &nbsp;
        </div>

If you don't want posts to count for that forum, you would do it in the Forum Manager.

digif 02-11-2009 09:07 AM

Quote:

Originally Posted by Lynne (Post 1740275)
If you don't want posts to count for that forum, you would do it in the Forum Manager.

can I set it up only for one THREAD?

--------------- Added [DATE]1234350727[/DATE] at [TIME]1234350727[/TIME] ---------------

Also I added that code but didn't show up

Lynne 02-11-2009 02:10 PM

No, you cannot set it up for a thread.

That code is just the standard vb code in your showthread template. If it was working in the standard place right below Post Reply, then it should work wherever you move it to.

digif 02-22-2009 07:39 PM

Can you help me please more about 1). thing?!
step by step please!

Lynne 02-22-2009 08:14 PM

Post what you've done and let's see what's wrong. (Please use code/html tags around your template code.)

digif 02-22-2009 08:24 PM

First, I go to /admincp
then, I go to style manager
then what?

Lynne 02-22-2009 08:36 PM

Edit Templates
Expand the templates - <<>>
Find the SHOWTHREAD template
Find the lines in post 2 and move it to where you want

digif 02-22-2009 08:45 PM

but that is also the problem, where to place it to show where I told you, as you said:

You want to move the link to the new posts (View First Unread) to next to the pagination numbers? - YES

and do I delete this code or just copy it to another place too (the place I want..)

Lynne 02-22-2009 09:06 PM

Find this and remove it:
HTML Code:

    <td class="tcat" width="100%">
        <div class="smallfont">
        <if condition="$show['firstunreadlink']">
            <a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
            <a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
        </if>
        &nbsp;
        </div>
    </td>

Then find this right above where that was:
HTML Code:

    <if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
And right above it add this:
HTML Code:

    <td class="smallfont" align="right" width="100%">
        <if condition="$show['firstunreadlink']">
            <a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
            <a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
        </if>
        &nbsp;
    </td>

The best thing to do when working on templates and changing things is to create a new style and play with things in the templates in that style. When you have it how you want, copy/paste that stuff into the site style template. But to learn, you really need a test style to try things out.


All times are GMT. The time now is 01:10 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.01106 seconds
  • Memory Usage 1,743KB
  • 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
  • (4)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete