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)

Abe1 06-13-2008 08:44 PM

Quote:

Originally Posted by citeman (Post 1547500)
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.

You can create an addon that does this.

Abe1 06-13-2008 08:45 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 ?

Check your phpmemorylimit.

Abe1 06-13-2008 08:46 PM

Quote:

Originally Posted by steve1966 (Post 1548223)
Hi can some kind coder please tell me what code i need to remove from my postbit legacy template to get rid of this


thanks

Will have an option in next release.

steve1966 06-13-2008 09:09 PM

Quote:

Originally Posted by Abe1 (Post 1548718)
Will have an option in next release.

Many thanks

ArnyVee 06-13-2008 09:33 PM

This is a great mod. Thanks for the update! (I just upgraded to 3.7.1 P1 :D )

MBarker 06-14-2008 11:17 AM

Intalled, many thanks for a great mod (rated excellent :P)

satlazone 06-15-2008 09:04 AM

Quote:

Originally Posted by calvis (Post 1419371)
When I import the XML I get a blank screen. Does anyone know why?

I have the same problem here.
How do I fix that?

*edit*
I received this in my email

Code:

Database error in vBulletin 3.7.1:

Invalid SQL:

              INSERT INTO product
                      (productid, title, description, version, active, url, versioncheckurl)
              VALUES
                      ('post_thanks',
                      'Post Thank You Hack',
                      'Post Thank You Hack',
                      '7.6',
                      1,
                      'https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=post_thanks',
                      'https://vborg.vbsupport.ru/misc.php?do=productcheck&pid=post_thanks');

MySQL Error  : Duplicate entry 'post_thanks' for key 1
Error Number  : 1062
Request Date  : Sunday, June 15th 2008 @ 01:14:08 AM
Error Date    : Sunday, June 15th 2008 @ 01:20:28 AM
Script        : http://www.satla-zone.co.il/forums/apn/plugin.php?do=productimport
Referrer      : http://www.satla-zone.co.il/forums/apn/plugin.php?do=productadd
IP Address    :
Username      :
Classname    : vB_Database
MySQL Version : 5.0.51a

Note that I checked "Overwrite" before I importing it

111 06-15-2008 10:53 PM

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.

help please

dilbert 06-16-2008 12:34 AM

Quote:

Originally Posted by dilbert (Post 1529338)
Hi Abe,
Nice mod, thanks.
I am using vBStyles Element.
The Thanks button show up twice.

How can this be edited?

Hi Abe,

Any advice on how I can edit this?

EvilJohn 06-16-2008 05:11 AM

Clicked installed. Thank you <3

NsT 06-16-2008 08:50 AM

Is there a way to check monthly thanked of each member? The reason I'd like to do it is because our forum has an Award that the member who is thanked the most will receive a present.

Many thanks!

srkrocks 06-16-2008 06:15 PM

Marked as Installed..
Thanks!

pcoskat 06-17-2008 12:18 AM

Sorry if this has been asked and answered (I didn't see it)...is post groan going to be updated for 3.7?

Joshyyy 06-17-2008 01:24 AM

Alot of my members wanted this installed. must say very nice mod :)

tnedator 06-17-2008 10:57 AM

I've recently upgraded to 3.7.1 PL 1, Post Thanks 7.6, vBadvanced CMPS v3.0.1, all albums 2.3, and Tag Cloud 1.0.

Since then, some of the thanked posts (High Fived on our board, due to a phrase change) are now showing up with a N/A rather than a link to the post that was given the thanks.

Code:

Thread        Date                        Posted By        Comment
N/A        06-15-2008 11:45 PM        Tned                High Fived Post

Any idea what is causing this? Any fix?
Thanks

SALIMUS 06-17-2008 11:57 AM

realy great
thanks for ur great job.
wbr

Goodman_2020 06-17-2008 11:34 PM

Thanks for this great hack, it's very useful for my forum.
But it still miss 3 stuffs very useful (and well , necessary for my use)

1) That the "thanks" button doesn't appears on the messages of the author of the thread (inside the thread)

2) We should have the possibility to set that Only the creator of the thread should be able to give a thanks via the button.

3) We should be able to restrict to "thanks" just one person in a specific thread and just one time. Once the author has given a "thanks" to one person on his thread, all the thanks buttons disapear of every posts of the threads, like it does when you give a thanks to a post...except that the "thanks" button disappears only on the thanked post :(

Do you think those functions could be integrated soon?

Thanks

3)

kallenapp 06-18-2008 10:35 AM

1 Attachment(s)
i have installed this hack with 3.7.1 Patch Level 1 and it works great. the only problem i have , there are double thanks in the postbit.

Goodman_2020 06-18-2008 11:46 AM

Quote:

Originally Posted by kallenapp (Post 1552478)
i have installed this hack with 3.7.1 Patch Level 1 and it works great. the only problem i have , there are double thanks in the postbit.

check if you didn't past 2 times the code (in readme.txt) in your template postbit legacy, i guess it's where your problem comes from

kallenapp 06-18-2008 12:31 PM

there is no code to copy in my readme :confused:

Quote:

Post Thank You Hack version 7.5

FOR UPGRADE AND FRESH INSTALLATIONS!

1) upload the 'upload via ftp' folder
--------------------------------------------------------------------
post_thanks.php -> \
post_thanks_admin.php -> \admincp\
post_thanks.js -> \clientscript\
functions_post_thanks.php -> \includes\
cpnav_post_thanks.xml -> \includes\xml\
hooks_post_thanks.xml -> \includes\xml\
post_thanks.gif -> \images\buttons\ (and into EVERY "buttons" folder in every style you have)
--------------------------------------------------------------------

2) Import product-post_thanks.xml into PRODUCTS. Allow Overwrite "YES" (admincp -> Plugin System -> Manage Products -> [Add/Import Product])




Click 'install' in the thread you downloaded this from.

Done

TrIn@dOr 06-18-2008 01:17 PM

1 Attachment(s)
Translation to Spanish / EspaƱol (Argentina)

Only the the part what users see. Left vBulletins Setting Section.

Goodman_2020 06-18-2008 06:00 PM

Quote:

Originally Posted by kallenapp (Post 1552531)
there is no code to copy in my readme :confused:

Sorry, i was confusing with another hack.
But there is a template to edit anyway :)

FOR UPGRADE AND FRESH INSTALLATIONS!

1) upload the 'upload via ftp' folder
--------------------------------------------------------------------
post_thanks.php -> \
post_thanks_admin.php -> \admincp\
post_thanks.js -> \clientscript\
functions_post_thanks.php -> \includes\
cpnav_post_thanks.xml -> \includes\xml\
hooks_post_thanks.xml -> \includes\xml\
post_thanks.gif -> \images\buttons\ (and into EVERY "buttons" folder in every style you have)
--------------------------------------------------------------------

2) Import product-post_thanks.xml into PRODUCTS. Allow Overwrite "YES" (admincp -> Plugin System -> Manage Products -> [Add/Import Product])


3) Template edits:


Open template: memberinfo_block_statistics

find:
--------------------------------------------------------------------
<fieldset class="statistics_group">
<legend>$vbphrase[general_information]</legend>
--------------------------------------------------------------------

place BEFORE:
--------------------------------------------------------------------
$template_hook[profile_stats_pregeneral]
--------------------------------------------------------------------


Click 'install' in the thread you downloaded this from.

Done

kallenapp 06-19-2008 10:48 AM

Quote:

Originally Posted by Goodman_2020 (Post 1552792)
Sorry, i was confusing with another hack.
But there is a template to edit anyway :)



Open template: memberinfo_block_statistics

find:
--------------------------------------------------------------------
<fieldset class="statistics_group">
<legend>$vbphrase[general_information]</legend>
--------------------------------------------------------------------

place BEFORE:
--------------------------------------------------------------------
$template_hook[profile_stats_pregeneral]
--------------------------------------------------------------------


Click 'install' in the thread you downloaded this from.

Done

this change in the template is allready made on times.

Is this really the only template to change?

Robbey 06-19-2008 11:16 AM

How do I reset a certain member's thanks count?

Goodman_2020 06-19-2008 12:10 PM

Quote:

Originally Posted by kallenapp (Post 1553444)
this change in the template is allready made on times.

Is this really the only template to change?

yes

mrsbuzzy 06-19-2008 12:32 PM

I don't want to show the number of times thanked etc under a member's user name. Could someone please tell me how to turn that off. ASAP. It's causing a headache on my site.

Thanks so much!
Dawn

PS: I use dreamweaver to edit code when need be, but I can't seem to find what to edit.

tnedator 06-20-2008 04:23 PM

Quote:

Originally Posted by tnedator (Post 1551530)
I've recently upgraded to 3.7.1 PL 1, Post Thanks 7.6, vBadvanced CMPS v3.0.1, all albums 2.3, and Tag Cloud 1.0.

Since then, some of the thanked posts (High Fived on our board, due to a phrase change) are now showing up with a N/A rather than a link to the post that was given the thanks.

Code:

Thread        Date                        Posted By        Comment
N/A        06-15-2008 11:45 PM        Tned                High Fived Post

Any idea what is causing this? Any fix?
Thanks

Anyone else seeing this N/A problem?

tnedator 06-20-2008 05:07 PM

I installed mod_security and a set of rules. In doing so, the Post thanks system stopped working. Users were getting this error:

https://vborg.vbsupport.ru/external/2008/06/22.jpg

What is strange to me is that I have the following in my .htaccess in my /forums directory

Code:

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Any idea how I can run mod_security and still have post thanks working?

Thanks

tnedator 06-20-2008 07:32 PM

Quote:

Originally Posted by tnedator (Post 1554732)
I installed mod_security and a set of rules. In doing so, the Post thanks system stopped working. Users were getting this error:

https://vborg.vbsupport.ru/external/2008/06/22.jpg

What is strange to me is that I have the following in my .htaccess in my /forums directory

Code:

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Any idea how I can run mod_security and still have post thanks working?

Thanks

By the way, I am completely illiterate when it comes to mod_security, but this is the specific rule that post_thanks is firing.

Code:

SecRule REQUEST_METHOD "!^(?:get|head|propfind|options)$" \
    "chain, t:lowercase, deny,log,auditlog,status:501,msg:'Request content encoding is not allowed by policy',id:'960010',severity:'4'"
SecRule REQUEST_HEADERS:Content-Type "!(?:^(?:application/x-www-form-urlencoded$|multipart/form-data;)|text/xml)"


xoutlawz00x 06-21-2008 05:19 AM

Hey i had the hid hack working with the thanks hack... now when i click thanks it just disappears and does nothing.. i reacently upgraded to 3.71 pl2 and reinstalled vbavanced... any ideas

xoutlawz00x 06-21-2008 05:29 AM

i got it working i was doing 7.5 instead of 7.6 thanks..

BUt now the thank you gif is not the same as the template how do i change that i think before it was the same without me doing anything??

agent781 06-21-2008 05:47 AM

Excellent work, thank you! :up:

Abe1 06-23-2008 02:07 AM

Quote:

Originally Posted by 111 (Post 1550364)
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.

help please

Make sure your files are up to date.

Abe1 06-23-2008 02:09 AM

Quote:

Originally Posted by tnedator (Post 1551530)
I've recently upgraded to 3.7.1 PL 1, Post Thanks 7.6, vBadvanced CMPS v3.0.1, all albums 2.3, and Tag Cloud 1.0.

Since then, some of the thanked posts (High Fived on our board, due to a phrase change) are now showing up with a N/A rather than a link to the post that was given the thanks.

Code:

Thread        Date                        Posted By        Comment
N/A        06-15-2008 11:45 PM        Tned                High Fived Post

Any idea what is causing this? Any fix?
Thanks

No clue. I would have to know how to duplicate it.

Abe1 06-23-2008 02:11 AM

Quote:

Originally Posted by Goodman_2020 (Post 1552142)
Thanks for this great hack, it's very useful for my forum.
But it still miss 3 stuffs very useful (and well , necessary for my use)

1) That the "thanks" button doesn't appears on the messages of the author of the thread (inside the thread)

2) We should have the possibility to set that Only the creator of the thread should be able to give a thanks via the button.

3) We should be able to restrict to "thanks" just one person in a specific thread and just one time. Once the author has given a "thanks" to one person on his thread, all the thanks buttons disapear of every posts of the threads, like it does when you give a thanks to a post...except that the "thanks" button disappears only on the thanked post :(

Do you think those functions could be integrated soon?

Thanks

3)

Number 1 is done already. Check the ACP options. I dont think I will do 2 or 3.

Abe1 06-23-2008 02:11 AM

Quote:

Originally Posted by kallenapp (Post 1552478)
i have installed this hack with 3.7.1 Patch Level 1 and it works great. the only problem i have , there are double thanks in the postbit.

Remove any template edits you had made for this hack.

Abe1 06-23-2008 02:14 AM

Quote:

Originally Posted by mrsbuzzy (Post 1553518)
I don't want to show the number of times thanked etc under a member's user name. Could someone please tell me how to turn that off. ASAP. It's causing a headache on my site.

Thanks so much!
Dawn

PS: I use dreamweaver to edit code when need be, but I can't seem to find what to edit.

Will be an option in the next version.

leannet 06-23-2008 02:43 AM

I want to show the number of times thanked etc under a member's user name but nothing is showing up.

LisaJH 06-23-2008 03:42 PM

Quote:

Originally Posted by leannet (Post 1556500)
I want to show the number of times thanked etc under a member's user name but nothing is showing up.

Hay Lea... its lisa...
did u install it properly???

Its working for me!!!! ive had the hack for a while now!!!!

All i did was upload the contents thru ftp and then went to add import product...
and it works...

dilbert 06-23-2008 09:21 PM

Still have the two thanks buttons. Any proposed solution?
Thanks


All times are GMT. The time now is 09:35 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.02319 seconds
  • Memory Usage 1,850KB
  • 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
  • (7)bbcode_code_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