Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vFcoders - Activity Stream (Sideblock) Details »»
vFcoders - Activity Stream (Sideblock)
Version: 1.00, by Badshah93 Badshah93 is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: vBulletin Forum Sideblocks - Version: 4.2.x Rating:
Released: 05-31-2012 Last Update: 05-31-2012 Installs: 60
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

.::vFcoders - Activity Stream (Sideblock)::.

What is it?
=====================================
This mod will display activitystream in sideblock and uses AJAX technology to filter the contents.

Features
=====================================

1. All Features which is there in vB Default Activity Stream.
2. Uses AJAX technology so user don't have to refresh to filter contents.
3. No Template Edits.

DEMO
=====================================
Code:
http://www.screencast-o-matic.com/watch/cl1VDdG7S
New Installation Instructions
=====================================
1. Unzip vFcoders - Activity Stream.zip File.
2. Upload the contents of "UPLOAD" Folder to forumroot.
3. In the Product Manager in AdminCP, import the product XML file inside "XML" Folder

Uninstalling:
=====================================
1. Uninstall the product from the Product Manager in the AdminCP.

Mod History:

v1.0 : 01 June 2012 : First Release.



vFcoders - Activity Stream (Widget)


-> Click On Mark As Installed If You Have Installed This Mod.
-> You Can Nominate it also for Mod Of The Month.
-> If u like my work, you can Donate me also.

Download Now

File Type: zip vFcoders - Activity Stream.zip (8.4 KB, 366 views)

Screenshots

File Type: png activitystream.png (54.8 KB, 0 views)
File Type: jpg Activity Stream (admincp).jpg (103.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
asprens, BCP Hung, eTiKeT?, mjfutures, reddyink

Comments
  #22  
Old 06-02-2012, 08:32 AM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FF|Skyrider View Post
It's showing up on the top of the sidebar. Anyway I can make it show second? As I wish for something else to show first in the sidebar.
Forum Block Manager. (change the displayorder)
Reply With Quote
  #23  
Old 06-02-2012, 11:20 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haha, my bad. Sorry. I didn't think the plugin would actually add a new sideblock as well so I never noticed this. I wonder if the avatar can be different like avatar icons. I've decreased the size of the avatars within the css code, but it doesn't go smaller beyond a certain size.
Reply With Quote
  #24  
Old 06-02-2012, 05:41 PM
rafiul's Avatar
rafiul rafiul is offline
 
Join Date: Jun 2009
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hot to resize the avatar width in side block automatically, i mean where(templete) i can set default avatar width for this?
Reply With Quote
  #25  
Old 06-02-2012, 06:03 PM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rafiul View Post
Hot to resize the avatar width in side block automatically, i mean where(templete) i can set default avatar width for this?
Open actstream_sideblock.css Template

Add At Bottom:

Code:
li.activitybit .avatar img {
	width: 30px;
}
To Move Texts to left side:

Find:
Code:
li.activitybit .content.hasavatar {
	margin-{vb:stylevar left}: {vb:math 60 + {vb:stylevar padding}};
}
Replace 60 with 30
Reply With Quote
  #26  
Old 06-03-2012, 04:54 AM
rafiul's Avatar
rafiul rafiul is offline
 
Join Date: Jun 2009
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Badshah93 View Post
Open actstream_sideblock.css Template

Add At Bottom:

Code:
li.activitybit .avatar img {
	width: 30px;
}
To Move Texts to left side:

Find:
Code:
li.activitybit .content.hasavatar {
	margin-{vb:stylevar left}: {vb:math 60 + {vb:stylevar padding}};
}
Replace 60 with 30
its working! it should be default, i think thanks.
Reply With Quote
  #27  
Old 06-03-2012, 12:10 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mine is not properly styled for some reason?
Attached Images
File Type: png as.PNG (135.2 KB, 0 views)
File Type: png as-good.PNG (7.2 KB, 0 views)
Reply With Quote
  #28  
Old 06-03-2012, 12:30 PM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chadi View Post
Mine is not properly styled for some reason?
as i said earlier in (poll in sideblock) thread that "Forum Sideblock" coding for your skin is sightly different from vB Default.

You will need to edit "block_activitystream" template to make it match with other sideblocks.
Reply With Quote
  #29  
Old 06-03-2012, 01:42 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please help me out as I cannot figure it out, not to mention your mod is causing all other blocks to disappear when enabled.

I'm using this modified code now

Quote:
<script type="text/javascript" src="includes/vfc_as_block/js/vfc_as_block.js"></script>
{vb:cssfile actstream_sideblock.css}
<script type="text/javascript">
<!--
var activity_stream_options = {
'type' : 'home',
'mindateline' : '{vb:raw actdata.mindateline}',
'maxdateline' : '{vb:raw actdata.maxdateline}',
'minscore' : '{vb:raw actdata.minscore}',
'minid' : '{vb:raw actdata.minid}',
'maxid' : '{vb:raw actdata.maxid}',
'count' : '{vb:raw actdata.count}',
'totalcount' : '{vb:raw actdata.totalcount}',
'perpage' : '{vb:raw actdata.perpage}',
'sortby' : '{vb:raw actdata.sortby}',
'time' : '{vb:raw actdata.time}',
'show' : '{vb:raw actdata.show}',
'newcontent' : '{vb:raw actdata.new}',
'refresh' : '{vb:raw actdata.refresh}'
};
// -->
</script>
<li>
<div class="block smaller">
<div class="vbcat"><div class="vbcat_left"><div class="vbcat_right">
<h4 class="blocksubhead">
<a class="collapse" id="collapse_block_activity" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_activity"/></a>
<span class="blocktitle">{vb:raw blockinfo.title}</span>
<span class="activitystream" style="margin:0px;float:right;display:block;" id="streamfilter">
</h4>
</div></div></div>
<div class="popupgroup">
<div class="popupmenu">
<a href="javascript://" class="popupctrl" id="filterpopup">{vb:rawphrase filter}</a>
<table class="popupbody popuphover filter">
<thead>
<tr>
<th>{vb:rawphrase sort_by}</th>
<th>{vb:rawphrase time}</th>
<th>{vb:rawphrase show}</th>
</tr>
</thead>
<tbody>
<tr id="vfc_filters">
{vb:raw filters}
</tr>
</tbody>
</table>
</div>
</div>
</span>
</div>
<div class="widget_content blockbody floatcontainer">
<div id="block_activity" class="blockrow">
{vb:raw content}
</div>
</div>
<div class="vbcat_bottom"><div class="vbcat_bottom_left"><div class="vbcat_bottom_right">&nbsp;</div></div></div>
</div>
<div class="underblock"></div>
</li>
This is a copy for example of the block tag cloud

Quote:
<li>
<div class="block smaller">
<div class="vbcat"><div class="vbcat_left"><div class="vbcat_right">
<div class="blocksubhead">
<a class="collapse" id="collapse_block_tagcloud_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_tagcloud_{vb:raw blockinfo.blockid}"/></a>
<span class="blocktitle">{vb:raw blockinfo.title}</span>
</div>
</div></div></div>
<div class="widget_content blockbody floatcontainer">
<div id="block_tagcloud_{vb:raw blockinfo.blockid}" class="blockrow">
{vb:raw tagcloud}
</div>
</div>
<div class="vbcat_bottom"><div class="vbcat_bottom_left"><div class="vbcat_bottom_right">&nbsp;</div></div></div>
</div>
<div class="underblock"></div>
</li>
Reply With Quote
  #30  
Old 06-03-2012, 02:18 PM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try This

Code:
<script type="text/javascript" src="includes/vfc_as_block/js/vfc_as_block.js"></script>
{vb:cssfile actstream_sideblock.css}
<script type="text/javascript">
<!--
var activity_stream_options = {
'type' : 'home',
'mindateline' : '{vb:raw actdata.mindateline}',
'maxdateline' : '{vb:raw actdata.maxdateline}',
'minscore' : '{vb:raw actdata.minscore}',
'minid' : '{vb:raw actdata.minid}',
'maxid' : '{vb:raw actdata.maxid}',
'count' : '{vb:raw actdata.count}',
'totalcount' : '{vb:raw actdata.totalcount}',
'perpage' : '{vb:raw actdata.perpage}',
'sortby' : '{vb:raw actdata.sortby}',
'time' : '{vb:raw actdata.time}',
'show' : '{vb:raw actdata.show}',
'newcontent' : '{vb:raw actdata.new}',
'refresh' : '{vb:raw actdata.refresh}'
};
// -->
</script>
<li>
<div class="block smaller">
<div class="vbcat"><div class="vbcat_left"><div class="vbcat_right">
<div class="blocksubhead">
<a class="collapse" id="collapse_block_activity" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_activity"/></a>
<span class="blocktitle">{vb:raw blockinfo.title}</span> 
<span class="activitystream" style="margin:0px;float:right;display:block;" id="streamfilter">
<div class="popupgroup">
<div class="popupmenu">
					<a href="javascript://" class="popupctrl" id="filterpopup">{vb:rawphrase filter}</a>					
					<table class="popupbody popuphover filter">
<thead>
							<tr>
								<th>{vb:rawphrase sort_by}</th>
								<th>{vb:rawphrase time}</th>
								<th>{vb:rawphrase show}</th>
							</tr>
						</thead>
						<tbody>
							<tr id="vfc_filters">
{vb:raw filters}
</tr>
</tbody>
</table>
				</div>
			</div>	
</span>
</div>
</div></div></div>
<div class="widget_content blockbody floatcontainer">
<div id="block_activity" class="blockrow">
{vb:raw content}
</div>
</div>
<div class="vbcat_bottom"><div class="vbcat_bottom_left"><div class="vbcat_bottom_right">&nbsp;</div></div></div>
</div>
<div class="underblock"></div>
</li>
<script type="text/javascript" src="clientscript/vbulletin_activitystream.js?v={vb:raw vboptions.simpleversion}"></script>
Reply With Quote
  #31  
Old 06-03-2012, 02:22 PM
RSNF's Avatar
RSNF RSNF is offline
 
Join Date: May 2010
Location: Florida
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway this can be expanded to also show in the activity stream when a new person registers for the site 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 11:54 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.06187 seconds
  • Memory Usage 2,370KB
  • Queries Executed 26 (?)
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
  • (6)bbcode_code
  • (6)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (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
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete