Function that deal with bbcodes

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Anti-Spam Guide
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
brasil
Registered User
Posts: 226
Joined: Sat Apr 16, 2005 11:02 pm
Location: São Paulo/SP/BR
Name: Augusto Bittencourt
Contact:

Function that deal with bbcodes

Post by brasil » Wed Jun 16, 2010 5:46 pm

Hello,

First of all, thanks for the help.

I would like to know, where is located the function that deals with BBCode, if I insert : ) (without spaces) it interprets and return the smili :)

I would like to change a few things in this function.

Thanks.
Versão 3.0.7 do pacote de idiomas já está disponível para donwload.
Version 3.0.7 language pack pt_br is updated and ready to download.
Procurando parcerias, favor entrar em contato por MP.
Searching for partnership´s, please send me a PM.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51402
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Function that deal with bbcodes

Post by Brf » Wed Jun 16, 2010 6:03 pm

That is not a bbcode. It is a smilie.

User avatar
brasil
Registered User
Posts: 226
Joined: Sat Apr 16, 2005 11:02 pm
Location: São Paulo/SP/BR
Name: Augusto Bittencourt
Contact:

Re: Function that deal with bbcodes

Post by brasil » Wed Jun 16, 2010 6:13 pm

Brf wrote:That is not a bbcode. It is a smilie.
Sorry, my bad! I would like to treat the smilie.
Versão 3.0.7 do pacote de idiomas já está disponível para donwload.
Version 3.0.7 language pack pt_br is updated and ready to download.
Procurando parcerias, favor entrar em contato por MP.
Searching for partnership´s, please send me a PM.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51402
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Function that deal with bbcodes

Post by Brf » Wed Jun 16, 2010 6:18 pm

Where did you want to "treat" it? Between posting and the database, or between the database and display?
For the first it would be message_parser.php. For the second, functions_content.php.

User avatar
brasil
Registered User
Posts: 226
Joined: Sat Apr 16, 2005 11:02 pm
Location: São Paulo/SP/BR
Name: Augusto Bittencourt
Contact:

Re: Function that deal with bbcodes

Post by brasil » Wed Jun 16, 2010 6:23 pm

Brf wrote:Where did you want to "treat" it? Between posting and the database, or between the database and display?
For the first it would be message_parser.php. For the second, functions_content.php.
In the second case, my problem is related to the post. If in my content it is separated from the word, like: :) it will show the smilie, but if it is merged with the word, it will be like this: teste:)

I would like to interpreted this last smilie.

Thanks.
Versão 3.0.7 do pacote de idiomas já está disponível para donwload.
Version 3.0.7 language pack pt_br is updated and ready to download.
Procurando parcerias, favor entrar em contato por MP.
Searching for partnership´s, please send me a PM.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51402
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Function that deal with bbcodes

Post by Brf » Wed Jun 16, 2010 6:38 pm

Then that would be parsing it, before it is stored in the database. That would be in message_parser.php

User avatar
brasil
Registered User
Posts: 226
Joined: Sat Apr 16, 2005 11:02 pm
Location: São Paulo/SP/BR
Name: Augusto Bittencourt
Contact:

Re: Function that deal with bbcodes

Post by brasil » Wed Jun 16, 2010 6:46 pm

Brf wrote:Then that would be parsing it, before it is stored in the database. That would be in message_parser.php
Ok, thanks, I will try to edit it.
Versão 3.0.7 do pacote de idiomas já está disponível para donwload.
Version 3.0.7 language pack pt_br is updated and ready to download.
Procurando parcerias, favor entrar em contato por MP.
Searching for partnership´s, please send me a PM.

Locked

Return to “[3.0.x] Support Forum”

Who is online

Users browsing this forum: No registered users and 56 guests