Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2014, 11:12 PM
Hawk7173 Hawk7173 is offline
 
Join Date: Dec 2004
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Location of stickies

How can I fix it so stickies are below normal threads????????
Reply With Quote
  #2  
Old 10-27-2014, 05:25 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #3  
Old 10-28-2014, 06:19 PM
Hawk7173 Hawk7173 is offline
 
Join Date: Dec 2004
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #4  
Old 10-29-2014, 04:52 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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.)
Reply With Quote
  #6  
Old 10-30-2014, 07:32 PM
Hawk7173 Hawk7173 is offline
 
Join Date: Dec 2004
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Can we get a link to view it?
Reply With Quote
  #8  
Old 10-31-2014, 11:59 PM
Hawk7173 Hawk7173 is offline
 
Join Date: Dec 2004
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #9  
Old 11-01-2014, 04:58 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 11-02-2014, 03:23 PM
Hawk7173 Hawk7173 is offline
 
Join Date: Dec 2004
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools
Display Modes

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 04:28 PM.


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.04414 seconds
  • Memory Usage 2,251KB
  • 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
  • (3)bbcode_html
  • (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