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)

smirkley 10-17-2013 10:21 PM

I moved it, but you either have to make a new hook, or move the hook it attaches to naturally.

You may have to also widen the box in templates to make it fit without rollover.

CouponWCents 10-17-2013 11:10 PM

The following dependencies were not met:

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

smirkley 10-18-2013 12:27 AM

Install Hippy's version, or edit the xml dependency line for a higher version.

Hippy 10-18-2013 08:55 PM

Quote:

Originally Posted by CouponWCents (Post 2454315)
The following dependencies were not met:

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

\/

Quote:

Originally Posted by smirkley (Post 2454328)
Install Hippy's version, or edit the xml dependency line for a higher version.

you shouldn't have to change the xml dependency line




Quote:

Originally Posted by smirkley (Post 2454294)
I moved it, but you either have to make a new hook, or move the hook it attaches to naturally.

You may have to also widen the box in templates to make it fit without rollover.

Quote:

Originally Posted by Pocket Aces (Post 2454199)
In postbit_legacy, how do we move the thanks button? I'd like to place it right after the multi-quote button.

here ya go
https://vborg.vbsupport.ru/showpost....postcount=2357
Quote:

Originally Posted by dariyos (Post 2454163)
what can i do to solve this float problem?

https://vborg.vbsupport.ru/external/2013/10/40.png

now its float: right

if i do it left, it gets out of the border...

what one do you have installed ?
you should not have that issue
find template
post_thanks_postbit_info
replace code with
Code:

<vb:if condition="$post['userid']">
    <dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
    <vb:if condition="$post['post_thanks_thanked_times'] == 1">
        <dd>{vb:rawphrase post_thanks_time_post}</dd>
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
        <dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
    <vb:else />
        <dd>{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
    </vb:if>
</vb:if>


Hippy 10-18-2013 08:58 PM

Quote:

Originally Posted by ku-med (Post 2454154)
Hi Hippy,

How can i delete " Thanks: X " from the postbit_legacy \ postbit and just keeping the other line " Liked {X} Times in X Post " there

Thanks in advance! :)

yes
follow that part here
https://vborg.vbsupport.ru/showthread.php?t=266358
under Phrase Name

Hippy 10-18-2013 09:00 PM

Quote:

Originally Posted by stevieb (Post 2454016)

that's where the fix came from if you read my post youll see all the credit to everyone that posted a fix
I just made it easy for you all
by making the updated version with all the fixes

Pocket Aces 10-22-2013 05:04 AM

In number of thanks box (below the post), if a username contains a space character, it produces a line break.
How can we prevent that?

Currently, this is how it behaves...

username1, username1, username1, username1, username1, user
name2, username1, username1, user
name2, username1, username1, username1, user
name2, username1

We want it to behave like this...

username1, username1, user name2, username1, username1, user name2,
username1, user name2, username1, user name2, user name2, username1,
username1, user name2, username1

username1 ~ sample username with no space in it.
user name2 ~ sample username with space in it.

EDIT:
One more thing, is it possible to have a confirmation feature when clicking the Remove All button to prevent accidental clicking since removing all thanks of a post cannot be undone.

K4GAP 10-22-2013 05:09 AM

Quote:

Originally Posted by Hippy (Post 2454481)
that's where the fix came from if you read my post youll see all the credit to everyone that posted a fix
I just made it easy for you all
by making the updated version with all the fixes

Hippy, I've not read through all the replies/comments but may I assume your updated version will work for 4.2.2 ?

yjeanrenaud 10-22-2013 05:27 AM

@Pocket Aces: just edit the template and add style="white-space: nowrap;" to he tag containing the usernames

Pocket Aces 10-22-2013 06:13 AM

Quote:

Originally Posted by yjeanrenaud (Post 2455254)
@Pocket Aces: just edit the template and add style="white-space: nowrap;" to he tag containing the usernames

Great! Thanks!

In post_thanks_box_bit template, we replaced this...
Code:

<a href="member.php?{vb:raw session.sessionurl}u={vb:raw thank.userid}"....
with this...
Code:

<a style="white-space: nowrap;" href="member.php?{vb:raw session.sessionurl}u={vb:raw thank.userid}"....

NetElectronics 10-25-2013 10:50 PM

Great Hack! Question where can I change it so instead of saying:

Thanks 1
Thanked 2 Times in 2 Posts

I would like to change Thanks to Display Thanks Given?

RichieBoy67 10-28-2013 07:10 PM

Hey guys, does anyone have a better Thanks image?

Thanks

Also, has anyone written the plug in to move the button?

Hippy 10-28-2013 07:23 PM

Quote:

Originally Posted by RichieBoy67;2456868chieBoy67 (Post 2456868)
Hey guys, does anyone have a better Thanks image?

Thanks

Also, has anyone written the plug in to move the button?

What thanks button? The thumb?

To move location of the thumb
Look here
https://vborg.vbsupport.ru/showpost....postcount=1943

Hippy 10-28-2013 07:34 PM

Quote:

Originally Posted by GaryT (Post 2455252)
Hippy,
I've not read through all the replies/comments but may I assume your updated version will work for 4.2.2 ?

Yes Sir it does

Quote:

Originally Posted by Pocket Aces (Post 2455251)
In number of thanks box (below the post), if a username contains a space character, it produces a line break.
How can we prevent that?


Currently, this is how it behaves...

username1, username1, username1, username1, username1, user
name2, username1, username1, user
name2, username1, username1, username1, user
name2, username1


We want it to behave like this...

username1, username1, user name2, username1, username1, user name2,
username1, user name2, username1, user name2, user name2, username1,
username1, user name2, username1


username1 ~ sample username with no space in it.
user name2 ~ sample username with space in it.



EDIT:
One more thing, is it possible to have a confirmation feature when clicking the Remove All button to prevent accidental clicking since removing all thanks of a post cannot be undone.

The version I posted has this fix in it
Quote:

Originally Posted by NetElectronics (Post 2456243)
Great Hack! Question where can I change it so instead of saying:

Thanks 1
Thanked 2 Times in 2 Posts

I would like to change Thanks to Display Thanks Given?

You can it phrases

fly 10-30-2013 02:19 PM

Does anyone have some screenshots of what this looks like?

datoneer 11-04-2013 12:36 PM

I have vb 4.2.1 version. Thanks button in postbit is on the right side. How to move it to the left side?

mw2fan 11-06-2013 10:13 PM

I seem to be getting this error.

Database error in vBulletin 4.2.2:

Invalid SQL:

SELECT userid, usergroupid, displaygroupid, username, posts, post_thanks_thanked_times
FROM vb_user AS user
WHERE post_thanks_thanked_times > '0'
ORDER BY post_thanks_thanked_times DESC
LIMIT 0, 15;

MySQL Error : Unknown column 'post_thanks_thanked_times' in 'field list'
Error Number : 1054
Request Date : Wednesday, November 6th 2013 @ 03:55:17 PM
Error Date : Wednesday, November 6th 2013 @ 03:55:18 PM
Even when I uninstall the mod.
Edit: Problem solved, I figured out what was wrong.

Harpo 11-11-2013 03:18 AM

Quote:

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

Hippy 11-11-2013 11:08 AM

Quote:

Originally Posted by Harpo (Post 2459862)
Dang.

This version is completely comparable

https://vborg.vbsupport.ru/showpost....postcount=1941

Spangle 11-15-2013 02:18 PM

Quote:

Originally Posted by Harpo (Post 2459862)
Dang.

Works for me in 4.2.2

The only thing I don't have is the images.

Hippy 11-15-2013 02:24 PM

Quote:

Originally Posted by Spangle (Post 2460938)
Works for me in 4.2.2

The only thing I don't have is the images.

Custom skin?
Make sure you add the images to that image dir
As the files are uploaded to default dir

Spangle 11-15-2013 07:40 PM

Quote:

Originally Posted by Hippy (Post 2460940)
Custom skin?
Make sure you add the images to that image dir
As the files are uploaded to default dir

It's always some thing simple !!

Now why didn't I think of that !

soujro-kun 11-16-2013 03:49 AM

i have 2 errors with vbulletin 4.2.2 :

Warning: Illegal string offset 'postid' in ..../includes/functions_post_thanks.php on line 137

Warning: Illegal string offset 'post_thanks_amount' in .../includes/functions_post_thanks.php on line 143

And if I deactivate the product I get this error:

Fatal error: Call to undefined function thanked_already() in /home/XXX/public_html/includes/class_postbit.php(345) : eval()'d code on line 168

I put this ini_set('display_errors', 'Off'); below <?php in the config.php file and the error continues. Please appreciate your help.

Achelos 11-23-2013 11:00 PM

I'm using the 7.84 version (without collapse) and it doesn't seem to be compatible with the "anonym.to"-footerhack (https://vborg.vbsupport.ru/showthread.php?t=237329) - is there a way to get this compatible?

Spangle 11-27-2013 12:20 PM

1 Attachment(s)
I'm using 4.2.2 and I get an alignment problem when I use this hack with the Blog

4ngeluxpunk 11-27-2013 03:30 PM

Quote:

Originally Posted by Spangle (Post 2464089)
I'm using 4.2.2 and I get an alignment problem when I use this hack with the Blog

What version of PHP do you use?

Spangle 11-27-2013 03:57 PM

Quote:

Originally Posted by 4ngeluxpunk (Post 2464126)
What version of PHP do you use?


5.3.26

scoutz 11-27-2013 07:43 PM

Doesn't work for 4.2 :(

ForceHSS 11-27-2013 08:04 PM

Quote:

Originally Posted by scoutz (Post 2464170)
Doesn't work for 4.2 :(

It tells you it is for 4.0.x in op post

4ngeluxpunk 11-27-2013 10:07 PM

I use version 5.4.20 with vbulletin 4.2.2 I get these errors:

Warning: Illegal string offset 'postid' in ..../includes/functions_post_thanks.php on line 137

Warning: Illegal string offset 'post_thanks_amount' in .../includes/functions_post_thanks.php on line 143

And if I deactivate the product I get this error:

Fatal error: Call to undefined function thanked_already() in /home/XXX/public_html/includes/class_postbit.php(345) : eval()'d code on line 168

I put this ini_set('display_errors', 'Off'); below <?php in the config.php file and the error continues. Please appreciate your help.

4ngeluxpunk 11-27-2013 10:09 PM

Quote:

Originally Posted by scoutz (Post 2464170)
Doesn't work for 4.2 :(

If it works for vB 4.2.2 but fails theme for PHP version I think.

ForceHSS 11-27-2013 11:31 PM

Quote:

Originally Posted by 4ngeluxpunk (Post 2464199)
If it works for vB 4.2.2 but fails theme for PHP version I think.

It already tells u in ops post this works for 4.0.x not 4.2 and up

4ngeluxpunk 11-28-2013 12:49 AM

Quote:

Originally Posted by ForceHSS (Post 2464219)
It already tells u in ops post this works for 4.0.x not 4.2 and up

You can say that, but when installing on some forums with 4.2.2 but with lower versions of PHP function as normal.

ForceHSS 11-28-2013 03:01 AM

This plugin is no longer supported use it if you wish but as the op or myself dont support it any more as there are better bug free plugins out there that work better

Loget 11-30-2013 11:18 PM

Quote:

Originally Posted by ForceHSS (Post 2464268)
This plugin is no longer supported use it if you wish but as the op or myself dont support it any more as there are better bug free plugins out there that work better


Which ones would you recommend?

I was going to ask if it was possible to have a dislike for this modification but I guess there's no support anymore.

Hippy 11-30-2013 11:43 PM

Quote:

Originally Posted by utz (Post 2464170)
Doesn't work for 4.2 :(

Nothing to fix it's working with the latest v4

https://vborg.vbsupport.ru/showpost....postcount=1941

Carpesimia 12-16-2013 07:07 AM

HAs anyone seen this in the ABOUT tab of the user profile?

PHP Code:

Total Likes     0

Liked 4
,294,967,294 Times in 4,294,967,294 Posts 

I've seen this in 3 different users, and some of them have zero liked posts. How did this number get in there?

Also, I googled this number, and it is the number equivalent of the NOBODY user, which gives me pause for concern. User NOBODY is whom my apache installation runs.

Anyone else see this?

RichieBoy67 12-16-2013 10:17 AM

Does anyone have a better thumbs up image?

fxdigi-cash 12-19-2013 03:45 AM

Quote:

Originally Posted by RichieBoy67 (Post 2468630)
Does anyone have a better thumbs up image?

like these:

thumbs up

check this list: thumbs up

found some at stackoverflow, nice ones though some thumbs up

and if you search these worlds in google "thumbs up symbol", you will find bunch of them

Max Taxable 12-19-2013 03:49 AM

https://vborg.vbsupport.ru/external/2013/12/21.jpg


All times are GMT. The time now is 01:54 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.05347 seconds
  • Memory Usage 1,849KB
  • 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
  • (1)bbcode_php_printable
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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