vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Limiting thread ratings to one who posts & Usergroups you Defined only (https://vborg.vbsupport.ru/showthread.php?t=113905)

Omranic 04-23-2006 10:00 PM

Limiting thread ratings to one who posts & Usergroups you Defined only
 
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 https://vborg.vbsupport.ru/

Thats ALL

// Peace

Frankie I 04-24-2006 09:21 AM

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?

Omranic 04-25-2006 04:09 AM

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?

Snake 04-25-2006 12:13 PM

Thanks!

Ohiosweetheart 04-26-2006 04:49 AM

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.

Boofo 04-26-2006 04:55 AM

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. ;)

Ohiosweetheart 04-26-2006 05:06 AM

If the question is directed at me, it's a monthly contest that we do on our forum, to encourage quality threads.

Boofo 04-26-2006 05:14 AM

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. ;)

Ohiosweetheart 04-27-2006 02:10 PM

agreed

MickDoneDee 05-03-2006 08:54 AM

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.


All times are GMT. The time now is 02:24 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.01092 seconds
  • Memory Usage 1,736KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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