Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Original Author: Jordo

Ported to 6.4 by Gizzy (Gizmo@undergroundnews.com).

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+.

Requirements: Valid license, UBBâ„¢ 6.4.0, Vars_Wordlets_Mods.

Download: Zip

Demo: Here, UGN Security


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Mar 2002
Posts: 78
Member
Member
Offline
Joined: Mar 2002
Posts: 78
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.

UBB: www.cofba.org/messageboard


1998 Firebird Formula with a blower and then some...
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
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.

Click here for the thread...

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2002
Posts: 78
Member
Member
Offline
Joined: Mar 2002
Posts: 78
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...
Sponsored Links
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Quite welcome. For future referance, differant code is usually required for major upgrades, and is usually documented in files smile .


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Apr 2001
Posts: 142
Member
Member
Offline
Joined: Apr 2001
Posts: 142
Why not trying a system with 2 levels of sticky (like in phpBB "Post-it" and "Announce") ?

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
It wouldn't be that hard to impliment but I don't really see the need for it. Most users just have a sticky note up for a week or so.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
#####################################
### in: ubb_topic_maint.cgi ###
#####################################
# Find: #
#################

sub delete_topic {

#################
# Add After: # (its long)
#################

sub top_topic {


that should be "add before"

smile


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


- Allen wavey
- What Drives You?
Sponsored Links
Joined: May 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 5
2 minor fixes for your .mhp Allen:

cp_styles.cgi - top_thread detop_thread

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.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
thank you, updated smile


- Allen wavey
- What Drives You?
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
hack worked but it dosn't display anymore the word 'sticky' in front of the message headline. Any idea where to look ?

/edit: Problem gone ?!? *wonder*

Joined: Jan 2003
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jan 2003
Posts: 2
would this hack work on ver 6.4.0.1?

TIAR

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
lol how odd Zarzal...

teal_mare: should work just fine, I doubt they made many changes.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jan 2003
Posts: 2
hmm.. it doesn't work on my version.
error message after clicking the forum name.

...ubb_forum.cgi, error line 514

oh well.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
That is quite odd... I don't have a copy of 6.4.0.1 right now to test mods, otherwise i'd be happy to help frown . Any 6.4.0.1 users hand teal a hand?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Apr 2001
Posts: 103
Member
Member
Offline
Joined: Apr 2001
Posts: 103
Still using 6.4
After installing, the words didn't appear, so I changed the codes from:

Code
[/code]to give a try, into

[code]
but still no result. (note the q~ and the ")
What seems to be the matter?


Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.
Joined: Apr 2001
Posts: 103
Member
Member
Offline
Joined: Apr 2001
Posts: 103
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.
Joined: Jul 2002
Posts: 9
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 9
Just another idea ; I stole laugh the paperclip that vBulletin use - and added

img src="http://www.ocshoot.no/ubb/icons/clip.gif"

in the sticky_threads_title (wordlet hack list).
Looks better than the word "sticky" thumbsup

Demo : LINK cool
Picture: [Linked Image]

Joined: Apr 2001
Posts: 103
Member
Member
Offline
Joined: Apr 2001
Posts: 103
Looks like Gizzy's lost, the Sticky Threads is still wordless...


Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.
Joined: Nov 2001
Posts: 745
Admin Emeritus
Admin Emeritus
Offline
Joined: Nov 2001
Posts: 745
Saxeus - Verify you have vars_wordlets_mods installed correctly and have the wordlet in there.

I don't see why this wouldn't work on 6.4.0.1 since it was just a bugfix release.

Joined: Apr 2001
Posts: 103
Member
Member
Offline
Joined: Apr 2001
Posts: 103
I'm using 6.4.0 (not 6.4.0.1) is it a must to upgrade? (grrr... worth loosing all those hacks I installed in my board?)


Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.
Joined: Nov 2001
Posts: 745
Admin Emeritus
Admin Emeritus
Offline
Joined: Nov 2001
Posts: 745
6.4.0.1 just fixes some bugs found in the 6.4 release.

If you are still missing your Sticky, then check the wordlets_mods

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Funny, I've installed it on 9 6.4 boards and it works perfectly on every one of them...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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.

help

Joined: Jun 2001
Posts: 216
Member
Member
Offline
Joined: Jun 2001
Posts: 216
A few errors were found in the installation text:

Code
[/code]Need to remove the #After:

Code
</pre></div></div>Add After should instead read 'Add Before:'  If placed in the wrong location, it will blow your board.<br><br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
should read:

Code
</pre></div></div>Note: call to AlternateColors added, and several html commands should be in lowercase in order to remain xhtml compliant.<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
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.

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Quote
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.

help
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. smile

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Thank you Corona for your additions, its good to know that someone doesn't feel sticky threads are a waste of time wink ... I'll have the file updated in about 10 minutes.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jun 2001
Posts: 216
Member
Member
Offline
Joined: Jun 2001
Posts: 216
No troubles. Sticky Threads are great!

Thank you for updating the .zip thumbsup

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Not a problem, your mod looks quite nice, i'm rather impressed... If it wouldn't be updated so often I'd offer to host it on my OC12 lol...

Just for note, I'll be testing all of my modifications in 6.5 Beta soon to be sure it all works, and if not posting updates...

I'm also planning on making a hacks page for those interested.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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 wink ...

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...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Well, I spoke before reading, 6.5 is now out smile ...

http://community.infopop.net/2/OpenTopic?a=tpc&s=729094322&f=5553010313&m=4053066007

Thanks again to everyone along the way that have maintained the sticky posts smile .


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Sep 2001
Posts: 90
Member
Member
Offline
Joined: Sep 2001
Posts: 90
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! smash

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2003
Posts: 30
rfd Offline
User
User
Offline
Joined: Mar 2003
Posts: 30
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.

Where'd I go wrong?


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)