vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Canned Text (https://vborg.vbsupport.ru/showthread.php?t=50513)

lalo landa 03-21-2003 12:48 PM

the same happends to me....
do U know what's goin on?

filburt1 03-21-2003 12:51 PM

Make sure that you have the canned text settings correct in the admin CP

lalo landa 03-21-2003 12:53 PM

there's options only in the MAIN options of the vb?
because the only settig that i see is the max of words...

lalo landa 03-21-2003 12:56 PM

the problem is in here
PHP Code:

if ($bbuserinfo['userid'] == or $ctmax == 0show_nopermission(); 

I take out the line and works grate.. but.. the unregistred can access

lalo landa 03-21-2003 01:02 PM

Ready

change the line
PHP Code:

if ($bbuserinfo['userid'] == or $ctmax == 0show_nopermission(); 

for
PHP Code:

if ($bbuserinfo['userid'] == show_nopermission(); 

and works fine but U can't disable the "service"

Boofo 03-21-2003 01:27 PM

I think you need to go to the Admin CP and open the cannedtext options and save it for it to work right. I am using the same code (with a few usergroupids added) that you took out and it works fine for me. ;)

pattox 03-21-2003 01:57 PM

yea, that woz the problem. I didnt realise that installer added the settings...

filburt1 03-21-2003 02:01 PM

What's more the installer makes the settings defaults of not 0 so it's weird that it happened. Either way that line works: if the user is a guest or the system is disabled, then deny access.

Boofo 03-21-2003 02:08 PM

filburt, you might want to add that to the instruction file where they have to go to the options and hit enter to make it work. ;)

filburt1 03-21-2003 02:10 PM

I have to edit my install script to edit the options template too (stupid vB way of doing settings...).

edit: I can't until I get home anyway because it's tricky to compress stuff in OS X.


All times are GMT. The time now is 06:02 AM.

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.01306 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete