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 |
#62
|
||||
|
||||
It doesnt add or modify any queries, it makes use of existing ones.
Although (obviously) it does execute a query when sticking or unsticking |
#63
|
||||
|
||||
Thank you!
Installed |
#64
|
|||
|
|||
Can anybody point me in the right direction for where to look to change the background color of personal stickies and to add a prefix (or perhaps even move the graphic to the front of the threadtitle)?
To change the background color, I've tried playing around with the threadbit by adding this conditional: Code:
<if condition="$thread['selfsticky'] == 1"> Code:
<if condition="$thread['personalsticky'] == 1"> Should I try something like this? Code:
<if condition="$personalsticky"> <td style="background: #FFE9B9;" class="alt2" id="td_title_$thread[realthreadid]" title="$thread[preview]"><img class="inlineimg" src="$stylevar[imgdir_misc]/mystickypin.gif" alt="$vbphrase[personal_sticky_thread]" /> </if> |
#65
|
|||
|
|||
Quote:
|
#66
|
|||
|
|||
good work man
|
#67
|
||||
|
||||
Quote:
The thread will quite simply be stickied to the top of its own page, not the first page per see. |
#68
|
|||
|
|||
Quote:
Great Thanks for the work on this! It's a great idea! |
#69
|
|||
|
|||
My SHOWTHREAD has:
Code:
<if condition="$show['member']"> <div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" /> <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> </div> </if> Code:
<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> Thank you |
#70
|
||||
|
||||
Quote:
|
#71
|
||||
|
||||
Quote:
!!!!!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|