MyBB Hacks

Full Version: Tapatalk postbit_firstpost
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
im using xThreads in my forum, but i want to use a tapatalk too. The problem is, that Tapatalk doesn't show firstpost. Can someone help me with that?
(09-07-2011 12:23 AM)matulek Wrote: [ -> ]that Tapatalk doesn't show firstpost.

Do you mean the entire postbit_first, or XThreads contents in postbit_first?
Does Tapatalk even use the MyBB template system?
From my understanding it's all client rendered, but I don't use the application so I wouldn't know.
i mean entire postbit_first.
It has it's own system to generate posts so i resigned of it.

but i have another question. now i try to use Go Mobile for Mybb - it's plugin to change tamplete for mobile browsers.
I'm able to add postbit_first, but my question is can i have two separate postbit_first for one forum? couse it is in Default templates and it is same for all templates. but is there a posibility to have postbit_first separate for any template? i think it's not posible couse my forum has prefixes like android_postbit_first . Can i have two of it?
Maybe you can try creating the template_prefix_postbit_first directly in the Go Mobile template sets? For example, if you use myprefix_ as template prefix for a forum, you can try to create the myprefix_postbit_first in Global Templates for "normal" layout, and create myprefix_postbit_first in the Go Mobile template sets for mobile layout.
ok. i will try it, and write here if its working.
ok it worksWink thank You very muchSmile

p.s. sorry for my bad englishBiggrin
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?
Reference URL's