![]() |
Advance Sticky Options
What this Hack Does
This hack will allow you to set a Display Order for Sticky Posts (ignore any sortorder) and set an Expiry Date to unstick your posts. Hack Info Templates to Edit: 1 (manual) Files to Upload: 1 (auto) DB Changes: 3 (auto) Plugins Added: 7 (auto) Instructions 1) Download the attached file. 2) Upload the file in the "upload" folder. 3) Import the plugin. 4) Find and Replace in template threadadmin_editthread HTML Code:
$posticons HTML Code:
<fieldset class="fieldset"> Version 1.0.3 - Fixed some broken uninstall code. Version 1.0.2 - Changed the default value of sticky order from 0 to 5. This was done so you may have stickies like ?Sig Testing? that are always below new stickies. Version 1.0.1 - Fixed Select Field size. - Removed '' from numeric values to lessen load and speed up the script. - Removed excess spacing just to clean up the code. - Changed != to <> in the MySQL Query to prevent problems. |
Very interesting. Ill Install it.
|
going to try it out thanks
|
Nice job!
|
This should be default in vB! Great work, thanks a lot! :)
|
what would be cool on the design sight is to have that new block of functions displayed only when you click to stick the thread.. ;) -- ok, i'm paranoid!
|
Quote:
I will look into it though for a future version. |
Very nice. Could use a bit of work, but on the bottom line this hack is great :)
|
Awesome Work :)
|
Quote:
|
Cool hack...
|
Quote:
|
Quote:
- Fixed up the PHP and removed the '' around numeric values and removed some excess spacing. - Fixed the select field. In the next version I will see about making the options only show up when there is a sticky. The major problem is you can sticky the thread on that page and it uses a check box instead of a radio button so it will take some time to code it. |
Quote:
Quote:
Quote:
|
Installed the mod but it is not workign , checked 10 times but still not workign..can you check template edits please ?
|
What part isn't working? And do you have the pulgin turned on?
|
The advance sticky options isint displaying in thread edit and thread post and yes plugin is turned on! :)
|
Ok, do you just have on style on your forums? If you do you have to do this to all of your templates. If that dosn't help try this.
Replace template threadadmin_editthread with this. (this is the default threadadmin_editthread with the addition) HTML Code:
<form action="postings.php" method="post" name="vbform"> |
Any updates on how it went?
|
Updated to v1.0.3
- Changed the default value of sticky order from 0 to 5. This was done so you may have stickies like Sig Testing that are always below new stickies. - Fixed some broken uninstall code. |
seems i need DROP sticky_order and sticky_expiry columns before re-installing product, rite?
|
Yes there was an error on the 1.0.1 and 1.0.2 uninstall code. Run this query.
Code:
ALTER TABLE thread |
Ok ive tried to install this, doesnt seem to show up in the edit window. Its still showing the default. I even did a copy of paste of your code above. Still fails.
|
Ref. Installed 1.0.3.
Seems I'm having the same problem. No changes to the edit box. |
Thanks for the mod. Works like a charm, just what I needed.
Cheers! |
Ok, i have a couple questions,
1.) Does this work on 3.5.4? 2.) I installed it and it doesnt work, where do i check to make sure it is turned on? 3.) If it is turned on, what could be making it not work? Any help would be greatly appreciated. Be well - Lady Divus |
Did template edit, added plug-in..plug-ins turned on...file uploaded...but still not showing. Using Vb 3.5.4
|
Quote:
|
Quote:
Lady Divus |
Lady, thanks, I knew that it only works on edit but I thought it is enough to use the regular edit button, now I can see the sticky options. You say that they don't work for you. Do you mean they don't show up or they don't go unstuck ? Just curious before I try the scheduled thing ..
|
Quote:
Lady Divus |
would be nice to have this as a default option at the bottom before posting.
|
I have uninstalled this hack as it didnt worked for me and I get this error on forums..
Quote:
|
Installed (still 1.0.2) on 3.5.4 and works like a charm .. I first forgotten that the scheduled task has to run (changed time intervall) but then everything works as expected - thanks !
|
Quote:
Do i need to add a cron job? If so, what attributes do i need to enter? I guess this will be my last attempt at trying to get this to work, if i cant get it resolved i will uninstall from both, here and from my site. Thank you for any help in advance - Lady Divus |
I installed it according to the instructions. It installs the cronjob automatically and I simply changed the time from once a day to evey 15 minutes ...
|
Quote:
Example: If i want a particular sticky to be at the top, i dont number it number 1, but rather if i have a total of 4 stickies i would want to number it number 4 to make it number 1...In other words, order backwards, not forward...Sheesh im getting dizzy lol Anyway, it works! Thank you for your help utw-Mephisto, this this was a very important hack to me...Be well - Lady Divus |
Can't seem to uninstall from 3.6
|
Nice :)
|
can this be installed on vb3.5.4?
|
All times are GMT. The time now is 03:56 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:
|