collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 378
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

Author Topic: Shoutbox Refresh  (Read 8971 times)

0 Members and 1 Guest are viewing this topic.

Offline nofear

  • Newbie
  • Posts: 3
  • SMF Version: 1.1.10
  • SP Version: 2.3
Shoutbox Refresh
« on: September 14, 2009, 12:05:31 PM »
Bonjour,

Voilà mon petit souci, la shoutbox ne se rafraichi pas après l'envoi de texte, ou via l'icône actualiser qu'elle contient.

Le seul moyen est donc de rafraîchir la page entière.

Si quelqu'un a une suggestion, merci.

PS : J'ai oublié de dire que j'étais en version smf 1.1.10 et sp 2.3.
« Last Edit: September 14, 2009, 12:09:20 PM by nofear »

Offline nofear

  • Newbie
  • Posts: 3
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Shoutbox Refresh
« Reply #1 on: September 14, 2009, 05:33:30 PM »
Bonsoir,

J'ai trouvé, cela viens en fait de la langue utilisé, puisqu'en anglais la shoutbox fonctionne bien.

Il manque donc la traduction pour l'utiliser en français sans défaut.

Bon courage et merci d'avance GravuTrad.

Offline nofear

  • Newbie
  • Posts: 3
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Shoutbox Refresh
« Reply #2 on: September 14, 2009, 06:11:16 PM »
Re,

Finalement la traduction ne suffira sans doute pas.

Je viens d'essayer avec la trad english_british pour SMF 1.1.10, ainsi que pour SP 2.3.

Le résultat est identique a la trad française de SMF.

Sachant que cela fonctionne avec le langage english par défaut, le problème viens d'ailleurs j'imagine.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox Refresh
« Reply #3 on: April 26, 2010, 01:10:50 PM »
Cette problème -- est-ce que c'est resolu?
 
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline DeathSign

  • Semi Newbie
  • *
  • Posts: 6
  • Gender: Male
  • Vaurien
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Shoutbox Refresh
« Reply #4 on: June 17, 2010, 05:48:14 PM »
Cette problème -- est-ce que c'est resolu?
Ce problème est malheureusement toujours présent.

Bonjour ! Oui oui je suis là aussi, petit coucou à GravuTrad, maximus23 que j'ai vu pour la traduction :)

J'ai planifié d'utiliser SP pour mon site qui sera refait prochainement. J'ai donc un forum de test sur lequel je travaille sur le design et la découverte du portail. Il se trouve que j'ai rencontré le même problème.

En regardant les erreurs de firefox, il y a une erreur au niveau du XML.

Code: [Select]
Erreur : entité non définie
Fichier Source : http://www.XXXXXXX.tld/index.php?action=portal;sa=shoutbox;xml
Ligne : 12, Colonne : 26
Code Source :
  <timeclean>Aujourd'hui &agrave; 22:04:57</timeclean>

En effet &agrave; est une entité HTML et n'est pas correct en XML.

A mon avis pour le reproduire il faut un forum en ISO-8859-1 avec des accents dans le formatage de la date et l'heure (=> "Aujourd'hui &agrave; 22:04:57").

Alors petit quick & dirty fix : fichier Sources/Sub-Portal.php

Rechercher :

Quote
      $shouts[$shout['id']]['time'] = timeformat($shouts[$shout['id']]['time']);
Remplacer par :
Quote
      $shouts[$shout['id']]['time'] = str_replace('&agrave;', '&#224;', timeformat($shouts[$shout['id']]

['time'])); // DeathSign quick & dirty fix
EDIT: cf plus bas pour le fix

Je pense qu'il serait utile de transmettre le bug à la team.

Amicalement,
DeathSign
« Last Edit: June 18, 2010, 06:46:42 AM by DeathSign »
I'll switch to SP :)

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox Refresh
« Reply #5 on: June 17, 2010, 07:35:04 PM »
Après le petit fix -- le shoutbox marche bien?
Vous dites que les entités indefinés sont responsibles pour le problème avec le shoutbox?
 
&agrave;,  c'est en entité definé en XHTML http://www.w3schools.com/tags/ref_entities.asp 
Mais non recommandé en XML
 
Quelque chose d'aussi simple comme cela?
 
http://en.wikipedia.org/wiki/Character_encodings_in_HTML#XML_character_references
http://webservices.itcs.umich.edu/mediawiki/oaibp/index.php/CharacterEncoding#Use_of_character_entities
 
Oui?
 
 
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline DeathSign

  • Semi Newbie
  • *
  • Posts: 6
  • Gender: Male
  • Vaurien
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Shoutbox Refresh
« Reply #6 on: June 18, 2010, 06:04:47 AM »
Exactly that's why I replaced &agrave; by &#224; but it is not clean: You should replace every HTML entities that may appears.

I hate online translator, sometimes your sentences don't make sense. You can speak english I understand.

EDIT: Ok j'ai trouvé une meilleure méthode, oubliez le code au dessus. Je vais faire comme pour les autres champs c'est-à-dire rajouter htmlspecialchars() pour le temps qui posait problème.
(OK I found better, forgot the fix I found another one. I can do like the others fields so just add htmlspecialchars() for "timeclean".)

Fichier (file) Themes/defaults/PortalShoutbox.template.php :

Rechercher (find) :
Code: [Select]
<timeclean>', strip_tags($shout['time']), '</timeclean>Remplacer par (replace by) :
Code: [Select]
<timeclean>', htmlspecialchars(strip_tags($shout['time'])), '</timeclean>
Et ça marche très bien :)
« Last Edit: June 18, 2010, 06:41:13 AM by DeathSign »
I'll switch to SP :)

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox Refresh
« Reply #7 on: June 18, 2010, 07:15:40 AM »
Thank you.  I have been using what French I remember from high school. Then I add vocabulary from Google translate.
 
I will tell the devs that you noticed that some HTML entities are being used in XML without being defined first, and share your fix.
 
I wish nofear could tell us if this solves his problem as well.
 
----------------------------------------
Edit: reported in bugtracker http://simpleportal.net/index.php?issue=390.0#com1057
« Last Edit: June 18, 2010, 07:26:32 AM by AngelinaBelle »
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline DeathSign

  • Semi Newbie
  • *
  • Posts: 6
  • Gender: Male
  • Vaurien
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Shoutbox Refresh
« Reply #8 on: June 18, 2010, 08:22:39 AM »
I see ^^

You're welcome I was looking for the button to submit the issue :angel:

The topic was started last year, I'm not sure nofear will answer it. But he did not tell us he was using UTF-8 or not. I don't understand how english-british could suffer from the same problem because there are not accent. I tried to install english-british not UTF-8 and it works fine without my fix.
I'll switch to SP :)

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox Refresh
« Reply #9 on: June 18, 2010, 10:02:09 AM »
You can always report bugs at http://simpleportal.net/index.php?board=3.0
I got lazy and put it straight on the bugtracker.
 
I don't have very much time available to help out here any more, but I try to help a little bit when I can.
 
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline shaitan

  • Newbie
  • Posts: 4
  • Gender: Male
    • Passion-xbmc
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Shoutbox Refresh
« Reply #10 on: July 04, 2010, 03:21:13 AM »
Bonjour à tous,

Je confirme que cela fonctionne, j'avais été confronté à ce problème et un membre m'avait aidé à trouvé cette solution.

http://passion-xbmc.org/xbmc-passion-le-site/mise-a-jour-du-site-maintenance/msg63365/#msg63365

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox Refresh
« Reply #11 on: August 05, 2010, 05:13:57 PM »
Thanks for the report. It looks like the fix will be in the next version of SimplePortal.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?