FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » new forums created via api are not visibile
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
new forums created via api are not visibile [message #187960] Wed, 28 October 2020 10:07 Go to previous message
atrebbi is currently offline  atrebbi   United States
Messages: 11
Registered: June 2020
Karma:
Junior Member
If I create a new forum via API, i.e with the following code, the forum seems ok in administration panel but is not visibile in frontend

If I change category to the forum, the problem get fixed ;
am I missing anything in forum creation ? I noticed there's some sort of synch command (for groups, that are created together with forum, do they need synch?)


==================================================
$f = new fud_forum;

$f->cat_id = 8;

$f->name = $newsgroup;


$areadescr = $echoareadesc[strtoupper($newsgroup)];
if (!$areadescr)
$areadescr = "New Echomail Area ".$newsgroup;

$f->descr = $areadescr;
$f->max_file_attachments = 0;
$f->max_attach_size = 2048;
$f->forum_opt = 10;

$fid = $f->add('LAST');
[Message index]
 
Read Message
Read Message
Previous Topic: backup via script
Next Topic: login with facebook
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu May 09 03:58:23 GMT 2024

Total time taken to generate the page: 0.03993 seconds