Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Tagged Threads: Subscribed Threads behave like Sticky Threads Details »»
Tagged Threads: Subscribed Threads behave like Sticky Threads
Version: 1.0.0, by Chris M Chris M is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-21-2005 Last Update: Never Installs: 39
Uses Plugins
Is in Beta Stage  
No support by the author.

[high]Installation Instructions[/high]

Step 1: Upload the .xml file to the Product Manager
Step 2: If "Check Thread Subscription" is turned off in your vBulletin Options, you will need to enable it for this to work (Thanks to teach1st for pointing that out )
Step 3: Click [high]INSTALL[/high]

[high]What does this Plugin do?[/high]

Basically, this will display (by default - colours/decoration changeable) a "Tagged" thread (aka Subscribed) as a Sticky thread in the forum it was posted in, per user :devious:

[high]Are there any screenshots?[/high]

See post below

[high]Version History:[/high]

1.0.0: First release

Chris

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-22-2005, 01:46 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by teach1st
Installed, but not working as described. Tried two different users, two browsers.

ON EDIT: Working now. "Check Thread Subscription" must be enabled in ACP Thread Display Options.
Ah I didn't check if Thread Subscriptions were needed - I had mine on by default

I'll include that in the post, thanks

Chris
Reply With Quote
  #13  
Old 10-22-2005, 03:10 PM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack!
Reply With Quote
  #14  
Old 10-22-2005, 10:22 PM
TygerTyger TygerTyger is offline
 
Join Date: Aug 2005
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now that is a cool plugin. What a brilliant idea, custom stickies basically.

I have a suggestion/question...would it be possible to choose which subscribed threads were stickied and which weren't? On the basis that if you have a lot of subscribed threads/existing stickies or a combination it will get quite full quickly.
Reply With Quote
  #15  
Old 10-23-2005, 12:16 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Currently no, but when I expand upon it I don't see why not

Chris
Reply With Quote
  #16  
Old 10-23-2005, 12:29 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Onimua pointed out something, as he runs both my Strike through threads plugin and this plugin

If you run both, edit the Subscribed Plugin:
Change the code to:
PHP Code:
if ($thread['issubscribed']) 
{
    if (!
$thread['open'] && !$thread['sticky']) 
    {
        
$threadbit =& $threadbits_sticky;
        
$thread[threadtitle] = '<span style="font-weight: bold; color: #FF0000;">Tagged: </span><span style="text-decoration: line-through; color: #FF0000;">' $thread[threadtitle] . '</span>';
    }
    else
    {
        
$threadbit =& $threadbits_sticky;
        
$thread[threadtitle] = '<span style="color: #FF0000;"><span style="font-weight: bold;">Tagged: </span>' $thread[threadtitle] . '</span>';
    }

Then edit the strikethrough plugin, and change the code to:
PHP Code:
if (!$thread['open'] && !$thread['sticky'] && !$thread['issubscribed']) 
{
$thread[threadtitle] = '<span style="text-decoration: line-through;">' $thread[threadtitle] . '</span>';

This should solve the problem of them clashing

Chris
Reply With Quote
  #17  
Old 10-27-2005, 10:17 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack! WIll install LateR
Reply With Quote
  #18  
Old 10-27-2005, 10:41 PM
john1744 john1744 is offline
 
Join Date: Apr 2005
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is absolutely wonderful Chris, my users have been wishing they could self sticky threads forever.
Reply With Quote
  #19  
Old 10-27-2005, 10:57 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Chris, loving this addition! A question though...

BTW, I have 'Sticky' renamed 'FYI'.

Please see attachment. As you'll see FYI is in bold and not hyperlinked, and normal thread highlighting dependant on thread state occurs [in this case, not bold, because there are no new posts]. The word 'Tagged' though is hyperlinked, and I'm assuming the thread is bold by default [in this case I have removed the colour and moved the bold to 'Tagged' only]? Any way to avoid this and have it act like vB's natural way of working?
Reply With Quote
  #20  
Old 10-29-2005, 04:31 AM
john1744 john1744 is offline
 
Join Date: Apr 2005
Posts: 268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I stripped out the HTML that edited the threads in my xml, it was causing some funky issues in our HTML enabled forums.

However one bug I did note that is serious is threads I have tagged only appear stickied on the pages they are currently resting in. They aren't global forum stickies. I'd rather have that.
Reply With Quote
  #21  
Old 10-29-2005, 10:01 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by john1744
I stripped out the HTML that edited the threads in my xml, it was causing some funky issues in our HTML enabled forums.

However one bug I did note that is serious is threads I have tagged only appear stickied on the pages they are currently resting in. They aren't global forum stickies. I'd rather have that.
If you mean they are stuck on every page, you need to turn on the vBOptions setting to do so...

If you mean in every forum, then this most likely will require code modification

@FleaBag - I shall investigate it but I am almost certain that to do it to that detail will require code modification

Chris
Reply With Quote
Reply

Thread Tools

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 03:11 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.04810 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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_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