vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - [AJAX] Post Groan Hack (https://vborg.vbsupport.ru/showthread.php?t=129975)

Luky 08-31-2007 12:37 PM

Whats the phrase i enter to say the amount of times this user has been groaned at, i want to enter it in the postbit, i tried several phrases but cannot figure it out. Its not as simple as thank you hack.

Luky 08-31-2007 12:43 PM

I think it is $post[post_groan_times]

Doc Ellis 09-24-2007 04:22 PM

Another "thank you" for Thanks and Groan both. Very easy to install and use!

Doc

jswiss 10-06-2007 12:59 PM

hi there,

i think this is a great hack, (fun and stuff)

i've installed both thanks and groan, but the info on the right hand side is replicated twice... any pointers how how to get rid of:
Thanks: #
Groans: #

see attachment

many thanks

Roxie 11-11-2007 05:29 AM

Clicking the button refreshes the page but isn't adding the groan. The button is linking to http://www.site.com/showthread.php?d...roan_add...etc....

Should it be linking to http://www.site.com/post_groan.php?d...roan_add...etc....

Abe1 11-11-2007 11:56 PM

Quote:

Originally Posted by Roxie (Post 1380163)
Clicking the button refreshes the page but isn't adding the groan. The button is linking to http://www.site.com/showthread.php?d...roan_add...etc....

Should it be linking to http://www.site.com/post_groan.php?d...roan_add...etc....

Make sure your templates are up to date.

COBRAws 11-12-2007 12:06 AM

I just thought about something that could be added to this hack (I dont actually use it in my forums, but I was browsing this thread and had this idea). If a post has X amount of groans, it could be automatically deleted or the main postbit thing be converted into a message saying "This post has been rated by the community as a bad post, if you still want to read it please click here" or something like that.

The admincp could have a few options so it can be selected how many groans would be needed to make the post disappear, which usergroups to be bypassed by this function and so on.

I've never seen this turn-arround for vbulletin and it would be handy. If it's already made, im sorry.

Keep up the good work Abe, I have installed most of your hacks-mods :) A quality coder indeed.

Abe1 11-12-2007 12:07 AM

Quote:

Originally Posted by COBRAws (Post 1380697)
I just thought about something that could be added to this hack (I dont actually use it in my forums, but I was browsing this thread and had this idea). If a post has X amount of groans, it could be automatically deleted or the main postbit thing be converted into a message saying "This post has been rated by the community as a bad post, if you still want to read it please click here" or something like that.

The admincp could have a few options so it can be selected how many groans would be needed to make the post disappear, which usergroups to be bypassed by this function and so on.

I've never seen this turn-arround for vbulletin and it would be handy. If it's already made, im sorry.

Keep up the good work Abe, I have installed most of your hacks-mods :) A quality coder indeed.

Not sure if I will make it but someone else can release an add on if they want.

Roxie 11-12-2007 12:13 AM

I reverted templates and it works great now.

Flow Fusion 01-01-2008 11:35 AM

When a usergroup is immune from getting a groan, and they groan someone else I get this error

Quote:

Warning: Invalid argument supplied for foreach() in /includes/functions_post_groan.php on line 183


All times are GMT. The time now is 11:27 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.01138 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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