vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Concurring (https://vborg.vbsupport.ru/showthread.php?t=175597)

SnakeXs 04-09-2008 07:04 AM

Concurring
 
Hi there,

I'm running a board in which we have a "request" forum, and what I'd like is the ability for each thread to indicate how many people also want the particular thing listed in it. I'd like a button next to the post reply button that allows them to concur, and add 1 to the # of people who concur. It doesn't necessarily need to track that the person already voted, but that would be cool.

In the end, I suppose I could hack the existing thread rating system, and just go by the votenum value from SQL, but getting the whole 5 star vote system to a single link clicked is boggling my mind. Anyone have any ideas? Thanks!

Lynne 04-09-2008 02:10 PM

How about using the Thank You hack only changing the word from Thank You to I Concur?

SnakeXs 04-09-2008 08:18 PM

Quote:

Originally Posted by Lynne (Post 1486722)
How about using the Thank You hack only changing the word from Thank You to I Concur?

I don't need it to show the users that concur, just the # that have. Is that possible with that hack?

Thanks!

Lynne 04-09-2008 08:42 PM

Quote:

Originally Posted by SnakeXs (Post 1486972)
I don't need it to show the users that concur, just the # that have. Is that possible with that hack?

Thanks!

It doesn't do that by default, but you could probably modify the code to count the users instead of grabbing the userids.


All times are GMT. The time now is 01:09 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.00914 seconds
  • Memory Usage 1,712KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete