vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=231666)

Hippy 06-19-2012 12:41 AM

Quote:

Originally Posted by d34fdumbbl1nd (Post 2340885)
I got it. But actually i don't why you are talking of three different versions in this case.

the problem is in the template post_thanks_box. there is a reference to postbitim the im in the class breaks the thread inline moderation (top of the thread). it seems to me that vBulletin grabs all elements with this class to check if there is any checkbox checked.

here is the fixed part in the product-post_thanks.xml
Code:

[...]
                <template name="post_thanks_box" templatetype="template" date="1262489133" username="Abe1" version="7.83"><![CDATA[<li class="postbit<vb:if condition="$vboptions['legacypostbit']">legacy</vb:if> postbitim" id="post_thanks_box_{vb:raw post.postid}"<vb:if condition="!$post_thanks_box == 1"> style="display:none"</vb:if>>
        {vb:raw post_thanks_box}
</li>]]></template>[...]

this Fix is tested in vBulletin 4.1.12

I'm confused a little, to clarify remove the im from postbitim in the template post_thanks_box
to fix what ?

ForceHSS 06-19-2012 01:12 AM

Quote:

Originally Posted by d34fdumbbl1nd (Post 2340885)
I got it. But actually i don't why you are talking of three different versions in this case.

the problem is in the template post_thanks_box. there is a reference to postbitim the im in the class breaks the thread inline moderation (top of the thread). it seems to me that vBulletin grabs all elements with this class to check if there is any checkbox checked.

here is the fixed part in the product-post_thanks.xml
Code:

[...]
                <template name="post_thanks_box" templatetype="template" date="1262489133" username="Abe1" version="7.83"><![CDATA[<li class="postbit<vb:if condition="$vboptions['legacypostbit']">legacy</vb:if> postbitim" id="post_thanks_box_{vb:raw post.postid}"<vb:if condition="!$post_thanks_box == 1"> style="display:none"</vb:if>>
        {vb:raw post_thanks_box}
</li>]]></template>[...]

this Fix is tested in vBulletin 4.1.12

all i see you put in that so called fix is [...] fixes nothing. If you are going to show a fix show it with a fix that you have fully tested and then post the fix. Not what you have posted above

Hippy 06-19-2012 09:32 AM

@forcehss, I seen this [...] but did not think it was anything LOL
No wonder I'm confused

tinoco2 06-21-2012 10:09 AM

Someone know how make work this mod in vbulletin 4.1.10 ?

When going to upload the XML says:

The following dependencies were not met:

This product is not compatible with version 4.1.10 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and above)

svyrydov 06-21-2012 10:11 AM

waiting for 4.2 compapability

ForceHSS 06-21-2012 11:23 AM

I am not even going to answer the two posts above me not even worth it I am sure they both can read but are to lazy to

Disco_Dave 06-21-2012 11:23 AM

Quote:

Originally Posted by svyrydov (Post 2341695)
waiting for 4.2 compapability

We have this running on 4.2 pl2 with no problems...

snakes1100 06-21-2012 03:18 PM

@ForceHSS
Just a fyi, so you dont get asked, it appears that maybe during a debugging session or something else, you forgot to uncomment the code for searching in the post_thanks_memberinfo_block template in this version of your release post_thanks_7_83_with search fix.zip


Edit Template "post_thanks_memberinfo_block"
Code:

        <!-- <li>
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks&amp;u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user, {vb:raw userinfo.username}}</a>
        </li>
        <li>
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks_user_gave&amp;u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user_gave, {vb:raw userinfo.username}}</a>
        </li> -->

Should be:
Code:

        <li>
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks&amp;u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user, {vb:raw userinfo.username}}</a>
        </li>
        <li>
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks_user_gave&amp;u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user_gave, {vb:raw userinfo.username}}</a>
        </li>

For anyone else missing the links on the About Me, just edit the template above to fix the missing search links on the About Me tab.

ForceHSS 06-21-2012 08:38 PM

Quote:

Originally Posted by snakes1100 (Post 2341765)
@ForceHSS
Just a fyi, so you dont get asked, it appears that maybe during a debugging session or something else, you forgot to uncomment the code for searching in the post_thanks_memberinfo_block template in this version of your release post_thanks_7_83_with search fix.zip


Edit Template "post_thanks_memberinfo_block"
Code:

        <!-- <li>
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks&amp;u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user, {vb:raw userinfo.username}}</a>
        </li>
        <li>
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks_user_gave&amp;u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user_gave, {vb:raw userinfo.username}}</a>
        </li> -->

Should be:
Code:

        <li>
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks&amp;u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user, {vb:raw userinfo.username}}</a>
        </li>
        <li>
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks_user_gave&amp;u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user_gave, {vb:raw userinfo.username}}</a>
        </li>

For anyone else missing the links on the About Me, just edit the template above to fix the missing search links on the About Me tab.

thanks for that fix now uploaded. So you know that fix was given to me from someone else I do check over all but just missed that one must of been busy at that time

ForceHSS 06-21-2012 08:47 PM

New version here


All times are GMT. The time now is 10:33 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.04481 seconds
  • Memory Usage 1,756KB
  • 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
  • (6)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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