Title: [Plugin: Aleph] Content profile.php
Last modified: August 19, 2016

---

# [Plugin: Aleph] Content profile.php

 *  [Chris Andersen](https://wordpress.org/support/users/chris1/)
 * (@chris1)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/plugin-aleph-content-profilephp/)
 * Hi Detective,
 * I’d like to add some content to the profile.php
 * a1. Profession
    a2. Website a3. Comments a4. Favorites a5. Posts a6. Sets (Categories)
 * Furthermore I need info to solve this:
    b1. Upload photo directly (if he is logged
   in the user should be able to upload his photo directly without going through
   his dashboard) b2. Mark as contact (how do I change the text to “Add Contact”?
   b3. Wall: I’d like to have a personal Comment Box like I have with every single
   post in my blog.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Detective](https://wordpress.org/support/users/detective/)
 * (@detective)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/plugin-aleph-content-profilephp/#post-859038)
 * – For the Profession, you can use Cimy User Fields and print the value in the
   same way as you printed the location.
    – For the website, you can use `<?php 
   aleph_the_user_url('Website'); ?>`. This will print a link like [Website](https://wordpress.org/support/topic/plugin-aleph-content-profilephp/?output_format=md#)
   that points to the user url. – For comments, there is no current way to display
   a link to comments by the user. – For favorites: you want to display them or 
   link to the page with all of them? In the first case you can use the Favorites
   Widget included with Aleph or do a `query_posts` call:
 *     ```
       <?php
       global $user;
       query_posts('favorites_of=' . $user->user_nicename);
       while (have_posts()) { the_posts():
       ....
       }
       ```
   
 * In the second case you can print the link: `<a href="<?php aleph_the_user_favorites_url();?
   >">Favorites</a>`.
 * – To link the posts page: `<?php aleph_the_user_posts_link('Posts'); ?>`
 * – To display the users’ sets you can use the Sections Widget included in Aleph.
 * Regarding your other needings:
 * > b1. Upload photo directly (if he is logged in the user should be able to upload
   > his photo directly without going through his dashboard)
 * As far as i know, this is not possible, as it would require a custom upload form
   inside the public profile.
 * > b2. Mark as contact (how do I change the text to “Add Contact”?
 * Put the following in the user/posts loop: `<?php aleph_the_taxonomy_link('author-
   contacts'); ?>`
 * To change the text you need to translate the `.po` file included with Aleph.
 * > b3. Wall: I’d like to have a personal Comment Box like I have with every single
   > post in my blog.
 * This is not possible, although it’s a feature i’d like to implement some day 
   in the future.
 *  Thread Starter [Chris Andersen](https://wordpress.org/support/users/chris1/)
 * (@chris1)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/plugin-aleph-content-profilephp/#post-859046)
 * Hi Detective,
    thx a lot. Some things are done others are still open. Please 
   help me with: a4, a6, b2
 * a1: done
    a2: done a3: Comments: not possible yet a4: Favorites: Don’t know exactly
   how it works a5: done a6: Sets (Categories): Don’t know exactly how it works.
   Can the user sign in for WP categories?
 * b1: photo upload: Have to find out with WP
    b2: Have changed the aleph.po file
   from “mark as contact” to “Add contact” doesn’t work b3: Personal wall is impossible
   yet
 *  [Detective](https://wordpress.org/support/users/detective/)
 * (@detective)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/plugin-aleph-content-profilephp/#post-859051)
 * Favorites:
 * Each user can mark a post as favorite, and you can get the favorite posts of 
   every user using template tags like `query_posts` or going to a “favorite archive”.
 * Sets:
 * Sets are user-specific categories. Sets don’t interfere with your site categories,
   instead they complement them in a user-specific way. For example, you can have
   a category named “Photos” where every user posted photos. But also every user
   could have a set named “My Family Photos”, “My Travel Photos”, etc.
 * Also, you need to create a .mo file after you edited the .po file. Check out:
   [http://codex.wordpress.org/Translating_WordPress](http://codex.wordpress.org/Translating_WordPress)
 *  [brainsolid](https://wordpress.org/support/users/brainsolid/)
 * (@brainsolid)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/plugin-aleph-content-profilephp/#post-859070)
 * Hm… Can someone tell me, how customise style of Favorites page? If i put this
   code `<a href="<?php aleph_the_user_favorites_url(); ?>">Favorites</a>` in profile,
   it lead to the page where some elements of style from original archive page are
   missed. So i think that i must put divs in some template file, but what file 
   and where in code i must do this?
 *  [Detective](https://wordpress.org/support/users/detective/)
 * (@detective)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/plugin-aleph-content-profilephp/#post-859072)
 * Aleph uses the following templates (if one isn’t found, the next is used):
 * – favorites.php
    – archive.php – index.php
 * Probably in your case your theme only has a archive.php. You could copy that 
   file into favorites.php and make all modifications you need.
 *  [PumpUp](https://wordpress.org/support/users/pumpup/)
 * (@pumpup)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/plugin-aleph-content-profilephp/#post-859073)
 * Detective
 * Can you help me for PAY $$$ to get el-aleph up and running in a new blog? I simply
   don’t have time to figure this all out 😉
    Please email me to: wolf [at} multimediahouse.
   com
 * I am looking for a simple yet functional SOCIAL MEDIA add-in for wordpress to
   give users some on site networking experience. I could NOT find anythign besides
   el-aleph… any other ideas?
 * or contact me through my site:
    [](http://pumpupyourwebsite.com)
 *  [monarchmdm](https://wordpress.org/support/users/monarchmdm/)
 * (@monarchmdm)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-aleph-content-profilephp/#post-859143)
 * Can anyone tell me how to add ALL the cimy extra user fields into this aleph 
   profile page? I have searched high and low and I am not advanced enough to figure
   it out with just the code 🙁
 * below is my aleph php code. Right now I am displaying ONE field from Cimy whch
   is address. That works but I want to either a, know how to display all the extra
   fields or b, how to add an additional Cimy extra field such as “phone” in addition
   to “address” which is already in there. Any help would be very very much appreciated!
 * <?php get_header(); ?>
 * <!–
 * This is a example template for Aleph.
    The function aleph_user_profile() outputs
   a formatted profile. You need to put it between the adequate markup of your template.
 *  –>
    <div id=”content” class=”narrowcolumn”>
 *  <?php
    add_action(‘aleph_user_profile_fields’, ‘display_user_cimy_field’);
 * function display_user_cimy_field() {
    $address = aleph_get_user_cimy_field(“address”);
   if ($address) { echo ‘<dt>Address</dt>’; echo ‘<dd>’ . $address . ‘</dd>’; } }
   aleph_user_profile( array( ‘before_title’ => ‘<h2 class=”center”>’, ‘after_title’
   => ‘</h2>’, ‘before_section’ => ‘<div class=”entry”><h3>’, ‘after_section’ =>‘
   </h3>’, ‘before_avatar’ => ‘<div style=”float: right;”>’, ‘after_avatar’ => ‘
   </div></div>’ ) ); ?>
 *  </div>
 * <?php get_sidebar(); ?>
 * <?php get_footer(); ?>

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: Aleph] Content profile.php’ is closed to new replies.

 * 7 replies
 * 5 participants
 * Last reply from: [monarchmdm](https://wordpress.org/support/users/monarchmdm/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-aleph-content-profilephp/#post-859143)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
