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 Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=165673)

mauro1947 06-05-2008 12:32 PM

In my 3.7.1 version, the "new" 7.6 version didnt work. I installed 7.4 version and works perfect.
What im doing wrong? :confused: :eek:
Thanks
REgards!

Xphusion 06-05-2008 02:10 PM

The Following User Says Thank You to Abe1 For This Useful Post:

Chrisedge 06-05-2008 05:23 PM

Quote:

Originally Posted by Chrisedge (Post 1540199)
I searched, and just installed, but I don't want the:

Thanks: 1
Thanked 0 Times in 0 Posts

Text to appear under the post count...How can I get rid of it? (What template to edit? Noob)

Quote:

Originally Posted by FRANKTHETANK 2 (Post 1540214)
take it out of your postbit or postbit_legacy

Quote:

Originally Posted by Chrisedge (Post 1540609)
I looked through both...what exactly am I looking to remove?

Anyone, Bueller?

sunrise2006 06-06-2008 07:33 AM

I prepared a instruction to custom modify templates, I hope it will be affective for you.

In this content you must edit some plug-ins of hack to be able to custom modify templates for Post Thank You Hack 7.x

Now begin the plug-ins changes:

Note: In here I wrote the Hook Location name for Post Thank You hack that titled as Post Thank You Hack in Plugin Manager.

Edit global_setup_start same as below:

FIND BELOW:
PHP Code:

eval('$template_hook[navbar_search_menu] .= "' fetch_template('post_thanks_navbar_search') . '";'); 

AFTER ADD:
PHP Code:

eval('$search_thanks_navbar = " ' fetch_template('post_thanks_navbar_search') . '";'); 

Save the changes.

Edit member_profileblock_fetch_unwrapped same as below:

FIND BELOW:
PHP Code:

eval('$template_hook[profile_stats_pregeneral] .= "' fetch_template('post_thanks_memberinfo_block') . '";'); 

AFTER ADD:
PHP Code:

eval('$block_thanks  = " ' fetch_template('post_thanks_memberinfo_block') . '";'); 

Save the changes.

Edit postbit_display_start same as below:

FIND BELOW:
PHP Code:

eval('$template_hook[postbit_end] .= " ' fetch_template('post_thanks_box') . '";'); 

AFTER ADD:
PHP Code:

eval('$post_thank_box = " ' fetch_template('post_thanks_box') . '";'); 

Save the changes.

Edit postbit_display_complete same as below:

FIND BELOW:
PHP Code:

eval('$template_hook[postbit_controls] .= " ' fetch_template('post_thanks_button') . '";'); 

AFTER ADD:
PHP Code:

eval('$post_thanks_button = " ' fetch_template('post_thanks_button') . '";'); 

FIND BELOW:
PHP Code:

eval('$template_hook[postbit_userinfo_right_after_posts] .= " ' fetch_template('post_thanks_postbit_info') . '";'); 

AFTER ADD:
PHP Code:

eval('$post_thanks_postbitinfo = " ' fetch_template('post_thanks_postbit_info') . '";'); 

Save the changes.

Now begin the template changes:

Changes of navbar template:

FIND BELOW [OR SAME]:
HTML Code:

<tr>
            <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>

AFTER ADD:
HTML Code:

$search_thanks_navbar
Save the changes.

Changes of memberinfo_block_statistics template (From vBulletin 3.7.x):

FIND BELOW:
HTML Code:

    <if condition="$show['post_visitor_message']"><li><a href="#visitor_messaging" onclick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase[post_a_visitor_message_for_x]</phrase></a></li></if>
        </ul>
    </fieldset>
    </if>

AFTER ADD:
HTML Code:

$block_thanks
Save the changes.

Changes of postbit and postbit_legacy:

FIND BELOW:
HTML Code:

<if condition="$post['editlink']">
AFTER ADD:
HTML Code:

$postbit_thanks_button
FIND BELOW:
HTML Code:

<div>$vbphrase[posts]: $post[posts]</div>
AFTER ADD:
HTML Code:

$post_thanks_postbitinfo
AT THE END LINE OF THESE TEMPLATES ADD:
HTML Code:

$post_thank_box
Save the changes.

Congratulation, you are now custom modified the templates for Post Thank You Hack 7.x :up:

Hamel el Mesl 06-06-2008 11:15 AM

1 Attachment(s)
Abe1
I translated the Hack into Arabic
this is it.

Chrisedge 06-06-2008 03:40 PM

Well, I like this hack, but I can't seem to get the info on modifying the templates. You should add in that option of not having the "counts" under the post information. I have a board that sees anything with counts and goes crazy.

I will probably uninstall if I can't figure it out...

volarium 06-06-2008 06:05 PM

Great hack, thanks! (so to speak).

Are there any plans to create a page that displays a list of "top thankers"? Just something simple like this page:

http://vfrworld.com/forums/referrers.php

Great job!

Jorrit787 06-06-2008 09:39 PM

Me and my users keep getting a No Permission error when clicking the thanks button...

SCRIPT3R 06-06-2008 10:15 PM

1 Attachment(s)
Edit.. nevermind.

SAT2M 06-07-2008 05:17 PM

I think this hack take server load becuase after I update this hack from 7.4 to 7.6 in 3.7.1 VB my server load go high

Is it true? any person have same problem?

gnavpott 06-09-2008 06:50 AM

use to get this error
Quote:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
after I have updated vbulletin to 3.7.1 and this hack to 7.6

what can be wrong

steve1966 06-09-2008 05:19 PM

Quote:

Originally Posted by gnavpott (Post 1544768)
use to get this error


after I have updated vbulletin to 3.7.1 and this hack to 7.6

what can be wrong

Hi I am having my members complaining about the same thing so I am going to unistall this mod untill it has been fixed i will reinstall version 7.4 i never got any problems with that i am running 3.7

vitrag24 06-09-2008 07:40 PM

So simple to update.
Thanks to you too. :p

vitrag24 06-09-2008 07:47 PM

Quote:

Originally Posted by steve1966 (Post 1545192)
Hi I am having my members complaining about the same thing so I am going to unistall this mod untill it has been fixed i will reinstall version 7.4 i never got any problems with that i am running 3.7

bcz you might have installed hide hack previously and i think it's not compatible with this mod now.

I've got similer error when i enabled hide mod.

Disable it and enjoy this mod.

vitrag24 06-09-2008 07:48 PM

By anyway, can i use this hack integrated with hide mod?
as i was using it integrated with thanks button in 3.6..

Skavenger 06-09-2008 11:07 PM

I'm getting this error when I try to update user counts

Code:

Database error in vBulletin 3.7.1:

Invalid SQL:

                SELECT *
                FROM vb_post
                WHERE postid >= 0 AND postid < 5000
                ORDER BY postid;

MySQL Error  : Table './dbname/vb_post' is marked as crashed and last (automatic?) repair failed
Error Number  : 144
Request Date  : Monday, June 9th 2008 @ 01:34:09 PM
Error Date    : Monday, June 9th 2008 @ 01:34:09 PM
Script        : http://www.*******.com/foros/admincp/post_thanks_admin.php?do=post_thanks_post_amount
Referrer      : http://www.*****.com/foros/admincp/post_thanks_admin.php
IP Address    : ******
Username      : ****
Classname    : vB_Database
MySQL Version : 5.0.45-community


Artes_Marciales 06-10-2008 07:14 AM

Thanks **installed**

has any way to configure 3 thanks = 1 Reputation point?? :o

Thanks!! :)

MindStar 06-10-2008 07:27 AM

Hi, would it be possible to show forum members how many Thanks (and Groans) they have available to them and/or a notification when they have used up their daily quota of Thanks (and Groans).

Maybe something next to the Thanks button in the PostBit, warning them when they have (for example) < 10, < 5 and 0 Thanks left to issue.

We limit our forum members to 20 Thanks (and 20 Groans) per day - they can be an unruly bunch - and occasionally get "bug reports" that the forum is broken as a member has gone on a Thanking spree, which is why we have the limit! :)

Thanks.

II AnDo II 06-11-2008 09:36 AM

can some one help me plz i get this error

Code:

http://imageupload.com/out.php/i127772_Untitled.jpg

vitrag24 06-11-2008 03:55 PM

Quote:

Originally Posted by II AnDo II (Post 1546529)
can some one help me plz i get this error

Code:

http://imageupload.com/out.php/i127772_Untitled.jpg

it seems you've not uploaded .php file to ftp or not uploaded to right path.

acegames 06-11-2008 07:23 PM

Quote:

Originally Posted by Jorrit787 (Post 1542633)
Me and my users keep getting a No Permission error when clicking the thanks button...

Same here since upgrading to vbulletin 3.7.1

vitrag24 06-11-2008 08:10 PM

Quote:

Originally Posted by acegames (Post 1546946)
Same here since upgrading to vbulletin 3.7.1

disable your hide mod and error will be gone.

steve1966 06-11-2008 09:28 PM

Quote:

Originally Posted by vitrag24 (Post 1546990)
disable your hide mod and error will be gone.

hi I never had the hide mod installed and i still get errors with v7.6 :erm:

TimberFloorAu 06-12-2008 07:50 AM

we upgraded to 3.7.1

thanks now does not appear under thread.

Any suggestions please.

SaPh[i]R 06-12-2008 09:33 AM

Thanks =)

citeman 06-12-2008 09:55 AM

How can I disable getting/giving thanks for people who have been referred by the member.

Meaning if john has referred suzy - suzy and john cannot thank each other.

Also it would be great if there could be an IP check - users from same IP should not be able to thank each other.

mokonzi 06-12-2008 01:31 PM

I would think that's a major feature request. What's the problems you are having?

citeman 06-12-2008 05:59 PM

Actually I am running a monthly competition using the thanks count - which makes sense cause thanked people are the ones who are putting up the most constructive posts. They also get home page profile name display along with their scores for the month.

But there needs to be some checks to make sure that people are not creating multiple accounts and thanking themselves - I am using the "Post Thank You" with minimum 10 posts for the feature to be available but there may still be people in groups - as I run a educational forum there are many student groups.

That's the issue - otherwise this addon has been one of the most useful for my users.

Sergio68 06-12-2008 09:46 PM

That's weird, I'm trying to upload the product, the upload is very slow, no results at the end and no product installed ?
Anyone can tell me why ?

TimberFloorAu 06-13-2008 02:04 AM

We have since fixed the issue on 3.7.1
We re downloaded the 7.6 version of Post Thanks. Re uploaded, overwrote the product ...

Everything now works as should be !

Brill

steve1966 06-13-2008 07:48 AM

Hi can some kind coder please tell me what code i need to remove from my postbit legacy template to get rid of this
Quote:

Thanks: 18
Thanked 256 Times in 219 Posts
thanks

Sergio68 06-13-2008 01:51 PM

Quote:

Originally Posted by Sergio68 (Post 1547979)
That's weird, I'm trying to upload the product, the upload is very slow, no results at the end and no product installed ?
Anyone can tell me why ?

Done, now it's working but the characters are too big, I need smaller characters, what can I modify ?

FRANKTHETANK 2 06-13-2008 08:09 PM

How would i add buttons to a skin. I need to know each and ever templete edit. One of my skins didn't update with it can any one help?

Abe1 06-13-2008 08:30 PM

Quote:

Originally Posted by Chrisedge (Post 1540199)
I searched, and just installed, but I don't want the:

Thanks: 1
Thanked 0 Times in 0 Posts

Text to appear under the post count...How can I get rid of it? (What template to edit? Noob)

there will be an option in never version to turn it off.

Abe1 06-13-2008 08:32 PM

Quote:

Originally Posted by mauro1947 (Post 1541483)
In my 3.7.1 version, the "new" 7.6 version didnt work. I installed 7.4 version and works perfect.
What im doing wrong? :confused: :eek:
Thanks
REgards!

No clue. what "didn't work?

Abe1 06-13-2008 08:36 PM

Quote:

Originally Posted by volarium (Post 1542501)
Great hack, thanks! (so to speak).

Are there any plans to create a page that displays a list of "top thankers"? Just something simple like this page:

http://vfrworld.com/forums/referrers.php

Great job!

There are some 3rd party hacks that show stats.

Abe1 06-13-2008 08:37 PM

Quote:

Originally Posted by Jorrit787 (Post 1542633)
Me and my users keep getting a No Permission error when clicking the thanks button...

Make sure you reverted the post thanks templates.

Abe1 06-13-2008 08:38 PM

Quote:

Originally Posted by SAT2M (Post 1543328)
I think this hack take server load becuase after I update this hack from 7.4 to 7.6 in 3.7.1 VB my server load go high

Is it true? any person have same problem?

I dont have on my site. Can i see the 'explain' page in debug mode of a showthread.php page?

Abe1 06-13-2008 08:41 PM

Quote:

Originally Posted by gnavpott (Post 1544768)
use to get this error


after I have updated vbulletin to 3.7.1 and this hack to 7.6

what can be wrong

Make sure the post thanks templates are reverted.

Abe1 06-13-2008 08:42 PM

Quote:

Originally Posted by TimberFloorAu (Post 1547430)
we upgraded to 3.7.1

thanks now does not appear under thread.

Any suggestions please.

What vb version did it run good on?


All times are GMT. The time now is 05:19 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.03172 seconds
  • Memory Usage 1,862KB
  • 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_code_printable
  • (9)bbcode_html_printable
  • (10)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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