Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: 1.00, by Freddie Bingham Freddie Bingham is offline
Developer Last Online: Aug 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-01-2002 Last Update: Never Installs: 7
 
No support by the author.

One of the side affects of the optimizations I made to the 2.2.2 forumdisplay.php today is that you can quite easily make sticky threads show on all pages, not just the first. I have already made this an option in v3 but you can enable it in v2.2.2 easily. This works on 2.2.0, 2.2.1, or 2.2.2 but you have to make sure you get the latest file from here.

First you need the forumdisplay.php from this thread:

http://www.vbulletin.com/forum/showt...threadid=38684

Open it up and find:
PHP Code:
if ($pagenumber == 1) { 
and replace it with
PHP Code:
if ($pagenumber 0) { 
That should do it. Let me know if it doesn't work.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-02-2002, 03:56 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by freddie
One of the side affects of the optimizations I made to the 2.2.2 forumdisplay.php today is that you can quite easily make sticky threads show on all pages, not just the first.
Damn, Freddie. That's some serious optimizing. That page absolutely flies! Wow!

Oh, and the hack works, too.
Reply With Quote
  #3  
Old 02-02-2002, 05:32 AM
haas haas is offline
 
Join Date: Jan 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great!!, and easy
Reply With Quote
  #4  
Old 02-03-2002, 03:54 PM
Matt's Avatar
Matt Matt is offline
 
Join Date: Oct 2001
Location: UK
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used the new forumdisplay.php file on its own and went to look and none of the sticky threads were there, they had just vanished. I then reuploaded the 2.2.1 version and they were back again.

I really want the new version, any idea why they aren't showing up?
Reply With Quote
  #5  
Old 02-09-2002, 11:57 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by freddie
Let me know if it doesn't work.
Didn't work for me, freddie. In fact, the reverse - all the sticky threads I had in place disappeared! Returning it to 1 returned the sticky threads.

I did want to say thanks for the new version of forumdisplay.php. Whilst I haven't tested its performance yet on my site's new host (waiting for the DNS to kick in), I am hopeful that this will resolve the insane bandwidth levels my 2.2.2 board was generating before - 30 gig in 7 days, even with gzip!
Reply With Quote
  #6  
Old 02-09-2002, 02:07 PM
Remi Remi is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by X-Fan

Didn't work for me, freddie. In fact, the reverse - all the sticky threads I had in place disappeared! Returning it to 1 returned the sticky threads.
I have exactly the same problem :greedy:
Reply With Quote
  #7  
Old 03-07-2002, 06:11 PM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know what problems you guys are having but you can try this again on the v2.2.3 forumdisplay.php and it should work.
Reply With Quote
  #8  
Old 03-07-2002, 08:19 PM
Remi Remi is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

freddie

Is there any way of making only the sticky thread you want to appear in all forum display pages but not all the sticky threads?

Thanks
Reply With Quote
  #9  
Old 03-13-2002, 04:57 PM
Remi Remi is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is not working even with 2.2.4

Can any body confirm that it is working for him!

Thanks
Reply With Quote
  #10  
Old 03-13-2002, 05:02 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* FireFly confirms [/high]
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05609 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete