php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#198227 - 12/31/02 04:23 AM [6.4] [finished] Sticky Threads
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5132
Loc: Portland, OR, USA
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 - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#198228 - 01/01/03 03:11 AM Re: [6.4] [finished] Sticky Threads
DarkFormula Offline
Member

Registered: 03/06/02
Posts: 74
Loc: Ohio
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...

Top
#198229 - 01/01/03 06:51 PM Re: [6.4] [finished] Sticky Threads
RandyM Offline
Spotlight Winner

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.

Click here for the thread...
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#198230 - 01/01/03 07:16 PM Re: [6.4] [finished] Sticky Threads
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5132
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.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#198231 - 01/01/03 09:38 PM Re: [6.4] [finished] Sticky Threads
DarkFormula Offline
Member

Registered: 03/06/02
Posts: 74
Loc: Ohio
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...

Top
#198232 - 01/02/03 12:39 AM Re: [6.4] [finished] Sticky Threads
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5132
Loc: Portland, OR, USA
Quite welcome. For future referance, differant code is usually required for major upgrades, and is usually documented in files smile .
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#198233 - 01/04/03 03:38 AM Re: [6.4] [finished] Sticky Threads
ZeNissart Offline
Member

Registered: 04/04/01
Posts: 99
Loc: Nice, France
Why not trying a system with 2 levels of sticky (like in phpBB "Post-it" and "Announce") ?

Top
#198234 - 01/04/03 04:11 AM Re: [6.4] [finished] Sticky Threads
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5132
Loc: Portland, OR, USA
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 - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#198235 - 01/18/03 06:52 AM Re: [6.4] [finished] Sticky Threads
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
#####################################
### 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?

Top
#198236 - 01/18/03 07:22 AM Re: [6.4] [finished] Sticky Threads
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
_________________________
- Allen wavey
- What Drives You?

Top
#198237 - 01/21/03 09:26 PM Re: [6.4] [finished] Sticky Threads
The Ghost Offline
Junior Member

Registered: 05/08/02
Posts: 5
Loc: AZ
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.

Top
#198238 - 01/21/03 10:18 PM Re: [6.4] [finished] Sticky Threads
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
thank you, updated smile
_________________________
- Allen wavey
- What Drives You?

Top
#198239 - 01/26/03 01:36 PM Re: [6.4] [finished] Sticky Threads
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
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*
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#198240 - 01/29/03 01:20 AM Re: [6.4] [finished] Sticky Threads
teal_mare Offline
Junior Member

Registered: 01/29/03
Posts: 2
would this hack work on ver 6.4.0.1?

TIAR

Top
#198241 - 01/29/03 01:51 AM Re: [6.4] [finished] Sticky Threads
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5132
Loc: Portland, OR, USA
lol how odd Zarzal...

teal_mare: should work just fine, I doubt they made many changes.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#198242 - 01/29/03 03:43 AM Re: [6.4] [finished] Sticky Threads
teal_mare Offline
Junior Member

Registered: 01/29/03
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.

Top
#198243 - 01/29/03 03:58 AM Re: [6.4] [finished] Sticky Threads
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5132
Loc: Portland, OR, USA
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 - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#198244 - 01/29/03 07:41 AM Re: [6.4] [finished] Sticky Threads
Saxeus Offline
Member

Registered: 04/02/01
Posts: 89
Loc: Europe
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.

Top
#198245 - 01/29/03 07:46 AM Re: [6.4] [finished] Sticky Threads
Saxeus Offline
Member

Registered: 04/02/01
Posts: 89
Loc: Europe
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.

Top
#198246 - 01/29/03 09:02 AM Re: [6.4] [finished] Sticky Threads
OcShoot Offline
Junior Member

Registered: 07/29/02
Posts: 9
Loc: Norway
Just another idea ; I stole laugh 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" thumbsup

Demo : LINK cool
Picture:

Top
Page 1 of 2 1 2 >


Moderator:  Charles, Gizmo 
Who's Online
2 registered (AllenAyres, blaaskaak), 19 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Spell Check [beta]
by AllenAyres
12/01/08 09:32 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25449
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks