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)

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


All times are GMT. The time now is 07:59 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.02122 seconds
  • Memory Usage 1,751KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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