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 |
#32
|
||||
|
||||
Quote:
I also made a mistake where I place step #2 There was another instance of <a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a> </if> </td> without the </tr> I didn't get any errors but it didn't work at first because I overlooked the instructions. Code:
Upload the product first. Code:
#1. Find in FORUMDISPLAY: $threadbits Add above <!-- Personal Stickys --> $threadbits_personalsticky <!-- Personal Stickys --> Code:
#2. Find in SHOWTHREAD: <if condition="$show['member']"> <tr> <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" /> <if condition="$show['subscribed']"> <a href="subscription.php?$session[sessionurl]do=removesubscription&t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a> <else /> <a href="subscription.php?$session[sessionurl]do=addsubscription&t=$threadid">$vbphrase[subscribe_to_this_thread]</a> </if> </td> </tr> Add below <!-- Personal Stickys --> <tr> <td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mysticky.gif" /> <if condition="in_array($thread['threadid'], $personalstickys)"> <a href="showthread.php?$session[sessionurl]do=unpersonalsticky&t=$threadid">$vbphrase[personal_unsticky]</a> <else /> <a href="showthread.php?$session[sessionurl]do=personalsticky&t=$threadid">$vbphrase[personal_sticky]</a> </if> </td> </tr> <!-- Personal Stickys --> Code:
#3. Then: Find in threadbit: <if condition="$show['sticky']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]" /> </if> Add above <!-- Personal Stickys --> <if condition="$personalsticky"> <img class="inlineimg" src="$stylevar[imgdir_misc]/mystickypin.gif" alt="$vbphrase[sticky_thread]" /> </if> <!-- Personal Stickys --> Instruction given were great and Installed and working. Great work Mephisteus! |
#33
|
|||
|
|||
Works nice on ut2007world.com (3.5.2)
|
#34
|
|||
|
|||
* Waits for 1.0.3 before upgrading
|
#35
|
||||
|
||||
Quote:
Unless he gets really bored and adds a usergroup permission.. |
#36
|
|||
|
|||
I know, but I really hope some day it will include a 'list my personal sticky threads' link in the usercp
|
#37
|
|||
|
|||
Dave Clicks *Install*
Thanks Master. |
#38
|
|||
|
|||
I could not wait ..upgraded to 1.0.2
|
#39
|
||||
|
||||
*clicks install*
Most excellent. It would be nice if it taged the thread like stickies do. Maybe instead of Sticky:, it could say MySticky: |
#40
|
||||
|
||||
Just make your own buttons, here's what mine look like.
|
#41
|
||||
|
||||
I am having a bit of trouble.
I have made all of the template changes. Imported the product and uploaded the images, but if I log-in as a regular user and click on thread tools there is no option for personal stickies. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|