vb.org Archive

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

mohammad6006 12-14-2010 01:49 PM

can i upgrade this mod?

redlabour 01-28-2011 03:38 PM

Still no official Update? Abe1 - whats going on? You announced this a lot of Months ago ...... :/

GFG_Cam 08-05-2011 04:48 AM

could you make a Vb 4 version ?

HMBeaty 08-05-2011 05:04 AM

Quote:

Originally Posted by GFG_Cam (Post 2229535)
could you make a Vb 4 version ?

I doubt he will since he hasn't been online in over 1 year...

clutchthese 03-20-2012 05:10 PM

I think he's passed away...

farazfaraz 04-09-2012 06:33 PM

not work for vb4?

BlackVelvet 07-12-2013 07:00 PM

Hi...I'm fairly new to this and I am trying to set up a new forum...and I just tried to install the groan hack and this is the message that came up over the header

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: post_groan_navbar_search in [path]/includes/functions.php on line 4591

can anyone tell me what this means and how do I fix it?
I am working with the 4.2.1 version

Thanks

BirdOPrey5 07-12-2013 08:20 PM

This mod was designed for vBulletin 3.x, it will not work with VB 4.x.

BlackVelvet 07-12-2013 11:21 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2433407)
This mod was designed for vBulletin 3.x, it will not work with VB 4.x.

Thank you

I deleted it.

blastme 05-31-2015 12:44 PM

1 Attachment(s)
I installed it yesterday. Its functional but the groan button style ( far right ) does not match my other existing buttons as per screenshot attached.

Any suggestions how to correct it would be much appreciated.

Also how would or could I change the word groan to another word of my choice. ?

Easy5s.net 05-31-2015 11:04 PM

Quote:

Originally Posted by blastme (Post 2546844)
I installed it yesterday. Its functional but the groan button style ( far right ) does not match my other existing buttons as per screenshot attached.


Any suggestions how to correct it would be much appreciated.


Also how would or could I change the word groan to another word of my choice. ?

you can edit temp "post_groan_button"

Quote:

<a href="post_groan.php?$session[sessionurl]do=post_groan_add&amp;p=$post[postid]&amp;securitytoken=$bbuserinfo[securitytoken]" id="post_groan_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_groan_give($post[postid], <if condition="$vboptions[post_groan_integrate]">true<else />false</if>);"</if> <if condition="$display_groan_image == 'none'">style="display:none"</if> rel="nofollow"><img src="$stylevar[imgdir_button]/post_groan.gif" alt="$vbphrase[post_groan_groan]" border="0" /></a>

BirdOPrey5 07-30-2017 05:22 PM

For those who may try to use this on PHP 5.6.0 (or higher) and VB 3.8.11, you need to make some manual file edits to the /includes/functions_post_groan.php

Thanks to vbem2 who figured out the file edits for the Post Thank You mod here: https://vborg.vbsupport.ru/showthrea...95#post2586995

But basically you open the file in a code editor.

FIrst look for:
Code:

                if ($postids)
                {
                        $post_ids = "0$postids";
                }
                else
                {
                        $post_ids = $postid;
                }

and replace it with

Code:

                if (empty($postids))
                {
                        $postids[] = $postid;
                }

Next search for:

Code:

(" . $post_ids . ")
And replace it with

Code:

(" . implode(',', $postids) . ")
There should be 2 instances of the above.


That seems to do it for me.


All times are GMT. The time now is 09:07 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.01324 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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