Kevin I've got a problem with the portal, but I'm very confused.
Look at this picture: (when a user is not log in in the board). This is ok
Now Look at this other image: (when a user is log in the board). This is wrong
(In the section of "polls" and "who is on line" at the botton of the page. Sorry it's in Spanish) I've got a blue background colour when It should be a white color. Only it happens in the portal with prosilver style and the user is log in the portal.
I tested a lot of things. I know where the problem is in the database. ( I've got a "old backup copy" and when I restaured this backup copy, it fixes the problem, but I lost a lot of datas: post, topics and users)
I tested to change ONLY the "phpbb_portal_config" from the "old backup copy" to the "now database" and it doesn't fix the problem . I'm very confused because the problem is not in the datas of the portal, but it happens only in the portal
Thanks a lot
A very strange thing with the portal
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: A very strange thing with the portal
Please try changing the number of chars to be displayed of one post, before the message is cut.
It seems that it is a problem with a not correctly closed BBCode (by the portal) in your post.
Are you using custom BBCodes?
It seems that it is a problem with a not correctly closed BBCode (by the portal) in your post.
Are you using custom BBCodes?
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
-
Topic author - Translator
- Posts: 19
- Joined: 19. May 2008 12:35
- Location: Madrid - ES
- Contact:
Re: A very strange thing with the portal
Yes, I'm using ABBC 3 (Advanced BBC version 3), but never before I had any problems until now. I'm going to change the number of chars...or delete the last topic. (it's a testing portal . I've installed to fix the problem).
Thanks you
Thanks you
-
Topic author - Translator
- Posts: 19
- Joined: 19. May 2008 12:35
- Location: Madrid - ES
- Contact:
Re: A very strange thing with the portal
Kevin, it fixes the problem: change from 250 (the actual number) to 200 (new number) and the problem is out
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: A very strange thing with the portal
Yeah, that's what i thought.
To describe the problem: When the settings are set to display the posts and cut the message, after e.g. 250 chars, the portal has a function to automatically close BBCode (parsed HTML-) tags, when the message is cut in the middle of a link, image or whatever tag.
So it prevents that code is parsed with one-way open and not closed HTML tags - which leads to a screwed up portal.
But this happened in your case. I think it has something to do with additional, extra BBcode, which is not recognized by our function.
So it could not prevent it from "not be closed".
This solution, to change the number of chars, just fixes this actual combination (cause you cut the message before or after the "trouble BBCode"). But keep in mind that this could happen again.
To describe the problem: When the settings are set to display the posts and cut the message, after e.g. 250 chars, the portal has a function to automatically close BBCode (parsed HTML-) tags, when the message is cut in the middle of a link, image or whatever tag.
So it prevents that code is parsed with one-way open and not closed HTML tags - which leads to a screwed up portal.
But this happened in your case. I think it has something to do with additional, extra BBcode, which is not recognized by our function.
So it could not prevent it from "not be closed".
This solution, to change the number of chars, just fixes this actual combination (cause you cut the message before or after the "trouble BBCode"). But keep in mind that this could happen again.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
-
Topic author - Translator
- Posts: 19
- Joined: 19. May 2008 12:35
- Location: Madrid - ES
- Contact:
Re: A very strange thing with the portal
Yes, it's clear, but it's very curious it was working properly until now and for another hand, I remember that I've had some complex BBCode (iframe) posts/topics and they work properly, but "quote" BBCode not ¿¿??Kevin wrote:Yeah, that's what i thought.
To describe the problem: When the settings are set to display the posts and cut the message, after e.g. 250 chars, the portal has a function to automatically close BBCode (parsed HTML-) tags, when the message is cut in the middle of a link, image or whatever tag.
So it prevents that code is parsed with one-way open and not closed HTML tags - which leads to a screwed up portal.
But this happened in your case. I think it has something to do with additional, extra BBcode, which is not recognized by our function.
So it could not prevent it from "not be closed".
This solution, to change the number of chars, just fixes this actual combination (cause you cut the message before or after the "trouble BBCode"). But keep in mind that this could happen again.
If I select "Read all", the BBCode is closed properly and the problem is out. (It's not necesary to change the number of characters).
The problem I was becoming crazy to me, because I thought that something was wrong in the database, but the database only changed the last post/topic, which is what gives the problem. Uff......
Best regards, Kevin
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: A very strange thing with the portal
No worries, it has definitely nothing to do with your database.calproye wrote:The problem I was becoming crazy to me, because I thought that something was wrong in the database, but the database only changed the last post/topic, which is what gives the problem. Uff......
The function could be found in portal/includes/functions.php from:calproye wrote:Yes, it's clear, but it's very curious it was working properly until now and for another hand, I remember that I've had some complex BBCode (iframe) posts/topics and they work properly, but "quote" BBCode not ¿¿??
Code: Select all
// Don't let them mess up the complete portal layout in cut messages and do some real AP magic
Code: Select all
/**
* Pagination routine, generates archive number sequence
We have tested it with all standard bbcodes and even with custom bbcodes. So it would be interesting to know which bbcode causes your problem.
In best case you could search for the exact string in your database and post it here. It should look something like this:
Code: Select all
Opensource CMS [url=http://www.typo3.com:f17dbgsh]Typo3[/url:f17dbgsh] wärmstens
Okay, this is not surprising, as we can take the bbcode in this case as it is - we don't have to check weather a tag is cut into pieces, cause we don't cut the post.calproye wrote:If I select "Read all", the BBCode is closed properly and the problem is out. (It's not necesary to change the number of characters.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
-
Topic author - Translator
- Posts: 19
- Joined: 19. May 2008 12:35
- Location: Madrid - ES
- Contact:
Re: A very strange thing with the portal
I'm going to look for that kind of string. I've got another portal (for testing). If I find something , that it doesn't work properly I write a post (here)Kevin wrote: We have tested it with all standard bbcodes and even with custom bbcodes. So it would be interesting to know which bbcode causes your problem.
In best case you could search for the exact string in your database and post it here. It should look something like this:Code: Select all
Opensource CMS [url=http://www.typo3.com:f17dbgsh]Typo3[/url:f17dbgsh] wärmstens
Well. It's obviously, but this information (I think) not: the problem only happens with prosilver style ( My portal has three diferent styles. The users can choose: prosilver, subsilver2 and BF_Vista style (is based on subsilver2). The "sub2" and "BF" work properly, but prosilver style NOT ¿¿??Okay, this is not surprising, as we can take the bbcode in this case as it is - we don't have to check weather a tag is cut into pieces, cause we don't cut the post.calproye wrote:If I select "Read all", the BBCode is closed properly and the problem is out. (It's not necesary to change the number of characters.
example for subsilver2
If the function doesn't work properly, shouldn't it be wrong for ALL styles?
-
Topic author - Translator
- Posts: 19
- Joined: 19. May 2008 12:35
- Location: Madrid - ES
- Contact:
Re: A very strange thing with the portal
This is THE post:
Best regards
Code: Select all
[/align:3gze1ji0]', 'c8959aa7ec7aebe16c1dec9f6fdb1cca', 0, 'EAAAIA==', '3gze1ji0', 1, 0, '', 0, 0, 0),(504, 79, 14, 53, 0, '83.36.192.155', 1217493791, 1, 0, 1, 1, 1, 1, '', 'Re: [OTROS]Noticias Blu Ray', '[align=justify:286oarq5]Si cada dos por tres estamos publicando que si tal o cual compañía han conseguido desarrollar un disco de tal cantidad de "capas" en BR con "chorrocientos" gigas, aquí tenemos una noticia mas interesante, dado que no tiene capas, guarda la información en todo el espacio 3D que ocupa el disco. A efectos prácticos es como si fuera un holograma, el resultado es: [url=http://www.cdfreaks.com/news/News-in-technology-Three-dimensional-optical-storage.html:286oarq5]News in technology: Three dimensional optical storage - 1 Terabyte[/url:286oarq5]\n\n\nSaludos <!-- s:saludos: --><img src=\"{SMILIES_PATH}/Hola.gif\" alt=\":saludos:\" title=\"Saludos\" /><!-- s:saludos: -->
Best regards