If i use a huge pic, it will mess up the layout of the site because it's not resizing. I did not change anything. If i'm the only one having this problem i'll just reinstall and see what happens.
BTW. IE SUCKS!!!

i am interested in something similar to this also.....i have tried w no luck maybe i could use that 2 but this is what i was looking for......ThePhantom2 wrote:just wondering how hard it would be to add a link or icon such as 'view my profile' in the profile field beside the posts if the member has added a profile picture?
Sorry it took a few xtra days. Got visitors here over the weekend.ThePhantom2 wrote:just wondering how hard it would be to add a link or icon such as 'view my profile' in the profile field beside the posts if the member has added a profile picture?
Code: Select all
icon_contact_lpp.gif -> styles/prosilver/imageset/icon_contact_lpp.gif
Code: Select all
'buttons' => array(
'icon_back_top', 'icon_contact_aim',
Code: Select all
'icon_contact_jabber',
Code: Select all
'icon_contact_lpp',
Code: Select all
'IMG_ICON_CONTACT_WWW' => 'Website',
Code: Select all
//Mod: Linked Profile Picture
'IMG_ICON_CONTACT_LPP' => 'MOD: LPP',
Code: Select all
img_icon_contact_msnm = icon_contact_msnm.gif*20*20
Code: Select all
# MOD: Linked Profile Picture
img_icon_contact_lpp = icon_contact_lpp.gif*20*20
Code: Select all
.quote-icon, .quote-icon a { background-image: url("{IMG_ICON_POST_QUOTE_SRC}"); }
Code: Select all
/* MOD: Linked Profile Picture */
.lpp-icon, .lpp-icon a { background-image: url("{IMG_ICON_CONTACT_LPP_SRC}"); }
Code: Select all
.quote-icon, .quote-icon a { background: none top left no-repeat; }
Code: Select all
/* MOD: Linked Profile Picture */
.lpp-icon, .lpp-icon a { background: none top left no-repeat; }
Code: Select all
ul.profile-icons li.jabber-icon { width: {IMG_ICON_CONTACT_JABBER_WIDTH}px; height: {IMG_ICON_CONTACT_JABBER_HEIGHT}px; }
Code: Select all
/* MOD: Linked Profile Picture */
ul.profile-icons li.lpp-icon { width: {IMG_ICON_CONTACT_LPP_WIDTH}px; height: {IMG_ICON_CONTACT_LPP_HEIGHT}px; }
Code: Select all
<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM -->
Code: Select all
postrow.U_AIM -->
Code: Select all
postrow.U_AIM or postrow.U_LPP -->
Code: Select all
<span>{L_JABBER}</span></a></li><!-- ENDIF -->
Code: Select all
<!-- MOD: Linked Profile Picture -->
<!-- IF postrow.U_LPP --><li class="lpp-icon"><a href="{postrow.U_POST_AUTHOR}" title="{L_PROFILE_PICTURE}"><span>{L_PROFILE_PICTURE}</span></a></li><!-- ENDIF -->
Code: Select all
$user->setup('viewtopic', $topic_data['forum_style']);
Code: Select all
'viewtopic'
Code: Select all
array('viewtopic', 'mods/Linked_Profile_Picture')
Code: Select all
'allow_pm' => 0,
Code: Select all
// MOD: Linked Profile Picture
'lpp' => '',
Code: Select all
'search' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", 'search_author=' . urlencode($row['username']) .'&sr=posts') : '',
Code: Select all
// MOD: Linked Profile Picture
'lpp' => $auth->acl_get('u_viewprofile') && $row['user_profile_picture'],
Code: Select all
'U_JABBER' => $user_cache[$poster_id]['jabber'],
Code: Select all
// MOD: Linked Profile Picture
'U_LPP' => $user_cache[$poster_id]['lpp'],
That would take another MOD to do it. You can ask in the MOD request's.Blackkt wrote:i am interested in something similar to this also.....i have tried w no luck maybe i could use that 2 but this is what i was looking for......
i have a community type site w phpbb3 integrated but not inside....and would like to have a link under their name in the forum post they make .....and maybe a button in their profile page under name and rank....both would say View My Profile....and would link to something like this
http://www.mysite.com/{username} ----- their username would be added to the link automatically cause that would be their profile page at my site......
thx in advance....
iEric, you are awesome, thank you very much, worked a treatiEric wrote:Sorry it took a few xtra days. Got visitors here over the weekend.ThePhantom2 wrote:just wondering how hard it would be to add a link or icon such as 'view my profile' in the profile field beside the posts if the member has added a profile picture?
Here it is. I'll probably put it in the next update (0.3.0)
If a user have a profile picture, the camera will show up.
Link => Profile
- - -
Add-on: Icon in viewtopic_body.html
Image:
Copy:ImagesetCode: Select all
icon_contact_lpp.gif -> styles/prosilver/imageset/icon_contact_lpp.gif
Open: includes/acp/acp_styles.php
Find:Code: Select all
'buttons' => array( 'icon_back_top', 'icon_contact_aim',
- Inline-find:
Inline after-add:Code: Select all
'icon_contact_jabber',
Code: Select all
'icon_contact_lpp',
Open: language/en/acp/styles.php
Find:After-add:Code: Select all
'IMG_ICON_CONTACT_WWW' => 'Website',
Code: Select all
//Mod: Linked Profile Picture 'IMG_ICON_CONTACT_LPP' => 'MOD: LPP',
Open: styles/prosilver/imageset/imageset.cfg
Find:After-add:Code: Select all
img_icon_contact_msnm = icon_contact_msnm.gif*20*20
Code: Select all
# MOD: Linked Profile Picture img_icon_contact_lpp = icon_contact_lpp.gif*20*20
Stylesheet
Open: styles/prosilver/theme/colours.css
Find:After-add:Code: Select all
.quote-icon, .quote-icon a { background-image: url("{IMG_ICON_POST_QUOTE_SRC}"); }
Code: Select all
/* MOD: Linked Profile Picture */ .lpp-icon, .lpp-icon a { background-image: url("{IMG_ICON_CONTACT_LPP_SRC}"); }
Open: styles/prosilver/theme/buttons.css
Find:After-add:Code: Select all
.quote-icon, .quote-icon a { background: none top left no-repeat; }
Code: Select all
/* MOD: Linked Profile Picture */ .lpp-icon, .lpp-icon a { background: none top left no-repeat; }
Find:After-add:Code: Select all
ul.profile-icons li.jabber-icon { width: {IMG_ICON_CONTACT_JABBER_WIDTH}px; height: {IMG_ICON_CONTACT_JABBER_HEIGHT}px; }
Code: Select all
/* MOD: Linked Profile Picture */ ul.profile-icons li.lpp-icon { width: {IMG_ICON_CONTACT_LPP_WIDTH}px; height: {IMG_ICON_CONTACT_LPP_HEIGHT}px; }
Template / Page
Open: styles/prosilver/template/viewtopic_body.html
Find:Code: Select all
<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM -->
- Inline-find:
Inline replace-with:Code: Select all
postrow.U_AIM -->
Code: Select all
postrow.U_AIM or postrow.U_LPP -->
Find:After add:Code: Select all
<span>{L_JABBER}</span></a></li><!-- ENDIF -->
Code: Select all
<!-- MOD: Linked Profile Picture --> <!-- IF postrow.U_LPP --><li class="lpp-icon"><a href="{postrow.U_POST_AUTHOR}" title="{L_PROFILE_PICTURE}"><span>{L_PROFILE_PICTURE}</span></a></li><!-- ENDIF -->
Open: viewtopic.php
Find:Code: Select all
$user->setup('viewtopic', $topic_data['forum_style']);
- Inline-find:
Inline replace-with:Code: Select all
'viewtopic'
Code: Select all
array('viewtopic', 'mods/Linked_Profile_Picture')
Find:After-add:Code: Select all
'allow_pm' => 0,
Code: Select all
// MOD: Linked Profile Picture 'lpp' => '',
Find:After-add:Code: Select all
'search' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", 'search_author=' . urlencode($row['username']) .'&sr=posts') : '',
Code: Select all
// MOD: Linked Profile Picture 'lpp' => $row['user_profile_picture'],
Find:After-add:Code: Select all
'U_JABBER' => $user_cache[$poster_id]['jabber'],
- - -Code: Select all
// MOD: Linked Profile Picture 'U_LPP' => $user_cache[$poster_id]['lpp'],
# Refresh imageset in ACP->Styles->Imageset
# Refresh theme in ACP->Styles->Theme
# Purge the cache in ACP->General
I know there a coulpe of guides around here and at startrekguide about using custom profile fields. For example with an image or in other pages than usual. You can look at them and meaybe they can bring some ideas.Blackkt wrote:ok thx....i will give the custom profile field a try before requesting......thx for the info....
You're probably looking for something similar to the My Page Mod that creates a separate profile homepage for each user..Blackkt wrote:i am interested in something similar to this also.....i have tried w no luck maybe i could use that 2 but this is what i was looking for......
i have a community type site w phpbb3 integrated but not inside....and would like to have a link under their name in the forum post they make .....and maybe a button in their profile page under name and rank....both would say View My Profile....and would link to something like this
http://www.mysite.com/{username} ----- their username would be added to the link automatically cause that would be their profile page at my site......
This mod displays the image linked from the profile field, so the image has to already be uploaded elsewhere to appear. The user enters the link for the image location in the field, and the mod takes care of the rest.vikingua wrote:Thanks, excellent mod. But how to arrive, if it is necessary to upload a photo on a server?
iEric wrote:If you mean for the xtra icon in viewtopic - it's on the way.
Or did you mean the MOD it self? There's a download link (and screenshots) in the 1st post for Subsilver2: http://www.phpbb.com/community/viewtopi ... 5#p5441225