The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Personal Sticky Threads Details »» | |||||||||||||||||||||||||
What are "Personal Sticky Threads"?
Personal Sticky Threads (aka "Personal Stickies") is an Add-on for vBulletin that will allow your users to sticky threads that only they will see as stickied; these "personal stickies" will appear beneath normal sticky threads. This Hack was originally designed by Mephisteus for vBulletin 3.5, and re-released (with his permission) for vBulletin 3.7.x. This hack requires a couple of File Edits, and should be attempted by those who are comfortable editing vBulletin source files. That said, I have included modified detailed instructions that should make installation straight-forward and easy. Special thanks are owed to Mephisteus, for allowing an updated re-release for vBulletin 3.7, and to john1744 and zendive for improving upon the query alterations. As I typically disclaim with my other Add-ons, I am generally a neophyte at this sort of stuff and I tend to modify hacks and tinker with pre-existing code to get the results that I want. That said, please use this discussion thread as a community-support and mutual learning opportunity. Finally, if you like this hack and install it, please: Requirements
Installation is straight-forward. Simply download the attached archive, decompress on your local hard drive, and review the Installation.txt file for the specific steps. There are, broadly, four steps:
This modification can be further customized:Version History
Show Your Support
|
Comments |
#42
|
||||
|
||||
This is definitely an interesting hack. I'm going to give it a shot at home tonight. Thanks!
|
#43
|
|||
|
|||
If the thread drops a page, the sticky does not show up, unless you go to that page. It is also showing up twice on that page. Once above the regular stickies and the again below the stickies.
|
#44
|
|||
|
|||
Amazing. I love it. Installed.
|
#45
|
|||
|
|||
bugtraq at securityfocus dot com:
Quote:
|
#46
|
|||
|
|||
Uah, scarry. I think I gonna wait with installing the addon until the security issue has been resolved.
|
#47
|
|||
|
|||
Does anyone know if this works with 3.8.1?
|
#48
|
||||
|
||||
This does. However, be advised, that I discovered a minor security flaw in this code that would enable any user to gain unauthorized access to the name/title of threads in private forums (but not their content). Since I did not originally code this, and merely ported it, I believe there are a series of missing checks in the plugins themselves. However, I am not actively supporting this mod due to time constraints.
|
#49
|
|||
|
|||
Quote:
Code:
=========================================================================== ==== Find in forumdisplay.php $stickies = $db->query_read_slave(" SELECT thread.threadid, lastpost, open FROM " . TABLE_PREFIX . "thread AS thread WHERE forumid = $foruminfo[forumid] AND sticky = 1 $prefix_filter $visiblethreads $limitothers $globalignore ==== Replace with $stickies = $db->query_read_slave(" SELECT thread.threadid, lastpost, open FROM " . TABLE_PREFIX . "thread AS thread WHERE forumid = $foruminfo[forumid] AND (sticky = 1 OR threadid IN ($personalstickysq)) $prefix_filter $visiblethreads $limitothers $globalignore =========================================================================== Database error in vBulletin 3.8.1: Invalid SQL: SELECT thread.threadid, lastpost, open FROM thread AS thread WHERE forumid = 12 AND (sticky = 1 OR threadid IN ()) AND visible IN (0,1,2); MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) AND visible IN (0,1,2)' at line 5 Error Number : 1064 Request Date : Wednesday, February 18th 2009 @ 03:52:55 PM Error Date : Wednesday, February 18th 2009 @ 03:52:55 PM Script : http://www.gadgetadvisor.com/hammerf...splay.php?f=12 Referrer : IP Address : 71.11.83.89 Username : Gadget Advisor Classname : vB_Database MySQL Version : 5.0.67-community Too bad about you not having time to support, but I can certainly understand. Good luck! |
#50
|
|||
|
|||
Awwww that sucks. This was a real good idea too.
|
#51
|
|||
|
|||
So i am going to ask what do I do if I don't have anything in the show thread.php folder? I have all the other edits done but this one. Thanks.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|