FAP CUSTOMIZATION - Comments In Memberlists


Subject: FAP CUSTOMIZATION - Comments In Memberlists
Hi,

Any ideas how my users can access comments made on pics in FAP by other members by clicking 'Find All Posts by User' in the 'Memberlists'/ Member Profiles ?

Ta,

Vic

Profile PM  
Subject: Re: Comments In Memberlists
If I get a chance, I'll look into this over the weekend.

Profile PM  
Subject: Re: Comments In Memberlists
Cheers Artie

Profile PM  
Subject: Re: Comments In Memberlists
Maybe I got this right. :shock:

EDIT: File updated after 1st user downloaded it (should work the same with either)


Find_User_Comments_Mod.rar
Description: Adds link in member's profile to find/display member's album comments 
Download
Filename: Find_User_Comments_Mod.rar
Filesize: 5.23 KB
Downloaded: 336 Time(s)

Profile PM  
Subject: Re: Comments In Memberlists
Hello Artie,

Thanks for working on this.

I was actually looking for a mod whereby clicking on 'view all posts by username' will list the comments on pics in the same table with the comments made on posts - but this is great too.

Slight problem though - when I click on 'view all pic comments by username' in the user profile I get the following error:


Warning: main(./ALBUM_MOD_PATHalbum_common.php) [function.main]: failed to open stream: No such file or directory in /home/accessab/public_html/community/album_comment_search.php on line 17

Warning: main(./ALBUM_MOD_PATHalbum_common.php) [function.main]: failed to open stream: No such file or directory in /home/accessab/public_html/community/album_comment_search.php on line 17

Warning: main() [function.include]: Failed opening './ALBUM_MOD_PATHalbum_common.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/accessab/public_html/community/album_comment_search.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /home/accessab/public_html/community/album_comment_search.php:17) in /home/accessab/public_html/community/includes/page_header.php on line 566

Warning: Cannot modify header information - headers already sent by (output started at /home/accessab/public_html/community/album_comment_search.php:17) in /home/accessab/public_html/community/includes/page_header.php on line 568

Warning: Cannot modify header information - headers already sent by (output started at /home/accessab/public_html/community/album_comment_search.php:17) in /home/accessab/public_html/community/includes/page_header.php on line 569
AccessAbility Home|Contact Us Ability Forum
Where Disability Meets Ability
Ability Forum Index FAQ Search Memberlist Usergroups Album Smartfeed Register
Profile Log in to check your private messages Log in



Fatal error: Call to undefined function: album_read_tree() in /home/accessab/public_html/community/album_comment_search.php on line 73


any ideas what I am doing wrong ?

also I notice you have changed the file after the first download (not sure if I made the first download - but could that be the reason for the errors ?)

many thanks for your efforts & hope you will help me in getting this to work.

ta,

vic

p.s. - my forum is at http://accessability.co.in/community/ in case you want to see the error for yourself

Profile PM  
Subject: Re: Comments In Memberlists
Works fine for me. I wonder if maybe the file got corrupted during upload, download, or FTP.

Compare the first few lines of album_comment_search.php to this
(if they compare ok, try FTP'ing again)
Code: [Download] [Hide] [Select]
<?php
/***************************************************************************
* album_comment_search.php
***************************************************************************/

define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.' . $phpEx);

// Start session management
$userdata = session_pagestart($user_ip, PAGE_ALBUM);
init_userprefs($userdata);
// End session management

$album_root_path = $phpbb_root_path . ALBUM_MOD_PATH . '';
include($album_root_path . 'album_common.' . $phpEx);

Profile PM  
Subject: Re: Comments In Memberlists
Ok, now I see your problem.
You are using FAP 1.2.1 .... you'll need to upgrade to the latest release for it to work.

Profile PM  
Subject: Re: Comments In Memberlists
i was actually working on re-doing this - so am glad for your post

can you please guide me to the post describing how to safely upgrade.......the thing is that i do not want to lose any existing data & i need to have this forum up & running in the next couple of hours before i my users start visiting.

i know i am being trouble - but your help will mean a lot.

cheers,

vic

Profile PM  
Subject: Re: Comments In Memberlists
http://www.icyphoenix.com/viewtopic...=upgrade#p11887

Before you do anything BACK UP your files and your database
Basically you just reverse the install procedure you did for 1.2.1 ...... but leave the database as is and leave the pic files in the album_mod/upload folder.
Next follow the install instructions for 1.4.1 for the files to edit and files to copy.
After that run the file fap_install.php from your phpbb_root (while logged in as Admin) ... remove this file after. [You should not need to run the Personal Gallery Migrate feature]

If you have any problems or questions, please start a new topic if you can't find answers with searching.

Profile PM  
Subject: Re: Comments In Memberlists
cheers mate

vic

Profile PM  
Subject: Re: Comments In Memberlists
Nice shoot Artie.

I'll add this in the contrib folder with next release. :wink:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0835s (PHP: 23% SQL: 77%)
SQL queries: 12 - Debug Off - GZIP Enabled