×
Kunena 5.2.6 released and Blue eagle 1.6.6 released (25 Jul 2021)

The Kunena team has announce the arrival of Kunena 5.2.6 [K 5.2.6] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.2 and issues discovered during the development stages of K 5.2.6

× Les sujets sont déplacés dans ce domaine ne sont fermés parce qu'ils se rapportent à des versions non prises en charge de Kunena.

Question Une majuscule pour la première lettre du titre d'un sujet/topic

  • PaRaDiSiAk
  • Topic Author
  • Offline
  • Junior Member
  • NO LONGER USED - DELETE THIS ACCOUNT PLEASE
More
12 years 6 months ago - 12 years 2 months ago #1 by PaRaDiSiAk
Sur phpBB, la ligne de code suivante permettait de transformer la première lettre du titre d'un sujet/topic en majuscule :
#
#-----[ OPEN ]------------------------------------------
#
includes/functions_posting.php
 
#
#-----[ FIND ]------------------------------------------
#
function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $update_message = true)
{
   global $db, $auth, $user, $config, $phpEx, $template, $phpbb_root_path;
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Mettre en majuscule la première lettre du titre d'un topic
$subject = ucfirst($subject);
// Fin
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#

Comment fait-on pour Kunena ? Quelqu'un pourrait donner la soluce ? Merci à tous !
Last edit: 12 years 2 months ago by PaRaDiSiAk.

Please Log in or Create an account to join the conversation.

  • PaRaDiSiAk
  • Topic Author
  • Offline
  • Junior Member
  • NO LONGER USED - DELETE THIS ACCOUNT PLEASE
More
12 years 5 months ago #2 by PaRaDiSiAk
Il s'est passé un mois et je n'ai toujours pas trouvé de soluce.
Vraiment personne n'a une idée ?

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago - 12 years 5 months ago #3 by sozzled
Salut PaRaDiSiAk, :) C'est une idée intéressante. Il aurait peut-être plus de chance si tu postes ta question dans l'un des conseils de langue anglaise. Je sais pas si cela peut se faire avec Kunena. Probablement pas.
Last edit: 12 years 5 months ago by sozzled.

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #4 by lavsteph
Bonjour,

je vais faire remonter l'information auprès de développeurs pour savoir si cela est possible. ;)

Manager French translation
The following user(s) said Thank You: virtuader

Please Log in or Create an account to join the conversation.

  • PaRaDiSiAk
  • Topic Author
  • Offline
  • Junior Member
  • NO LONGER USED - DELETE THIS ACCOUNT PLEASE
More
12 years 2 months ago #5 by PaRaDiSiAk
Merci pour vos messages !

lavsteph, tu nous tiens au courant sur ce topic ?

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago - 12 years 2 months ago #6 by @quila
Hi PaRaDiSiAk,

Remplacer -> Par

components / com_kunena / template / default_ex /

message.php ligne 77

<?php echo $msg_subject; ?> -> <?php echo ucfirst($msg_subject); ?>

view.php ligne 409

<?php echo $jr_topic_title; ?> -> <?php echo ucfirst($jr_topic_title); ?>

fb_pathway.php ligne 69

$jr_path_menu[] =$jr_topic_title; -> $jr_path_menu[] = ucfirst($jr_topic_title);

flat.php ligne 236

kunena_htmlspecialchars(stripslashes($leaf->subject)) -> ucfirst(kunena_htmlspecialchars(stripslashes($leaf->subject)))

listcat.php ligne 575

$latestsubject -> ucfirst($latestsubject)

components / com_kunena / template / default /

fb_sub_category_list.php ligne 417

kunena_htmlspecialchars(stripslashes($latestsubject)) -> ucfirst(kunena_htmlspecialchars(stripslashes($latestsubject)))

components / com_kunena / template / default / plugin / stats /

stats.php ligne 148

kunena_htmlspecialchars(stripslashes($toptitle->subject)) -> ucfirst(kunena_htmlspecialchars(stripslashes($toptitle->subject)))


C'est tout !

Regards
Last edit: 12 years 2 months ago by @quila.

Please Log in or Create an account to join the conversation.

  • PaRaDiSiAk
  • Topic Author
  • Offline
  • Junior Member
  • NO LONGER USED - DELETE THIS ACCOUNT PLEASE
More
12 years 2 months ago #7 by PaRaDiSiAk
Merci beaucoup @quila !

Thank you very much @quila !

Пуно ти хвала @quila !

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #8 by @quila
Tu es le bienvenu.

You are welcomе.

Нема на чему. ;)

Поздрав

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.086 seconds