Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Allow Your Users to Post Anonymously Without Logging Out Details »»
Allow Your Users to Post Anonymously Without Logging Out
Version: 1.00, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 03-19-2005 Last Update: 03-23-2005 Installs: 21
Is in Beta Stage  
No support by the author.

When I released my Post As Anonymous Mod Hack (now obsolete), many users wanted the ability to allow ANY user to post anonymously. This hack fulfils that request.

It is a VERY long and difficult hack to install. Therefore, I have written the instruction file radically different than any I have ever written before. This one is written in discrete steps. Rather than having you blindly edit files and hope everything works when it's done, I have you do the hack in steps and TEST each step.

IF YOU DO NOT KNOW HOW TO CODE, I SUGGEST YOU POST A SERVICE REQUEST AND ASK SOMEBODY TO INSTALL THIS FOR YOU.

Features:
A. Control anonymous posting at the board, forum, usergroup, and user level.

This means that you can use the anonymous posting in any combination that you can use features such as allowing users to reply to posts.

B. Users can post anonymously, but still subscribe to the thread.

C. You can set the anonymous username per usergroup. For example, Admins can post as Anonymous Admin, while regular users post as Anonymous Registered Member.

D. Mods and Admins can see who truly posted.

E. Users can see their name on their own anonymous post.

F. The "edited by" message does not show on anonymous posts.

G. Lastposter works properly.

H. Search will not pull up a user's anonymous posts under their name. But, you can search for all anonymous posts.

I. Anonymous posts are marked so that you don't forget the post is anonymous and "out" yourself.

J. Anonymous posts can be safely quoted.

I will not support this hack for any version of vbulletin other than 3.0.7.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Gophers

Comments
  #22  
Old 03-21-2005, 01:24 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got them back, except for your option
Reply With Quote
  #23  
Old 03-21-2005, 01:47 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's actually step 6. You have two steps 6. It's the first one.
Reply With Quote
  #24  
Old 03-21-2005, 01:55 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #25  
Old 03-21-2005, 01:56 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

p.s. I am very happy that you are testing incrementally as advised. That makes helping you much, much easier. Thank you.
Amy
Reply With Quote
  #26  
Old 03-21-2005, 01:57 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 = "";
}
Reply With Quote
  #27  
Old 03-21-2005, 02:01 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #28  
Old 03-21-2005, 02:06 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #29  
Old 03-21-2005, 02:11 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dumb question. Is the new template available in the style you are testing in?
Reply With Quote
  #30  
Old 03-21-2005, 02:13 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #31  
Old 03-21-2005, 02:15 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


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

Forum Jump


All times are GMT. The time now is 10:07 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04695 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete