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
  #32  
Old 05-27-2012, 08:51 AM
etca etca is offline
 
Join Date: Feb 2011
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod, n installed. thx RellecT
Reply With Quote
  #33  
Old 05-27-2012, 01:41 PM
Gecuba Gecuba is offline
 
Join Date: Sep 2010
Posts: 23
Благодарил(а): 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
+1 - the same issue.

What's new? section shows new forum posts-threads, but activity stream sideblock shows the blog's activity only.
Reply With Quote
  #34  
Old 05-31-2012, 11:15 AM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope you release the improved version soon.
Reply With Quote
  #35  
Old 05-31-2012, 12:15 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Database error in vBulletin 4.2.0:

Invalid SQL:

INSERT INTO `blockconfig` (`blockid`, `name`, `value`, `serialized`) VALUES
(, 'html_content', 'class rellect_activity_stream extends vB_ActivityStream_View\\r\\n{\\r\\n public function processActivityBlock()\\r\\n {\\r\\n global $show;\\r\\n\\r\\n $show[\'as_blog\'] = (vB::$vbulletin->products[\'vbblog\']);\\r\\n $show[\'as_cms\'] = (vB::$vbulletin->products[\'vbcms\']);\\r\\n $show[\'as_socialgroup\'] = (\\r\\n vB::$vbulletin->options[\'socnet\'] & vB::$vbulletin->bf_misc_socnet[\'enable_groups\']\\r\\n AND\\r\\n vB::$vbulletin->userinfo[\'permissions\'][\'socialgrouppermissions\'] & vB::$vbulletin->bf_ugp_socialgrouppermissions[\'canviewgroups\']\\r\\n );\\r\\n\\r\\n $this->setPage(1, 10); // display latest 10\\r\\n $result = $this->fetchStream(\'recent\');\\r\\n foreach ($result[\'bits\'] AS $bit)\\r\\n {\\r\\n $activitybits .= $bit;\\r\\n }\\r\\n\\r\\n return \'<ul>\'.$activitybits.\'</ul>\';\\r\\n }\\r\\n}\\r\\n$activity = new rellect_activity_stream($vbphrase);\\r\\nreturn $output = $activity->processActivityBlock();', 0),
(, 'html_template', 'block_html', 0),
(, 'html_type', 'php', 0);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'html_content', 'class rellect_activity_stream extends vB_ActivityStream_View\\' at line 2
Error Number : 1064
Request Date : Thursday, May 31st 2012 @ 03:14:26 PM
Error Date : Thursday, May 31st 2012 @ 03:14:27 PM
Script : /plugin.php?do=productimport
Referrer : /plugin.php?do=productadd
IP Address : xxxxx
Username : Skyrider
Classname : vB_Database_MySQLi
MySQL Version : 5.1.61
When installing.
Reply With Quote
  #36  
Old 06-26-2012, 08:15 PM
cuco88 cuco88 is offline
 
Join Date: Jun 2012
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just tried to install it and I got this error:
Code:
Importiere Add-on, Bitte warten...

[:]

Install Forum Block Step 1

[:]


Warnung: mysql_insert_id() [function.mysql-insert-id]: Access denied for user 'www-data'@'localhost' (using password: NO) in [path]/includes/adminfunctions_plugin.php(1174) : eval()'d code (Zeile 10)

Warnung: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in [path]/includes/adminfunctions_plugin.php(1174) : eval()'d code (Zeile 10)
Install Forum Block Step 2

[:]


Warnung: mysqli_query() [function.mysqli-query]: (42000/1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'html_content', 'class rellect_activity_stream extends vB_ActivityStream_View\\' at line 2 in [path]/includes/class_core.php (Zeile 1391)
	Datenbankfehler
Es trat ein Problem mit der Kletterforum Datenbank auf.
Versuchen Sie Folgendes:
Laden Sie die Seite ?ber die Aktualisieren Schaltfl?che in Ihrem Browser neu.
?ffnen Sie die [myhomepage] Homepage und versuchen Sie eine andere Seite zu ?ffnen.
Klicken Sie auf Zur?ck, um einen anderen Link zu versuchen.
Der technische Administrator von [myhomepage] wurde ?ber den Fehler informiert. Falls das Problem jedoch weiterhin auftritt, k?nnen Sie ihn auch kontaktieren.
 
Wir entschuldigen uns f?r die Unannehmlichkeiten.

Datenbankfehler in vBulletin 4.2.0:

Invalid SQL:

	INSERT INTO `blockconfig` (`blockid`, `name`, `value`, `serialized`) VALUES
	(, 'html_content', 'class rellect_activity_stream extends vB_ActivityStream_View\\r\\n{\\r\\n	public function processActivityBlock()\\r\\n	{\\r\\n		global $show;\\r\\n\\r\\n		$show[\'as_blog\'] = (vB::$vbulletin->products[\'vbblog\']);\\r\\n		$show[\'as_cms\'] = (vB::$vbulletin->products[\'vbcms\']);\\r\\n		$show[\'as_socialgroup\'] = (\\r\\n			vB::$vbulletin->options[\'socnet\'] & vB::$vbulletin->bf_misc_socnet[\'enable_groups\']\\r\\n				AND\\r\\n			vB::$vbulletin->userinfo[\'permissions\'][\'socialgrouppermissions\'] & vB::$vbulletin->bf_ugp_socialgrouppermissions[\'canviewgroups\']\\r\\n		);\\r\\n\\r\\n		$this->setPage(1, 10); // display latest 10\\r\\n		$result = $this->fetchStream(\'recent\');\\r\\n		foreach ($result[\'bits\'] AS $bit)\\r\\n		{\\r\\n			$activitybits .= $bit;\\r\\n		}\\r\\n\\r\\n		return \'<ul>\'.$activitybits.\'</ul>\';\\r\\n	}\\r\\n}\\r\\n$activity = new rellect_activity_stream($vbphrase);\\r\\nreturn $output = $activity->processActivityBlock();', 0),
	(, 'html_template', 'block_html', 0),
	(, 'html_type', 'php', 0);

MySQL-Fehler  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'html_content', 'class rellect_activity_stream extends vB_ActivityStream_View\\' at line 2
Fehler-Nr.    : 1064
Fehler-Zeit   : Tuesday, 26.06.2012 @ 23:06:56
Datum         : Tuesday, 26.06.2012 @ 23:06:56
Skript        : http://[myhomepage]/admincp/plugin.php?do=productimport
Referrer      : http://[myhomepage]/admincp/plugin.php?do=productadd
IP-Adresse    : 115.64.57.60
Benutzername  : admin
Klassenname   : vB_Database_MySQLi
MySQL-Version : 5.1.63-nmm1-log
Sorry, party of the error are German... If you have problems understanding it ask me and I will try to translate it.

//EDIT: Ah, forgot to mention the version - it is the 4.2.0 PL2 Suite.
Reply With Quote
  #37  
Old 07-05-2012, 05:55 AM
rellect's Avatar
rellect rellect is offline
 
Join Date: May 2008
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dropped the development of this hack since 4.2.1 probably will has it built-in.
http://tracker.vbulletin.com/browse/VBIV-15099
Reply With Quote
Благодарность от:
thecore762
  #38  
Old 12-29-2012, 10:47 PM
xxdestinyxx xxdestinyxx is offline
 
Join Date: Dec 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I understand that you are not developing this anymore; however I got a major error which is affecting my forum since installing this mod.

Quote:
Here is a breakdown.

1) The website loads all other tabs (activity etc) and I can even access threads if I know their link, but the actual forum.php (our forum homepage) won't load.
Link: http://www.subeta-unique.com/forums/forum.php
I get the error "Server error

The website encountered an error while retrieving http://www.subeta-unique.com/forums/forum.php. It may be down for maintenance or configured incorrectly.
Here are some suggestions:


Reload this webpage later.


HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request."

2) I disabled all current plugins with the config file and that did not fix anything so I reenabled them.
3) I am not getting any errors sent to my email and I created an error file (not sure if I did it 100% correct...) but nothing was being added to the log there either.
4) I ran the 'upgrade' script and replaced all the files but the problem is still persisting.

I even replaced my forum.php with a fresh one from vbulletin but nothing changed. Not sure what to do!
Vbulletin suggested I ask you about this.

EDIT:

An update

Quote:
An update in case anyone else ends up with this issue and googles this thread.

After a lot of messing around and trying things - I disabled my forum blocks in the admin CP and now my page is up again.

Stinks that I have to disable it, but hey at least it's working
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:25 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.08391 seconds
  • Memory Usage 2,293KB
  • Queries Executed 22 (?)
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
  • (1)bbcode_code
  • (4)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
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (2)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete