Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Tapatalk postbit_firstpost
matulek Offline
Junior Member
**
Posts: 9
Joined: Oct 2010
Post: #8
RE: Tapatalk postbit_firstpost
Hey i tried to add xthreads fields to tapatalk. I managed to do that but..

I use function to take fields from database.

$fdesc = $db->simple_select('threadfields_data', 'fdesc', "tid='$tid'");
$row3 = $db->fetch_array($fdesc);
$wiadomosc = $post['message'];
$fdesc = $row3['fdesc'];
$fdesc = $parser->parse_message($fdesc, $parser_options);
$opis = $parser->parse_message($opis, $parser_options);
if($thread['firstpost'] == $post['pid']) {
$post['message'] = $fdesc.++$wiadomosc;
}
if($fdesc == 1) {
$post['message'] = $wiadomosc;
} else {

}
can You write for me code to add image? i have field called "screen" and it is a img file, but in database there is only number of that image. how can i manage that img on my script?
09-19-2011 07:06 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Tapatalk postbit_firstpost - matulek - 09-07-2011, 12:23 AM
RE: Tapatalk postbit_firstpost - RateU - 09-07-2011, 04:41 AM
RE: Tapatalk postbit_firstpost - matulek - 09-08-2011, 03:03 AM
RE: Tapatalk postbit_firstpost - RateU - 09-08-2011, 04:38 AM
RE: Tapatalk postbit_firstpost - matulek - 09-08-2011, 06:17 AM
RE: Tapatalk postbit_firstpost - matulek - 09-08-2011, 07:20 AM
RE: Tapatalk postbit_firstpost - matulek - 09-19-2011 07:06 AM

 Standard Tools
Forum Jump: