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)
-   -   Add-On Releases - dmActivityStream - Facebook-like news feed for your forum! (https://vborg.vbsupport.ru/showthread.php?t=264053)

Dismounted 06-12-2011 02:00 PM

Quote:

Originally Posted by BlackThorn (Post 2206649)
Can you add "X, now friend with X"

vBulletin currently does not store a date/time for when users become friends. Trying to add this functionality would get messy. Hopefully either: a) IB decides to add it, or b) I find an elegant way to do it.
Quote:

Originally Posted by BlackThorn (Post 2206649)
and "X, now uploaded new an avatar" ?

I will have a look at the feasibility for this.

BlackThorn 06-12-2011 02:23 PM

Quote:

Originally Posted by Dismounted (Post 2206651)
vBulletin currently does not store a date/time for when users become friends. Trying to add this functionality would get messy. Hopefully either: a) IB decides to add it, or b) I find an elegant way to do it.

Yes of course you're right but I just think it so, when sending a friend request to any user then, his/her "approve" it then, DATABASE does not work for that function? Example like this;

PHP Code:

    // Make us friends
        
$db->query_write("
                REPLACE INTO " 
TABLE_PREFIX "userlist
                    (userid, relationid, type, friend)
                VALUES
                    (
{$vbulletin->userinfo['userid']}$userinfo[userid], 'buddy', 'yes'),
                    (
$userinfo[userid]{$vbulletin->userinfo['userid']}, 'buddy', 'yes')
            "
);
            
$db->query_write("
                UPDATE " 
TABLE_PREFIX "user
                SET friendcount = friendcount + 1
            WHERE userid IN (
$userinfo[userid], " $vbulletin->userinfo['userid'] . ")
            "
);
            
$db->query_write("
                UPDATE " 
TABLE_PREFIX "user
                SET friendreqcount = IF(friendreqcount > 0, friendreqcount - 1, 0)
            WHERE userid = " 
$vbulletin->userinfo['userid']
        ); 


I know theres no timestamp on SQL Queries however that would be add a "X, with x friend" ... Oh I'm confusing now I'm so sorry that's just a suggestion by me. If you add that feature then we'll be so glad :) thank you for replies...


Quote:

Originally Posted by Dismounted (Post 2206651)
I will have a look at the feasibility for this.

Well, I don't know what to say except 'thanks'! hehe :)) thank you for your replies. I will wait more feature, regards...

Post Reader 06-12-2011 03:22 PM

excellent but will it notify the user or not?

Dismounted 06-13-2011 04:51 AM

Quote:

Originally Posted by Post Reader (Post 2206679)
excellent but will it notify the user or not?

What do you mean?

mitch84 06-13-2011 05:01 AM

Hi, when I'm logged with a statut member I can only see the "streams" of the administrator,, it's normal? and with a statut administrateur the hack work fine, thx

Post Reader 06-13-2011 08:50 AM

i mean as we get notified on facebook about any reply or or like will this mod do like this?

Dismounted 06-13-2011 11:10 AM

Quote:

Originally Posted by Post Reader (Post 2207009)
i mean as we get notified on facebook about any reply or or like will this mod do like this?

This replicates the "news feed" functionality only. It allows users to see what other users have been doing.

The "notification" functionality you are looking for is completely different in that it is about letting users know what other users have been doing to their content. This is not the goal of this modification.
Quote:

Originally Posted by mitch84 (Post 2206948)
Hi, when I'm logged with a statut member I can only see the "streams" of the administrator,, it's normal? and with a statut administrateur the hack work fine, thx

The activity stream in the user control panel allows you to see what your friends have done. It only shows stream items from your friends.

mitch84 06-13-2011 01:09 PM

Quote:


The activity stream in the user control panel allows you to see what your friends have done. It only shows stream items from your friends.
thank you, I understand now.
another issue now, in my profil I can't change my background if I want customize it, thx

BaziCenter 06-14-2011 07:11 AM

Dismounted, do you have any plan adding a blog product to your Mod? I ask because I want to know if you don't have any plan, then I write a blog add-on myself.

Improvement of this mod is going nicely and I like it! Nominated for MOTM.

LbR 06-14-2011 07:33 AM

Interesting feature, will suit my sports forum et all ;)


All times are GMT. The time now is 03:56 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.01319 seconds
  • Memory Usage 1,753KB
  • 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_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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