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)

saman 01-26-2008 03:14 PM

Hi,

Just upgraded it from 5.3 to 7.2, Suddenly the thanks option is not appearing on some of the threads anymore. Everthing looks just fine with correct thanked and thanks info. but its not showing the thanks button/option anymore.

ALSO everything is showing double like:

Posts: 155
Thanks: 21
Thanked 15 Times in 10 Posts
Thanks: 21
Thanked 15 Times in 10 Posts

what have i done wrong?

i am running 3.6.8 patch level 2

thanks for the advice in advance

drew010 01-26-2008 09:06 PM

one of my mods found that if they copy the thanks link for a given post and put it in an image tag in the thread, then anyone who views the thread will automatically thank that post.

as a bypass for now I have just added post_thanks.php as a censored word so it gets blocked from posts.

columbus614ohio 01-26-2008 09:21 PM

will not work on my skin

Abe1 01-26-2008 09:59 PM

Quote:

Originally Posted by YLP1 (Post 1428812)
I am running a new board v. 3.6.8. The button isn't showing on either postbits. I did confirm that the templates had the correct code via the instructions.

Any idea on what I did wrong?
Thanks in advance.

Are you looking at post made by you?

Abe1 01-26-2008 09:59 PM

Quote:

Originally Posted by DiesellMinded (Post 1428826)
Hey Abe

I had Thanked 2 times in 1 posts , Showing twice so I edited out a bit of code in post bit and i thouight it worked but for some reason i have forund 1 member that its still showing twice , I went back and edited legacy too and no change

What do i do ?

DM

How did you manage to thank twice?

Abe1 01-26-2008 10:02 PM

Quote:

Originally Posted by Namaless (Post 1428976)
With GARS found one error:

When view the second page of Reviews, get this error:
Code:

Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 183
the part is:
PHP Code:

    foreach ($thanks AS $thank)
    {
        if (
$cmpt<$number_rows)
        {
            
$virg=",";
        }
        else
        {
            
$virg="";
        }

        if (
show_thanks_date($forumid))
        {
            
$date_thank vbdate($vbulletin->options['dateformat'], $thank['date'], true);
        }

        eval(
'$liste_user .= " ' fetch_template('post_thanks_box_bit') . '";');
        
$cmpt++;
    } 

This problem get because not found users has thanked.

Thanks for your work.

Are you sure you got this with the latest version? Also, how can i duplicate this error?

Abe1 01-26-2008 10:03 PM

Quote:

Originally Posted by Nathan2006 (Post 1429009)
Hi Abe,

I only have your version that was included within the hide hack from Psionic Vision

I'm not familiar with it. The hide hack is not an add-on?

Abe1 01-26-2008 10:05 PM

Quote:

Originally Posted by BadgerDog (Post 1429212)
I don't know ....

I just checked in AdminCP and at the top is says:



If there's anything (a test PHP script etc) that you'd like me to run and give you results on, I'd be happy to do so.

Should I run any (or all) of those counter reset routines in the AdminCp for your mod, after I altered that plug-in?

Thanks for your help... :up:

Regards,
Badger

No need to run the updates.

I'd have to run some test in that script and see why it thought you did not have version 3.6.7 installed. Maybe some time in the future if others say they get the same problem.

Abe1 01-26-2008 10:06 PM

Quote:

Originally Posted by teenhut (Post 1429218)
I get an error

Bitfield Collision: credits_cantearn = prefixrequired

Is it because I am using VB Credits?

Nothing to do with me.

Abe1 01-26-2008 10:08 PM

Quote:

Originally Posted by teenhut (Post 1429299)
I want to know that.

Is it possible to edit the post bit myself rather than automatic edit?

I only want to know as How many times user has been thanked in post bit rather this and also the one "How many he thanked in how many posts"

Plus it shows up under the Mood feature. I want to show where I want to. I could not any way to turn off the automatic editing of postbit template. Any help please.

Edit the post_thanks template then.


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