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)

ThePimp 04-01-2005 09:24 PM

The only things that don't seem to be working are profile related.

amykhar 04-01-2005 10:17 PM

Quote:

Originally Posted by ThePimp
I went top to bottom of your instructions, but it may be possible that something got missed, as it was around 4:00AM when I installed it, and I was starting to get tired. Let me ask you this... DOES your hack change the AVATAR for the Anon posters to the one being used in the Anon profile, as well as change the user title? If so, could you point me to which step in your instructions these functions are located?

Thanks

It changes the whole userid. When installed properly, normal users and logged out people see the profile of the Anonymous user that you created. Admins and mods see the profile of the true user.

Lionel 04-01-2005 10:41 PM

I do have a small problem. Although permissions are set, new users are not allowed

Lionel 04-01-2005 10:49 PM

I am able to fix when I go to user in admincp. I see that permissions are there. But he is not allowed. I save, then it's ok. Problem is I can't do that every time :-)

Lionel 04-01-2005 10:54 PM

Perhaps the profilefield is not updating? As admin I can see private field. I noticed all new users had nothing for anonymous permissions until I manually update user in control panel. Just click save without doing anything else, then I can see it in profile.

Lionel 04-01-2005 11:10 PM

It would have been nice to be able to use another set of new status icons for forums and subforums like forum_new.gif, forum_old.gif to indicate that forum accepts anonymous posting (anon_new.gif, anon_old.gif)

mrsbuzzy 04-05-2005 01:20 AM

Hello, I think this looks awesome! I just have one quick question before we start to install. Can we set it up so that only a specified forum allows anonymous posts? I have 2 forums I would like that option.

My other question is (I don't think this was mentioned in this thread, but I may have missed it) will people's signature show up when they're set to anonymous?

I greatly appreciate the work you put into this.
Dawn

amykhar 04-05-2005 08:04 PM

Quote:

Originally Posted by mrsbuzzy
Hello, I think this looks awesome! I just have one quick question before we start to install. Can we set it up so that only a specified forum allows anonymous posts? I have 2 forums I would like that option.

My other question is (I don't think this was mentioned in this thread, but I may have missed it) will people's signature show up when they're set to anonymous?

I greatly appreciate the work you put into this.
Dawn

1. Yes. It's done so you can control it at forum, usergroup, user and even board level.
2. No. The sig of the Anonymous user account you create shows, not the true user's.

amykhar 04-05-2005 08:05 PM

Quote:

Originally Posted by Lionel
It would have been nice to be able to use another set of new status icons for forums and subforums like forum_new.gif, forum_old.gif to indicate that forum accepts anonymous posting (anon_new.gif, anon_old.gif)

You can. Because you can check to see if the post is anonymous in the template, you can use conditionals to set it up.

Lionel 04-16-2005 03:25 AM

Quote:

Originally Posted by Greebo
Ok, the modification to editpost.php has a logic error in it.

You test two conditions in a nested double test:
Was post made anon?
- Yes
-- was it anon before?
---Yes set a bunch of vars incl $threadupdate
---No set a bunch of vars incl $threadupdate
- No
-- was it anon before?
---Yes set a bunch of vars incl $threadupdate
---No set a bunch of vars incl $threadupdate

Then you later have logic twice to update the thread
// if (!empty($threadupdate))

$threadupdate will never be empty in either case.

Net effect: When a thread is posted and someone replies to it and then edits their reply, thread.postusername and thread.postuserid are overwridden inappropriately and the 2nd threadupdate . Thread should only be updated with anon/real user names and IDs if the OP is edited.


[/php]
You will see, I wrapped all updates to $threadupdate in a conditional validating that the post edited is the first post in the thread.

I also removed "postuserid = $edit[userid]" in all spots in that code (it was in every update to $threadupdate).

I seemed to have the same problem. I pinpointed it to editpost.php, where whenever someone edits his post, he will appear as the thread originator. I constantly have to rebuild threads. I am going to try your fix.


All times are GMT. The time now is 09:34 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.01414 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_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