Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-06-2010, 01:38 PM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Enable anonymous posting, and thumbs up/down ratings

I would love to have a forum category where members can post anonymously as well as have people give the posts a thumbs up/thumbs down rating with the number of thumbs up/downs displayed. And possibly be able to sort posts by number of thumb ups.

The reason being, I have a women's forum and would like to have a separate forum category where members can post embarrassing stories, and other members can rate the thread.

Anyone want to make it for me???

If anyone else wants this please reply and request it as well! I'm sure a lot of other people would be interested in using at least one of the ideas on their sites
Reply With Quote
  #2  
Old 06-07-2010, 05:28 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could embed the postsers name in the postbot template with a condition that will not show it for those forumid's.
Reply With Quote
  #3  
Old 06-07-2010, 05:09 PM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am a real noob. Can you walk me through the steps?

Thanks by the way!
Reply With Quote
  #4  
Old 06-12-2010, 03:03 PM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still have no idea how to enable annoymous posting, really need someone to walk me through it.

Also, I'm still looking for a thumb up/thumb down rating system for threads. Just like youtube's rating system.
Reply With Quote
  #5  
Old 06-14-2010, 08:16 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In postbit/postbit_legacy (whichever one you use) find the code:

Code:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]" $post[mh_unm_username_history]>$post[musername]</a>
Then "wrap" it in an IF conditional that says IF your in a particular forum display the Username as Anonymous, otherwise display the username... the code for that would be:

Code:
<if condition="$thread['forumid'] == 99">
Anonymous
<else />
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]" $post[mh_unm_username_history]>$post[musername]</a>
</if>
Replace 99 with the forumid of the forum you want this to apply to.

Note- after thinking about this a little more you probably also want to wrap the same if tag around all the other fields in the postbit so that you can't tell who a user is by reputation, location, age, or any other field. You could make 1 long if statement that only shows "Anonymous" and otherwise processes as normal if not the anonymous forum.

You'd also want to disable signatures in the forum or use a similar if statement around the signature to kill it too.
Reply With Quote
  #6  
Old 06-14-2010, 08:23 PM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, I'll give it a shot
Reply With Quote
  #7  
Old 06-14-2010, 08:31 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm actually going to make an anonymous forum for my site as well, will let you know how it goes.

--------------- Added [DATE]1276552318[/DATE] at [TIME]1276552318[/TIME] ---------------

Note- had a bug in the code, updated the IF statement to: <if condition="$thread['forumid'] == 51">

--------------- Added [DATE]1276552695[/DATE] at [TIME]1276552695[/TIME] ---------------

OK That code is working to remote the username, but I can't get it to work to remove anything else... will work on it.

--------------- Added [DATE]1276557392[/DATE] at [TIME]1276557392[/TIME] ---------------

OK, after starting this became a bigger project then I thought- I kept having to remove different ways of identifying the poster, now I'm pretty sure I got it.

Instructions below:

OK there are quite a few edits to make, but if you do this right it works.
User's won't be able to quote (or multi-quote) a post because that would reveal the original poster's name.
They can still use the "Reply" button or Quick-Reply if enabled...

First replace the username with "Anonymous" if your in your anonymous forum... for me I used forumid = 51, set this to your forum id for all if statements below.

Find:
Code:
<div id="postmenu_$post[postid]">
ABOVE this add:
Code:
<!-- START ANON IF -->
<if condition="$thread['forumid'] == 51">
<span class="bigusername">Anonymous<br /></span>
<else />

Find:
Code:
$post[yahooicon] $post[skypeicon]</div>
			</div>
Below this add:
Code:
</if> <!-- END ANON IF -->
Now kill the infractions and IP address... if you want to keep these mods will be able to see who posted but other users won't.
Find:
Code:
$post[onlinestatus]
ABOVE it add:
Code:
<if condition="$thread['forumid'] != 51"> <!-- START ANON IF -->
Find:
Code:
$post[iplogged]
Below it add
Code:
</if> <!-- END ANON IF -->
Now kill the signature in the Anonymous forum. If you've disabled sigs some other way you can skip this part.

Find:
Code:
<if condition="$post['signature']">
Replace With
Code:
    <!-- ANON FORUM EDIT 'AND' STATEMENT BELOW -->
		<if condition="$post['signature'] AND $thread['forumid'] != 51">
Now we need to remove the quote and multi quote buttons in the anon forum else they can be used to identify the original poster.

Find:
Code:
   		<if condition="$post['replylink']">
Replace With
Code:
    <!-- ANON FORUM EDIT 'AND' STATEMENT BELOW -->
		<if condition="$post['replylink'] AND $thread['forumid'] != 51">
Find:
Code:
<if condition="$show['multiquote_post']">
Replace With
Code:
<!-- ANON FORUM EDIT 'AND' STATEMENT BELOW -->
<if condition="$show['multiquote_post'] AND $thread['forumid'] != 51">
And that's it, you now have an Anonymous forum.
Of course an admin can see who posted what by viewing with an un-altered style, keep this style from public use of course.

I'm pretty sure I got every way for the users go see who posted, less confident about mods but I can't think of any way off hand besides moving athread to a different forum in which case all bets are off.
On the flip side any threads moved into this forum will become fully anonymous.

--------------- Added [DATE]1276563519[/DATE] at [TIME]1276563519[/TIME] ---------------

after all that I see there is a anonymous posting mod here:
https://vborg.vbsupport.ru/showthread.php?t=177694

It's probably better to use that though you still might want to use my edits to kill the ip address from being viewable to moderators...also my implementation allows for attachments and polls, the mod doesn't.

--------------- Added [DATE]1276579592[/DATE] at [TIME]1276579592[/TIME] ---------------

Don't bother with the above edits...
I forgot this does nothing for the other pages that display the threads, you can still see who started the thread and the last person to post in it... There would be too many edits IMO to try and fix this so your best bet is the mod I linked to.
Reply With Quote
  #8  
Old 01-09-2013, 06:46 PM
Vishaaldesiking Vishaaldesiking is offline
 
Join Date: Feb 2009
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to get this codes for vbulletin 4.1.x
And need some changes in this mod.
Not all post must be anonymous in the forum, when the checkbox is click then it must anonymous
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 08:51 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.04410 seconds
  • Memory Usage 2,239KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (16)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete