vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   more activity on sidebar 'blocks' (https://vborg.vbsupport.ru/showthread.php?t=319452)

fxdigi-cash 07-13-2015 01:45 AM

more activity on sidebar 'blocks'
 
1 Attachment(s)
hi everyone,

I was trying to add more activity button for each side block instead of showing say 15 posts at once. I prefer to show 5 posts in the sidebar block and then users choose to show more activity or not.

This is the picture of what I'm after to do ' I took this picture from vFcoders - Activity Stream (Widget) mod ' since it is the only mod that displays more activity

https://vborg.vbsupport.ru/attachmen...1&d=1436758901

so in short I want to know how to add that button of more activity in each sidebar block; latest forum threads, latest posts, latest ..... and so on....

kh99 07-13-2015 11:34 AM

What does the "More Activity" button on that widget do? If it takes you to the activity stream page, then that's not that hard, you just need links for the latest threads and posts. If it reloads the widget with another page of activity, then obviously that's harder. You'd probably need to make an ajax call to get another page of data and display it.

fxdigi-cash 07-13-2015 03:04 PM

Quote:

Originally Posted by kh99 (Post 2550101)
What does the "More Activity" button on that widget do? If it takes you to the activity stream page, then that's not that hard, you just need links for the latest threads and posts. If it reloads the widget with another page of activity, then obviously that's harder. You'd probably need to make an ajax call to get another page of data and display it.

I'm glad to see your comments. maybe I didn't explain well in the first place. you see that more activity button in the Activity page, I would like to have such button for each block on my side bar the same as that picture in my first post.

https://vborg.vbsupport.ru/attachmen...1&d=1436758901

as you can see there is a button for more activity users can push to see more threads in the same sidebar block. I want to add the same button to each sidebar block on my vb board. so if I have 4 blocks on the sidebar, I want to have a button like that for each block so that users can choose to see more or not.

I hope I explained well this time, sorry for my English.

--------------- Added [DATE]1436813422[/DATE] at [TIME]1436813422[/TIME] ---------------

ok, if this is hard to do, would it be possible to create custom blocks as duplicates from activity-stream with exclusion of forums??

any idea?


All times are GMT. The time now is 11:24 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.00937 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete