vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Profile Enhancements - Activity Streams (https://vborg.vbsupport.ru/showthread.php?t=256071)

Phalynx 12-27-2010 10:00 PM

Activity Streams
 
1 Attachment(s)
Activity Streams 2.0
Tested with vBulletin 4.0.8, 4.1.0


This modification collects activity from the user and displays it in his profile. You can select how many streams, how many days it should look back and the length of the preview text. Activity Streams is based on my Central What's New Widget (Thread: https://vborg.vbsupport.ru/showthread.php?t=248165), but does not need the vBulletin Suite.


With v2.0.0 there is support for collecting streams from this:
- Blog (Suite)
- Blog comments (Suite)
- CMS Articles (Suite)
- CMS comments (Suite)
- vBExperience achievements
- vBExperience awards
- Group discussions
- Group messages
- Album Pictures
- Album Pictures comments
- Threads
- Posts
- Visitor Message
- Project Tools Issues
- iTrader Feedbacks


It can be easily expanded to display also data from Post Thanks, vBookie, Downloads, etc...


/***** Demo: *****\
http://www.vbaddict.net/member.php?1-Phalynx



/***** How to install this? *****\
- Upload the content of the folder "upload_via_ftp" to your server.
- Install the product xml as a plugin



Comments, suggestions, translations, bugs, etc... are very welcome! Support is only given to people who have clicked "Mark as Installed".

Main Support Site:
http://www.vbaddict.net


/***** History: *****\
2.0.0a, 29th December 2010:
- Fixed not showing tab

2.0.0, 28th December 2010:
- First public release

1.x:
- Releases used for own websites

ProFifaLeagues 12-28-2010 07:06 PM

It can be easily expanded to display also data from Post Thanks, vBookie, Downloads, etc...

How do you go about this please?

Phalynx 12-28-2010 07:09 PM

Activity Streams is reading PHP files from a defined directory. If someone will do a stream for f.e. Post Thanks, you just need to copy that "stream file" to the defined directory (/sas/streams/)
No need to change any sourcecode of Activity Streams.

Alfa1 12-28-2010 07:14 PM

Very nice! I'll install this when I move to vb4. tagged.

Please consider to add 'received reputation comments'.

Phalynx 12-28-2010 07:19 PM

Quote:

Originally Posted by Alfa1 (Post 2140287)
Very nice! I'll install this when I move to vb4. tagged.

Please consider to add 'received reputation comments'.

Great idea. Added:
http://www.vbaddict.net/project.php?issueid=100

BTW, A version for vBulletin 3.8 is already in work.

Alfa1 12-28-2010 07:47 PM

Thanks Marius!

ProFifaLeagues 12-28-2010 08:15 PM

Cheers Alfa1

Hornstar 12-28-2010 10:00 PM

This is fantastic. Very nice work!

sticky 12-29-2010 12:17 AM

Will this work on versions prior to 4.1 or 4.0.8?

Juggernaut 12-29-2010 12:29 AM

Is this mod resourse intensive? does it use a lot of server resources? my forum is kind of small, but I am on a shared hosting account.

Daryn 12-29-2010 02:21 AM

I tried to install this on 4.1.0 and it didn't show up on the user profiles. Not sure what's going on, but removed it for the time being.

mitch84 12-29-2010 05:14 AM

thank you

Phalynx 12-29-2010 07:13 AM

Quote:

Originally Posted by sticky (Post 2140416)
Will this work on versions prior to 4.1 or 4.0.8?

I doubt, as templates changed with 4.0.8

Quote:

Originally Posted by Juggernaut (Post 2140420)
Is this mod resourse intensive? does it use a lot of server resources? my forum is kind of small, but I am on a shared hosting account.

Try it, if it's too much you can disable/uninstall it.

Quote:

Originally Posted by Daryn (Post 2140452)
I tried to install this on 4.1.0 and it didn't show up on the user profiles. Not sure what's going on, but removed it for the time being.

You installed the product xml? Does it show up in the installed products?

Diana Notacat 12-29-2010 03:45 PM

Quote:

Originally Posted by Daryn (Post 2140452)
I tried to install this on 4.1.0 and it didn't show up on the user profiles. Not sure what's going on, but removed it for the time being.

Quote:

Originally Posted by Phalynx (Post 2140564)
You installed the product xml? Does it show up in the installed products?

I'm having the same problem! Did install the xml, and it's showing up as installed in the Products. The settings are also showing up in the AdminCP, it's just not displaying in the profiles.

wEbAddEr 12-29-2010 04:59 PM

same here, installed but nothing at the profiles

g0dfather1984 12-29-2010 05:10 PM

I am just getting this error when I try to go to the profiles:

Warning: require_once([path]/sas/includes/member_complete.php) [function.require-once]: failed to open stream: No such file or directory in [path]/member.php(609) : eval()'d code on line 41

Fatal error: require_once() [function.require]: Failed opening required '/home/******/*******/sas/includes/member_complete.php' (include_path='.:/usr/lib/php') in /home/*******/*****/member.php(609) : eval()'d code on line 41

Phalynx 12-29-2010 06:56 PM

Quote:

Originally Posted by Diana Notacat (Post 2140801)
I'm having the same problem! Did install the xml, and it's showing up as installed in the Products. The settings are also showing up in the AdminCP, it's just not displaying in the profiles.

Quote:

Originally Posted by wEbAddEr (Post 2140840)
same here, installed but nothing at the profiles

Just released a version where the not showing tab is fixed. Please upload the file \sas\includes\member_complete.php from the updated ZIP to your server.


Quote:

Originally Posted by g0dfather1984 (Post 2140846)
I am just getting this error when I try to go to the profiles:

Warning: require_once([path]/sas/includes/member_complete.php) [function.require-once]: failed to open stream: No such file or directory in [path]/member.php(609) : eval()'d code on line 41

Fatal error: require_once() [function.require]: Failed opening required '/home/******/*******/sas/includes/member_complete.php' (include_path='.:/usr/lib/php') in /home/*******/*****/member.php(609) : eval()'d code on line 41

You need to copy the files in the ZIP to your server. The folder /sas/ should be in the root where also forum.php is located.

Phalynx 12-29-2010 07:25 PM

Just released a version where the not showing tab is fixed. Please upload the file \sas\includes\member_complete.php from the updated ZIP to your server.

wEbAddEr 12-29-2010 07:43 PM

the new file gives me a database error:

Database error in vBulletin 4.1.0:

Invalid SQL:

SELECT thread.postusername as firstpostusername, thread.postuserid as firstpostuserid, post.dateline, post.pagetext, post.allowsmilie, post.postid,
thread.threadid, thread.title, thread.prefixid, post.attach, thread.replycount,
forum.forumid, post.title AS posttitle, post.dateline AS postdateline,
user.userid as postuserid, user.username as postusername
FROM post AS post
JOIN thread AS thread ON (thread.threadid = post.threadid)
JOIN forum AS forum ON(forum.forumid = thread.forumid)
LEFT JOIN user AS user ON (post.userid = user.userid)
WHERE 1=1
AND ( thread.forumid IN(3,4,11,5,56,6,7,8,9,10,12,13,14,15,16,17,18,19, 28,20,40,22,23,24,25,26,27,53, 54,55,29,31,32,52,30,35,41,42,43,44,45,46,47,48,49 ,50,51,36,37,38,39)

AND thread.visible = 1
AND post.visible = 1
AND thread.open <> 10
AND post.dateline > 1291844552
AND post.parentid > 0


AND post.userid IN (1)
ORDER BY post.dateline DESC
LIMIT 0,1;

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 'ORDER BY post.dateline DESC
LIMIT 0,1' at line 20
Error Number : 1064
Request Date : Wednesday, December 29th 2010 @ 01:42:32 PM
Error Date : Wednesday, December 29th 2010 @ 01:42:32 PM
Script :
Referrer :
IP Address :
Username :
Classname :
MySQL Version : 5.0.51a-community

Phalynx 12-29-2010 08:24 PM

Fixed in next version.

wEbAddEr 12-29-2010 09:31 PM

Ok thanks wil wait for it :)

Dr.osamA 12-29-2010 10:50 PM

1 Attachment(s)
Excellent = 5 stars

installed +translated to Arabic

plzz be nice and add translation to 1st original post
thank you

Britmovie 12-30-2010 03:28 PM

Prob been said but profiles dont work and I get
---------------
Database error in vBulletin 4.1.0:

Invalid SQL:
SELECT node.nodeid, node.url, node.parentnode, node.nodeleft, node.noderight,
node.setpublish, node.publishdate, info.title, node.permissionsfrom, node.hidden, COUNT(child.nodeid) AS children,
SUM(CASE WHEN (child.setpublish > 0 AND child.publishdate < 1293729944 AND child.contenttypeid <> ) THEN 1 ELSE 0 END) AS publish_count
FROM vb_cms_node AS node
LEFT JOIN vb_cms_node AS child ON child.parentnode = node.nodeid AND child.new != 1
LEFT JOIN vb_cms_nodeinfo AS info ON info.nodeid = node.nodeid
WHERE (node.contenttypeid = )
GROUP BY node.nodeid, node.url, node.parentnode, node.nodeleft, node.noderight,
node.setpublish, node.publishdate, info.title, node.permissionsfrom, node.hidden HAVING COUNT(child.nodeid) > 0
ORDER by node.nodeleft;;

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 ') THEN 1 ELSE 0 END) AS publish_count
FROM vb_cms_node AS node
LEFT JOIN v' at line 3
Error Number : 1064
Request Date : Thursday, December 30th 2010 @ 11:25:44 AM
Error Date : Thursday, December 30th 2010 @ 11:25:44 AM
Script : http://www.britmovie.net/britforum/m...on=getinfo&u=1
Referrer : http://www.britmovie.net/britforum/xperience.php
IP Address : 86.29.56.215
Username : Britmovie
Classname : vB_Database
MySQL Version : 5.1.52
==============================

NNJJ 12-30-2010 04:11 PM

thanks for hack and for arabic translation :)

NNJJ 12-30-2010 04:15 PM

and i have error as well
Database error in vBulletin 4.1.0:

Invalid SQL:
SELECT node.nodeid, node.url, node.parentnode, node.nodeleft, node.noderight,
node.setpublish, node.publishdate, info.title, node.permissionsfrom, node.hidden, COUNT(child.nodeid) AS children,
SUM(CASE WHEN (child.setpublish > 0 AND child.publishdate < 1293732849 AND child.contenttypeid <> ) THEN 1 ELSE 0 END) AS publish_count
FROM cms_node AS node
LEFT JOIN cms_node AS child ON child.parentnode = node.nodeid AND child.new != 1
LEFT JOIN cms_nodeinfo AS info ON info.nodeid = node.nodeid
WHERE (node.contenttypeid = )
GROUP BY node.nodeid, node.url, node.parentnode, node.nodeleft, node.noderight,
node.setpublish, node.publishdate, info.title, node.permissionsfrom, node.hidden HAVING COUNT(child.nodeid) > 0
ORDER by node.nodeleft;;

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 ') THEN 1 ELSE 0 END) AS publish_count
FROM cms_node AS node
LEFT JOIN cm' at line 3
Error Number : 1064
Request Date : Thursday, December 30th 2010 @ 12:14:09 PM
Error Date : Thursday, December 30th 2010 @ 12:14:09 PM
Script : http://www.colorssky.com/vb/member.php?3-Jenan
Referrer : http://www.colorssky.com/vb/forum.php
IP Address :
Username :

Classname : vB_Database
MySQL Version : 5.0.91-community-log

Phalynx 12-30-2010 06:14 PM

Quote:

Originally Posted by Dr.osamA (Post 2141025)
Excellent = 5 stars

installed +translated to Arabic

plzz be nice and add translation to 1st original post
thank you

Thanks for sharing.

Quote:

Originally Posted by Britmovie (Post 2141366)
Prob been said but profiles dont work and I get
---------------
Database error in vBulletin 4.1.0:

Invalid SQL:
SELECT node.nodeid, node.url, node.parentnode, node.nodeleft, node.noderight,
node.setpublish, node.publishdate, info.title, node.permissionsfrom, node.hidden, COUNT(child.nodeid) AS children,
SUM(CASE WHEN (child.setpublish > 0 AND child.publishdate < 1293729944 AND child.contenttypeid <> ) THEN 1 ELSE 0 END) AS publish_count
FROM vb_cms_node AS node
LEFT JOIN vb_cms_node AS child ON child.parentnode = node.nodeid AND child.new != 1
LEFT JOIN vb_cms_nodeinfo AS info ON info.nodeid = node.nodeid
WHERE (node.contenttypeid = )
GROUP BY node.nodeid, node.url, node.parentnode, node.nodeleft, node.noderight,
node.setpublish, node.publishdate, info.title, node.permissionsfrom, node.hidden HAVING COUNT(child.nodeid) > 0
ORDER by node.nodeleft;;

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 ') THEN 1 ELSE 0 END) AS publish_count
FROM vb_cms_node AS node
LEFT JOIN v' at line 3
Error Number : 1064
Request Date : Thursday, December 30th 2010 @ 11:25:44 AM
Error Date : Thursday, December 30th 2010 @ 11:25:44 AM
Script : http://www.britmovie.net/britforum/m...on=getinfo&u=1
Referrer : http://www.britmovie.net/britforum/xperience.php
IP Address : 86.29.56.215
Username : Britmovie
Classname : vB_Database
MySQL Version : 5.1.52
==============================

This is a known issue by disabled CMS, just delete the files:
\sas\streams\cms.php
\sas\streams\cms_comment.php

InTeNsE-HuMoR 12-31-2010 01:38 PM

Does this mod respect user permissions (like private forums)?

It is showing that I posted in the staff forum, will non-staff members see that?

Phalynx 12-31-2010 01:44 PM

Yes. It's obeying forum permissions.

CRDeveloper 12-31-2010 05:34 PM

I'm getting this:

Code:

Database error in vBulletin 4.1.0:

Invalid SQL:

            SELECT thread.threadid, thread.title, thread.prefixid, post.attach, post.userid AS postuserid, post.username AS postusername,
                thread.postusername, thread.dateline, thread.lastpostid, thread.lastpost, thread.lastposterid, thread.lastposter, thread.replycount,
                forum.forumid, forum.title_clean as forumtitle,
                post.pagetext AS message, post.allowsmilie, post.postid,
                user.userid, user.username, thread.lastposter AS lastpostername
            FROM vbulletin_thread AS thread
            INNER JOIN vbulletin_forum AS forum ON(forum.forumid = thread.forumid)
            LEFT JOIN vbulletin_post AS post ON (post.postid = thread.firstpostid)
            LEFT JOIN vbulletin_user AS user ON (thread.postuserid = user.userid)
            WHERE 1=1
                AND (thread.forumid IN(3,71,157,158,162,163,164,165,45,135,44,46,47,48,78,93,105,145,147,138,139,148,140,141,142,143,144,146,23,9,10,16,17,50,51,52,107,29,30,31,32,33,34,35,36,37,38,94,39,40,41,42,43,26,136,19,20,21,22,149,55,92,102,103,96,112,76,49,81,83,86,119,120,121,127,128,129,130,87,88,89,90,91,95,97,98,116,117,122,125,126,24,14,137,15,150,151,152,153,154,155,156,65,66,67,54,118,131,160,25,13,77,57,59,58,60,61,62,63,82,84,70,64,68,80,99,100,104,108,109,111,114,124,132,161,27,11,28,75,159,73,85,74,53,56,69,101,106,110,113,123)
                AND thread.visible = 1
                AND post.visible = 1
                AND open <> 10
                AND thread.dateline > 1292009442
               
               
               
                AND thread.postuserid IN (27350)
            ORDER BY thread.dateline DESC
            LIMIT 0,1;

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 'ORDER BY thread.dateline DESC
            LIMIT 0,1' at line 20
Error Number  : 1064
Request Date  : Friday, December 31st 2010 @ 01:30:42 PM
Error Date    : Friday, December 31st 2010 @ 01:30:42 PM
Script        : http://www.*********.com/forum/member.php/27350
Referrer      : http://www.*********.com/forum/showthread.php/*********
IP Address    : xxx.xxx.xxx.xxx
Username      : *********
Classname    : vB_Database
MySQL Version : 5.0.91-community


NNJJ 12-31-2010 07:09 PM

Quote:

Originally Posted by Phalynx (Post 2141467)
Thanks for sharing.


This is a known issue by disabled CMS, just delete the files:
\sas\streams\cms.php
\sas\streams\cms_comment.php



if i do this i got this error

Fatal error: Call to undefined function cms_old() in /home/colors/public_html/vb/sas/includes/member_complete.php on line 46

aaphandana 12-31-2010 10:14 PM

I got this error. Can you help?

Code:

Database error in vBulletin 4.1.0:

Invalid SQL:
SELECT node.nodeid, node.url, node.parentnode, node.nodeleft, node.noderight,
                        node.setpublish, node.publishdate, info.title, node.permissionsfrom, node.hidden, COUNT(child.nodeid) AS children,
                          SUM(CASE WHEN (child.setpublish > 0 AND child.publishdate < 1293840724 AND child.contenttypeid <> ) THEN 1 ELSE 0 END) AS publish_count
                        FROM vb_cms_node AS node
                        LEFT JOIN vb_cms_node AS child ON child.parentnode = node.nodeid AND child.new != 1
                        LEFT JOIN vb_cms_nodeinfo AS info ON info.nodeid = node.nodeid
                        WHERE (node.contenttypeid = )
                        GROUP BY node.nodeid, node.url, node.parentnode, node.nodeleft, node.noderight,
                        node.setpublish, node.publishdate, info.title, node.permissionsfrom, node.hidden  HAVING COUNT(child.nodeid) > 0
                        ORDER by node.nodeleft;;

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 ') THEN 1 ELSE 0 END) AS publish_count
                        FROM vb_cms_node AS node
                        LEFT JOIN' at line 3
Error Number  : 1064
Request Date  : Saturday, January 1st 2011 @ 07:12:04 AM
Error Date    : Saturday, January 1st 2011 @ 07:12:04 AM
Script        : http://www.xxx.com/forum/member.php?action=getinfo&u=844
Referrer      : http://www.xxx.com/forum/xxx/2601-title-member.html
IP Address    : xxx
Username      : xxxx
Classname    : vB_Database
MySQL Version : 5.0.91-community


pete_brady 12-31-2010 11:54 PM

Quote:

Originally Posted by NNJJ (Post 2141987)
if i do this i got this error

Fatal error: Call to undefined function cms_old() in /home/colors/public_html/vb/sas/includes/member_complete.php on line 46

delete the files, not rename them

CRDeveloper 01-01-2011 07:01 PM

Any update soon?

NNJJ 01-02-2011 03:55 PM

cool

thanks

BlackThorn 01-05-2011 05:47 PM

Phalynx thanks really great hack but looking for 3.8.x however I hadn't see yet.

Phalynx 01-05-2011 06:14 PM

That version is still in work.

BlackThorn 01-05-2011 06:23 PM

Thank you :)

Edit: That doesn't work on vB3.8.x version. But working great on 4.1.x.

Bouncer222 01-07-2011 06:54 PM

Getting error, using latest vb suite.

Code:

Database error in vBulletin 4.1.0:

Invalid SQL:
SELECT node.nodeid, node.url, node.parentnode, node.nodeleft, node.noderight,
                        node.setpublish, node.publishdate, info.title, node.permissionsfrom, node.hidden, COUNT(child.nodeid) AS children,
                          SUM(CASE WHEN (child.setpublish > 0 AND child.publishdate < 1294433638 AND child.contenttypeid <> ) THEN 1 ELSE 0 END) AS publish_count
                        FROM cms_node AS node
                        LEFT JOIN cms_node AS child ON child.parentnode = node.nodeid AND child.new != 1
                        LEFT JOIN cms_nodeinfo AS info ON info.nodeid = node.nodeid
                        WHERE (node.contenttypeid = )
                        GROUP BY node.nodeid, node.url, node.parentnode, node.nodeleft, node.noderight,
                        node.setpublish, node.publishdate, info.title, node.permissionsfrom, node.hidden  HAVING COUNT(child.nodeid) > 0
                        ORDER by node.nodeleft;;

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 ') THEN 1 ELSE 0 END) AS publish_count
                        FROM cms_node AS node
                        LEFT JOIN cm' at line 3
Error Number  : 1064
Request Date  : Friday, January 7th 2011 @ 02:53:58 PM
Error Date    : Friday, January 7th 2011 @ 02:53:58 PM
Script        : http://www.fragtoss.com/member.php?action=getinfo&u=77
Referrer      : http://www.fragtoss.com/forum.php
IP Address    : 96.250.230.245
Username      : Bouncer
Classname    : vB_Database
MySQL Version : 5.1.52


Phalynx 01-08-2011 07:53 PM

Please follow this instructions to remove the CMS streams.
https://vborg.vbsupport.ru/showpost....7&postcount=26

I'm still on it.

yahooooh 01-09-2011 06:24 AM

perfect perfect perfect


All times are GMT. The time now is 04:36 AM.

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.01568 seconds
  • Memory Usage 1,860KB
  • 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
  • (3)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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