e107_plugins/forum/forum_admin.php
Avoid too many return
statements within this method. Open
Open
return $ret;
Assigning array<string></string>
to property but \forum_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},forum_id:array{title:'ID',type:'number',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_name:array{title:'Title',type:'method',inline:true,data:'str',width:'40%',help:'Use only plain text \x28no bbcode or html allowed!\x29',readParms:'',writeParms:'',validate:true,class:'left',thclass:'left'},forum_sef:array{title:'SEF URL',type:'text',batch:true,inline:true,noedit:false,data:'str',width:'auto',help:'Leave blank to auto-generate it from the title above.',readParms:'',writeParms:'sef=forum_name&size=xxlarge',class:'left',thclass:'left'},forum_description:array{title:'Description',type:'textarea',data:'str',width:'30%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_image:array{title:'Image',type:'image',batch:false,inline:false,noedit:false,data:'str',width:'auto',help:'Image that will be displayed using \x7bFORUMIMAGE\x7d',readParms:'',writeParms:'media=forum&max=1',class:'center',thclass:'center'},forum_icon:array{title:'Icon',type:'icon',data:'str',width:'auto',help:'Icon that will be displayed using \x7bFORUMICON\x7d',readParms:'',writeParms:'',class:'left',thclass:'center'},forum_parent:array{title:'Parents',type:'dropdown',data:'int',width:'10%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_sub:array{title:'Sub-forum',type:'dropdown',data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},forum_moderators:array{title:'Moderator\x28s\x29',type:'userclass',inline:true,data:'int',width:'auto',help:'',readParms:'classlist=admin,main,classes',writeParms:'classlist=admin,main,mods,classes',class:'left',thclass:'left'},forum_threads:array{title:'Topic',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_replies:array{title:'Replies',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_user:array{title:'Author',type:'hidden',noedit:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_lastpost_user_anon:array{title:'User-Anon',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_info:array{title:'Latest Posts',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_class:array{title:'Visibility',type:'userclass',data:'int',width:'auto',batch:true,filter:true,inline:true,help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},class:'left',thclass:'left'},forum_order:array{title:'Order',type:'text',data:'int',inline:true,width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_postclass:array{title:'Post Permission',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_threadclass:array{title:'Thread Creation Class',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',noedit:true,width:'auto',filter:true,help:'',readParms:'',writeParms:'',class:'right',thclass:'center'},forum_options:array{title:'Options',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},options:array{title:'Options',type:null,data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',sort:1}}
Open
Open
$this->fields['forum_sub']['writeParms']['optArray'] = $forumSubParents;
- Exclude checks
Assigning array<string default></string>
to property but \forum_ui->prefs
is array{enclose:array{title:'Enclose tables',type:'boolean',data:'int',help:'Tick this to render the forum within theme table'},title:array{title:'Forum Title',type:'text',data:'str',help:''},notify:array{title:'Enable email notification',type:'boolean',data:'int',help:'Tick this to allow your users to have the option of receiving an email when somebody replies to their post'},notify_on:array{title:'email notification ON by default',type:'boolean',data:'int',help:'Tick this to allow make the email notification checkbox be on by default'},poll:array{title:'Enable polls for',type:'userclass',data:'int',help:'Select userclass allowed to create polls in the forums'},attach:array{title:'Enable file / image attachments',type:'boolean',data:'str',help:'Allow users to upload file or image with their forum post,'},maxwidth:array{title:'Maximum width of uploaded image',type:'number',data:'str',help:'Leave blank to let the theme template decide.'},linkimg:array{title:'Create link to full size image',type:'boolean',data:'int',help:'Enabling this will resize larger images and also create a link to the original full size image. If disabled, original image will be discarded'},track:array{title:'Topic tracking',type:'boolean',data:'int',help:'Enable this to allow your users to track topics.'},trackemail:array{title:'Topic tracking email notifications',type:'boolean',data:'int',help:'Enable this option to allow your users to receive email notifications when others reply to a tracked topic.'},redirect:array{title:'Enable Redirect',type:'boolean',data:'int',help:'Tick this to make browser redirect to forum page after replying'},tooltip:array{title:'Show Tooltips',type:'boolean',data:'int',help:'Tick here to show a tooltip containing the first post of the thread when mouse hovers over thread name. '},ranks:array{title:'Display Ranks',type:'boolean',data:'int',help:''},tiplength:array{title:'Length of tooltip',type:'number',data:'int',help:'This will determine the number of characters to display in the tooltip.'},eprefix:array{title:'Email prefix',type:'text',data:'string',help:'The text you enter will prefix the subject on any emails sent through the forum'},popular:array{title:'Popular thread threshold',type:'number',data:'int',help:'Number of posts made to a thread before it is marked as popular'},postspage:array{title:'Posts per page',type:'number',data:'int',help:'Number of posts displayed per page'},threadspage:array{title:'Threads per page',type:'number',data:'int',help:'Number of threads displayed per page'},editor:array{title:'Post editor',type:'dropdown',data:'str',readParms:array{},writeParms:array{optArray:array{},defaultValue:'default'},help:'Which editor should be used to create/edit posts?'},quickreply:array{title:'Quick reply editor',type:'dropdown',data:'str',readParms:array{},writeParms:array{optArray:array{},defaultValue:'default'},help:''}}
Open
Open
$this->prefs['editor']['writeParms']['optArray']['default'] = FORLAN_217;
- Exclude checks
Assigning array<string></string>
to property but \forum_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},forum_id:array{title:'ID',type:'number',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_name:array{title:'Title',type:'method',inline:true,data:'str',width:'40%',help:'Use only plain text \x28no bbcode or html allowed!\x29',readParms:'',writeParms:'',validate:true,class:'left',thclass:'left'},forum_sef:array{title:'SEF URL',type:'text',batch:true,inline:true,noedit:false,data:'str',width:'auto',help:'Leave blank to auto-generate it from the title above.',readParms:'',writeParms:'sef=forum_name&size=xxlarge',class:'left',thclass:'left'},forum_description:array{title:'Description',type:'textarea',data:'str',width:'30%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_image:array{title:'Image',type:'image',batch:false,inline:false,noedit:false,data:'str',width:'auto',help:'Image that will be displayed using \x7bFORUMIMAGE\x7d',readParms:'',writeParms:'media=forum&max=1',class:'center',thclass:'center'},forum_icon:array{title:'Icon',type:'icon',data:'str',width:'auto',help:'Icon that will be displayed using \x7bFORUMICON\x7d',readParms:'',writeParms:'',class:'left',thclass:'center'},forum_parent:array{title:'Parents',type:'dropdown',data:'int',width:'10%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_sub:array{title:'Sub-forum',type:'dropdown',data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},forum_moderators:array{title:'Moderator\x28s\x29',type:'userclass',inline:true,data:'int',width:'auto',help:'',readParms:'classlist=admin,main,classes',writeParms:'classlist=admin,main,mods,classes',class:'left',thclass:'left'},forum_threads:array{title:'Topic',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_replies:array{title:'Replies',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_user:array{title:'Author',type:'hidden',noedit:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_lastpost_user_anon:array{title:'User-Anon',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_info:array{title:'Latest Posts',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_class:array{title:'Visibility',type:'userclass',data:'int',width:'auto',batch:true,filter:true,inline:true,help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},class:'left',thclass:'left'},forum_order:array{title:'Order',type:'text',data:'int',inline:true,width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_postclass:array{title:'Post Permission',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_threadclass:array{title:'Thread Creation Class',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',noedit:true,width:'auto',filter:true,help:'',readParms:'',writeParms:'',class:'right',thclass:'center'},forum_options:array{title:'Options',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},options:array{title:'Options',type:null,data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',sort:1}}
Open
Open
$this->fields['forum_moderators']['width'] = '50%';
- Exclude checks
Assigning array<string></string>
to property but \forum_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},forum_id:array{title:'ID',type:'number',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_name:array{title:'Title',type:'method',inline:true,data:'str',width:'40%',help:'Use only plain text \x28no bbcode or html allowed!\x29',readParms:'',writeParms:'',validate:true,class:'left',thclass:'left'},forum_sef:array{title:'SEF URL',type:'text',batch:true,inline:true,noedit:false,data:'str',width:'auto',help:'Leave blank to auto-generate it from the title above.',readParms:'',writeParms:'sef=forum_name&size=xxlarge',class:'left',thclass:'left'},forum_description:array{title:'Description',type:'textarea',data:'str',width:'30%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_image:array{title:'Image',type:'image',batch:false,inline:false,noedit:false,data:'str',width:'auto',help:'Image that will be displayed using \x7bFORUMIMAGE\x7d',readParms:'',writeParms:'media=forum&max=1',class:'center',thclass:'center'},forum_icon:array{title:'Icon',type:'icon',data:'str',width:'auto',help:'Icon that will be displayed using \x7bFORUMICON\x7d',readParms:'',writeParms:'',class:'left',thclass:'center'},forum_parent:array{title:'Parents',type:'dropdown',data:'int',width:'10%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_sub:array{title:'Sub-forum',type:'dropdown',data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},forum_moderators:array{title:'Moderator\x28s\x29',type:'userclass',inline:true,data:'int',width:'auto',help:'',readParms:'classlist=admin,main,classes',writeParms:'classlist=admin,main,mods,classes',class:'left',thclass:'left'},forum_threads:array{title:'Topic',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_replies:array{title:'Replies',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_user:array{title:'Author',type:'hidden',noedit:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_lastpost_user_anon:array{title:'User-Anon',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_info:array{title:'Latest Posts',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_class:array{title:'Visibility',type:'userclass',data:'int',width:'auto',batch:true,filter:true,inline:true,help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},class:'left',thclass:'left'},forum_order:array{title:'Order',type:'text',data:'int',inline:true,width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_postclass:array{title:'Post Permission',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_threadclass:array{title:'Thread Creation Class',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',noedit:true,width:'auto',filter:true,help:'',readParms:'',writeParms:'',class:'right',thclass:'center'},forum_options:array{title:'Options',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},options:array{title:'Options',type:null,data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',sort:1}}
Open
Open
$this->fields['forum_order']['noedit'] = true;
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (!getperms('P'))
- Exclude checks
Assigning array<string class="\'label" label-important label-danger installed></string>
to property but \forum_ui->prefs
is array{enclose:array{title:'Enclose tables',type:'boolean',data:'int',help:'Tick this to render the forum within theme table'},title:array{title:'Forum Title',type:'text',data:'str',help:''},notify:array{title:'Enable email notification',type:'boolean',data:'int',help:'Tick this to allow your users to have the option of receiving an email when somebody replies to their post'},notify_on:array{title:'email notification ON by default',type:'boolean',data:'int',help:'Tick this to allow make the email notification checkbox be on by default'},poll:array{title:'Enable polls for',type:'userclass',data:'int',help:'Select userclass allowed to create polls in the forums'},attach:array{title:'Enable file / image attachments',type:'boolean',data:'str',help:'Allow users to upload file or image with their forum post,'},maxwidth:array{title:'Maximum width of uploaded image',type:'number',data:'str',help:'Leave blank to let the theme template decide.'},linkimg:array{title:'Create link to full size image',type:'boolean',data:'int',help:'Enabling this will resize larger images and also create a link to the original full size image. If disabled, original image will be discarded'},track:array{title:'Topic tracking',type:'boolean',data:'int',help:'Enable this to allow your users to track topics.'},trackemail:array{title:'Topic tracking email notifications',type:'boolean',data:'int',help:'Enable this option to allow your users to receive email notifications when others reply to a tracked topic.'},redirect:array{title:'Enable Redirect',type:'boolean',data:'int',help:'Tick this to make browser redirect to forum page after replying'},tooltip:array{title:'Show Tooltips',type:'boolean',data:'int',help:'Tick here to show a tooltip containing the first post of the thread when mouse hovers over thread name. '},ranks:array{title:'Display Ranks',type:'boolean',data:'int',help:''},tiplength:array{title:'Length of tooltip',type:'number',data:'int',help:'This will determine the number of characters to display in the tooltip.'},eprefix:array{title:'Email prefix',type:'text',data:'string',help:'The text you enter will prefix the subject on any emails sent through the forum'},popular:array{title:'Popular thread threshold',type:'number',data:'int',help:'Number of posts made to a thread before it is marked as popular'},postspage:array{title:'Posts per page',type:'number',data:'int',help:'Number of posts displayed per page'},threadspage:array{title:'Threads per page',type:'number',data:'int',help:'Number of threads displayed per page'},editor:array{title:'Post editor',type:'dropdown',data:'str',readParms:array{},writeParms:array{optArray:array{},defaultValue:'default'},help:'Which editor should be used to create/edit posts?'},quickreply:array{title:'Quick reply editor',type:'dropdown',data:'str',readParms:array{},writeParms:array{optArray:array{},defaultValue:'default'},help:''}}
Open
Open
$this->prefs['poll']['writeParms']['post'] = " <span class='label label-important label-danger'>".FORLAN_215."</span>";
- Exclude checks
Assigning array<string></string>
to property but \forum_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},forum_id:array{title:'ID',type:'number',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_name:array{title:'Title',type:'method',inline:true,data:'str',width:'40%',help:'Use only plain text \x28no bbcode or html allowed!\x29',readParms:'',writeParms:'',validate:true,class:'left',thclass:'left'},forum_sef:array{title:'SEF URL',type:'text',batch:true,inline:true,noedit:false,data:'str',width:'auto',help:'Leave blank to auto-generate it from the title above.',readParms:'',writeParms:'sef=forum_name&size=xxlarge',class:'left',thclass:'left'},forum_description:array{title:'Description',type:'textarea',data:'str',width:'30%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_image:array{title:'Image',type:'image',batch:false,inline:false,noedit:false,data:'str',width:'auto',help:'Image that will be displayed using \x7bFORUMIMAGE\x7d',readParms:'',writeParms:'media=forum&max=1',class:'center',thclass:'center'},forum_icon:array{title:'Icon',type:'icon',data:'str',width:'auto',help:'Icon that will be displayed using \x7bFORUMICON\x7d',readParms:'',writeParms:'',class:'left',thclass:'center'},forum_parent:array{title:'Parents',type:'dropdown',data:'int',width:'10%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_sub:array{title:'Sub-forum',type:'dropdown',data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},forum_moderators:array{title:'Moderator\x28s\x29',type:'userclass',inline:true,data:'int',width:'auto',help:'',readParms:'classlist=admin,main,classes',writeParms:'classlist=admin,main,mods,classes',class:'left',thclass:'left'},forum_threads:array{title:'Topic',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_replies:array{title:'Replies',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_user:array{title:'Author',type:'hidden',noedit:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_lastpost_user_anon:array{title:'User-Anon',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_info:array{title:'Latest Posts',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_class:array{title:'Visibility',type:'userclass',data:'int',width:'auto',batch:true,filter:true,inline:true,help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},class:'left',thclass:'left'},forum_order:array{title:'Order',type:'text',data:'int',inline:true,width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_postclass:array{title:'Post Permission',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_threadclass:array{title:'Thread Creation Class',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',noedit:true,width:'auto',filter:true,help:'',readParms:'',writeParms:'',class:'right',thclass:'center'},forum_options:array{title:'Options',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},options:array{title:'Options',type:null,data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',sort:1}}
Open
Open
$this->fields['options']['nolist'] = true;
- Exclude checks
Assigning array<string></string>
to property but \forum_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},forum_id:array{title:'ID',type:'number',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_name:array{title:'Title',type:'method',inline:true,data:'str',width:'40%',help:'Use only plain text \x28no bbcode or html allowed!\x29',readParms:'',writeParms:'',validate:true,class:'left',thclass:'left'},forum_sef:array{title:'SEF URL',type:'text',batch:true,inline:true,noedit:false,data:'str',width:'auto',help:'Leave blank to auto-generate it from the title above.',readParms:'',writeParms:'sef=forum_name&size=xxlarge',class:'left',thclass:'left'},forum_description:array{title:'Description',type:'textarea',data:'str',width:'30%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_image:array{title:'Image',type:'image',batch:false,inline:false,noedit:false,data:'str',width:'auto',help:'Image that will be displayed using \x7bFORUMIMAGE\x7d',readParms:'',writeParms:'media=forum&max=1',class:'center',thclass:'center'},forum_icon:array{title:'Icon',type:'icon',data:'str',width:'auto',help:'Icon that will be displayed using \x7bFORUMICON\x7d',readParms:'',writeParms:'',class:'left',thclass:'center'},forum_parent:array{title:'Parents',type:'dropdown',data:'int',width:'10%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_sub:array{title:'Sub-forum',type:'dropdown',data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},forum_moderators:array{title:'Moderator\x28s\x29',type:'userclass',inline:true,data:'int',width:'auto',help:'',readParms:'classlist=admin,main,classes',writeParms:'classlist=admin,main,mods,classes',class:'left',thclass:'left'},forum_threads:array{title:'Topic',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_replies:array{title:'Replies',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_user:array{title:'Author',type:'hidden',noedit:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_lastpost_user_anon:array{title:'User-Anon',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_info:array{title:'Latest Posts',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_class:array{title:'Visibility',type:'userclass',data:'int',width:'auto',batch:true,filter:true,inline:true,help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},class:'left',thclass:'left'},forum_order:array{title:'Order',type:'text',data:'int',inline:true,width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_postclass:array{title:'Post Permission',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_threadclass:array{title:'Thread Creation Class',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',noedit:true,width:'auto',filter:true,help:'',readParms:'',writeParms:'',class:'right',thclass:'center'},forum_options:array{title:'Options',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},options:array{title:'Options',type:null,data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',sort:1}}
Open
Open
$this->fields['forum_postclass']['batch'] = false;
- Exclude checks
Assigning array<string></string>
to property but \forum_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},forum_id:array{title:'ID',type:'number',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_name:array{title:'Title',type:'method',inline:true,data:'str',width:'40%',help:'Use only plain text \x28no bbcode or html allowed!\x29',readParms:'',writeParms:'',validate:true,class:'left',thclass:'left'},forum_sef:array{title:'SEF URL',type:'text',batch:true,inline:true,noedit:false,data:'str',width:'auto',help:'Leave blank to auto-generate it from the title above.',readParms:'',writeParms:'sef=forum_name&size=xxlarge',class:'left',thclass:'left'},forum_description:array{title:'Description',type:'textarea',data:'str',width:'30%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_image:array{title:'Image',type:'image',batch:false,inline:false,noedit:false,data:'str',width:'auto',help:'Image that will be displayed using \x7bFORUMIMAGE\x7d',readParms:'',writeParms:'media=forum&max=1',class:'center',thclass:'center'},forum_icon:array{title:'Icon',type:'icon',data:'str',width:'auto',help:'Icon that will be displayed using \x7bFORUMICON\x7d',readParms:'',writeParms:'',class:'left',thclass:'center'},forum_parent:array{title:'Parents',type:'dropdown',data:'int',width:'10%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_sub:array{title:'Sub-forum',type:'dropdown',data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},forum_moderators:array{title:'Moderator\x28s\x29',type:'userclass',inline:true,data:'int',width:'auto',help:'',readParms:'classlist=admin,main,classes',writeParms:'classlist=admin,main,mods,classes',class:'left',thclass:'left'},forum_threads:array{title:'Topic',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_replies:array{title:'Replies',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_user:array{title:'Author',type:'hidden',noedit:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_lastpost_user_anon:array{title:'User-Anon',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_info:array{title:'Latest Posts',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_class:array{title:'Visibility',type:'userclass',data:'int',width:'auto',batch:true,filter:true,inline:true,help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},class:'left',thclass:'left'},forum_order:array{title:'Order',type:'text',data:'int',inline:true,width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_postclass:array{title:'Post Permission',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_threadclass:array{title:'Thread Creation Class',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',noedit:true,width:'auto',filter:true,help:'',readParms:'',writeParms:'',class:'right',thclass:'center'},forum_options:array{title:'Options',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},options:array{title:'Options',type:null,data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',sort:1}}
Open
Open
$this->fields['forum_sub']['writeParms']['default'] = 'blank';
- Exclude checks
Assigning array<string v1.x forum upgrade></string>
to property but \forum_admin->adminMenu
is array<string>>|array{main/list:array{caption:'Manage',perm:'P'},main/create:array{caption:'Create',perm:'P'},main/opt1:array{divider:true},main/rules:array{caption:'Set Forum Rules',perm:'P'},mods/list:array{caption:'Moderator\x28s\x29',perm:'P',icon:'fas-user-tie'},main/prefs:array{caption:'Preferences',perm:'P'},main/opt2:array{divider:true},report/list:array{caption:'Reported Posts',perm:'P',icon:'fas-flag'},post/list:array{caption:'Latest Posts',perm:'P'},main/prune:array{caption:'Prune',perm:'P',icon:'fas-filter'},main/tools:array{caption:'Tools',perm:'p'}}</string>
Open
Open
$this->adminMenu['main/update'] = array('caption'=>"Redo v1.x Forum Upgrade", 'perm'=>0, 'uri'=>'{e_PLUGIN}forum/forum_update.php');
- Exclude checks
Assigning array<string text editor></string>
to property but \forum_ui->prefs
is array{enclose:array{title:'Enclose tables',type:'boolean',data:'int',help:'Tick this to render the forum within theme table'},title:array{title:'Forum Title',type:'text',data:'str',help:''},notify:array{title:'Enable email notification',type:'boolean',data:'int',help:'Tick this to allow your users to have the option of receiving an email when somebody replies to their post'},notify_on:array{title:'email notification ON by default',type:'boolean',data:'int',help:'Tick this to allow make the email notification checkbox be on by default'},poll:array{title:'Enable polls for',type:'userclass',data:'int',help:'Select userclass allowed to create polls in the forums'},attach:array{title:'Enable file / image attachments',type:'boolean',data:'str',help:'Allow users to upload file or image with their forum post,'},maxwidth:array{title:'Maximum width of uploaded image',type:'number',data:'str',help:'Leave blank to let the theme template decide.'},linkimg:array{title:'Create link to full size image',type:'boolean',data:'int',help:'Enabling this will resize larger images and also create a link to the original full size image. If disabled, original image will be discarded'},track:array{title:'Topic tracking',type:'boolean',data:'int',help:'Enable this to allow your users to track topics.'},trackemail:array{title:'Topic tracking email notifications',type:'boolean',data:'int',help:'Enable this option to allow your users to receive email notifications when others reply to a tracked topic.'},redirect:array{title:'Enable Redirect',type:'boolean',data:'int',help:'Tick this to make browser redirect to forum page after replying'},tooltip:array{title:'Show Tooltips',type:'boolean',data:'int',help:'Tick here to show a tooltip containing the first post of the thread when mouse hovers over thread name. '},ranks:array{title:'Display Ranks',type:'boolean',data:'int',help:''},tiplength:array{title:'Length of tooltip',type:'number',data:'int',help:'This will determine the number of characters to display in the tooltip.'},eprefix:array{title:'Email prefix',type:'text',data:'string',help:'The text you enter will prefix the subject on any emails sent through the forum'},popular:array{title:'Popular thread threshold',type:'number',data:'int',help:'Number of posts made to a thread before it is marked as popular'},postspage:array{title:'Posts per page',type:'number',data:'int',help:'Number of posts displayed per page'},threadspage:array{title:'Threads per page',type:'number',data:'int',help:'Number of threads displayed per page'},editor:array{title:'Post editor',type:'dropdown',data:'str',readParms:array{},writeParms:array{optArray:array{},defaultValue:'default'},help:'Which editor should be used to create/edit posts?'},quickreply:array{title:'Quick reply editor',type:'dropdown',data:'str',readParms:array{},writeParms:array{optArray:array{},defaultValue:'default'},help:''}}
Open
Open
$this->prefs['quickreply']['writeParms']['optArray'] = array(
- Exclude checks
Assigning array<string></string>
to property but \forum_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},forum_id:array{title:'ID',type:'number',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_name:array{title:'Title',type:'method',inline:true,data:'str',width:'40%',help:'Use only plain text \x28no bbcode or html allowed!\x29',readParms:'',writeParms:'',validate:true,class:'left',thclass:'left'},forum_sef:array{title:'SEF URL',type:'text',batch:true,inline:true,noedit:false,data:'str',width:'auto',help:'Leave blank to auto-generate it from the title above.',readParms:'',writeParms:'sef=forum_name&size=xxlarge',class:'left',thclass:'left'},forum_description:array{title:'Description',type:'textarea',data:'str',width:'30%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_image:array{title:'Image',type:'image',batch:false,inline:false,noedit:false,data:'str',width:'auto',help:'Image that will be displayed using \x7bFORUMIMAGE\x7d',readParms:'',writeParms:'media=forum&max=1',class:'center',thclass:'center'},forum_icon:array{title:'Icon',type:'icon',data:'str',width:'auto',help:'Icon that will be displayed using \x7bFORUMICON\x7d',readParms:'',writeParms:'',class:'left',thclass:'center'},forum_parent:array{title:'Parents',type:'dropdown',data:'int',width:'10%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_sub:array{title:'Sub-forum',type:'dropdown',data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},forum_moderators:array{title:'Moderator\x28s\x29',type:'userclass',inline:true,data:'int',width:'auto',help:'',readParms:'classlist=admin,main,classes',writeParms:'classlist=admin,main,mods,classes',class:'left',thclass:'left'},forum_threads:array{title:'Topic',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_replies:array{title:'Replies',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_user:array{title:'Author',type:'hidden',noedit:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_lastpost_user_anon:array{title:'User-Anon',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_info:array{title:'Latest Posts',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_class:array{title:'Visibility',type:'userclass',data:'int',width:'auto',batch:true,filter:true,inline:true,help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},class:'left',thclass:'left'},forum_order:array{title:'Order',type:'text',data:'int',inline:true,width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_postclass:array{title:'Post Permission',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_threadclass:array{title:'Thread Creation Class',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',noedit:true,width:'auto',filter:true,help:'',readParms:'',writeParms:'',class:'right',thclass:'center'},forum_options:array{title:'Options',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},options:array{title:'Options',type:null,data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',sort:1}}
Open
Open
$this->fields['options']['forced'] = false;
- Exclude checks
Assigning array<string></string>
to property but \forum_ui->prefs
is array{enclose:array{title:'Enclose tables',type:'boolean',data:'int',help:'Tick this to render the forum within theme table'},title:array{title:'Forum Title',type:'text',data:'str',help:''},notify:array{title:'Enable email notification',type:'boolean',data:'int',help:'Tick this to allow your users to have the option of receiving an email when somebody replies to their post'},notify_on:array{title:'email notification ON by default',type:'boolean',data:'int',help:'Tick this to allow make the email notification checkbox be on by default'},poll:array{title:'Enable polls for',type:'userclass',data:'int',help:'Select userclass allowed to create polls in the forums'},attach:array{title:'Enable file / image attachments',type:'boolean',data:'str',help:'Allow users to upload file or image with their forum post,'},maxwidth:array{title:'Maximum width of uploaded image',type:'number',data:'str',help:'Leave blank to let the theme template decide.'},linkimg:array{title:'Create link to full size image',type:'boolean',data:'int',help:'Enabling this will resize larger images and also create a link to the original full size image. If disabled, original image will be discarded'},track:array{title:'Topic tracking',type:'boolean',data:'int',help:'Enable this to allow your users to track topics.'},trackemail:array{title:'Topic tracking email notifications',type:'boolean',data:'int',help:'Enable this option to allow your users to receive email notifications when others reply to a tracked topic.'},redirect:array{title:'Enable Redirect',type:'boolean',data:'int',help:'Tick this to make browser redirect to forum page after replying'},tooltip:array{title:'Show Tooltips',type:'boolean',data:'int',help:'Tick here to show a tooltip containing the first post of the thread when mouse hovers over thread name. '},ranks:array{title:'Display Ranks',type:'boolean',data:'int',help:''},tiplength:array{title:'Length of tooltip',type:'number',data:'int',help:'This will determine the number of characters to display in the tooltip.'},eprefix:array{title:'Email prefix',type:'text',data:'string',help:'The text you enter will prefix the subject on any emails sent through the forum'},popular:array{title:'Popular thread threshold',type:'number',data:'int',help:'Number of posts made to a thread before it is marked as popular'},postspage:array{title:'Posts per page',type:'number',data:'int',help:'Number of posts displayed per page'},threadspage:array{title:'Threads per page',type:'number',data:'int',help:'Number of threads displayed per page'},editor:array{title:'Post editor',type:'dropdown',data:'str',readParms:array{},writeParms:array{optArray:array{},defaultValue:'default'},help:'Which editor should be used to create/edit posts?'},quickreply:array{title:'Quick reply editor',type:'dropdown',data:'str',readParms:array{},writeParms:array{optArray:array{},defaultValue:'default'},help:''}}
Open
Open
$this->prefs['editor']['writeParms']['optArray'] = array_merge($this->prefs['editor']['writeParms']['optArray'], $editors);
- Exclude checks
Assigning array<string></string>
to property but \forum_ui->prefs
is array{enclose:array{title:'Enclose tables',type:'boolean',data:'int',help:'Tick this to render the forum within theme table'},title:array{title:'Forum Title',type:'text',data:'str',help:''},notify:array{title:'Enable email notification',type:'boolean',data:'int',help:'Tick this to allow your users to have the option of receiving an email when somebody replies to their post'},notify_on:array{title:'email notification ON by default',type:'boolean',data:'int',help:'Tick this to allow make the email notification checkbox be on by default'},poll:array{title:'Enable polls for',type:'userclass',data:'int',help:'Select userclass allowed to create polls in the forums'},attach:array{title:'Enable file / image attachments',type:'boolean',data:'str',help:'Allow users to upload file or image with their forum post,'},maxwidth:array{title:'Maximum width of uploaded image',type:'number',data:'str',help:'Leave blank to let the theme template decide.'},linkimg:array{title:'Create link to full size image',type:'boolean',data:'int',help:'Enabling this will resize larger images and also create a link to the original full size image. If disabled, original image will be discarded'},track:array{title:'Topic tracking',type:'boolean',data:'int',help:'Enable this to allow your users to track topics.'},trackemail:array{title:'Topic tracking email notifications',type:'boolean',data:'int',help:'Enable this option to allow your users to receive email notifications when others reply to a tracked topic.'},redirect:array{title:'Enable Redirect',type:'boolean',data:'int',help:'Tick this to make browser redirect to forum page after replying'},tooltip:array{title:'Show Tooltips',type:'boolean',data:'int',help:'Tick here to show a tooltip containing the first post of the thread when mouse hovers over thread name. '},ranks:array{title:'Display Ranks',type:'boolean',data:'int',help:''},tiplength:array{title:'Length of tooltip',type:'number',data:'int',help:'This will determine the number of characters to display in the tooltip.'},eprefix:array{title:'Email prefix',type:'text',data:'string',help:'The text you enter will prefix the subject on any emails sent through the forum'},popular:array{title:'Popular thread threshold',type:'number',data:'int',help:'Number of posts made to a thread before it is marked as popular'},postspage:array{title:'Posts per page',type:'number',data:'int',help:'Number of posts displayed per page'},threadspage:array{title:'Threads per page',type:'number',data:'int',help:'Number of threads displayed per page'},editor:array{title:'Post editor',type:'dropdown',data:'str',readParms:array{},writeParms:array{optArray:array{},defaultValue:'default'},help:'Which editor should be used to create/edit posts?'},quickreply:array{title:'Quick reply editor',type:'dropdown',data:'str',readParms:array{},writeParms:array{optArray:array{},defaultValue:'default'},help:''}}
Open
Open
$this->prefs['editor']['writeParms']['optArray']['bbcode'] = 'BBCode';
- Exclude checks
Assigning array<string></string>
to property but \forum_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},forum_id:array{title:'ID',type:'number',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_name:array{title:'Title',type:'method',inline:true,data:'str',width:'40%',help:'Use only plain text \x28no bbcode or html allowed!\x29',readParms:'',writeParms:'',validate:true,class:'left',thclass:'left'},forum_sef:array{title:'SEF URL',type:'text',batch:true,inline:true,noedit:false,data:'str',width:'auto',help:'Leave blank to auto-generate it from the title above.',readParms:'',writeParms:'sef=forum_name&size=xxlarge',class:'left',thclass:'left'},forum_description:array{title:'Description',type:'textarea',data:'str',width:'30%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_image:array{title:'Image',type:'image',batch:false,inline:false,noedit:false,data:'str',width:'auto',help:'Image that will be displayed using \x7bFORUMIMAGE\x7d',readParms:'',writeParms:'media=forum&max=1',class:'center',thclass:'center'},forum_icon:array{title:'Icon',type:'icon',data:'str',width:'auto',help:'Icon that will be displayed using \x7bFORUMICON\x7d',readParms:'',writeParms:'',class:'left',thclass:'center'},forum_parent:array{title:'Parents',type:'dropdown',data:'int',width:'10%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_sub:array{title:'Sub-forum',type:'dropdown',data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},forum_moderators:array{title:'Moderator\x28s\x29',type:'userclass',inline:true,data:'int',width:'auto',help:'',readParms:'classlist=admin,main,classes',writeParms:'classlist=admin,main,mods,classes',class:'left',thclass:'left'},forum_threads:array{title:'Topic',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_replies:array{title:'Replies',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_user:array{title:'Author',type:'hidden',noedit:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_lastpost_user_anon:array{title:'User-Anon',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_info:array{title:'Latest Posts',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_class:array{title:'Visibility',type:'userclass',data:'int',width:'auto',batch:true,filter:true,inline:true,help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},class:'left',thclass:'left'},forum_order:array{title:'Order',type:'text',data:'int',inline:true,width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_postclass:array{title:'Post Permission',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_threadclass:array{title:'Thread Creation Class',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',noedit:true,width:'auto',filter:true,help:'',readParms:'',writeParms:'',class:'right',thclass:'center'},forum_options:array{title:'Options',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},options:array{title:'Options',type:null,data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',sort:1}}
Open
Open
$this->fields['forum_moderators']['batch'] = true;
- Exclude checks
Assigning array<string></string>
to property but \forum_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},forum_id:array{title:'ID',type:'number',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_name:array{title:'Title',type:'method',inline:true,data:'str',width:'40%',help:'Use only plain text \x28no bbcode or html allowed!\x29',readParms:'',writeParms:'',validate:true,class:'left',thclass:'left'},forum_sef:array{title:'SEF URL',type:'text',batch:true,inline:true,noedit:false,data:'str',width:'auto',help:'Leave blank to auto-generate it from the title above.',readParms:'',writeParms:'sef=forum_name&size=xxlarge',class:'left',thclass:'left'},forum_description:array{title:'Description',type:'textarea',data:'str',width:'30%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_image:array{title:'Image',type:'image',batch:false,inline:false,noedit:false,data:'str',width:'auto',help:'Image that will be displayed using \x7bFORUMIMAGE\x7d',readParms:'',writeParms:'media=forum&max=1',class:'center',thclass:'center'},forum_icon:array{title:'Icon',type:'icon',data:'str',width:'auto',help:'Icon that will be displayed using \x7bFORUMICON\x7d',readParms:'',writeParms:'',class:'left',thclass:'center'},forum_parent:array{title:'Parents',type:'dropdown',data:'int',width:'10%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_sub:array{title:'Sub-forum',type:'dropdown',data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},forum_moderators:array{title:'Moderator\x28s\x29',type:'userclass',inline:true,data:'int',width:'auto',help:'',readParms:'classlist=admin,main,classes',writeParms:'classlist=admin,main,mods,classes',class:'left',thclass:'left'},forum_threads:array{title:'Topic',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_replies:array{title:'Replies',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_user:array{title:'Author',type:'hidden',noedit:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_lastpost_user_anon:array{title:'User-Anon',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_info:array{title:'Latest Posts',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_class:array{title:'Visibility',type:'userclass',data:'int',width:'auto',batch:true,filter:true,inline:true,help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},class:'left',thclass:'left'},forum_order:array{title:'Order',type:'text',data:'int',inline:true,width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_postclass:array{title:'Post Permission',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_threadclass:array{title:'Thread Creation Class',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',noedit:true,width:'auto',filter:true,help:'',readParms:'',writeParms:'',class:'right',thclass:'center'},forum_options:array{title:'Options',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},options:array{title:'Options',type:null,data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',sort:1}}
Open
Open
$this->fields['forum_threadclass']['batch'] = false;
- Exclude checks
Assigning array<string>|array{}}></string>
to property but \forum_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},forum_id:array{title:'ID',type:'number',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_name:array{title:'Title',type:'method',inline:true,data:'str',width:'40%',help:'Use only plain text \x28no bbcode or html allowed!\x29',readParms:'',writeParms:'',validate:true,class:'left',thclass:'left'},forum_sef:array{title:'SEF URL',type:'text',batch:true,inline:true,noedit:false,data:'str',width:'auto',help:'Leave blank to auto-generate it from the title above.',readParms:'',writeParms:'sef=forum_name&size=xxlarge',class:'left',thclass:'left'},forum_description:array{title:'Description',type:'textarea',data:'str',width:'30%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_image:array{title:'Image',type:'image',batch:false,inline:false,noedit:false,data:'str',width:'auto',help:'Image that will be displayed using \x7bFORUMIMAGE\x7d',readParms:'',writeParms:'media=forum&max=1',class:'center',thclass:'center'},forum_icon:array{title:'Icon',type:'icon',data:'str',width:'auto',help:'Icon that will be displayed using \x7bFORUMICON\x7d',readParms:'',writeParms:'',class:'left',thclass:'center'},forum_parent:array{title:'Parents',type:'dropdown',data:'int',width:'10%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_sub:array{title:'Sub-forum',type:'dropdown',data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},forum_moderators:array{title:'Moderator\x28s\x29',type:'userclass',inline:true,data:'int',width:'auto',help:'',readParms:'classlist=admin,main,classes',writeParms:'classlist=admin,main,mods,classes',class:'left',thclass:'left'},forum_threads:array{title:'Topic',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_replies:array{title:'Replies',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_user:array{title:'Author',type:'hidden',noedit:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_lastpost_user_anon:array{title:'User-Anon',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_info:array{title:'Latest Posts',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_class:array{title:'Visibility',type:'userclass',data:'int',width:'auto',batch:true,filter:true,inline:true,help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},class:'left',thclass:'left'},forum_order:array{title:'Order',type:'text',data:'int',inline:true,width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_postclass:array{title:'Post Permission',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_threadclass:array{title:'Thread Creation Class',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',noedit:true,width:'auto',filter:true,help:'',readParms:'',writeParms:'',class:'right',thclass:'center'},forum_options:array{title:'Options',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},options:array{title:'Options',type:null,data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',sort:1}}
Open
Open
$this->fields['forum_parent']['writeParms'] = $this->forumParents;
- Exclude checks
Assigning array<string></string>
to property but \forum_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},forum_id:array{title:'ID',type:'number',data:'int',width:'5%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_name:array{title:'Title',type:'method',inline:true,data:'str',width:'40%',help:'Use only plain text \x28no bbcode or html allowed!\x29',readParms:'',writeParms:'',validate:true,class:'left',thclass:'left'},forum_sef:array{title:'SEF URL',type:'text',batch:true,inline:true,noedit:false,data:'str',width:'auto',help:'Leave blank to auto-generate it from the title above.',readParms:'',writeParms:'sef=forum_name&size=xxlarge',class:'left',thclass:'left'},forum_description:array{title:'Description',type:'textarea',data:'str',width:'30%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_image:array{title:'Image',type:'image',batch:false,inline:false,noedit:false,data:'str',width:'auto',help:'Image that will be displayed using \x7bFORUMIMAGE\x7d',readParms:'',writeParms:'media=forum&max=1',class:'center',thclass:'center'},forum_icon:array{title:'Icon',type:'icon',data:'str',width:'auto',help:'Icon that will be displayed using \x7bFORUMICON\x7d',readParms:'',writeParms:'',class:'left',thclass:'center'},forum_parent:array{title:'Parents',type:'dropdown',data:'int',width:'10%',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_sub:array{title:'Sub-forum',type:'dropdown',data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},forum_moderators:array{title:'Moderator\x28s\x29',type:'userclass',inline:true,data:'int',width:'auto',help:'',readParms:'classlist=admin,main,classes',writeParms:'classlist=admin,main,mods,classes',class:'left',thclass:'left'},forum_threads:array{title:'Topic',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_replies:array{title:'Replies',type:'number',data:'int',noedit:true,width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_user:array{title:'Author',type:'hidden',noedit:true,data:'int',width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_lastpost_user_anon:array{title:'User-Anon',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_lastpost_info:array{title:'Latest Posts',type:'hidden',noedit:true,data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},forum_class:array{title:'Visibility',type:'userclass',data:'int',width:'auto',batch:true,filter:true,inline:true,help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},class:'left',thclass:'left'},forum_order:array{title:'Order',type:'text',data:'int',inline:true,width:'auto',help:'',readParms:'',writeParms:'',class:'left',thclass:'left'},forum_postclass:array{title:'Post Permission',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_threadclass:array{title:'Thread Creation Class',type:'userclass',inline:true,filter:true,batch:true,data:'int',width:'auto',help:'',readParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes'},writeParms:array{classlist:'public,guest,nobody,member,admin,main,new,mods,classes',default:253},class:'center',thclass:'center'},forum_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',noedit:true,width:'auto',filter:true,help:'',readParms:'',writeParms:'',class:'right',thclass:'center'},forum_options:array{title:'Options',type:'hidden',data:'str',width:'auto',help:'',readParms:'',writeParms:'',class:'center',thclass:'center'},options:array{title:'Options',type:null,data:null,width:'10%',thclass:'center last',class:'center last',forced:'1',sort:1}}
Open
Open
$this->fields['forum_class']['batch'] = false;
- Exclude checks
Assigning array{0:'forum_name',1:'forum_moderators'}
to property but \forum_ui->fieldpref
is array{0:'forum_name',1:'forum_parent',2:'Sort',3:'forum_description',4:'forum_class',5:'forum_postclass',6:'forum_threadclass',7:'forum_order'}
Open
Open
$this->fieldpref = array('forum_name', 'forum_moderators');
- Exclude checks
Argument 4 (options)
is array{label:'Delete posts completely'}
but \e_form::radio()
takes null
defined at /code/e107_handlers/form_handler.php:2942
Open
Open
".$frm->radio('prune_type','delete',false, array('label'=>FORLAN_89)).
- Exclude checks
Variable $parent
was undeclared, but array fields are being added to it. Open
Open
$parent[$id] = $val['forum_order'];
- Exclude checks
Returning type array{caption:'Help',text:string}
but renderHelp()
is declared to return string
Open
Open
return array('caption' => LAN_HELP, 'text' => $help_text);
- Exclude checks
Call with 1 arg(s) to \e107forum::forum_getparents()
which only takes 0 arg(s) defined at /code/e107_plugins/forum/forum_class.php:1616
Open
Open
$parentList = $this->forumObj->forum_getparents('list');
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$fList = $sql->db_getList();
- Exclude checks
Argument 2 (fields)
is true
but \e_db::retrieve()
takes string
defined at /code/e107_handlers/e_db_interface.php:153
Open
Open
$forums = $sql->retrieve($qry, true);
- Exclude checks
Argument 4 (options)
is array{label:'Make posts inactive'}
but \e_form::radio()
takes null
defined at /code/e107_handlers/form_handler.php:2942
Open
Open
$frm->radio('prune_type','make_inactive',true, array('label'=>FORLAN_90))."
- Exclude checks