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

#   Afficher début du nom dans les commentaires

##

- **[tristan.stgermain](/forum/user/1165-tristan-stgermain "View tristan.stgermain's Profile")**
- [![tristan.stgermain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1165.jpg)](/forum/user/1165-tristan-stgermain "View tristan.stgermain's Profile") Topic Author
- [ Offline](/forum/user/1165-tristan-stgermain)

Less More

- Posts: 56
- Thank you received: 1
-
-

10 years 11 months ago [\#222257](#222257) by [tristan.stgermain](/forum/user/1165-tristan-stgermain "View tristan.stgermain's Profile")  *[Afficher début du nom dans les commentaires](/forum/5-support-en-francais-french-support-/880752-afficher-debut-du-nom-dans-les-commentaires#222257 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Salut,  J'ai un problème avec le module de commentaire produits. Il fonctionne bien seulement lorsqu'un utilisateur commente il a son email en clair. Les users ont tous leur Email comme identifiant.  Serait-il possible de tronquer l'Email ou d'afficher le username à la place ?  Merci.")* was created by *[tristan.stgermain](/forum/user/1165-tristan-stgermain "View tristan.stgermain's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5

Salut,

J'ai un problème avec le module de commentaire produits. Il fonctionne bien seulement lorsqu'un utilisateur commente il a son email en clair. Les users ont tous leur Email comme identifiant.

Serait-il possible de tronquer l'Email ou d'afficher le username à la place ?

Merci.

- [ ![commentaire.png](/forum/attachment/28043) ](/forum/attachment/28043 "commentaire.png") [ ](/forum/attachment/28043?download=1 "commentaire.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 11 months ago [\#222272](#222272) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Afficher début du nom dans les commentaires](/forum/5-support-en-francais-french-support-/880752-afficher-debut-du-nom-dans-les-commentaires#222272 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5  Salut,  J'ai un problème avec le module de commentaire produits. Il fonctionne bien seulement lorsqu'un utilisateur commente il a son email en clair. Les users ont tous leur Email comme identifiant.  Serait-il possible de tronquer l'Email ou d'afficher le username à la place ?  Merci.")*

Bonjour,

Citation de la vue "vote &#124; listing". Code:

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

Dans aucun des cas l'email est utilisé ; mais uniquement le username ou le pseudo (en cas de vote sans compte).
Après, vous pouvez tout à fait faire un override de vue afin d'afficher une autre information.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODgwNzUyLWFmZmljaGVyLWRlYnV0LWR1LW5vbS1kYW5zLWxlcy1jb21tZW50YWlyZXM/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.081 seconds

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