Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 27 May 2020, 16:09
miguelidore29 miguelidore29 is offline
Join Date: Mar 2020
permission related issue

HI, I created a custom template & tried to display it on a channel by using DISPLAY TEMPLATE MODULE.

IT worked fine showing all desired results. But When i logout from admin id & tried to view as a non-registered / other users it's showing blank.

Here's the content of custom template: '

{vb:set sort, {vbhp array}}
{vb:set sort.lastcontent, 'desc'}
{vb:set exclude_type, {vbhp array}}
{vb:set exclude_type.0, 'vBForum_PrivateMessage'}
{vb:set module_filter_nodes, {vbhp array}}
{vb:set include, {vbhp array}}
{vb:set include.0, 'all'}
{vb:set module_filter_nodes.include, {vb:raw include}}
{vb:set module_filter_nodes.include_children, 1}

{vb:set customoptions, {vbhp array}}
{vb:set customoptions.starter_only, 1}
{vb:set customoptions.sort, {vb:raw sort}}
{vb:set customoptions.view, ''}
{vb:set customoptions.exclude_type, {vb:raw exclude_type}}
{vb:set customoptions.module_filter_nodes, {vb:raw module_filter_nodes}}
{vb:set customoptions.ignore_protected, 1}

{vb:rawdata nodes, search, getInitialResults, {vb:raw customoptions},15}

<vb:each from="nodes" key="key" value="data">
{vb:raw key} </br> {vb:raw data}</br></br>

please help me on this issue..thanks.
Reply With Quote
Old 28 May 2020, 16:19
delicjous's Avatar
delicjous delicjous is offline
Join Date: Nov 2014
__________________ closed!
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 22:23.

Layout Options | Width: Wide Color: