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

Reply
 
Thread Tools
CES Last Post on Forum Home (No Query) Details »»
CES Last Post on Forum Home (No Query)
Version: 1.0.3, by thincom2000 thincom2000 is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.x Rating:
Released: 03-10-2007 Last Update: 07-30-2007 Installs: 10
DB Changes Uses Plugins Template Edits
Code Changes  
No support by the author.

CES Last Post on Forum Home
Version: 1.0.3
This mod is no longer supported. Do not install this mod, as it adds postsave queries that can result in full table scans (that is bad).

If you have vBulletin Project Tools installed, you may want the integrated version, which will be released in a few short minutes.

*** NEWS ***
7/31/2007 - v1.0.3 released
6/4/2007 - v1.0.2 released
3/17/2007 - v1.0.1 released
3/11/2007 - v1.0.0 released

Known Issues:
- none

What It Does:
This mod adds the most recent post to Forum Statistics in What's Going On. Unlike other similar hacks that do this, CES Last Post on Forum Home doesn't add a single query to forum home.

IMPORTANT! Install the product last. The product uses the plugin files
to create the appropriate database tables.

Products to Install: 1
Plugins Included: 7
Files to Upload: 0
Files to Edit: 1
New Templates: 1
Template Edits: 1

*** CHANGELOG ***
As of Version 1.0.3:
  • updated: removed file uploads for faster install
  • bug fix: cache not updated when threads move, merge, copy
  • bug fix: icons bloat cache
  • bug fix: icons don't appear on forum home
  • bug fix: forum home links don't pass session ids

As of Version 1.0.2:
  • bug fix: latest post not updated on post delete
  • bug fix: latest post not updated on thread delete

As of Version 1.0.1:
  • fixed uncached template

Show Your Support

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

Comments
  #2  
Old 03-11-2007, 07:29 AM
MrPHD's Avatar
MrPHD MrPHD is offline
 
Join Date: Feb 2006
Location: Portugal
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Work, go on. Regards and Installed.

Screenshot:

Reply With Quote
  #3  
Old 03-11-2007, 08:55 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the screenshot ^_^

I'd been testing this for over a month. Today I finally decided to release it, so I added 2 additional plugins as a safety net to make sure new posts are always recognized.

This is how it works. Whenever a post is made, the hack adds the post info for the most recent post in each forum to the datastore. Then on runtime, these most recent posts are loaded into memory at the same time as vboptions, etc, thus avoiding an extra query, and the hack checks to see which of them is the most recent that the current user actually has permission to view.

I had had problems with the datastore post info not always updating, so now there is the following:

1 plugin for checking after adding a new thread
1 plugin for checking after adding a new reply
1 plugin for checking after editing a post (some hacks allow you to alter post times)
1 plugin for checking after deleting a post
Reply With Quote
  #4  
Old 03-11-2007, 09:24 AM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks very much for this hack!
Reply With Quote
  #5  
Old 03-11-2007, 11:01 AM
ZomgStuff ZomgStuff is offline
 
Join Date: Feb 2007
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx!
Reply With Quote
  #6  
Old 03-12-2007, 02:45 PM
DeanoG DeanoG is offline
 
Join Date: Feb 2002
Location: UK
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Hack,

I think you need to update the Readme file in the Zip file.. as it refering to ...

Quote:
[Log in to your AdminCP, and upload product-ces_search_wiki.xml

You can now search the Wiki with the Forum Search! If you have questions,
ask in the thread.
Reply With Quote
  #7  
Old 03-12-2007, 03:51 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haha, thanks. I'll do that. Darn copy & paste.
Reply With Quote
  #8  
Old 03-25-2007, 05:54 PM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks....
Reply With Quote
  #9  
Old 06-04-2007, 04:32 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Finally got this to update correctly after the most recent post is deleted. Posting the new version now.

New plugin list:
1 to cache the template
1 to parse the template

1 for posting a new reply / editing a post
1 for posting a new thread
1 for deleting a thread with inlinemod.php
1 for deleting a post with inlinemod.php
1 for deleting a thread inline on Forum Display or Show Thread
Reply With Quote
  #10  
Old 07-31-2007, 02:14 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The first post has been updated again since this mod wasn't working when threads moved, merged, or copied, and since icons still weren't working and were inflating the cache beyond belief.

These bugs have been fixed; however, I will be releasing a version that integrates vBulletin Project Tools on this site shortly. So if you are interested in counting posts in your Project Issues towards the last post on forum home, I would recommend waiting for that.
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 09:58 AM.


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.04343 seconds
  • Memory Usage 2,284KB
  • 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
  • (1)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