Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Detailed Latest Posts - Version 2 Details »»
Detailed Latest Posts - Version 2
Version: 2.00, by Albus Albus is offline
Developer Last Online: Mar 2007 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 03-25-2005 Last Update: Never Installs: 3
Is in Beta Stage  
No support by the author.

I finally got around to addressing some issues with the 'Detailed Latest Posts' hack I posted last year. This version uses a cron file to generate and cache the required data, saving your index from having to do all the work. This should also reduce the cpu load on large boards since the timing of the update is now controlled by the cron task. This has been tested and is live on my own board. Full instructions for installation are included in the download. For a demo please visit my board via the homepage listed in my profile.

All comments, suggestions, and other related discussion are welcome. Please inform me immediately upon discovering an error, either with the hack or the documentation.

Show Your Support

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

Comments
  #12  
Old 03-27-2005, 02:08 PM
alderwazeh alderwazeh is offline
 
Join Date: Jan 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Honestly this is very nice hack and before saying that your site is even nicer ..decent design and layout ..and the hack looks like a super star in this romantic sky..great work although the hack is rather complicated in installation but this coding having said though deserve it. thanks a lot.
Reply With Quote
  #13  
Old 03-27-2005, 02:57 PM
Albus Albus is offline
 
Join Date: May 2004
Location: USA
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alderwazeh
Honestly this is very nice hack and before saying that your site is even nicer ..decent design and layout ..and the hack looks like a super star in this romantic sky..great work although the hack is rather complicated in installation but this coding having said though deserve it. thanks a lot.
Thanks for the kind words. It's not that difficult to install really. There's two arrays you have to add one item too, one template to edit, one to create, one cut-n-paste, one upload, setup some vbphrases and some tasks, and that's it. Is there a way I could've made my instructions read better perhaps? Of course, I'm going to try and have an installer by the time all intended features are worked in.

Reply With Quote
  #14  
Old 03-30-2005, 02:15 AM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so if someone replys to a new thread or post it dont auto update on the stats till the cron job is run is that correct ?
Reply With Quote
  #15  
Old 03-30-2005, 02:40 AM
Albus Albus is offline
 
Join Date: May 2004
Location: USA
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lasto
so if someone replys to a new thread or post it dont auto update on the stats till the cron job is run is that correct ?
That is correct. It may not be realtime, but it saves a ton of cpu load, especially for large boards.
Reply With Quote
  #16  
Old 04-14-2005, 09:01 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack .. clicked install.

How can I exclude certain forum ID's from being shown on the updated list.
I have 4 categorys that provide RSS news feeds and don't want those to appear.
Reply With Quote
  #17  
Old 04-14-2005, 09:30 PM
Albus Albus is offline
 
Join Date: May 2004
Location: USA
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TTG
Great hack .. clicked install.

How can I exclude certain forum ID's from being shown on the updated list.
I have 4 categorys that provide RSS news feeds and don't want those to appear.

Edit /includes/cron/detailedlatestposts.php and add the following...

PHP Code:
        and
        
f.forumid not in (1234
...so that it reads...

PHP Code:
$dlp_query "
    select 
        t.threadid,
        t.title as threadtitle,
        f.forumid,
        f.title as forumtitle,
        t.postuserid,
        t.postusername,
        p.username,
        t.replycount,
        t.views
    from
        " 
TABLE_PREFIX "thread as t
        left join " 
TABLE_PREFIX "forum as f on f.forumid = t.forumid
        left join " 
TABLE_PREFIX "post as p on p.dateline = t.lastpost and p.threadid = t.threadid
        left join " 
TABLE_PREFIX "deletionlog AS d ON d.primaryid = t.threadid and d.type = 'thread'
    where
        t.open = '1'
        and
        t.visible = '1'
        and
        d.primaryid is null
        and
        f.forumid not in (1, 2, 3, 4)
    order by
        t.lastpost desc
    limit 
$dlp_limit
"

...replacing 1, 2, 3, and 4 with your four values. Let me know if this does not do the trick.

[EDIT]

Just make sure that whatever ID''syou use are for the forums the posts directly reside in, and not a parent forum, or one that is marked as no-post.
Reply With Quote
  #18  
Old 04-14-2005, 10:10 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Albus .. that solved it
Reply With Quote
  #19  
Old 04-14-2005, 10:30 PM
Albus Albus is offline
 
Join Date: May 2004
Location: USA
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TTG
Thanks Albus .. that solved it
Looks good on your cafe too. Personally, I think I'd switch the alt class used though. Your darker color might look better.



Expect a minor update either tonight or tomorrow that will add this feature as a variable and one or two minor xhtml url goofs. You can change these manually if you wish. In the forumhome_latestpostbits template, there are some urls that use & instead of & .
Reply With Quote
  #20  
Old 04-26-2005, 05:12 PM
Albus Albus is offline
 
Join Date: May 2004
Location: USA
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Albus
Looks good on your cafe too. Personally, I think I'd switch the alt class used though. Your darker color might look better.



Expect a minor update either tonight or tomorrow that will add this feature as a variable and one or two minor xhtml url goofs. You can change these manually if you wish. In the forumhome_latestpostbits template, there are some urls that use & instead of & .
Just a quick update...

I am going through a major overhaul, both in format and concept, of my forum. Until that is complete, I am putting further development of this on hold. Please be patient with me during this time. I will post the update mentioned earlier shortly after the renovation is complete.

Thanks.
Reply With Quote
  #21  
Old 05-30-2008, 02:56 PM
Piratos Piratos is offline
 
Join Date: Mar 2008
Location: Tunisia
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any Demo!!!
Please
Reply With Quote
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 10:14 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.04213 seconds
  • Memory Usage 2,315KB
  • 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
  • (2)bbcode_php
  • (5)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
  • (2)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