#39103
12/08/2000 11:54 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
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
|
|
|
#39104
12/09/2000 3:53 AM
|
Joined: Oct 2000
Posts: 565
Member
|
Member
Joined: Oct 2000
Posts: 565 |
neat! the bump feature! I've been looking all over the place for this! thanks Allen ------------------ www.skinningworld.net
|
|
|
#39105
12/18/2000 1:06 PM
|
Joined: Nov 2000
Posts: 2
Junior Member
|
Junior Member
Joined: Nov 2000
Posts: 2 |
Same at my UBB !!!
All Done.....
And now i get an white page if i start my UBB.
And the same error in CP !!
|
|
|
#39106
12/18/2000 1:29 PM
|
Joined: Jun 2000
Posts: 22
Member
|
Member
Joined: Jun 2000
Posts: 22 |
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
|
|
|
#39107
12/20/2000 2:58 PM
|
Joined: Sep 2000
Posts: 5
Junior Member
|
Junior Member
Joined: Sep 2000
Posts: 5 |
This mod has two minor problems:
[*]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.
Btw, the Bump feature on this board seems to allow ANYONE to bump a thread. It must be a bug. This message has been edited by Polgas on December 20, 2000 at 03:03 PM
|
|
|
#39108
12/20/2000 4:12 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
Polgas - Everyone is able to bump temporarily not permanent. It's not a bug ------------------ The Fusion of Goku & Trunks...GoTorankusuKu
|
|
|
#39109
12/24/2000 1:11 AM
|
Joined: Nov 2000
Posts: 169
Member
|
Member
Joined: Nov 2000
Posts: 169 |
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
|
|
|
#39110
12/25/2000 1:52 PM
|
Joined: Dec 2000
Posts: 1
Junior Member
|
Junior Member
Joined: Dec 2000
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?
|
|
|
#39111
12/27/2000 9:51 AM
|
Joined: Dec 2000
Posts: 1
Junior Member
|
Junior Member
Joined: Dec 2000
Posts: 1 |
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 "") || ($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
|
|
|
#39112
12/28/2000 1:57 AM
|
Joined: Jul 2000
Posts: 237
Member
|
Member
Joined: Jul 2000
Posts: 237 |
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 "") || ($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
|
|
|
#39113
12/31/2000 5:19 AM
|
Joined: Nov 2000
Posts: 169
Member
|
Member
Joined: Nov 2000
Posts: 169 |
i keep geting this err ------------------
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
|
|
|
#39114
01/04/2001 4:42 AM
|
Joined: Oct 2000
Posts: 4
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 4 |
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!) This message has been edited by cRackY on January 04, 2001 at 04:56 AM
|
|
|
#39115
01/18/2001 12:05 PM
|
Joined: Jan 2001
Posts: 14
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 14 |
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 ------------------
|
|
|
#39116
01/18/2001 12:18 PM
|
Joined: Jan 2001
Posts: 14
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 14 |
i assume there isnt a fix for it, as there are no replys from admins thx anyway guys
|
|
|
#39117
01/18/2001 12:25 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
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
|
|
|
#39118
01/31/2001 11:52 AM
|
Joined: Jan 2001
Posts: 2
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 2 |
I have a problem with the instrucions for this script. It says find this: but my file has 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
|
|
|
#39119
01/31/2001 6:03 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
That's the same thing if you didn't look closely. Just continue with that step. ------------------
|
|
|
#39120
02/01/2001 5:29 AM
|
Joined: Jan 2001
Posts: 2
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 2 |
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?
|
|
|
#39121
03/04/2001 2:18 PM
|
Joined: Jun 2000
Posts: 37
Member
|
Member
Joined: Jun 2000
Posts: 37 |
Is there any news on this hack for 5.47d ?
|
|
|
#39122
03/04/2001 3:21 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
|
|
|
#39123
03/06/2001 4:49 PM
|
Joined: Jun 2000
Posts: 37
Member
|
Member
Joined: Jun 2000
Posts: 37 |
ignore this--
[ March 06, 2001: Message edited by: evafan ]
|
|
|
#39124
04/19/2001 3:08 AM
|
Joined: Dec 2000
Posts: 29
Member
|
Member
Joined: Dec 2000
Posts: 29 |
it shows me 500 Internal server error... What's wrong w/ it? thanks!
|
|
|
#39125
07/15/2001 2:22 PM
|
Joined: Jul 2001
Posts: 12
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 12 |
Could someone please post a link to the latest version of this hack? the link in the firts post does not seem to work.
thank you, Night Wolf
|
|
|
#39126
01/01/2002 12:19 PM
|
Joined: Oct 2000
Posts: 27
Member
|
Member
Joined: Oct 2000
Posts: 27 |
Is this hack thats included in the database still full of bugs or have they been fixed?
BTW I do not have the last reply hack installed and I am using 5.47e
|
|
|
#39127
01/01/2002 1:42 PM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
I have an updated file from Night Wolf I still have to get in the databasse...but I've uploaded it CLICK HERE for the time being.
|
|
|
#39128
01/01/2002 7:05 PM
|
Joined: Oct 2000
Posts: 27
Member
|
Member
Joined: Oct 2000
Posts: 27 |
Is it now bug free and does it work for 5.47e?
|
|
|
#39129
01/01/2002 7:22 PM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
I cannot say because I do not know. I don't run any 5.47 boards, and it was sent to me to upload as an update. Hack away...make back-ups..and let us know!!
|
|
|
#39130
01/01/2002 7:27 PM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
What version have you tested it on Viper?
|
|
|
#39131
01/01/2002 9:21 PM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
|
|
|
#39132
01/02/2002 2:14 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Ok I'll wait. Tell me when you get it working successfully.
|
|
|
#39133
01/19/2002 6:18 AM
|
Joined: Nov 2001
Posts: 7
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 7 |
Hi there. I have this hack installed on my 5.47d and it works perfectly, even with the 'Last Post By' hack in ultimate.cgi. The bug fix for the 'Last Post By' works. The bumped thread does not show in 'Last Post By'; only the 'real' last post does. I would just like to say, I have used a lot of hacks from this UBB, and sincerely thank all of the people here who make these hacks possible! They really do add a lot to the V5 boards. Thanks! Dave
|
|
|
#39134
01/23/2002 6:54 AM
|
Joined: Aug 2001
Posts: 2
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 2 |
I just installed this hack yesterday and it slowed my forum (with over 500,000 messages) down to a crawl. Deleting or moving threads became completely impossible. I had a look at their code and found some code that was a bit (without trying to belittle the efforts of the original coder) not-so-efficient programming.
In my case which so many messages, it took about 20 minutes to close/move/delete a thread, causing the browser to time out and the cgi-script to fail. I've made a few changes that brought this 20 minutes down to 0.6 seconds (yes, less than a second).
Since this is an old hack, and I'm not sure anyone is still using it, let me know if you're interested in the fix and I'll post it here.
|
|
|
#39135
01/23/2002 12:09 PM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
Sure!!! Post it here. Prefer a link to a .txt file instead of putting all the code into a message. That is what this place is all about...happy to see the variation myself!!!
|
|
|
#39136
01/23/2002 12:49 PM
|
Joined: Aug 2001
Posts: 2
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 2 |
I'll post it here since it's a small change. Change this in the files that already contain the changes for the Sticky Hacl. In ubb_library.pl, sub ForumSummary: Find: ----------------- @threadsum = &OpenFile("$ForumsPath/$ExactPath/forum$thisnumber.threads"); Replace with: ----------------- open( THREADS, "$ForumsPath/$ExactPath/forum$thisnumber.threads" ); while( ) { $line = $_; chomp( $line ); # not necessary, but always good practice. @fields = split( /|^|/, $line ); $threadsum{$fields[1]} = $line; } close( THREADS );
Find: ----------------- @tmpitemline = grep{/|^|$tmpthreadnum|^|/} @threadsum; #C @tmpstats = split(/|^|/,$tmpitemline[0]);
Replace with: ----------------- @tmpstats = split(/|^|/,$threadsum{$tmpthreadnum});
That's it! This will get rid of the incredible time-consuming "grep", not to mention "grep" will generate an error if a topic-title contains more than 3 question marks in a row.
The original loop with the grep took about 20 minutes going through 7000 threads. If you make the above change, it will take about 0.5s.
Enjoy the new and improved Sticky Threads!
|
|
|
#39137
01/23/2002 10:45 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Thanks Dr_C, Ive got this hack on my board, and Ive noticied that on my larger forums, it can take a substantial amount of time to move/delete a post thread. Although I was unable to diagnose the cause of the problem myself. Im going to make the changes you suggested and hopefully it will remedy my problem also Cheers
I can't afford a good signature editor
|
|
|
#39138
03/22/2002 8:56 PM
|
Joined: Jun 2000
Posts: 5
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 5 |
I have just installed this hack on my version 5.45c...when I make a thread "sticky" it deletes the thread! Whether I make it temporary or permanent...anyone have any ideas why?
T.........
|
|
|
#39139
03/22/2002 9:01 PM
|
Joined: Jun 2000
Posts: 5
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 5 |
Actually...it doesn't delete the thread, it just makes it invisible...
The only way I can see the thread is if I do a search for it. ???
Anyone know why?
|
|
|
#39140
07/08/2002 7:15 AM
|
Joined: Sep 2000
Posts: 19
Member
|
Member
Joined: Sep 2000
Posts: 19 |
Hi ya folks, I installed this but I only get a blank page after I click the link for TOP. Any help would be appreciated. Thanks, Errol
|
|
|
#39141
07/08/2002 7:36 PM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Check your CHmodding of your files.
|
|
|
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.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|