Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #32  
Old 06-03-2012, 02:28 PM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RSNF View Post
Is there anyway this can be expanded to also show in the activity stream when a new person registers for the site as well?
well what you are asking is different mod which i am making. (actually done)

Apart From New User, it will show
Latest Videos Posted in Posts and few more things..
Reply With Quote
  #33  
Old 06-03-2012, 07:42 PM
tsptom tsptom is offline
 
Join Date: Jan 2006
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
This is great! Thanks!

How would I change the font on the sidebar to match the font of my other sidebars? Appreciate it.

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

Replace
Code:
font-size:{vb:stylevar activitystreamcontent_font.fontSize}{vb:stylevar activitystreamcontent_font.units};
With
Code:
font-size: 11px;  /* Adjust it as per your forum */
I didn't have any luck with this change. The font remained the same in the activity stream sidebar (matches the activity stream page font instead of other sidebar fonts.)
Reply With Quote
  #34  
Old 06-03-2012, 09:01 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Badshah93 View Post
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>

Thanks, but this is how its showing up now. Also, can we try to center the photos too?
Attached Images
File Type: png Capture.PNG (69.2 KB, 0 views)
Reply With Quote
  #35  
Old 06-04-2012, 03:05 AM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chadi View Post
Thanks, but this is how its showing up now. Also, can we try to center the photos too?
Try This Code:

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 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></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
  #36  
Old 06-04-2012, 03:12 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, but it still looks exactly the same.
Reply With Quote
  #37  
Old 06-04-2012, 03:13 AM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tsptom View Post
I didn't have any luck with this change. The font remained the same in the activity stream sidebar (matches the activity stream page font instead of other sidebar fonts.)
Change 11 to 10 (or maybe 9)
Reply With Quote
  #38  
Old 06-04-2012, 03:14 AM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chadi View Post
Thanks, but it still looks exactly the same.
try increasing sideblock size (10-20 px more) so that filter dropdown can come next to collapse button.
Reply With Quote
  #39  
Old 06-04-2012, 03:26 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Isn't the filter drop down supposed to be left aligned?
Reply With Quote
  #40  
Old 06-04-2012, 03:30 AM
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Location: India
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chadi View Post
Isn't the filter drop down supposed to be left aligned?
its supposed to be left of collapse button not below it. (see the pic which u posted in this thread)
anyway if you are ok with position, so its fine then.
Reply With Quote
  #41  
Old 06-04-2012, 04:08 AM
BlessedFWI's Avatar
BlessedFWI BlessedFWI is offline
 
Join Date: Dec 2008
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Badshah93 View Post
well what you are asking is different mod which i am making. (actually done)

Apart From New User, it will show
Latest Videos Posted in Posts and few more things..
Oooooo, when will it be posted?
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 07:21 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.06486 seconds
  • Memory Usage 2,357KB
  • 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
  • (5)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
  • (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
  • (4)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