Description: Allows admin's and mod's to "top" and "detop" threads thus keeping those threads at the top of the forum either permanently or temporarily.
NOTE: This IS a standard feature of UBB.Classic 6.5+.
Problem. The sticky works, but there's no text in the topic title and in the Wordlets section where it's supposed to be. When I click on an icon at the bottom of a topic, I get two blank radio buttons and a blank enter button.
One thing I noticed, Vars_Wordlets_Mods is not for 6.4, it's for 6.3.x. There is a noticeable script difference between the version cp.cgi files.
Basically, I have the sticky available, but no text anywhere for it. For now, I have reinstated my backup files and returned the board to "stock". Is there a fix for this? It seems that I have no text due to the difference in Vars_Wordlets_Mods and how it's written for the older 6.3.x version.
Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I am using it on my 6.4 board and it works fine. I used the version of vars_wordlets_mods for 6.3.1 that AllenAyers posted without any issues at all. The code in cp.cgi matches perfectly.
Gizmo
Wizard
Registered: 01/10/00
Posts: 5112
Loc: Portland, OR, USA
The version of vars_wordlets on my server is the latest that I had found from LK, I'll scan the code and re-publish it later to be sure its 6.4 compatable.
It seems I got a 6.0.x version of vars_wordlets_mods on here, and thought it was 6.3.x. The first version I tried was from qasic and had an upgrade file and some other stuff for "auto install".
I dunno. But we'll see how this one that TheX has directed me to works.
Thanks for the input everyone:D
_________________________ 1998 Firebird Formula with a blower and then some...
Needs a space after "detop_thread" or you will get an error when trying to update your Style Template.
cp_vars_style_core.pl - Just a minor correction, in the detop addition, the first time it's called on it's refered to as top_thread, should read detop_thread, otherwise it will show up incorrectly in your Styles Template page.
Just realised that it's not the fault in wordlets_mods, but somewhere else, which is not calling the wordlets_mods to display the words in the forum. But haven't figured which file would that be.
_________________________
Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.
Just another idea ; I stole the paperclip that vBulletin use - and added
img src="http://www.ocshoot.no/ubb/icons/clip.gif" </p width="10" height="14"> in the sticky_threads_title (wordlet hack list). Looks better than the word "sticky"
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
did anyone figure out how to make the "sticky" show. We installed the hack and when we go to top it, we get the radio buttons but no words, and when we do top it, the word sticky doesn't show up.
Add After should instead read 'Add Before:' If placed in the wrong location, it will blow your board.
Code:
[/code]should read:
[code]
Note: call to AlternateColors added, and several html commands should be in lowercase in order to remain xhtml compliant.
Code:
[/code]Spelling error. Should read:
[code]
Thank you Gizzy for porting the Sticky Threads mod. If you could repair the above in the install text, i would be very grateful. Im porting the application form mod which makes extensive use of the sticky mod, and installers are gonna need to come here for your updated modifications.
quote: Originally posted by Weird Al: did anyone figure out how to make the "sticky" show. We installed the hack and when we go to top it, we get the radio buttons but no words, and when we do top it, the word sticky doesn't show up.
You may need to install the Mod Wordlets hack (check v6.4x Final Mods forum) so that the mod wordlets will read. If you did that then most likely you will need to re-hack "vars_wordlets_mods.cgi" file.
Gizmo
Wizard
Registered: 01/10/00
Posts: 5112
Loc: Portland, OR, USA
Thank you Corona for your additions, its good to know that someone doesn't feel sticky threads are a waste of time ... I'll have the file updated in about 10 minutes.
Gizmo
Wizard
Registered: 01/10/00
Posts: 5112
Loc: Portland, OR, USA
Well since the UBB 6.5 has Sticky Threads included, I'm proud to say that this modification will be short lived...
As most of you have noticed there haven't been many bugs reported on the 6.5 beta release so if all goes according to my estimates give 6.5 another month ...
I have to admit, I loved hearing all of the input and criticizm on this modification, just kinda sad that it'll only live on (in the 6.4 sense) for a small amount of time :x...
HELP! I have installed this on UBB 6.4 but if I use the JC templates it I cannot see the buttons, If i set the templates to standard then no probs and it functions ok, what am I missing please?
EDIT ignore that I forgot to replicate the changes in one of the JC template files DOH!
Oakie doakie, I used Multihack to install AA's mhp file for sticky topic mods (used the 6.3.1 vars_wordlets_mods) to my 6.4.0 board and all looked good until I went to any thread and instead of seeing "Top Topic" I see "De-Top Topic" ... when I click on that icon I come to a page with just a pair of radio buttons and a small grey "click bar".
Now, De-Topic will top the thread and Top will de-top it. So, it actually does work, even though the process wording is reversed and the "top action" page is missing the text.
I had no MultiHack error msgs, I FTP'd the modded files correctly and did chgmod to the new vars_wordlets_mods file.