Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[OzzModz] Separate Sticky Threads Collapsible Details »»
[OzzModz] Separate Sticky Threads Collapsible
Version: 1.5.2, by ozzy47 ozzy47 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.x.x Rating:
Released: 04-27-2013 Last Update: 06-08-2013 Installs: 194
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Another mod brought to you by,


Separate Sticky Threads will allow administrators to separate the sticky threads from the normal threads on forumdisplay.

Separate Sticky Threads Collapsible, is May's Mod of the Month winner!
I would like to thank everyone who nominated, and voted to help it win.

Settings for this mod can be found in, ACP / Settings / Options / Ozzy: Separate Sticky Threads Settings.

Complete Feature List
  • Option to disable the Separate Sticky Threads system completely.
  • Option to remove the prefix Sticky: from the sticky treads title that is there when you make a thread a sticky.
  • Option to show a image before the text Sticky Threads.
  • Option to show a image before the text Normal Threads.
  • Option to allow members to collapse the Sticky Threads.
  • Ability to select which usergroups can collapse the Sticky Threads.
  • Option to remove the Sticky Threads Normal Threads text.
  • Ability to select which forums are allowed the collapse stickies function.
  • Option to remove the extra "title/thread starter" menu bar.
  • Option to enable different colors for the Sticky Prefix and/or for the Sticky Threads Title.
  • Option to choose what part of the sticky to change the color, Neither Part, Sticky Prefix Only, Sticky Title Only, or Sticky Prefixes And Titles.
  • Option to select which forums the Change Sticky Threads / Prefix Color applies to.
Stylevars found in the group Ozzy47Mods
  • ozzy_separate_stickies_sticky_title_color Controls the color of the Sticky Threads text in the header.
  • ozzy_separate_stickies_normal_title_color Controls the color of the Normal Threads text in the header.
  • ozzy_separate_stickies_padding Controls the padding around the Sticky Threads and Normal Threads text in the header.
  • ozzy_separate_stickies_sticky_prefix_color Controls the color of the prefix, Sticky:
  • ozzy_separate_stickies_sticky_thread_color Controls the color of the Sticky Threads Title.
-------------------------------------------------------------------------------------------

If you like this mod please hit the button to the right ---->

Please remember to click the, button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------
Changelog:

v1.1.0
  • Added ability to collapse the stickies.
v1.2.0
  • Added usergroup permissions who can collapse the stickies.
  • Added a stylevar to control the padding, so it is no longer hard coded in the template.
v1.3.0
  • Added a option that will remove the Sticky Threads and Normal Threads text as well as the header, subheader and collapse sticky ability.
v1.4.0
  • Added ability to select which forums are allowed the collapse stickies function.
  • Added a option to remove the extra "title/thread starter" menu bar.
v1.5.0
Additions:
  • Added a option to enable different colors for the Sticky Prefix and/or for the Sticky Threads Title.
  • Added a option to choose what part of the sticky to change the color, Neither Part, Sticky Prefix Only, Sticky Title Only, or Sticky Prefixes And Titles.
  • Added a option to select which forums the Change Sticky Threads / Prefix Color applies to.
  • Added two stylevars to accommodate the above additions.
Fixed:
  • A unclosed <div> that may possibly show up.
v1.5.1
Sorted a issue where some sites would see a strange error on the top of some pages.

v1.5.2
Added support for the Modification Version Checker mod from DragonByte Tech.

-------------------------------------------------------------------------------------------

Incompatible with the following mod, Thread Links / Redirect Thread to URL

First screenshot is what forum display will look like, the second one is of the settings.

Installation instructions are in the readme file in the zip.

-------------------------------------------------------------------------------------------
Contributions Received (members who clicked on, and followed through with the Support Developer button)

bazookajoe

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
8 благодарности(ей) от:
ggrimes620, Hostboard, Insta-Gator, Judith2, mykkal, RichieBoy67, Taurus1, tbworld

Comments
  #132  
Old 10-07-2013, 05:35 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is settings to remove them.
Reply With Quote
  #133  
Old 10-07-2013, 05:52 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only settings I saw removed the one UNDER that area, or, both at the top (but just need one removed)...

The one that needs to be removed is the one ABOVE the word "Sticky". See screenshot below:
Reply With Quote
  #134  
Old 10-07-2013, 07:19 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahh, I see, you want the stock one removed, no there is no option for that, but you could edit the FORUMHOME template, and find this bit of code:

Code:
            <div class="threadlisthead table">
                <div>
                <span class="threadinfo">
                    <span class="threadtitle">
                        <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_title}}" rel="nofollow">{vb:rawphrase title}{vb:raw sortarrow.title}</a> /
                        <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_postusername}}" rel="nofollow">{vb:rawphrase thread_starter}{vb:raw sortarrow.postusername}</a>
                    </span>
                </span>
                <vb:if condition="$show['search_engine']">

                    <span class="threadstats td">{vb:rawphrase replies} {vb:raw sortarrow.replycount} / {vb:rawphrase views}</span>
                    <span class="threadlastpost td">{vb:rawphrase last_post_by}{vb:raw sortarrow.lastpost}</span>
                <vb:else />

                    <span class="threadstats td"><a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_replycount}}" rel="nofollow">{vb:rawphrase replies}{vb:raw sortarrow.replycount}</a> / <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_views}}" rel="nofollow">{vb:rawphrase views}{vb:raw sortarrow.views}</a></span>
                    <span class="threadlastpost td"><a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_flastpost}}" rel="nofollow">{vb:rawphrase last_post_by}{vb:raw sortarrow.lastpost}</a></span>
                    <vb:if condition="$show['inlinemod']"><span class="threadimodimod td"></span></vb:if>
                </vb:if>
                </div>
            </div>
And change it to this:

Code:
            <vb:comment><div class="threadlisthead table">
                <div>
                <span class="threadinfo">
                    <span class="threadtitle">
                        <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_title}}" rel="nofollow">{vb:rawphrase title}{vb:raw sortarrow.title}</a> /
                        <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_postusername}}" rel="nofollow">{vb:rawphrase thread_starter}{vb:raw sortarrow.postusername}</a>
                    </span>
                </span>
                <vb:if condition="$show['search_engine']">

                    <span class="threadstats td">{vb:rawphrase replies} {vb:raw sortarrow.replycount} / {vb:rawphrase views}</span>
                    <span class="threadlastpost td">{vb:rawphrase last_post_by}{vb:raw sortarrow.lastpost}</span>
                <vb:else />

                    <span class="threadstats td"><a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_replycount}}" rel="nofollow">{vb:rawphrase replies}{vb:raw sortarrow.replycount}</a> / <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_views}}" rel="nofollow">{vb:rawphrase views}{vb:raw sortarrow.views}</a></span>
                    <span class="threadlastpost td"><a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_flastpost}}" rel="nofollow">{vb:rawphrase last_post_by}{vb:raw sortarrow.lastpost}</a></span>
                    <vb:if condition="$show['inlinemod']"><span class="threadimodimod td"></span></vb:if>
                </vb:if>
                </div>
            </div></vb:comment>
Don't forget to mark as installed if you are using the mod.
Reply With Quote
  #135  
Old 10-07-2013, 10:23 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not all forums have stickies, so wouldn't there need to be a conditional?
Reply With Quote
  #136  
Old 10-07-2013, 10:33 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, good point, ok replace the code with this:

Code:
        <vb:if condition="!$show['stickies']">
            <div class="threadlisthead table">
                <div>
                <span class="threadinfo">
                    <span class="threadtitle">
                        <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_title}}" rel="nofollow">{vb:rawphrase title}{vb:raw sortarrow.title}</a> /
                        <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_postusername}}" rel="nofollow">{vb:rawphrase thread_starter}{vb:raw sortarrow.postusername}</a>
                    </span>
                </span>
                <vb:if condition="$show['search_engine']">

                    <span class="threadstats td">{vb:rawphrase replies} {vb:raw sortarrow.replycount} / {vb:rawphrase views}</span>
                    <span class="threadlastpost td">{vb:rawphrase last_post_by}{vb:raw sortarrow.lastpost}</span>
                <vb:else />

                    <span class="threadstats td"><a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_replycount}}" rel="nofollow">{vb:rawphrase replies}{vb:raw sortarrow.replycount}</a> / <a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_views}}" rel="nofollow">{vb:rawphrase views}{vb:raw sortarrow.views}</a></span>
                    <span class="threadlastpost td"><a href="{vb:link forum, {vb:raw foruminfo}, {vb:raw pageinfo_flastpost}}" rel="nofollow">{vb:rawphrase last_post_by}{vb:raw sortarrow.lastpost}</a></span>
                    <vb:if condition="$show['inlinemod']"><span class="threadimodimod td"></span></vb:if>
                </vb:if>
                </div>
            </div>
        </vb:if>
Reply With Quote
  #137  
Old 10-08-2013, 11:40 AM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice Mod Thanks Dear
1 Question
How to Changer Color
Name (Sticky Threads )
Name (Normal Threads)
Reply With Quote
  #138  
Old 10-08-2013, 11:51 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit the Stylevars found in the group Ozzy47Mods
Reply With Quote
  #139  
Old 10-08-2013, 03:40 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A ha, so you did settle for the oZZmodZ label...

Here we are, shaping the future in our own individual ways...

Wise choice...
You work well.....
Reply With Quote
  #140  
Old 10-08-2013, 10:13 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I thought about it and decided to switch, plus made the logo.
Reply With Quote
  #141  
Old 01-16-2014, 04:51 PM
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice. Works great with 4.2.0 PL2. Thanks!
Reply With Quote
Благодарность от:
ozzy47
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 07:16 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.11087 seconds
  • Memory Usage 2,343KB
  • Queries Executed 27 (?)
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
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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