The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Personal Stickys Details »» | |||||||||||||||||||||||||
Hack name: Personal Stickys
Version: 1.0.3b Author: Mephisteus (DarkSSJ3) Special Thanks To: Floris (The images and being a guinea pig)! Steps: 1 product import 1 file to edit - forumdisplay.php (2 edits) 3 template edits 2 image uploads Info: Let members on your forums have their own 'personal' sticky thread. People sticking a thread using this function will have the thread only appear 'stuck' to them (and if its a 'real' sticky thread). See screenshots for the obvious Tested on: 3.5.0 - OK 3.5.1 - OK 3.5.2 - OK 3.5.3 - OK 3.5.4 - OK Features - Neat icons! MAKE A BACKUP I will not be held responsible for any damage this hack causes to your forum. This hack is NOT supported. If you get support, consider yourself lucky. I reserve the right to REMOVE the hack at any time without prior notice. Please keep any bug reports in this thread. History 1.0.3b (to upgrade reimport product xml IMPORTANT) Bugfix - Fixed a bug that would give SQL errors if someone didnt have personal stickys. 1.0.3 (to upgrade reimport product xml and apply file edits) Bugfix - Fixed "The stickied thread will be stickied to the top of its own page, not the first page per see.". It will now be stickied to the first page (I have NOT tested this on different settings due to lack of time). 1.0.2 (to upgrade reimport product xml) Feature - Redirect on stick/unstick selection 1.0.1 (to upgrade reimport product xml) Bugfix - Fixed an error that would appear in UserCP and in the subscriptions area if you had subscribed threads. 1.0.0 Initial release Take me to the 3.7.x version Show Your Support
|
Comments |
#132
|
||||
|
||||
nope sure dont, needs an update for sure
|
#133
|
|||
|
|||
I've got this to work in 3.60
first in forumdisplay.php you must remove the last bracket in OR threadid IN ($personalstickysq)) and do like (no parenthesis after AND sticky =) Quote:
|
#134
|
|||
|
|||
Quick question, is this mod supposed to show your personal stickies in every forum/subforum you visit or is it simply supposed to sticky those threads in the forum they reside?
Currently the personal stickies are following me around everywhere i go on my forums, lol. Is there a way to make them simply be stickied in the forum they were created in??? I really hope i simply have some code wrong somewhere, lol. |
#135
|
|||
|
|||
I would really like to have a working version of this hack for 3.6.7.
|
#136
|
|||
|
|||
Actually I just got it working perfectly for 3.6.7
|
#137
|
|||
|
|||
Quote:
|
#138
|
||||
|
||||
how many extra queries does this send to the server?
|
#139
|
|||
|
|||
vBulletin 3.6.7 PL1 Instructions
Try out these directions and report back. As far as I remember this is what I did to get it working. (Basically following others ideas and putting them together.) |
#140
|
|||
|
|||
it gives error in vb3.6.8
|
#141
|
|||
|
|||
It works, but there is a slight problem within the document. It says:
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 $visiblethreads ==== 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) $visiblethreads It should look like this for the replacement Code:
==== 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)) $visiblethreads Working on 3.6.8 PL2 - Complete Update Installation Revision is attached! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|