vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Tagged Threads: Subscribed Threads behave like Sticky Threads (https://vborg.vbsupport.ru/showthread.php?t=98986)

Chris M 10-21-2005 10:00 PM

Tagged Threads: Subscribed Threads behave like Sticky Threads
 
[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]:D

[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

Chris M 10-22-2005 12:50 AM

Screenshot

See attached :)

Chris

Lea Verou 10-22-2005 01:12 AM

This modifies how subscribed threads work or adds a new system of "subscriptions"?

Chris M 10-22-2005 01:18 AM

Quote:

Originally Posted by Loukrhtia
This modifies how subscribed threads work or adds a new system of "subscriptions"?

This modifies how they are displayed: Too frequently people never find the "Subscribed Threads" in the User CP, because it's out of the way...

Alot of people hate email notification so they don't use Subscriptions at all: This aims to make Subscribed threads behave like stickies in their forum, and appear below Stickies in the thread listing, so they are seen and accessed easier :)

Chris

FleaBag 10-22-2005 02:40 AM

This is such a great idea! Thanks a whole lot I'm about to install. :)

iceytdot 10-22-2005 03:13 AM

i don't know if it was this plugin or a bug on my forum, but when i went to click subscribe to thread it said --

Error You Have Been Banned
Lift Never

but i didnt get banned, thats just the message i got LoL.... should i post this somewhere else?

weaver 10-22-2005 03:23 AM

Works perfectly for me. Great idea. :)

Chris M 10-22-2005 11:14 AM

Quote:

Originally Posted by iceytdot
i don't know if it was this plugin or a bug on my forum, but when i went to click subscribe to thread it said --

Error You Have Been Banned
Lift Never

but i didnt get banned, thats just the message i got LoL.... should i post this somewhere else?

That sounds like a bug with your board - This only alters the colour and behaviour of a thread on forumdisplay if the user is subscribed to it, and does not in any way alter the functionality of thread subscriptions :)

Chris

teach1st 10-22-2005 11:37 AM

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.

Snake 10-22-2005 11:42 AM

Yeah it's a good idea, thanks.

Chris M 10-22-2005 01:46 PM

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

.Tim 10-22-2005 03:10 PM

Great hack!

TygerTyger 10-22-2005 10:22 PM

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.

Chris M 10-23-2005 12:16 AM

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

Chris

Chris M 10-23-2005 12:29 AM

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

akanevsky 10-27-2005 10:17 PM

Great hack! WIll install LateR

john1744 10-27-2005 10:41 PM

This is absolutely wonderful Chris, my users have been wishing they could self sticky threads forever.

FleaBag 10-27-2005 10:57 PM

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? :)

john1744 10-29-2005 04:31 AM

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.

Chris M 10-29-2005 10:01 AM

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

john1744 10-29-2005 04:11 PM

Yeah I want the stickies to be stuck on every page of that forum they are in. Just that forum. I'm not seeing that option in the vBoptions. :(

Guest190829 10-29-2005 04:17 PM

Quote:

Originally Posted by john1744
Yeah I want the stickies to be stuck on every page of that forum they are in. Just that forum. I'm not seeing that option in the vBoptions. :(

AdminCp -> vbulletin Options -> Forum Display Options -> Show stick on all thread pages -> Set to YES

FleaBag 10-29-2005 04:44 PM

Thanks Chris! :)

john1744 10-29-2005 05:12 PM

Didn't work, the thread I subscribed to is still down on page 4 floated, not on page 1. :(

Chris M 10-30-2005 11:55 AM

There's no reason I can see for it not to be behaving like a sticky thread unless you have the vBulletin Option turned off...

Chris

john1744 10-31-2005 03:39 AM

It is behaving like a sticky, it's just being a sticky way back on the page it rests on instead of all the pages of that particular forum.

wrx02 11-02-2005 09:29 PM

Installed and working great. Thanks!

AllenSam 12-04-2005 04:40 AM

Quote:

Originally Posted by TygerTyger
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.

Yeah, for the people who have it set to automatically subscribe them to a thread when they reply to it, the forums will fill with stickies rather quickly. If it's possible, you should make a similar hack that isn't based on subscribed threads, it just allows users to "tag" or stick threads of their choosing and they will only be stuck for them, not everyone.

Rickie3 12-04-2005 10:07 AM

absolutlely love this hack thankyou *installed*

lucky64 12-06-2005 05:00 PM

Would it be possible to adjust what it says (tagged) and the color (red)?

Tralala 02-04-2006 04:24 PM

Quote:

Originally Posted by AllenSam
Yeah, for the people who have it set to automatically subscribe them to a thread when they reply to it, the forums will fill with stickies rather quickly. If it's possible, you should make a similar hack that isn't based on subscribed threads, it just allows users to "tag" or stick threads of their choosing and they will only be stuck for them, not everyone.

Agreed with TygerTyger and AllenSam above. This is a great idea, but most of my users auto-subscribe to every thread they post in by default (w/no email notification.) So this hack would quickly fill their first page of every forum with "Tagged" threads.

I'd love for them to be able to control their own set of personalized "pseudo-stickies" though.

dirtycrow 02-12-2006 08:30 PM

simply awesome! clicks install

arcadian_girl 03-15-2006 12:57 PM

this plugin ROCKS. *clicks install*

arcadian_girl 03-15-2006 01:01 PM

ahh spoke too soon. i'm having the same problem-tis only sticky on the first page, not all the pages..and i've triple-checked, and i've got "show sticky on all pages" clicked yes...

any ideas?

arena 01-25-2007 12:20 AM

for 3.6.4 ?

ArnyVee 03-28-2008 03:57 PM

Is there anything like this for 3.6.8?


All times are GMT. The time now is 02:00 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.01309 seconds
  • Memory Usage 1,815KB
  • 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
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete