php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#39103 - 12/08/00 11:54 AM Sticky Threads
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
I noticed we don't have a thread for this one, so I'm adding it...

Dave has updated this one several times in the last month, so if you have it installed, it's a good idea to go over your code for bug-fixes.

click here

This mod allows your admin or moderator to temporarily or permanently "bump" a thread to the top of a forum.

------------------
Allen

- http://www.stand318.com
<IMG SRC="http://www.stand318.com/images/santapepe.gif" border=0>
_________________________
- Allen wavey
- What Drives You?

Top
#39104 - 12/09/00 03:53 AM Re: Sticky Threads
MorphStar Offline
Member

Registered: 10/06/00
Posts: 637
Loc: The Netherlands | Sweet :)
neat! the bump feature! I've been looking all over the place for this! thanks Allen

------------------
www.skinningworld.net
_________________________
[img]http://www.gamerelic.com/sigs/rotateme.cgi[/img]
<-------- Loves Sally!

Top
#39105 - 12/18/00 01:06 PM Re: Sticky Threads
Master Tom Offline
Junior Member

Registered: 11/13/00
Posts: 3
Same at my UBB !!!

All Done.....

And now i get an white page if i start my UBB.

And the same error in CP !!

Top
#39106 - 12/18/00 01:29 PM Re: Sticky Threads
saehoon Offline
Member

Registered: 06/15/00
Posts: 48
Loc: Boston
yeah, I've tried multiple times installing this hack and everytime I get an error. I'm trying to install it on 5.47a, any ideas what's wrong?

------------------
http://www.saehoon.com
_________________________
http://www.saehoon.com

Top
#39107 - 12/20/00 02:58 PM Re: Sticky Threads
Polgas Offline
Junior Member

Registered: 09/26/00
Posts: 5
Loc: New Jersey
This mod has two minor problems:

<OL TYPE=1>

[*]When you bump a thread and you have the latest Reply By mod installed, the UBB main page will display the incorrect username. It will show the correct last reply timestamp but not the username.

[*]If you go to the Control Panel/General Settings and let it save with the Update threads/timestamp checkbox selected, the Last Timestamp will be for the bumped thread which may not be the latest in the first place.
</OL>

Btw, the Bump feature on this board seems to allow ANYONE to bump a thread. It must be a bug.




<FONT COLOR="#6699cc" SIZE="1" FACE="Verdana, Arial">This message has been edited by Polgas on December 20, 2000 at 03:03 PM</font>

Top
#39108 - 12/20/00 04:12 PM Re: Sticky Threads
GoTorankusuKu Offline
Addict

Registered: 09/29/00
Posts: 1933
Polgas - Everyone is able to bump temporarily not permanent. It's not a bug

------------------
The Fusion of Goku & Trunks...GoTorankusuKu

<IMG SRC=\"http://dbz.star64.com/button.jpg\" border=0>

Top
#39109 - 12/24/00 01:11 AM Re: Sticky Threads
indoe Offline
Member

Registered: 11/25/00
Posts: 238
I installed this once and it work now when I go to install this on a different board I keep getting a some err I will try to install and past the err so you guy can tell me how dumb I am ok

l8r
.
.
ps: dose this work whit all ver
_________________________
Some men live for others and make their presence known
Some men live in seclusion and choose to live alone...
Some men live for justice and walk inside the law
But of these men, the group I'm in
are the men behind the wall...
- Gato Suertudo

Top
#39110 - 12/25/00 01:52 PM Re: Sticky Threads
Hello World Offline
Junior Member

Registered: 12/25/00
Posts: 1
Hi,
I applied this hack to my UBB, though nothing is happening...I can top and de-top my threads but they stay the same as they would without this feature... i get - nothing....any ideas to what might be wrong?

Top
#39111 - 12/27/00 09:51 AM Re: Sticky Threads
KBEEs Offline
Junior Member

Registered: 12/27/00
Posts: 3
Loc: Hong Kong
Is it work at 5.47c too? i see this forum can be use this hack but i got error on it @@

the ubb_libery.pl got error in it ... after did this step
REPLACE that with:
---------------------------------------------------
if ($checkit[1] eq "$threadnum") {
if ($openclose eq "open") {
$checkit[6] =~ s/X//isg;
} else {
if ($itWasMoved eq 'yes') { $checkit[6] = "Y$checkit[6]";
} elsif ($openclose eq "close") {
$checkit[6] = "X$checkit[6]";
} elsif ($openclose eq "top") {
$length = $in{'length'};
if (($TimeZoneOffset ne "") &#0124;&#0124; ($TimeZoneOffset ne "0")) {
$adjustTime = time() + ($TimeZoneOffset * 3600);
} else { $adjustTime = time(); }
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
localtime($adjustTime);
$year = $year +1900;
if ($length eq "perm") { $year = $year + 10; }
$mon++;
$JulianDate = &jday($mon, $mday, $year);
$Time = ("$hour" . "$min");
$JulianTime = ($JulianDate + ($Time * 0.0001));
$JulianTime = sprintf("%7.4f", $JulianTime);
$JulianTime =~ tr/ /0/;
$checkit[0] = $JulianTime;
} else {
$year = substr($checkit[5],0,4);
$mon = substr($checkit[5],4,2);
$mday = substr($checkit[5],6,2);
$hour = substr($checkit[5],8,2);
$min = substr($checkit[5],10,2);
$JulianDate = &jday($mon, $mday, $year);
$Time = ("$hour" . "$min");
$JulianTime = ($JulianDate + ($Time * 0.0001));
$JulianTime = sprintf("%7.4f", $JulianTime);
$JulianTime =~ tr/ /0/;
$checkit[0] = $JulianTime;
}

then error will be occcur. Is there any new fixed version? THX

Top
#39112 - 12/28/00 01:57 AM Re: Sticky Threads
TyRaN Offline
Member

Registered: 07/27/00
Posts: 286
Loc: Canada
replace with that:

if ($checkit[1] eq "$threadnum") {
if ($itWasMoved eq 'yes') {
$checkit[6] = "Y$checkit[6]";
} else {
$checkit[6] =~ s/Y//isg;
}
if ($openclose eq "open") {
$checkit[6] =~ s/X//isg;
} elsif ($openclose eq "close") {
$checkit[6] = "X$checkit[6]";
} elsif ($openclose eq "top") {
$length = $in{'length'};
if (($TimeZoneOffset ne "") &#0124;&#0124; ($TimeZoneOffset ne "0")) {
$adjustTime = time() + ($TimeZoneOffset * 3600);
} else { $adjustTime = time(); }
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
localtime($adjustTime);
$year = $year +1900;
if ($length eq "perm") { $year = $year + 10; }
$mon++;
$JulianDate = &jday($mon, $mday, $year);
$Time = ("$hour" . "$min");
$JulianTime = ($JulianDate + ($Time * 0.0001));
$JulianTime = sprintf("%7.4f", $JulianTime);
$JulianTime =~ tr/ /0/;
$checkit[0] = $JulianTime;
} else {
$year = substr($checkit[5],0,4);
$mon = substr($checkit[5],4,2);
$mday = substr($checkit[5],6,2);
$hour = substr($checkit[5],8,2);
$min = substr($checkit[5],10,2);
$JulianDate = &jday($mon, $mday, $year);
$Time = ("$hour" . "$min");
$JulianTime = ($JulianDate + ($Time * 0.0001));
$JulianTime = sprintf("%7.4f", $JulianTime);
$JulianTime =~ tr/ /0/;
$checkit[0] = $JulianTime;
}
$newline = join("|^|", @checkit);
push(@theupdatedts, $newline);
} else {
push(@theupdatedts, $checkthis);
}
} # end foreach @threadsum


that's what somebody told... i think it was AllenAyres

------------------
TyRaN
_________________________
Sorry for my english... i speak french.

email:tyranausaure@hotmail.com

Top
#39113 - 12/31/00 05:19 AM Re: Sticky Threads
indoe Offline
Member

Registered: 11/25/00
Posts: 238
i keep geting this err

Code:
code:



------------------
<IMG SRC="http://www.geocities.com/indoe_420_602/SMB/indoe.jpg" border=0>
_________________________
Some men live for others and make their presence known
Some men live in seclusion and choose to live alone...
Some men live for justice and walk inside the law
But of these men, the group I'm in
are the men behind the wall...
- Gato Suertudo

Top
#39114 - 01/04/01 04:42 AM Re: Sticky Threads
cRackY Offline
Junior Member

Registered: 10/10/00
Posts: 6
When I delete the first non bumped Thread in the Forum the Last Post Time in Ultimate.cgi isn't update anymore!
I don't have the Last Post by in Ultimate.cgi installed, just the normal Latest Post Time...

Please help me, i'm trying for weeks now and dont have an idea what to change

Im using 5.47d since a few days, and now when i move a Thread to a forum with a bumped thread the latest time ist the time from the bumped thread
With 5.45c there was this just the Problem with the delete first topic, this would maybe just be a problem in update the last time file but i dont have any idea how to do that.

greets, cRackY

--------------
NEED MONEY for Beer, Pot and Woman (Hey at least I'm not Bull****ting You!)

<FONT COLOR="#6699cc" SIZE="1" FACE="Verdana, Arial">This message has been edited by cRackY on January 04, 2001 at 04:56 AM</font>

Top
#39115 - 01/18/01 12:05 PM Re: Sticky Threads
no1knows Offline
Junior Member

Registered: 01/15/01
Posts: 16
i've just attempted to install the hack, i went over the problem file twice and still get these errors when trying to update the threads:
syntax error at /usr40/home/no1knows/public_html/cgi-bin/ubb_library.pl line 1985, near "} else" syntax error at /usr40/home/no1knows/public_html/cgi-bin/ubb_library.pl line 2006, near "}"

Version 5.47d

------------------
<IMG SRC="http://www.icg-fxp.net/images/no1knows.jpg" border=0>

Top
#39116 - 01/18/01 12:18 PM Re: Sticky Threads
no1knows Offline
Junior Member

Registered: 01/15/01
Posts: 16
i assume there isnt a fix for it, as there are no replys from admins
thx anyway guys

Top
#39117 - 01/18/01 12:25 PM Re: Sticky Threads
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
There are a few bugs in this script, especially if you have "latest reply by in Ultimate.cgi". You forum will slow to a crawl if someone permanently bumps a thread, it happens here. I really would not recommend installing this until it is updated/ fixed. The last fix was supposed to help, but it doesn't seem to.

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#39118 - 01/31/01 11:52 AM Re: Sticky Threads
Adamski Offline
Junior Member

Registered: 01/12/01
Posts: 2
Loc: London
I have a problem with the instrucions for this script. It says find this:

Code:
code:



but my file has

Code:
code:



so i don't know if it will work.
I am using 5.47b

http://www.demo3w.com/_cgi/Ultimate.cgi

Thanks for any help.

Adam Osborne

Top
#39119 - 01/31/01 06:03 PM Re: Sticky Threads
GoTorankusuKu Offline
Addict

Registered: 09/29/00
Posts: 1933
That's the same thing if you didn't look closely. Just continue with that step.

------------------
<IMG SRC=\"http://dbz.star64.com/uploads/XTCBoY2K/gotorankusuku.jpg\" border=0>

Top
#39120 - 02/01/01 05:29 AM Re: Sticky Threads
Adamski Offline
Junior Member

Registered: 01/12/01
Posts: 2
Loc: London
Thanks,

I wasn't too sure if it would make a difference as the lines were commented on my file. I'll give it a go... the worst that could happen is that I have to restore my files right?

Top
#39121 - 03/04/01 02:18 PM Re: Sticky Threads
evafan Offline
Member

Registered: 06/16/00
Posts: 62
Is there any news on this hack for 5.47d ?
_________________________
Visit my ubb here

Top
#39122 - 03/04/01 03:21 PM Re: Sticky Threads
GoTorankusuKu Offline
Addict

Registered: 09/29/00
Posts: 1933
It should work with 5.4x

Top
Page 1 of 2 1 2 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks