Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Show Newest PM If Unread On Forum Home Details »»
Show Newest PM If Unread On Forum Home
Version: 1.00, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Beta 1 Rating:
Released: 06-09-2005 Last Update: 06-09-2005 Installs: 63
Uses Plugins Template Edits
 
No support by the author.

This is a port of: https://vborg.vbsupport.ru/showthrea...threadid=77250

Exact same functionality/style, will automatically make the template edit for you using the plugins system (a bit hackish but it worked )

Plugins Added: 3

Enjoy,

- Zero Tolerance

Show Your Support

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

Comments
  #12  
Old 06-10-2005, 10:29 AM
burnist's Avatar
burnist burnist is offline
 
Join Date: Jul 2003
Location: Ireland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working, nice mod

[high]* burnist licks install[/high]
Reply With Quote
  #13  
Old 06-11-2005, 09:03 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A good idea to eliminate a query or two would be to do the following file modifaction. It basically caches the forumhome_pmshow template eliminating 2 queries if I remember it right.

Open index.php

Find:
Code:
'forumhome_subforumbit_post',
Add After:
Code:
'forumhome_pmshow',
Enjoy!

Nice plugin btw
Reply With Quote
  #14  
Old 06-12-2005, 12:37 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dan
A good idea to eliminate a query or two would be to do the following file modifaction. It basically caches the forumhome_pmshow template eliminating 2 queries if I remember it right.

Open index.php

Find:
Code:
'forumhome_subforumbit_post',
Add After:
Code:
'forumhome_pmshow',
Enjoy!

Nice plugin btw
IIRC, you can also plug in some code into fetch_userinfo to cache it.
Reply With Quote
  #15  
Old 06-12-2005, 06:03 AM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me installs!

Nice work!
Reply With Quote
  #16  
Old 06-12-2005, 08:32 AM
burnist's Avatar
burnist burnist is offline
 
Join Date: Jul 2003
Location: Ireland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
IIRC, you can also plug in some code into fetch_userinfo to cache it.
what like,

PHP Code:
if (THIS_SCRIPT == "index")
     {
     
$globaltemplates = array(
     
'forumhome_pmshow'
     

I assume this is wrong and would mess something up, but is that the general idea?
Reply With Quote
  #17  
Old 06-12-2005, 07:01 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack already has the code for the template catch.
Reply With Quote
  #18  
Old 06-12-2005, 09:22 PM
Zero Tolerance's Avatar
Zero Tolerance Zero Tolerance is offline
 
Join Date: Feb 2004
Location: England
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

eXtemeTim is correct, this adds in the code to cache the template, globally however, but i doubt it would make any resource difference at all since the template is rather small.

- Zero Tolerance
Reply With Quote
  #19  
Old 06-17-2005, 11:33 AM
fraghappy fraghappy is offline
 
Join Date: Feb 2004
Location: Hell, TN, USA.
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I only have one suggestion: add a "Reply to PM" link down at the bottom with the other stuff.
Reply With Quote
  #20  
Old 07-06-2005, 08:07 AM
Azhrialilu's Avatar
Azhrialilu Azhrialilu is offline
 
Join Date: Aug 2003
Location: Stretton, Derbyshire
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I loved this on 3.0.7 and now I can continue to love it on 3.5 *smiles happily*
Reply With Quote
  #21  
Old 07-16-2005, 09:49 PM
burnist's Avatar
burnist burnist is offline
 
Join Date: Jul 2003
Location: Ireland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

been trying this on beta 4 its generating an error in the admin cp on all pages

Quote:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in *****\****\****\*****\includes\functions.php(1030) : eval()'d code on line 3
It would appear that this if from the use of the fetch_userinfo hook, but I could be wrong.

please fix it, I liked this plugin
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 05:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04595 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_code
  • (1)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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