Title: davidbishop's Replies | WordPress.org

---

# davidbishop

  [  ](https://wordpress.org/support/users/davidbishop/)

 *   [Profile](https://wordpress.org/support/users/davidbishop/)
 *   [Topics Started](https://wordpress.org/support/users/davidbishop/topics/)
 *   [Replies Created](https://wordpress.org/support/users/davidbishop/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/davidbishop/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/davidbishop/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/davidbishop/engagements/)
 *   [Favorites](https://wordpress.org/support/users/davidbishop/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: CubePoints] Adding link to user authors page from top users widget](https://wordpress.org/support/topic/plugin-cubepoints-adding-link-to-user-authors-page-from-top-users-widget/)
 *  Thread Starter [davidbishop](https://wordpress.org/support/users/davidbishop/)
 * (@davidbishop)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-cubepoints-adding-link-to-user-authors-page-from-top-users-widget/#post-2514178)
 * [@alvbayu](https://wordpress.org/support/users/alvbayu/) yeah the second one 
   works, you just need to make sure the author url has the correct link structure.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [import links from html page?](https://wordpress.org/support/topic/import-links-from-html-page/)
 *  Thread Starter [davidbishop](https://wordpress.org/support/users/davidbishop/)
 * (@davidbishop)
 * [14 years ago](https://wordpress.org/support/topic/import-links-from-html-page/#post-2709435)
 * nm, found a solution. For anyone in the future or present for that matter who
   finds themselves in a similar position in tools > import you can import to blogroll
   from an opml file. [This site](http://www.smartpeer.net/jiescripts/html2opml.php)(
   the sites very broken, tools at the bottom of the page I think) lets you convert
   html to opml then you just import it using the tool in wordpress import, simpels!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [different author templates for different roles](https://wordpress.org/support/topic/different-author-templates-for-different-roles/)
 *  Thread Starter [davidbishop](https://wordpress.org/support/users/davidbishop/)
 * (@davidbishop)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/different-author-templates-for-different-roles/#post-2514799)
 * [deleted] was being stupid, worked it out:
 *     ```
       <?php $var = get_the_author_meta('user_level');
       if ($var == 1) {
       ?> <b>Ranking:</b> <?php echo cp_module_ranks_getRank($authordata->ID); ?></br>
       <?php }?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [different author templates for different roles](https://wordpress.org/support/topic/different-author-templates-for-different-roles/)
 *  Thread Starter [davidbishop](https://wordpress.org/support/users/davidbishop/)
 * (@davidbishop)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/different-author-templates-for-different-roles/#post-2514798)
 * hi keesiemeijer,
 * thanks for the reply, but was wanting templates by user role rather then indivduly
   applying templates
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: CubePoints] Adding link to user authors page from top users widget](https://wordpress.org/support/topic/plugin-cubepoints-adding-link-to-user-authors-page-from-top-users-widget/)
 *  Thread Starter [davidbishop](https://wordpress.org/support/users/davidbishop/)
 * (@davidbishop)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-cubepoints-adding-link-to-user-authors-page-from-top-users-widget/#post-2514016)
 * ah cool cool, I look forward to seeing this implemented!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [different author templates for different roles](https://wordpress.org/support/topic/different-author-templates-for-different-roles/)
 *  Thread Starter [davidbishop](https://wordpress.org/support/users/davidbishop/)
 * (@davidbishop)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/different-author-templates-for-different-roles/#post-2514627)
 * Sorry, here’s the code with pastebin
 * [http://pastebin.com/gAjzrynh](http://pastebin.com/gAjzrynh)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [different author templates for different roles](https://wordpress.org/support/topic/different-author-templates-for-different-roles/)
 *  Thread Starter [davidbishop](https://wordpress.org/support/users/davidbishop/)
 * (@davidbishop)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/different-author-templates-for-different-roles/#post-2514606)
 * I found the following what I thought would do exact what I wanted but seems to
   do the exact opposite which I don’t think it’s supposed to! It shows contents
   by the role of whom ever is logged in and displays the logged in usernot the 
   user on the authors page! I put this in fucntions then called it on the authors
   opage:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CubePoints] [Plugin: CubePoints] Showing avatars with scoreboard](https://wordpress.org/support/topic/plugin-cubepoints-showing-avatars-with-scoreboard/)
 *  [davidbishop](https://wordpress.org/support/users/davidbishop/)
 * (@davidbishop)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-cubepoints-showing-avatars-with-scoreboard/#post-2036744)
 * I know this is old but I thought I’d just post the answer as I’ve found it a 
   nightmare findings stuff out about this very useful (and frustrating) plugin,
   so would like to get as many answer out there as possible!
 * in the cp_hook.php within the plugins folder put this code under the fucntion‘
   cp_displayUserInfo($string,$y,$place)’:
 *     ```
       $y['avatar'] = get_avatar($user->ID);
       $string = str_replace('%avatar%', $y['avatar'], $string);
       ```
   
 * then in the top user widget in text use `%avatar%` and should work!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [List of new authors](https://wordpress.org/support/topic/list-of-new-authors/)
 *  Thread Starter [davidbishop](https://wordpress.org/support/users/davidbishop/)
 * (@davidbishop)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/list-of-new-authors/#post-2454455)
 * Hi Marventus,
 * thanks for the reply but still get the same issue
 * David

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