How to add Avatar plugin ( free ) in themes

How to add Avatar plugin ( free ) in themes

  1. Download Avatar plugin in here https://market.osclass.org/plugins/user-management/avatar-plugin_810
  2. Download this file 3 file in here DOWNLOADS
  • avatar.php
  • avatar-public.php
  • avatar-member.php

3. Upload 3 files to oc-content/ themes/ {namethemes}/ templates/plugin/

4. editing oc-content/ themes/ {namethemes}/user-public.php

replace this code

<?php osc_current_web_theme_path('templates/plugin/avatar.php') ; ?>

with

<?php osc_current_web_theme_path('templates/plugin/avatar-public.php') ; ?>

5. Editing following files

  • editing oc-content/ themes/ {namethemes}/user-alert.php
  • editing oc-content/ themes/ {namethemes}/user-items.php
  • editing oc-content/ themes/ {namethemes}/user-profile.php
  • editing oc-content/ themes/ {namethemes}/user-change-email.php
  • editing oc-content/ themes/ {namethemes}/user-change-password.php
  • editing oc-content/ themes/ {namethemes}/user-change-username.php
  • editing oc-content/ themes/ {namethemes}/user-custom.php

replace this code

<?php osc_current_web_theme_path('templates/plugin/avatar.php') ; ?>

with this code

<?php osc_current_web_theme_path('templates/plugin/avatar-member.php') ; ?>

 

Save all

 

NOTE: for PARIS, KINGS, BOLD and ROYAL themes

1.upload 3 files to oc-content/ themes/{name themes}/common/

2.you must replace directory code

<?php osc_current_web_theme_path('templates/plugin/avatar-member.php') ; ?>

<?php osc_current_web_theme_path('templates/plugin/avatar-public.php') ; ?>

with

<?php osc_current_web_theme_path('common/avatar-member.php') ; ?>

<?php osc_current_web_theme_path('common/avatar-public.php') ; ?>

 

Top