php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#39123 - 03/06/01 04:49 PM Re: Sticky Threads
evafan Offline
Member

Registered: 06/16/00
Posts: 62
ignore this--

[ March 06, 2001: Message edited by: evafan ]
_________________________
Visit my ubb here

Top
#39124 - 04/19/01 04:08 AM Re: Sticky Threads
csn23 Offline
Member

Registered: 12/05/00
Posts: 39
Loc: Hong Kong
it shows me 500 Internal server error...

What's wrong w/ it?

thanks! smile

Top
#39125 - 07/15/01 03:22 PM Re: Sticky Threads
Night Wolf Offline
Junior Member

Registered: 07/15/01
Posts: 13
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

Top
#39126 - 01/01/02 12:19 PM Re: Sticky Threads
fluffy Offline
Member

Registered: 10/27/00
Posts: 37
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

Top
#39127 - 01/01/02 01:42 PM Re: Sticky Threads
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
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.
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#39128 - 01/01/02 07:05 PM Re: Sticky Threads
fluffy Offline
Member

Registered: 10/27/00
Posts: 37
Is it now bug free and does it work for 5.47e?

Top
#39129 - 01/01/02 07:22 PM Re: Sticky Threads
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
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!! <img src="smile.gif" border="0" alt="" />
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#39130 - 01/01/02 07:27 PM Re: Sticky Threads
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
What version have you tested it on Viper?

Top
#39131 - 01/01/02 09:21 PM Re: Sticky Threads
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
smile
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#39132 - 01/02/02 02:14 AM Re: Sticky Threads
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Ok I'll wait. Tell me when you get it working successfully.

Top
#39133 - 01/19/02 06:18 AM Re: Sticky Threads
Blue5.0 Offline
Junior Member

Registered: 11/07/01
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. <img src="smile.gif" border="0" alt="" />

Thanks!
Dave

Top
#39134 - 01/23/02 06:54 AM Re: Sticky Threads
Dr_C Offline
Junior Member

Registered: 08/20/01
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.

Top
#39135 - 01/23/02 12:09 PM Re: Sticky Threads
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
Sure!!! Post it here. Prefer a link to a .txt file instead of putting all the code into a message. <img src="smile.gif" border="0" alt="" />

That is what this place is all about...happy to see the variation myself!!!
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#39136 - 01/23/02 12:49 PM Re: Sticky Threads
Dr_C Offline
Junior Member

Registered: 08/20/01
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( <THREADS> ) {
$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! <img src="smile.gif" border="0" alt="" />

Top
#39137 - 01/23/02 10:45 PM Re: Sticky Threads
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
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 <img src="smile.gif" border="0" alt="" />
Cheers
_________________________
I can't afford a good signature editor frown

Top
#39138 - 03/22/02 08:56 PM Re: Sticky Threads
CoCoT Offline
Junior Member

Registered: 06/02/00
Posts: 10
Loc: Toronto, Canada
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.........

Top
#39139 - 03/22/02 09:01 PM Re: Sticky Threads
CoCoT Offline
Junior Member

Registered: 06/02/00
Posts: 10
Loc: Toronto, Canada
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?

Top
#39140 - 07/08/02 08:15 AM Re: Sticky Threads
errol Offline
Member

Registered: 09/26/00
Posts: 57
Loc: PROUD AMERICAN!!! United We St...
Hi ya folks,

I installed this but I only get a blank page after I click the link for TOP. frown

Any help would be appreciated.

Thanks,
Errol

Top
#39141 - 07/08/02 08:36 PM Re: Sticky Threads
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Check your CHmodding of your files.

Top
Page 2 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