Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-10-2009, 09:24 PM
digif's Avatar
digif digif is offline
 
Join Date: Feb 2009
Location: Bosnia
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 02-10-2009, 10:13 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 02-11-2009, 09:07 AM
digif's Avatar
digif digif is offline
 
Join Date: Feb 2009
Location: Bosnia
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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
Reply With Quote
  #4  
Old 02-11-2009, 02:10 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 02-22-2009, 07:39 PM
digif's Avatar
digif digif is offline
 
Join Date: Feb 2009
Location: Bosnia
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you help me please more about 1). thing?!
step by step please!
Reply With Quote
  #6  
Old 02-22-2009, 08:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Post what you've done and let's see what's wrong. (Please use code/html tags around your template code.)
Reply With Quote
  #7  
Old 02-22-2009, 08:24 PM
digif's Avatar
digif digif is offline
 
Join Date: Feb 2009
Location: Bosnia
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First, I go to /admincp
then, I go to style manager
then what?
Reply With Quote
  #8  
Old 02-22-2009, 08:36 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit Templates
Expand the templates - <<>>
Find the SHOWTHREAD template
Find the lines in post 2 and move it to where you want
Reply With Quote
  #9  
Old 02-22-2009, 08:45 PM
digif's Avatar
digif digif is offline
 
Join Date: Feb 2009
Location: Bosnia
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..)
Reply With Quote
  #10  
Old 02-22-2009, 09:06 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06731 seconds
  • Memory Usage 2,261KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete