Title: Installation problem
Last modified: August 22, 2016

---

# Installation problem

 *  Resolved [Sanjay Gandhi](https://wordpress.org/support/users/sanjay-gandhi/)
 * (@sanjay-gandhi)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-98/)
 * Hi Jacques,
    Having an install problem. You say: — In the page used for the dating
   part, add the content :
 * <?php if(is_user_logged_in()) {
    $renc=new RencontreWidget; $renc->widget(0,0);}?
   > —
 * What is “the page used for the dating part”? What is the name of the exact file
   in the themes folder…there are several there, page.php, content.php, index.php…
 * Also the exact location in the file where I should put this text (after get_header()?
   etc.)
    Thanks Sanjay
 * [https://wordpress.org/plugins/rencontre/](https://wordpress.org/plugins/rencontre/)

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

 *  Plugin Author [Jacques Malgrange](https://wordpress.org/support/users/sojahu/)
 * (@sojahu)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-98/#post-5220722)
 * Hi Sanjay,
    Two solutions : **First one** Your site is only a dating website.
   The plugin is on the home page. => The page is probably index.php of your theme.**
   Second one** You want a specific page for this plugin. You have to create a [custom page template](http://codex.wordpress.org/Theme_Development#Custom_Page_Templates)
   and put the code inside. Then, in admin, tab Pages, click on “add new” and select
   the right template. In the twentythirteen template, i used page.php and add the
   plugin code to create page-rencontre.php. Anyway, you’ll probably need to put
   the code in a DIV block to set position and width in CSS. Jacques
 *  Thread Starter [Sanjay Gandhi](https://wordpress.org/support/users/sanjay-gandhi/)
 * (@sanjay-gandhi)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-98/#post-5220760)
 * Hi Jacques,
    Trying Solution 1, to call the plugin directly from the theme.
 * I put the code in index.php, didn’t work. In page.php it didn’t work either.
 * I put it just after the header call, here is the code:
 *     ```
       <?php
       /**
        * The main template file
        *
        * This is the most generic template file in a WordPress theme and one of the
        * two required files for a theme (the other being style.css).
        * It is used to display a page when nothing more specific matches a query.
        * For example, it puts together the home page when no home.php file exists.
        *
        * @link http://codex.wordpress.org/Template_Hierarchy
        *
        * @package WordPress
        * @subpackage Twenty_Thirteen
        * @since Twenty Thirteen 1.0
        */
   
       get_header(); ?>
       welcome to solos24.com....
   
       <?php if(is_user_logged_in()) {
       $renc=new RencontreWidget; $renc->widget(0,0);} ?>
       ```
   
 * The site is now showing as u can see here
    [http://www.solos24.com](http://www.solos24.com)
 * Help please!
    Merci Sanjay
 *  [baba93](https://wordpress.org/support/users/baba93/)
 * (@baba93)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-98/#post-5220793)
 * bonjour Jacques,
 * j’ai installation le plugin et je l’ai activé cependant ça ne s’affiche pas dans
   mon panel d’administration alors qu’il figure dans la liste des extensions activé
   j’utilise la version 3.9.2 de wordpress !
 * pourriez vous m’aider svp !
 * merci Alpha
 *  Plugin Author [Jacques Malgrange](https://wordpress.org/support/users/sojahu/)
 * (@sojahu)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-98/#post-5220799)
 * Hi Sanjay,
    You need to be connected as a member to see something (if(is_user_logged_in())).
   So, you need to add at the top of your page the WP link to connect a member :
 *     ```
       <?php wp_loginout(home_url()); if (!is_user_logged_in()) { ?>
               <a href="wp-login.php?action=register"><?php _e('Register'); ?></a>
       <?php } ?>
       ```
   
 * I think that’s it.
 *  Plugin Author [Jacques Malgrange](https://wordpress.org/support/users/sojahu/)
 * (@sojahu)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-98/#post-5220801)
 * Hi baba93,
    Don’t you see a red heart on the left with the label Rencontre ? 
   I have tested the 3.9.2 and it works. Heu, in french … Vous n’avez pas un coeur
   rouge dans le menu Admin avec le label Rencontre ? J’ai installé la 3.9.2 et 
   il n’y a pas de soucis.
 *  Thread Starter [Sanjay Gandhi](https://wordpress.org/support/users/sanjay-gandhi/)
 * (@sanjay-gandhi)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-98/#post-5220811)
 * Seems to work a bit better now. Will update.
    Merci Jacques Sanjay
 *  [baba93](https://wordpress.org/support/users/baba93/)
 * (@baba93)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-98/#post-5220828)
 * ah si je vois le coeur rouge dans le menu admin pourriez vous m’expliquer en 
   français la demarche à suivre pour l’installer car je ne comprend pas ce que 
   vous voulez dire par ” page used for the dating part ” .
 * merci pour votre assistance
 * Alpha
 *  Plugin Author [Jacques Malgrange](https://wordpress.org/support/users/sojahu/)
 * (@sojahu)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-98/#post-5220853)
 * Il y a un mode d’emploi en français [ici](http://www.boiteasite.fr/fiches/site_rencontre_wordpress.html)
   pour créer un site de Rencontre avec ce plugin.
 * Cordialement,
 *  Thread Starter [Sanjay Gandhi](https://wordpress.org/support/users/sanjay-gandhi/)
 * (@sanjay-gandhi)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-98/#post-5220859)
 * install worked fine. the trick is to have this line at the top where u can add
   users. Just having “admin” doesn’t do it.

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

The topic ‘Installation problem’ is closed to new replies.

 * ![](https://ps.w.org/rencontre/assets/icon-128x128.png?rev=990206)
 * [Rencontre - Dating Site](https://wordpress.org/plugins/rencontre/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rencontre/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rencontre/)
 * [Active Topics](https://wordpress.org/support/plugin/rencontre/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rencontre/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rencontre/reviews/)

## Tags

 * [installation](https://wordpress.org/support/topic-tag/installation/)

 * 9 replies
 * 3 participants
 * Last reply from: [Sanjay Gandhi](https://wordpress.org/support/users/sanjay-gandhi/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-98/#post-5220859)
 * Status: resolved