vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Sidebar: Activity Stream Block (4.2 only) (https://vborg.vbsupport.ru/showthread.php?t=283469)

etca 05-27-2012 08:51 AM

great mod, n installed. thx RellecT

Gecuba 05-27-2012 01:41 PM

Quote:

Originally Posted by Lionel (Post 2333419)
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.

meaters 05-31-2012 11:15 AM

I hope you release the improved version soon.

Skyrider 05-31-2012 12:15 PM

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.

cuco88 06-26-2012 08:15 PM

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.

rellect 07-05-2012 05:55 AM

I dropped the development of this hack since 4.2.1 probably will has it built-in.
http://tracker.vbulletin.com/browse/VBIV-15099

xxdestinyxx 12-29-2012 10:47 PM

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 :)


All times are GMT. The time now is 05:04 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.01037 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete