[Skip to main content](#vessel-content)

#   Vote/commentaire: avoir le nom, pas l'identifiant

##

- **[Pi\_R](/forum/user/12684-pi-r "View Pi&#95;R's Profile")**
- [![Pi&#95;R's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12684-pi-r "View Pi&#95;R's Profile") Topic Author
- [ Offline](/forum/user/12684-pi-r)

Less More

- Posts: 328
- Thank you received: 18
-
-

11 years 3 months ago -  11 years 3 months ago [\#211995](#211995) by [Pi\_R](/forum/user/12684-pi-r "View Pi&#95;R's Profile")  *[Vote/commentaire: avoir le nom, pas l'identifiant](/forum/5-support-en-francais-french-support-/878848-vote-commentaire-avoir-le-nom-pas-lidentifiant#211995 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Firefox 40.0.2  Bonjour,  actuellement lorsque quelqu'un laisse un commentaire et/ou vote, c'est son identifiant qui apparaît. Or avec le formulaire d'enregistrement simplifié avec mot de passe, l'identifiant étant l'adresse email, je ne souhaite pas l'afficher aux visiteurs, mais plutôt faire apparaître le nom du client : comment pourrais-je m'y prendre ?  Merci Pierre")* was created by *[Pi\_R](/forum/user/12684-pi-r "View Pi&#95;R's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.4.38
-- Browser(s) name and version -- : Firefox 40.0.2

Bonjour,

actuellement lorsque quelqu'un laisse un commentaire et/ou vote, c'est son identifiant qui apparaît.
Or avec le formulaire d'enregistrement simplifié avec mot de passe, l'identifiant étant l'adresse email, je ne souhaite pas l'afficher aux visiteurs, mais plutôt faire apparaître le nom du client : comment pourrais-je m'y prendre ?

Merci
Pierre

Last edit: 11 years 3 months ago by [Pi\_R](/forum/user/12684-pi-r "View Pi&#95;R's Profile"). Reason: Réglé

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc4ODQ4LXZvdGUtY29tbWVudGFpcmUtYXZvaXItbGUtbm9tLXBhcy1saWRlbnRpZmlhbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 3 months ago [\#212012](#212012) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Vote/commentaire: avoir le nom, pas l'identifiant](/forum/5-support-en-francais-french-support-/878848-vote-commentaire-avoir-le-nom-pas-lidentifiant#212012 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Firefox 40.0.2  Bonjour,  actuellement lorsque quelqu'un laisse un commentaire et/ou vote, c'est son identifiant qui apparaît. Or avec le formulaire d'enregistrement simplifié avec mot de passe, l'identifiant étant l'adresse email, je ne souhaite pas l'afficher aux visiteurs, mais plutôt faire apparaître le nom du client : comment pourrais-je m'y prendre ?  Merci Pierre")*

Bonjour,

Vous pouvez simplement éditer la vue "vote / listing" et remplacer le code: Code:

&lt;?php if ($elt[$i]-&gt;vote_pseudo == '0') { ?&gt; &lt;span class="hika_vote_listing_username"&gt;&lt;?php echo $elt[$i]-&gt;username; ?&gt; &lt;/span&gt; &lt;?php } else { ?&gt; &lt;span class="hika_vote_listing_username" &gt;&lt;?php echo $elt[$i]-&gt;vote_pseudo; ?&gt;&lt;/span&gt; &lt;?php } ?&gt;

Par: Code:

&lt;span class="hika_vote_listing_username" &gt;&lt;?php echo $elt[$i]-&gt;name; ?&gt;&lt;/span&gt;

[ www.hikashop.com/support/support/documen...ize-the-display.html](http://www.hikashop.com/support/support/documentation/153-customize-the-display.html)

The following user(s) said Thank You: [Pi\_R](/forum/user/12684-pi-r "View Pi&#95;R's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc4ODQ4LXZvdGUtY29tbWVudGFpcmUtYXZvaXItbGUtbm9tLXBhcy1saWRlbnRpZmlhbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Pi\_R](/forum/user/12684-pi-r "View Pi&#95;R's Profile")**
- [![Pi&#95;R's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12684-pi-r "View Pi&#95;R's Profile") Topic Author
- [ Offline](/forum/user/12684-pi-r)

Less More

- Posts: 328
- Thank you received: 18
-
-

11 years 3 months ago [\#212042](#212042) by [Pi\_R](/forum/user/12684-pi-r "View Pi&#95;R's Profile")  Replied by *[Pi\_R](/forum/user/12684-pi-r "View Pi&#95;R's Profile")* on topic *[Vote/commentaire: avoir le nom, pas l'identifiant](/forum/5-support-en-francais-french-support-/878848-vote-commentaire-avoir-le-nom-pas-lidentifiant#212042 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.38 -- Browser(s) name and version -- : Firefox 40.0.2  Bonjour,  actuellement lorsque quelqu'un laisse un commentaire et/ou vote, c'est son identifiant qui apparaît. Or avec le formulaire d'enregistrement simplifié avec mot de passe, l'identifiant étant l'adresse email, je ne souhaite pas l'afficher aux visiteurs, mais plutôt faire apparaître le nom du client : comment pourrais-je m'y prendre ?  Merci Pierre")*

Bonjour,

merci Xavier, c'est parfait.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc4ODQ4LXZvdGUtY29tbWVudGFpcmUtYXZvaXItbGUtbm9tLXBhcy1saWRlbnRpZmlhbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
