Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Limiting thread ratings to one who posts & Usergroups you Defined only Details »»
Limiting thread ratings to one who posts & Usergroups you Defined only
Version: 1.0.0, by Omranic Omranic is offline
Developer Last Online: Sep 2021 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.5.4 Rating:
Released: 04-23-2006 Last Update: Never Installs: 4
Uses Plugins
 
No support by the author.

hello,

its very fine to have some spare time to write some simple plugins :banana:

Now according to THIS Request I Go on & write the following product

Description:
This Hack prevent any one from rating other's thread exept thread starter can rate his own threads, in addition to users of usergroups you defined in the "Usergroup IDs That can rate other's Threads" option.

Features:
Limit the people who can rate a thread or post to:
  • the user who posted the thread
  • usergroups defined in the option "Usergroup IDs That can rate other's Threads"
  • Turn ON/OFF Hack Totaly.


Version History:
1.0.0 initial (24/4/2006)


Installation:
Just Import the product form admincp & enjoy


Use:
Go to admincp-> vbulletin options-> Poll and Thread Rating Options-> last two options (new) & modify according to your needs.


Known Issues:
1- This Hack can conflict with can't rate own threads Hack, You must not install the two in the same time becouse they are opposite to each other.
2- You can specify only one usergroup ID in the option "Usergroup IDs That can rate other's Threads".


There is two products (English [en] / Arabic [ar]) Choose one.


Don't Forget to Press

Thats ALL

// Peace

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-24-2006, 09:21 AM
Frankie I Frankie I is offline
 
Join Date: Mar 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about in a scenario where all people, regardless of registration, are allowed to enter threads and posts: In that situation, can you still limit the thread rating to the person who posts or the admin?
Reply With Quote
  #3  
Old 04-25-2006, 04:09 AM
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you mean that display threads is allowed to all (registered & un-registered users) I ask you a question: what is the permisions for un-registered/un-logged in users ?

they can rate threads? they can post threads? they can post replies? also Is there any custom forum permisions? or access masks you made on your forums?
Reply With Quote
  #4  
Old 04-25-2006, 12:13 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Reply With Quote
  #5  
Old 04-26-2006, 04:49 AM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will you be upgrading this so that more than one usergroup can be added in the option "Usergroup IDs That can rate other's Threads ?

We want both our admins and moderators to be able to rate the threads.
Reply With Quote
  #6  
Old 04-26-2006, 04:55 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why would you want to allow anyone to be able to rate your own thread? Wouldn't it be better to only allow those who post in a thread to rate it and not those who don't post? And not the thread starter, either.
Reply With Quote
  #7  
Old 04-26-2006, 05:06 AM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If the question is directed at me, it's a monthly contest that we do on our forum, to encourage quality threads.
Reply With Quote
  #8  
Old 04-26-2006, 05:14 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ohiosweetheart
If the question is directed at me, it's a monthly contest that we do on our forum, to encourage quality threads.
It was not directed at anyone in particular, just an observation.

I would think only allowing those that post in a thread would have more of a right to vote on that thread than someone who really doesn't care about the thread enough to partake in it. And anyone rating their own thread is too biased to be allowed to vote. There's no objectivity in doing that. There can't be.
Reply With Quote
  #9  
Old 04-27-2006, 02:10 PM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

agreed
Reply With Quote
  #10  
Old 05-03-2006, 08:54 AM
MickDoneDee MickDoneDee is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
And anyone rating their own thread is too biased to be allowed to vote. There's no objectivity in doing that. There can't be.
I agree with this point. I've had several complaints about threadstarters who vote themselves 5 stars everytime they start a thread. I've now added a text message under the Vote Now button - "Rating your own thread or article is not allowed." I can't find a setting to prevent threadstarters from voting their own thread. Is there a hack for this somewhere? I've searched, but have been unable to find anything.

Update: I've found the hack I was looking for here. It may be possible to make it conditional on usergroup too with some extra coding.
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 02:37 PM.


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.04671 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete