vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Allow Your Users to Post Anonymously Without Logging Out (https://vborg.vbsupport.ru/showthread.php?t=78410)

Lionel 03-21-2005 01:24 AM

I got them back, except for your option

Lionel 03-21-2005 01:47 AM

It's actually step 6. You have two steps 6. It's the first one.

amykhar 03-21-2005 01:55 AM

Make sure you changed your fieldx to use the user field that you created. If not, that won't work. Also, make sure the forum you are posting in is set to allow anonymous posting, that the board as a whole is set to allow it and the other permisisons. If any of those are set off (which could have happened during testing) the checkbox won't show.

amykhar 03-21-2005 01:56 AM

p.s. I am very happy that you are testing incrementally as advised. That makes helping you much, much easier. Thank you.
Amy

Lionel 03-21-2005 01:57 AM

Quote:

Originally Posted by amykhar
Make sure you changed your fieldx to use the user field that you created. If not, that won't work. Also, make sure the forum you are posting in is set to allow anonymous posting, that the board as a whole is set to allow it and the other permisisons. If any of those are set off (which could have happened during testing) the checkbox won't show.

this is what I have

if (($forumperms & CANDOANON) AND ($bbuserinfo[field14]=='yes') AND $vboptions['candoanon'] AND $foruminfo['allowanon'])
{
eval('$postanonoption = "' . fetch_template('newpost_postanon') . '";');
}
else
{
$postanonoption = "";
}

amykhar 03-21-2005 02:01 AM

OK. The code looks fine. Check the permissions for the board, forum, and usergroup and user and make sure you didn't set the forum to use custom permissions for your usergroup in that forum. Yes, I know this part is a pain to set up ininitally, just like all the other vbulletin permissions, but it really does give you a lot of flexibility later.

Lionel 03-21-2005 02:06 AM

I appreciate your help. Thank you very much.

In specific forum, allow anonymous posting is on
the usergroup admin has permission to post as anonymous and it is also set as default in that forum permissions

amykhar 03-21-2005 02:11 AM

Dumb question. Is the new template available in the style you are testing in?

amykhar 03-21-2005 02:13 AM

If it is, just for giggles, take this code
Code:

        if (($forumperms & CANDOANON) AND ($bbuserinfo[fieldx]=='yes') AND $vboptions['candoanon'] AND $foruminfo['allowanon'])

        {

          eval('$postanonoption = "' . fetch_template('newpost_postanon') . '";');

        }

        else

        {

          $postanonoption = "";

        }

to this:
Code:

eval('$postanonoption = "' . fetch_template('newpost_postanon') . '";');
Do this just for testing. If it works there, we have a permissions glitch. If it doesn't work there, something else is going on.

Lionel 03-21-2005 02:15 AM

Yes it is available. Problem is somehow permissions related, because when I do $postanonoption="whatever"; instead of $postanonoption="";
whatever is displayed below the smilies


All times are GMT. The time now is 11:25 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.01066 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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