insert a message as phpbb

This forum is now closed as part of retiring phpBB2.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
remid1985
Registered User
Posts: 47
Joined: Wed Jun 04, 2003 9:17 pm

insert a message as phpbb

Post by remid1985 » Wed Jun 25, 2003 9:34 pm

I d like to use the system of phpbb for insert a message in the database.
I succeeded in the inverse operation , namely the operations of viewtopic .

Extract a text of phpbb_texte and show it but the inverse operation that posting.php realise i don't succeed.

How do i do ?
Imagine
$message = " [code]Hello i m Neo[/code] [color=red]I love informatic[/color] ";

for get in the databse , $message must undergo operations , fonctions ?

Which ?

i know there are in functions _ posts but how use that ?

netclectic
Former Team Member
Posts: 4439
Joined: Wed Mar 13, 2002 3:08 pm
Location: Omnipresent
Contact:

Post by netclectic » Wed Jun 25, 2003 10:02 pm

Defend the game:
Image

remid1985
Registered User
Posts: 47
Joined: Wed Jun 04, 2003 9:17 pm

Post by remid1985 » Wed Jun 25, 2003 10:19 pm

WIll you be able to show me only the fonctions that permits to transform only the message .

The others things don't interest me because in fact it concerns a table article where there isn't forum_id..... but only bbocde_iud and message and subject

LifeIsPain
Former Team Member
Posts: 2148
Joined: Tue Oct 01, 2002 7:04 am
Location: Way Way Behind

Post by LifeIsPain » Thu Jun 26, 2003 3:00 am

Take a look at This on using bbcode.php externally. If I am not mistaken, this should at least help you :)
LifeIsPain - one who needs to be smackedLife is pain, highness! Anyone who says differently is selling something.

remid1985
Registered User
Posts: 47
Joined: Wed Jun 04, 2003 9:17 pm

Post by remid1985 » Thu Jun 26, 2003 12:53 pm

thanks a lot :lol:

gamezz
Registered User
Posts: 11
Joined: Thu Jun 26, 2003 12:11 pm

Post by gamezz » Thu Jun 26, 2003 12:58 pm

thank you
it's good
gamez1.vze.com
8)

Post Reply

Return to “[2.0.x] MOD Writers Discussion”