HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


CLICK AVATAR PIC IN SIDE STATUS BLOCK SO IT LINKS DIRECTLY TO EDIT THE AVATAR PIC

Login / Search

 [ Join | More ]
 Add topic 
Posted
Item has a rating of 5 (Liked by Chris GrahamLiked by GuestLiked by Jason Verhagen)  
Rating:
#107491 (In Topic #20945)
Avatar

Fan in training

quick way for the user to edit profile pic

1. adminzone/index.php?page=admin_lang&type=misc

do a search for AVATAR and change it to   edit profile picture

2. edit BLOCK_SIDE_PERSONAL_STATS.tpl  

change:

<div class="personal_stats_avatar"><img src="{AVATAR_URL*}" title="{!AVATAR}" alt="{!AVATAR}" /></div>

to this:

<div class="personal_stats_avatar"><a href="http://example.com/index.php?page=members&type=view&id={USERNAME*}#tab__edit__edit_space_profile_space_picture"><img src="{AVATAR_URL*}" title="{!AVATAR}" alt="{!AVATAR}" /></a></div>

ok have fun and let me know what you think...


-----------
Publisher of IronFeather Journal since 1987.
Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on ocPortal as my number one CMS.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: