Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Sidebar: Activity Stream Block (4.2 only) Details »»
Sidebar: Activity Stream Block (4.2 only)
Version: 1.0, by rellect rellect is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.2.0 Rating:
Released: 05-25-2012 Last Update: 05-25-2012 Installs: 34
DB Changes Uses Plugins
Re-useable Code Translations  
No support by the author.

Sidebar: Activity Stream Block

If you installed this mod, please "Mark as Installed".

Description:

Shows the latest activity in your forum home!

Compatibility:
Compatible only with 4.2.X and newer.

Installations:
you don't have to change anything in the templates/files,
just upload the plugin and that's all.

- Import XML file (as product): AdminCP > Plugins & Products > Manage Products > [Add/Import Product]

History:
  • [26-05-12] v1.0:
    First Release
Enjoy.


The mod removed since there are some problems of stability that need to be fixed and I don't have time to fix them. For who need this kind of feature, just wait for 4.2.1 that will have it build-in.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
BCP Hung

Comments
  #22  
Old 05-26-2012, 06:26 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RellecT View Post
2. Its the most compact style I was able to get without remove important information.
Please make the preview appear on hover. This reduces 1-2 lines per entry.

'See more' is superfluous, as there already is a link to the content.

Reflect replied to the thread sup in main forum
The word sup can be linked to Reflect his post. Then there is no need for a 'See more'

This reduces 2 lines per entry.

If you color the timedate in grey font (like done in vb3 with .time) place it after the event, then that saves another line.

So with the above changes Each entry has 4-5 lines less and consist out of 2 lines, instead of 6-7. This allows the activity stream to show almost 3 times as many entries in the same space.
Reply With Quote
Благодарность от:
Hornstar
  #23  
Old 05-26-2012, 09:39 PM
rafiul's Avatar
rafiul rafiul is offline
 
Join Date: Jun 2009
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Intalled but problem. I see this erorr-
Code:
Warning: in_array() expects parameter 2 to be array, string given in [path]/includes/block/blogentries.php on line 129

Warning: in_array() expects parameter 2 to be array, string given in [path]/includes/block/blogentries.php on line 131

Warning: Invalid argument supplied for foreach() in [path]/includes/block/blogentries.php on line 139
I have give the block a number. But not helpd. any idea?
Reply With Quote
  #24  
Old 05-26-2012, 10:12 PM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RellecT View Post
I will consider set it as option in the next version.
Please mark as install
Thank you. Installed.
Reply With Quote
  #25  
Old 05-27-2012, 05:19 AM
Robru Robru is offline
 
Join Date: Aug 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RellecT View Post
Copy here the error
Code:
Invalid blockid or blocks cache on line 105 in /var/www/includes/class_block.php
#0 /var/www/includes/class_block.php(601): vB_Block::create(Object(vB_Registry), 12, NULL)
#1 /var/www/admincp/block.php(226): vB_BlockManager->createBlock(12)
#2 {main}
When I give it a number, it gives me the same error
Reply With Quote
  #26  
Old 05-27-2012, 06:23 AM
rellect's Avatar
rellect rellect is offline
 
Join Date: May 2008
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Please make the preview appear on hover. This reduces 1-2 lines per entry.

'See more' is superfluous, as there already is a link to the content.

Reflect replied to the thread sup in main forum
The word sup can be linked to Reflect his post. Then there is no need for a 'See more'

This reduces 2 lines per entry.

If you color the timedate in grey font (like done in vb3 with .time) place it after the event, then that saves another line.

So with the above changes Each entry has 4-5 lines less and consist out of 2 lines, instead of 6-7. This allows the activity stream to show almost 3 times as many entries in the same space.
Sounds cool, I'll implement your suggestion.
Quote:
Originally Posted by rafiul View Post
Intalled but problem. I see this erorr-
Code:
Warning: in_array() expects parameter 2 to be array, string given in [path]/includes/block/blogentries.php on line 129

Warning: in_array() expects parameter 2 to be array, string given in [path]/includes/block/blogentries.php on line 131

Warning: Invalid argument supplied for foreach() in [path]/includes/block/blogentries.php on line 139
I have give the block a number. But not helpd. any idea?
Don't know how blogentries is affected, but I will look into that and let you know as soon as possible.

Quote:
Originally Posted by Robru View Post
Code:
Invalid blockid or blocks cache on line 105 in /var/www/includes/class_block.php
#0 /var/www/includes/class_block.php(601): vB_Block::create(Object(vB_Registry), 12, NULL)
#1 /var/www/admincp/block.php(226): vB_BlockManager->createBlock(12)
#2 {main}
When I give it a number, it gives me the same error
I will look into that.
Seems as I need to change the way I create the block.
Reply With Quote
  #27  
Old 05-27-2012, 07:14 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
It shows only the latest activities.
Post a reply or open a thread and check again.
Maybe at the time you've checked all the latest activities were related to blogs.
no not for me. new threads and new replies do not show. Only new blog entries do
Reply With Quote
  #28  
Old 05-27-2012, 07:24 AM
rellect's Avatar
rellect rellect is offline
 
Join Date: May 2008
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel View Post
no not for me. new threads and new replies do not show. Only new blog entries do
And in the main activity page (activity.php) you do see new threads and new replies?
Maybe you disabled it in the admincp under the activity stream options.
Reply With Quote
  #29  
Old 05-27-2012, 08:03 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no, not all. They all display in the main activity and in profile

I do have a lot of private threads, but they display to me in main activity and to thread starter
Reply With Quote
  #30  
Old 05-27-2012, 08:15 AM
rellect's Avatar
rellect rellect is offline
 
Join Date: May 2008
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel View Post
no, not all. They all display in the main activity and in profile

I do have a lot of private threads, but they display to me in main activity and to thread starter
That just weird.
I'll check it but I'm not sure why you can't see other activities except blog.

Anyway, today I will release an update to improve the installation.
It might fix your problem.
Reply With Quote
  #31  
Old 05-27-2012, 08:28 AM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, I hope you included the option to show images as well!
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 07:08 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.06026 seconds
  • Memory Usage 2,329KB
  • Queries Executed 27 (?)
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
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (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_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
  • 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
  • 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