vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   permission related issue (https://vborg.vbsupport.ru/showthread.php?t=328064)

miguelidore29 05-27-2020 01:09 PM

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, {vb:php array}}
{vb:set sort.lastcontent, 'desc'}
{vb:set exclude_type, {vb:php array}}
{vb:set exclude_type.0, 'vBForum_PrivateMessage'}
{vb:set module_filter_nodes, {vb:php array}}
{vb:set include, {vb:php 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, {vb:php 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>
</vb:each>

please help me on this issue..thanks.

delicjous 05-28-2020 01:19 PM

Permission-Problem?


All times are GMT. The time now is 08:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01052 seconds
  • Memory Usage 1,705KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete