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)

carleboy 01-02-2010 02:28 PM

Seems there is an issue with IE7 and this mod it works fine with IE8 and FireFox but once thanks is used you just get a blank white post in IE7 and help ??

RMS-Chef 01-02-2010 03:37 PM

Well done Abe. It will be a little while before I upgrade but this is a must have on my list. I hope it goes well with my 4.6 million thanks issued. :)

arena 01-02-2010 05:52 PM

thank you

mcloud 01-02-2010 06:46 PM

1 Attachment(s)
This is the translation into spanish language of this mod

Traducci?n al espa?ol de este hack
M?s traducciones en vBulletin en espa?ol

garretbyrne 01-02-2010 06:53 PM

Because of the issue I'm having I had to disable this mod on my site... I hope you do fix it but to be honest If it's not working I can't use it and you can't ask people to nominate it for the mod of the month if it doesn't work.. how it works on a select view other peoples boards is a mystery to me because I haven't done anything but install it.. and I haven't been getting support either on this

chriswatson 01-02-2010 09:50 PM

I've also had to disable this hack because of blank pages in IE after a thanks is given. (Problem only seems to be to not logged in users viewing a page after a thanks is given.)

sigh 01-02-2010 10:41 PM

Question for those who are also having to deal with page refreshes or blank pages:

Are you using friendly URLs or standard vB URLs?

Abe1 01-02-2010 10:59 PM

Quote:

Originally Posted by ichal_spy (Post 1943095)
sorry @Abe1, You must replace in product-post_thanks.xml :

Code:

.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left};

blue code to replace with post_thanks_button

so, xml file ..

Will be fixed as part of supporting postbit_legacy in next version.

Abe1 01-02-2010 11:04 PM

Quote:

Originally Posted by imagirlgeek (Post 1943107)
FYI - This Mod -> https://vborg.vbsupport.ru/showthread.php?t=230901 conflicts with the Post Thanks Mod.

I couldn't get anything to show up with this one until I disabled it. No big deal...I wanted this one more...but thought I'd share if other's were struggling with getting the Post Thanks to work.

try removing

global $template_hook;
$template_hook['memberaction_dropdown_items'] = "";

from his plug_in for postbit_display_complete

Abe1 01-02-2010 11:12 PM

Quote:

Originally Posted by Charlie98902 (Post 1943256)
How so, both mods work on my site?

It could depend on which ore you installed the hacks in.

Abe1 01-02-2010 11:13 PM

Quote:

Originally Posted by Dream (Post 1943314)
Abe1, donated $20 because of the usefulness of this mod in my boards for all this time that I used it. My members like it, I like it and it's very very much more useful than the standard reputation system. cheers, gj and thanks for updating it.

*Abe1 clicks Thanx

Abe1 01-02-2010 11:15 PM

Quote:

Originally Posted by gbechtel (Post 1943341)
The mod causing the above mentioned duplication problem is this one...

https://vborg.vbsupport.ru/showthread.php?t=228673

Disabled and working fine now....

This hack is also playing with the template hooks like they are his.

Go into his postbit_display_complete plugin and remove

global $template_hook;
$template_hook['memberaction_dropdown_items'] = "";

Abe1 01-02-2010 11:16 PM

Quote:

Originally Posted by sigh (Post 1943364)
We are also having this problem, as quoted. Every time a user clicks the "Thanks" button the page reloads. I don't think this is intended behaviour - any suggestions on fixing it?

We are using vB4 PL1, default style with some colour modifications.

Thanks!

r you sure in uploaded every file into the right spot??

Abe1 01-02-2010 11:17 PM

Quote:

Originally Posted by S4RFamily (Post 1943380)
I see that the mod have 2 buttons image but i dont see it when installed. Just "Thank" text :)
How enable it, master :)

You have to add the image to each style in FTP.

Abe1 01-02-2010 11:18 PM

Quote:

Originally Posted by Veer (Post 1943381)
I can't see Thank Image when I use postbit_legacy on default vb4 style. Any help?

Wait for next version.

Abe1 01-02-2010 11:19 PM

Quote:

Originally Posted by garretbyrne (Post 1943487)
I've tried to install but came across an issue.. I had this mod back in 3.8.4 and my members love it was being well used.. but had to uninstall all the mods because of an issue upgrading to 4 (I'm aware I might have lost previous thanks count) but now when I install I get an SQL error..

------------------
Database error in vBulletin 4.0.0:

Invalid SQL:
ALTER TABLE `user` ADD `post_thanks_user_amount` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;

MySQL Error : Duplicate column name 'post_thanks_user_amount'
Error Number : 1060
Request Date : Thursday, December 31st 2009 @ 06:06:50 PM
Error Date : Thursday, December 31st 2009 @ 06:06:51 PM
Script : http://www.irishparanormal.org/admin...=productimport
Referrer : http://www.irishparanormal.org/admin...?do=productadd
IP Address : 79.97.12.86
Username : Garret
Classname : vB_Database
MySQL Version : 5.0.85-community
------------------

Is there any ideas on how to fix this?? Because I really like this thanks..

Manually removed the "post_thanks_user_amount" column from the 'user' table using phpmyadmin

Abe1 01-02-2010 11:19 PM

Quote:

Originally Posted by dodgeboard.com (Post 1943490)
Any updates on the post groan addition to this?

We use this hack a little differently on our forums. I had converted the phrases to AGREE (for post thanks) and DISAGREE (for post groan).

This allowed other members of the forums to agree or disagree on a topic without actually cluttering the forums with short posts.

Worked very well.

I would install and support this hack, once the other half is available. :D

Thanks for all your work thus far.

I first want to iron out post thanks hack.

Abe1 01-02-2010 11:24 PM

Quote:

Originally Posted by huuquynh (Post 1943511)
Sometime, I got this error:

Database error in vBulletin 4.0.0:

Invalid SQL:

REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, '67.195.112.188', 1, 'Clue', '', 'post.dateline', 'DESC', 0.00284, 1, '1364950,1364429,1364397', 1262286103, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{} s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1587;s:4 :\"Clue\";}s:6:\"forums\";i:0;s:7:\"options\";a:3: {s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1 ;s:6:\"action\";s:7:\"process\";}}', '5ccd1105ee3bae40ab83b817fe6f2f0a');

MySQL Error : Table 'my_forum.vb_search' doesn't exist
Error Number : 1146
Request Date : Friday, January 1st 2010 @ 02:01:43 AM
Error Date : Friday, January 1st 2010 @ 02:01:43 AM
Script : http://mydomain.com/post_thanks.php?...er_gave&u=1587

What is wrong? I can not find the table vb_search in my forum's database.

Correct. Search was changed in vb 4.0 I removed the search features for post thanks hack. You must have old links still.

Abe1 01-02-2010 11:31 PM

Quote:

Originally Posted by barcena (Post 1943627)
Do I have to use FTP to install this mod or only the XML file will do it?

Thanks in advance

You need FTP to add all the files.

TimberFloorAu 01-02-2010 11:33 PM

Why arent my thanked posts showing up in reputation received in usercp. ?

Abe1 01-02-2010 11:34 PM

Quote:

Originally Posted by carrlos (Post 1943735)
Which counters do I run?? :rolleyes:

All 4

Abe1 01-02-2010 11:36 PM

Quote:

Originally Posted by garretbyrne (Post 1943785)
I've just noticed a problem on my side. When I click thanks on a user it shows up as thanks: 1 for everyone.. then when I go into a thread that has a few people the thanks below the image doubles for every user..

So If i was 1: there would be one thanks, 2: post thee would be two thanks, 3: post there would be 3 thanks.. if it's not clear I'll attach a photo.

Another hack must be messing up the template hooks. Disable each one separately and see which one it is.

Abe1 01-02-2010 11:49 PM

Quote:

Originally Posted by I.am (Post 1944145)
After to have updated User Titles and Ranks and Rebuild Thread Information on my site some of my members now they have a weird numbers of total thanks:

Total Thanks
Total Thanks: 4,294,967,295

I have tried to use the Recounters function but without success.

How can I fix it?

I would have to check your database. I idea why.

Abe1 01-02-2010 11:50 PM

Quote:

Originally Posted by SemperFideles (Post 1944331)
I have the Thanks System successfully installed and working but I cannot find where the user can search for Thanked Posts. It used to be in the Profile Statistics and Advanced Search Options but I cannot find it anywhere.

Check post 2 in this thread.

Abe1 01-02-2010 11:53 PM

Quote:

Originally Posted by tafreeh (Post 1944700)
hey there... i just update my test forum(vb4) to the latest version and i get db errors.so i disabled it...

but when i get back to my live production site which is 3.8.4 i m still getting the same db errors everywhere... and i m using 7.7 overthere... it was working .. now all of sudden it producing errors...

here is the copy of one of the error...
Code:

Database error in vBulletin 3.8.4:

Invalid SQL:
SELECT * FROM vb_post_thanks AS post_thanks INNER JOIN vb_user AS user USING (userid) WHERE post_thanks.postid IN () ORDER BY post_thanks.username ASC;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY post_thanks.username ASC' at line 1
Error Number  : 1064
Request Date  : Saturday, January 2nd 2010 @ 03:00:19 AM
Error Date    : Saturday, January 2nd 2010 @ 03:00:19 AM
Script        : http://www.xxxxx.com/ebooks-tutorials/33731-panther-vs-t-34-ukraine-1943-duel.html
Referrer      :
IP Address    : xx.xx.xx.xx
Username      : Unregistered
Classname    : vB_Database
MySQL Version :


The files were changed between version. make sure you are using the 7.7 version files for 7.7 version.

Abe1 01-02-2010 11:54 PM

Quote:

Originally Posted by SemperFideles (Post 1944865)
I tried to manually add a Post Thanks Search to a Member's Profile page as following:

PHP Code:

<li><a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks&amp;userid={vb:raw userinfo.userid}">Find all Thanked Posts</a></li

I believe your findthanks and find_user_thanks functions within post_thanks.php are not properly functioning as it returns a dB error for the search function.

Well it was disabled for a reason...

aj8690 01-03-2010 12:09 AM

1 Attachment(s)
I didn't like the images that came with so I made new ones. If anyone wants them, here they are.

TimberFloorAu 01-03-2010 12:18 AM

Quote:

Originally Posted by aj8690 (Post 1945442)
I didn't like the images that came with so I made new ones. If anyone wants them, here they are.


Superb !!!! Thanks

aj8690 01-03-2010 12:26 AM

Quote:

Originally Posted by Abe1 (Post 1945414)
r you sure in uploaded every file into the right spot??

I am having this issue where the page reloads also, so I don't think it's that the files are not uploaded correctly (I tried reuploading). Could it be that I am using legacy?

Quote:

Originally Posted by TimberFloorAu (Post 1945443)
Superb !!!! Thanks

No problem. :)

Verionia 01-03-2010 01:19 AM

Quote:

Originally Posted by valendono (Post 1942483)
Its work ! Thanks.

Thanks this worked!

garretbyrne 01-03-2010 01:29 AM

Quote:

Originally Posted by Abe1 (Post 1945413)
This hack is also playing with the template hooks like they are his.

Go into his postbit_display_complete plugin and remove

global $template_hook;
$template_hook['memberaction_dropdown_items'] = "";

Hi That seems to be the hack messing my one up also.. Where is postbit_display_complete??

Thanks and sorry for the last post... Cheers Mate

[EDIT] Right I've found that and removed it but now that plugin doesn't work, lol

Abe1 01-03-2010 01:32 AM

Quote:

Originally Posted by garretbyrne (Post 1945491)
Hi That seems to be the hack messing my one up also.. Where is postbit_display_complete??

Thanks and sorry for the last post... Cheers Mate

A plug_in. Not template.

Abe1 01-03-2010 01:40 AM

Version 7.81 (01/02/10):
  • Fixed some install and uninstall database errors.
  • Made styling for postbit legacy a little better.
  • Fixed the "separator" issue.
  • Javascript file updated.

movslow 01-03-2010 01:54 AM

Quote:

Originally Posted by Abe1 (Post 1945507)
Version 7.81 (01/02/10):
  • Fixed some install and uninstall database errors.
  • Made styling for postbit legacy a little better.
  • Fixed the "separator" issue.
  • Javascript file updated.

Looks like it's coming together rather nicely..

Any word on the post groan?

:D

garretbyrne 01-03-2010 01:56 AM

Hey I ended up using this mod instead..

https://vborg.vbsupport.ru/showthread.php?t=230901 and removed the
global $template_hook;
$template_hook['memberaction_dropdown_items'] = ""; works like a charm..

Cheers mate

aj8690 01-03-2010 01:56 AM

Thanks for the update. :) I no longer have the problem with the page refreshing.

But for some reason the images still do not appear next to the "Thanks" text. Do you know what the cause could be? They are uploaded to the right directory. I am using legacy, btw.

garretbyrne 01-03-2010 02:00 AM

The Page still refreshes though... In Legacy Mode

Abe1 01-03-2010 02:25 AM

Quote:

Originally Posted by garretbyrne (Post 1945523)
The Page still refreshes though... In Legacy Mode

Did you ctrl-F5 to refresh javascript page also?

garretbyrne 01-03-2010 02:29 AM

I'm using a Mac.. but I've tried this in Safari & Firefox and it still refreshes the page..

blake247 01-03-2010 02:43 AM

Excellent!


All times are GMT. The time now is 04:31 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.03802 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (26)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