Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
103 Early Hints by PlayerSquared.com Details »»
103 Early Hints by PlayerSquared.com
Version: 1.0.0, by x iJailBreak x x iJailBreak x is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Board Optimization - Version: 4.2.5 Rating:
Released: 05-20-2023 Last Update: Never Installs: 2
Supported Uses Plugins
Re-useable Code  

A mini-mod that enables 103 Early Hint support on your vBulletin forum.

Install by importing the XML file, then head into Options > 103 Early Hints by PlayerSquared.com and configuring the plugin as necessary.

For more information on HTTP/2 Push and 103 Early Hints and how these can benefit your website's speed, see this link.

Show Your Support

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

Comments
  #2  
Old 05-20-2023, 09:19 PM
x iJailBreak x's Avatar
x iJailBreak x x iJailBreak x is offline
 
Join Date: Jan 2011
Location: United Kingdom
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't edit the post to upload the XML as I keep getting a PHP error lol.

Have uploaded the XML off-site for now, until this site works again.

https://p28.p0.n0.cdn.getcloudapp.co...7c1d240d955cba
Reply With Quote
  #3  
Old 05-21-2023, 10:14 AM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screenshot?
Whats this do ?

Thanks its been a long time since I seen a new mod
Reply With Quote
  #4  
Old 05-22-2023, 06:38 AM
x iJailBreak x's Avatar
x iJailBreak x x iJailBreak x is offline
 
Join Date: Jan 2011
Location: United Kingdom
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's no screenshot to show - all it does is add an additional header on output that sends an early resource hint. It's used to allow your user's browsers to connect faster to assets in order to speed up the browsing experience. It's not a huge difference, but it's something that's starting to be implemented across the internet as a best practise.

It's key to note that the order of assets does matter, and this should only really be implemented if you understand how it works.
Reply With Quote
  #5  
Old 05-23-2023, 12:05 AM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh cool, does it work with 4.2.5 ?
Reply With Quote
  #6  
Old 05-23-2023, 07:53 PM
x iJailBreak x's Avatar
x iJailBreak x x iJailBreak x is offline
 
Join Date: Jan 2011
Location: United Kingdom
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In theory, due to the simplicity of the mod, it should work with any version of vB4, as well as any version of 3.8.x, although I haven't tested it on 3.x.

I wrote it on my live environment as an experiment, which is a modified codebase based on 4.2.5, but it should work fine on stock 4.2.5.
Reply With Quote
  #7  
Old 05-24-2023, 06:56 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have heavily modded 4.2.6 php 7.2
ill give it a shot and let you know, on a side note you coming up with anything else?
Reply With Quote
Благодарность от:
socialteenz
  #8  
Old 05-25-2023, 12:07 PM
x iJailBreak x's Avatar
x iJailBreak x x iJailBreak x is offline
 
Join Date: Jan 2011
Location: United Kingdom
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As long as you haven't removed the global_start hook, it should work just fine.

I'm not working on anything else right now as we're actually working on moving away from vBulletin at this time, but we've had a lot of features to rebuild into our new site. This was just something I threw together quickly on our live board. Unfortunately, I feel like vB5 and the actions of IB truly killed the scene around vBulletin, as well as the fact more popular forum softwares have popped up in recent times. I won't say I'll never post another mod (as I really don't know how much longer I'll be running vB for) but it's highly unlikely.

Although, if I build something worth sharing, I'll post it.
Reply With Quote
Благодарность от:
socialteenz
Reply


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 04:16 AM.


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.05493 seconds
  • Memory Usage 2,290KB
  • Queries Executed 24 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (2)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete