Buddypress activity id

That function is called right in entry.php as follows:

<li class="<?php bp_activity_css_class(); ?>" id="activity-<?php bp_activity_id(); ?>">

Note that bp_activity_id() will echo the value. To use the value in code, call bp_get_activity_id().

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)