Please sign in or sign up to be able to access this page.
Posted: 11/27/2009 03:01 PM

Friends Activity Mod for 2.5.3 (free mod).

Thanks to Ramil for his help in adapting the Activity feature of 2.5.5 for vldPersonals 2.5.3.
 
The Activity Extension is part of vldPersonals 2.5.5. The following tutor shows how you can adapt this mod for version 2.5.3.
 
1. Need to download the following extension, unzip it and upload ext.activities.php to your includes/ext folder.
 
Click Here to Download
 
IMPORTANT: When you download the above folder, there will be TWO ext.activities.php files. You only need to upload one depending on your site features. One is for those who use the excellent Youtube Mod from vldCrowd and the other is for those who use the Default Video feature of vldPersonals.
 
2. Need to download the following activities folder, uzip it and upload activities folder to your template/media/ folder
 
Click Here to Download
 
3. Need to download the following extension, unzip it and upload ext.activities.tpl to your template folder
 
Click Here to Download
 
4. Need to download the following extension, unzip it and upload ext.get_date.php to your includes/ext folder
 
Click Here to Download
 
IMPORTANT: Many of you may already have this extension if you use the Status Update mod. Check your ext folder to see if you already have before uploading
 
5. Add the following to your includes/languages/your language/lang.core.php
 
Text

// activities
 
"activities" =>
"My Friends Activities",
 
"activities_friends" =>
"%1% is now friends with %2%",
 
"activities_blog" =>
"%1% has posted a new blog entry %2%",
 
"activities_album" =>
"%1% has created a new album %2%",
 
"activities_picture" =>
"%1% has uploaded a new %2% %3%",
 
"activities_video" =>
"%1% has uploaded a new %2%",
 
"activities_audio" =>
"%1% has uploaded a new audio file %2%",
 
"activities_event" =>
"%1% has posted a new event %2%",
 
"activities_guestbook" =>
"%1% has posted in %2%'s guestbook",
 
"activities_comment" =>
"%1% has left a comment for %2%'s %3% %4%",
 
"activities_gift" =>
"%1% has sent %2% a gift %3%",
 
"activities_blog_label" =>
"blog entry",
 
"activities_video_label" =>
"video",
 
"activities_event_label" =>
"event",
 
"activities_picture_label" =>
"picture",
 
"to" =>
"to",
 

6. Open your templates/your template/media/content.css and add the following css code:
 
Text

/* activities */
table.activities {
        width: 100%; }
 
        table.activities td {
                border-bottom: 1px solid #f0f0f0;
                padding: 3px 0px; }
 
                table.activities td.activity { }
 
                table.activities td.date {
                        width: 120px;
                        color: #acacac;
                        text-align: right; }
                       
                        div.htmltooltip {
        display: none;
        position: absolute;
        border: 1px solid #444444;
        background-color: white;
        padding: 3px;
        text-align: left; }
 
        div.htmltooltip img {
                border: 1px solid #436082;
                text-align: center; }
 

7. Open your account_home.tpl and add the following call where you desire
 
{activities:member_id=member_id,limit=10,timeframe=14}
 
Note: can change timeframe to what you desire. The above call is set to show friends activities for the past 14 days.
 
TWEAKING AND SYTLING
 
Where you place the above call (#7 above) in account_home.tpl is up to you. You can tweak the style for your template.
 
There are probably three files you would tweak to change the style: (1) account_home.tpl, (2) ext.activities.tpl and (3) content.css. It is important that you backup these files before making changes.
 
If I add the call as is in #7 above to account_home.tpl it would probably look something like this:
 

 
I already have a number of mods from vldCrowd and I wanted to blend the activity mod with my other mods. I made adjustments to the three files I mention above to get something like this:
 

 
Good Luck
Current mood:

Comments

by johnwh 08/29/2010 01:01 AM
how to use of this for blog ? (ext.blogs.tpl) i need this
by dezchilds 07/01/2010 04:23 AM
works on version 2.5.2 ?
i need this for 2.5.2
by godyn/ONLINE! 06/30/2010 11:19 AM
Strange, I get an encoding problem. So the tooltips doesn't work:
<a href="http://www.mysite.eu/member/393/" title="&lt;img src=http://www.mysite.eu/media/uploads/t_photo_0xfzfygpftpsurs8433por5ntenb.jpg />"
 
I tried solving in the php but that didn't work, it must be a decoding problem.
 
Also when I try to place a small thumb in the tpl file I get an encoding problem:
<a href="http://www.mysite.eu/&#123;member_profile_link&#125;">
<img src="http://www.mysite.eu/media/uploads/&#123;member_picture&#125;" alt="" width="33" height="33" hspace="5" vspace="5" border="0" align="left" /></a>
 
So the sites url is encoded correct and the user and picture not.
Same thing with the tooltips...
 
Strange...
by gugu 05/27/2010 03:22 AM
why not try it :) and tell us if it work :)
 
I know 2.5.2 use picture_.jpg format.
maybee it is the same for 2.5.1 ...
but since 2.5.3 it is t_photo_.jpg
 
and radioact has write a comments here and tell us how to do ;)
by fizzlove 01/27/2010 06:42 AM
works on version 2.5.1 ?
 
Thanks
by godyn/ONLINE! 01/20/2010 04:26 AM
wow great ! can't wait to try this out !
by madirfan 01/14/2010 12:14 AM
Is it possbile for disable the Friends Activity function for each user in setting >> privacy
example: i dont want that my friends see my Activitys...
by misulicus/ONLINE! 12/13/2009 04:27 PM
one problem
many of my users complain that they see the friends activity stuff and they don`t have any friends.
Add Comment


You have 1500 characters left We would not recommend you trying hard while expressing your opinion because you are not signed in and comment will not be saved.

Latest visitors

misulicus inatmo godyn
gugu johnwh antoniopuntieri
WaterSpirit dael24 delpho

db3204's RSS

Subscribe to db3204's Blog  RSS