Im installing this now as we speak. Im gonna keep a running total of thing that ned to be done or are good to go. Right off the get go, I find in the install it is wrong.
Weblogs is chmod 755 NOT 777
Weblogs upload needs to be 777 NOT 755 (Please note: if php safemode is turned on on your server, uploads will not work even if you chmod this file. it will error out.)
Are we sure this install is for PCP? there is a section for viewtopic.php which is an optional edit, but even if one wishes to use that option, the info to find is NOT located in that file. Out of everything it asked for to find in the file, I was only able to find the first edit and thats all. In a normal phpBB install these edits are doable. For pcp this section is not.
- Code: Select all
##-----[ OPEN ]------------------------------------------# OPTIONAL - places a "Blog" button in viewtopic.php, next to their AIM, MSN, etc. icons (Make sure to do the template changes as well)#viewtopic.php ##-----[ FIND ]------------------------------------------# Some mods replace "u.username, u.user_id, u.user_posts, u.user_from," with u.*. #//// Go ahead and pull all data for this topic//$sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, ##-----[ IN-LINE FIND ]------------------------------------------#u.user_posts, u.user_from, ##-----[ IN-LINE AFTER, ADD ]------------------------------------------# u.user_weblog, ##-----[ FIND ]------------------------------------------# $yim_img = ( $postrow[$i]['user_yim'] ) ? '<a><img></a>' : ''; $yim = ( $postrow[$i]['user_yim'] ) ? '<a>' . $lang['YIM'] . '</a>' : ''; ##-----[ AFTER, ADD ]------------------------------------------# $weblog_img = ( $postrow[$i]['user_weblog'] ) ? '<a><img></a>' : ''; $weblog = ( $postrow[$i]['user_weblog'] ) ? '<a>' . $lang['Weblog'] . '</a>' : ''; ##-----[ FIND ]------------------------------------------# $yim_img = ''; $yim = ''; ##-----[ AFTER, ADD ]------------------------------------------# $weblog_img = ''; $weblog = ''; ##-----[ FIND ]------------------------------------------# 'YIM_IMG' => $yim_img, 'YIM' => $yim, ##-----[ AFTER, ADD ]------------------------------------------# 'WEBLOG_IMG' => $weblog_img, 'WEBLOG' => $weblog,
This section is wrong I dont believe it to be the file we are supposed to be finding this stuff in. It says to :
- Code: Select all
# #-----[ OPEN ]------------------------------------------# # REQUIREDprofilcp/def/def_userfields.php ##-----[ FIND ]------------------------------------------# 'user_website' => array( 'leg' => true, 'img' => true, ),##-----[ AFTER, ADD ]------------------------------------------# 'user_weblog' => array( 'leg' => true, 'img' => true, ), ##-----[ FIND ]------------------------------------------# 'user_website' => array( 'img' => true, 'style' => '<td><span>%s </span></td>', ), ##-----[ AFTER, ADD ]------------------------------------------# 'user_weblog' => array( 'dsp_func' => 'pcp_output_website', 'img' => true, 'style' => '<td><span>%s </span></td>', ), ##-----[ FIND ]------------------------------------------# 'user_website' => array( 'img' => true, 'style' => '<td><span>%s </span></td>', ), ##-----[ AFTER, ADD ]------------------------------------------# 'user_weblog' => array( 'img' => true, 'style' => '<td><span>%s </span></td>', ),
And before we allready editied that file.
- Code: Select all
# #-----[ OPEN ]------------------------------------------# # REQUIREDprofilcp/def/def_userfields.php ##-----[ FIND ]------------------------------------------# 'user_website' => array( 'lang_key' => 'Website',##-----[ BEFORE, ADD ]------------------------------------------# 'user_weblog' => array( 'lang_key' => 'Weblog', 'class' => 'webdisplay', 'type' => 'VARCHAR', 'dsp_func' => 'pcp_output_weblog', 'visibility' => true, 'ind' => '10', ),
All of this section was good to go.
I think the open file was wrong. Correct file please?
More to come soon. Finishing install now. <img>
**EDIT**
Unless I grabbed the wrong file, this is NOT the proper file to use for the blog mod. DO NOT USE IT! It needs updated badly.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.