vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Location of stickies (https://vborg.vbsupport.ru/showthread.php?t=315072)

Hawk7173 10-26-2014 11:12 PM

Location of stickies
 
How can I fix it so stickies are below normal threads????????:confused:

Lynne 10-27-2014 05:25 PM

Try editing your FORUMDISPLAY template and move this sticky code to where you want it:

HTML Code:

                        <vb:if condition="$show['stickies']">
                                <ol id="stickies" class="stickies">
                                        {vb:raw threadbits_sticky}
                                </ol>
                        </vb:if>


Hawk7173 10-28-2014 06:19 PM

I've moved it to the proper placement, however, the normal threads title bar is now at the bottom of the stickies instead above the normal threads which are now at the top. I can't seem to locate how to move the normal thread title bar to above the normal threads.

Help!!!!

I noticed in the code that you posted, that a portion is in black. Would that have anything to do with the location of the Normal Threads Title Bar?

Seven Skins 10-29-2014 04:52 PM

See if this helps:


Find
HTML Code:

                        <vb:if condition="$show['stickies']">
                                <ol id="stickies" class="stickies">
                                        {vb:raw threadbits_sticky}
                                </ol>
                        </vb:if>
                        <vb:if condition="$show['threads']">
                                <ol id="threads" class="threads">
                                        {vb:raw threadbits}
                                </ol>
                        <vb:else />
                                <div class="threadbit">
                                        <p class="nonthread">
                                        <vb:if condition="$show['noposts']">
                                                <strong>{vb:rawphrase no_posts_in_this_forum}</strong>
                                        <vb:else />
                                                <strong>{vb:rawphrase no_posts_last_x_days_forum, {vb:raw daysprune}}</strong>
                                                <span class="understated">{vb:rawphrase try_controls_below_for_older_posts}</span>
                                        </vb:if>
                                        </p>
                                </div>
                        </vb:if>

Replace
HTML Code:

                        <vb:if condition="$show['threads']">
                                <ol id="threads" class="threads">
                                        {vb:raw threadbits}
                                </ol>
                        <vb:else />
                                <div class="threadbit">
                                        <p class="nonthread">
                                        <vb:if condition="$show['noposts']">
                                                <strong>{vb:rawphrase no_posts_in_this_forum}</strong>
                                        <vb:else />
                                                <strong>{vb:rawphrase no_posts_last_x_days_forum, {vb:raw daysprune}}</strong>
                                                <span class="understated">{vb:rawphrase try_controls_below_for_older_posts}</span>
                                        </vb:if>
                                        </p>
                                </div>
                        </vb:if>
            <vb:if condition="$show['stickies']">
                                <ol id="stickies" class="stickies">
                                        {vb:raw threadbits_sticky}
                                </ol>
                        </vb:if>


Lynne 10-29-2014 04:55 PM

Then you didn't move the code to the correct place. Exactly where did you move the above code that I posted? (What are the five lines above where you moved it and below where you moved it.)

Hawk7173 10-30-2014 07:32 PM

<vb:else />
<strong>{vb:rawphrase no_posts_last_x_days_forum, {vb:raw daysprune}}</strong>
<span class="understated">{vb:rawphrase try_controls_below_for_older_posts}</span>
</vb:if>
</p>
</div>
</vb:if>
<vb:if condition="$show['stickies']">
<ol id="stickies" class="stickies">
{vb:raw threadbits_sticky}
</ol>
</vb:if>
</div>
<hr />

<div class="<vb:if condition="!$show['inlinemod']">noinlinemod </vb:if>forumfoot">
<vb:if condition="$show['inlinemod']">
<div id="inlinemod_formctrls" class="popupmenu nohovermenu">

Lynne 10-31-2014 05:50 PM

Can we get a link to view it?

Hawk7173 10-31-2014 11:59 PM

Sure.

If you should have any problems viewing, let me know via pm and I will PM you a username and password that you can use.


http://www.teamm14.com/forumdisplay....ral-Discussion

Thanks!

Lynne 11-01-2014 04:58 PM

Ah, so you want the "Normal Threads" header moved up to the proper place now? There is not normally a header like that. So, it seems you added that in there somewhere (along with the "Sticky Threads" header which is also not default). I'm guessing you have a modification adding those and, most likely, it is using a plugin to do a string replace. You will need to modify that plugin to do a string replace with the proper template code.

Hawk7173 11-02-2014 03:23 PM

Ahhhh,

I do have a "separate Stickies" mod installed. I'll see if that can be adjusted. If anyone is familiar with that mod, maybe they can give me some guidance......LOL


All times are GMT. The time now is 12:18 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.01008 seconds
  • Memory Usage 1,754KB
  • 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
  • (3)bbcode_html_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