![]() |
Show Thread Subscribers in All Threads
Hiya,
This hack shows who subscribed to a particular thread at the end of all threads while you're reading it. Very easy to implement: 1- Edit showthread.php, Find: PHP Code:
PHP Code:
FIND: PHP Code:
PHP Code:
if you liked this hack, you may want to take a look at these hacks too: * Change "Subscribe to This Thread" link to "Unsubscribe" if already subscribed too. (IMO They make a good couple..) * Confirm Unsubscribe From All Threads Requests This hack has another version released in this thread too. In that version thread subscribers are not displayed in the thread view, instead there appears a link next to "Subscribe This Thread" to display them in a new window.. Choose your pick.. Hack works with any vb versions I know, dont hesitate to apply.. If you install the hack please click INSTALL, thank you.. Enjoy! Regards, Logician \\=^)) Ps. Not likely, but if you get a Parse Error while applying the hack, try to copy paste not from this message but from the TEXT instructions I attached a few messages below instead. |
Although a bit off-topic, but you seem really busy with the whole subscribe/unsubscribe thing. May I point you to a really old request of mine and let me know if this is a request you're willing to consider?
mass unsubscribe selected messages: https://vborg.vbsupport.ru/showthrea...threadid=33619 and btw: kudos for the webtemplates hack.. didn't install it yet, but the idea sounds very very promising! - djr |
Please allow me to say that, though I like your hacks, naming variables after your username is...odd. :D
|
Quote:
|
Hiyas,
Quote:
vbulletin is a sophisticated script and since I am not the coder of it, it's sometimes impossible to know what variable names coders use in the original script. If I use a variable such as "$count", it's very likely that it will clash with a vbulletin variable and if you apply such a hack, then you'll see what "odd" really means LOL. ;) So I need a prefix which I will be sure that coders didnt use in their code and my nickname is a good start. :) In my next hack, I will name a few variables after you, promise! :p Regards, Logician |
I'm getting a parse error on the following line in showthread.php
PHP Code:
|
Jesus Logician, add some linebreaks in your code, it's 100% unreadable!
|
Quote:
I dont know how can I help you but here are a few suggestions: 1- Please reapply the hack from the begining carefully. You may miss something. 2- There may be a problem from copying/pasting from your browser, I attached the text instructions to this message try to copy/paste from there. |
Logician,
Thank you for your help today! The file that you sent back did the trick. :) <look gift horse in the mouth> Now that it's working, is there any way to modify this hack so that it works with subscribed forums as well? </look gift horse in the mouth> |
I found the culprit. It was my browser - Opera.
I installed a different hack and ran into the same problem, so I launched IE and re-copied the code - it worked just fine. So, it's a browser issue. And while we're on the subject, I'd recommend that all hacks be included as a .txt attachment. That way it would prevent this type of thing from happening and it also makes it easier for people like me who keep all hacks they install in a special file. Just a thought. |
Quote:
|
Quote:
As I wrote to you, the problem was with the strange space character which look like a space but actually was not. Now we understand that it is because of Opera's encoding. Glad we solved the issue, because it was really baffling me! Regards, |
Hey Logician :) Great hack once again. Thanks!
|
Yep, very cool, and very handy too!
|
Quote:
Ps. if anybody want to grant the viewing of subscribers to only Admins/mods etc holler and I can give you the code.. |
Logician,
Is there a way to have this hack and only have it as a link where someone can click on it to see a list of members? We have thousands of threads and some with more than one hundred subscribers and I'd prefer to not have it on the showthread :) (I should have known this was your hack -- you come up with perfect ones for my group!) |
Quote:
BTW how do you like it be done: Every member can see the link and click it to get subscribers info, or just special usergroups like Admins/Mods etc.? |
Take your time, I've enjoyed your ideas in the past and I'm sure time will just fly by!
Actually, I'd prefer it to be just moderators and administrators only (and that way I can just add it to the admin options). Thanks! |
Sounds good!
Will check back... Satan |
As I promised:
This version of hack does not display the thread subscribers while you read the thread. Instead it displays a link "Display Thread Subscribers" next to "Subscribe to This Thread" and when you click it, a new window opens and display your thread's subscribers. By default this link will be visible to Admins, S.Mods and Mods only but if you want to see it other members too, holler and I'll give you the code you need to change. (Please notice original hack displays the thread subscribers in the screen where you read the thread AND to all thread viewers) Ps. I appreciate if someone who applied this version post a screenshot, thx.. |
Logician,
Thank you my friend! |
Can you code this for forums?
This is extraordinarily useful for our corporation, and we will probably install it on all of our vB installs. |
Cool, installed! :)
Thanks Logician |
Quote:
|
This is just a great hack. I just re-installed it on my 2.3.0 board and it's working like a charm.
Any chance of adding this feature to Forums as well and not just to threads? :cross-eyed: |
All times are GMT. The time now is 01: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|