vb.org Archive

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

mvigod 09-12-2007 07:33 PM

Quote:

Originally Posted by AzzidReign (Post 1324522)
BUG REPORT
I didn't look around to see if people have had this same problem but when I go to use the special actions script to delete all thanks from a user, it will say it deleted all the thanks but it will only delete 1. So if someone boosted to get 200 thanks...we have to do that 200 times to get rid of all the thanks.

I am having this same problem. Any updates on a fix?

Fifthe1ement 09-12-2007 09:27 PM

Others have mentioned this not working in Firefox but why does no one ever get back to them. Someone please help me out? On my site it works in IE7 but not in FF.

Thanks,

FifthE1ement

KinG__________ 09-13-2007 04:30 AM

Quote:

Originally Posted by GearTripper (Post 1336773)
read a couple posts above yours...


you need this one... post thanks 6 3 vb3 6 8.zip

Yea bro Now I Install Is , But Now The Prob Is Thanks Button Is Not Visible , I upload every thing In FTP , I Upload the thanks button In every style /buttons/ << here ... But The thanks Button not visible :erm:

BeyondMedieval 09-13-2007 07:46 AM

I have some problem with the thank you hack
works well but i do get the

Thanks: 0
Thanked 0 Times in 0 Posts

shows up twice on post..any idea why this??

Fifthe1ement 09-13-2007 08:34 AM

Yeah it seems to only work in IE but firefox so it is probably related to King's problem also. Why won't the dev respond?

andreamarucci 09-13-2007 09:17 AM

Do you think that this mod could also be used to say "Happy Birthday" instead of thanks? I ask this since on my forum every birthday there a flood of messages saying "Happy birthday" so I'm thinking about using this mod to say this instead of just thanks.

What kind of modifications I've to do?

slyreptile 09-13-2007 02:42 PM

How can I turn off/prevent the number of thanks being given by a user from showing in their postbit? I don't want users to see how often someone gives thanks. Can this be added as a feature?

Fifthe1ement 09-14-2007 02:24 AM

Ok now I feel like a schmuck. If you have installed this mod and are unable to see the "Thank You" button while using either FireFox or Internet Explorer you need simply empty your file cache. The problem lies mainly with FireFox as it is the only browser to come with default settings that doesn't update sites on the fly. To fix the button not appearing simply clear your private data (cache) by going to Tools, Clear Private Data, clear everything, restart the browser, and go back to the site you want.

I hope this can help people that had the same issue as I did. You wouldn't believe how many of my forum members were unable to see the thank you hack that were using FireFox, ALL OF THEM! All IE7 users had no issues and neither did Opera users. I'm not here to dispute browser differences but rather provide a quick fix for those in need.

Enjoy,

FifthE1ement

ff-w 09-14-2007 10:19 PM

Quote:

Originally Posted by KinG__________ (Post 1338095)
But Now The Prob Is Thanks Button Is Not Visible , I upload every thing In FTP , I Upload the thanks button In every style /buttons/ << here ... But The thanks Button not visible :erm:

same here, i see the 0 thanks and 0 recieved so i guess i did the postbit stuff correctly, but the thanks button or even the word thanks is not there.

cleared the cache in firefox, checked the site with IE to be sure.

uploaded the files to the specified areas, edited the global php. made sure ajax is turned on in the admincp

any ideas?

thanks

Fifthe1ement 09-15-2007 02:39 AM

Quote:

Originally Posted by ff-w (Post 1339187)
same here, i see the 0 thanks and 0 recieved so i guess i did the postbit stuff correctly, but the thanks button or even the word thanks is not there.

cleared the cache in firefox, checked the site with IE to be sure.

uploaded the files to the specified areas, edited the global php. made sure ajax is turned on in the admincp

any ideas?

thanks

Have you manually edited and checked your style files for integration? See included style doc in the install archive. I'll try to help you more if I can since the creator is never going to.

Fifth

broonzy 09-16-2007 09:07 AM

Many thanks for your hack. I'm using the last version with vb3.8, and I have a question. I'd like to deactivate the TY stats in postbit and in memberinfo, so that you can't see how many times people are thanked and how many times they gave a thank.

Thanks.

franzis 09-16-2007 11:41 AM

I also have two questions.. the first is the same as bronnzy had asked.. how can i deactivate the TY in userinfo and postbit..

And my second question: is it possible to add some usergroups that can use the TY? and how can i add them? comma seperated, or semicolon?

thanks for your help..

LG Franzis

Abe1 09-16-2007 12:04 PM

Quote:

Originally Posted by slyreptile (Post 1338351)
How can I turn off/prevent the number of thanks being given by a user from showing in their postbit? I don't want users to see how often someone gives thanks. Can this be added as a feature?

You can remove the info from the template.

Abe1 09-16-2007 12:05 PM

Quote:

Originally Posted by broonzy (Post 1340004)
Many thanks for your hack. I'm using the last version with vb3.8, and I have a question. I'd like to deactivate the TY stats in postbit and in memberinfo, so that you can't see how many times people are thanked and how many times they gave a thank.

Thanks.

blank out the post_thanks_postbit_info template. Replace the whole template with nothing.

Abe1 09-16-2007 12:07 PM

Quote:

Originally Posted by ff-w (Post 1339187)
same here, i see the 0 thanks and 0 recieved so i guess i did the postbit stuff correctly, but the thanks button or even the word thanks is not there.

cleared the cache in firefox, checked the site with IE to be sure.

uploaded the files to the specified areas, edited the global php. made sure ajax is turned on in the admincp

any ideas?

thanks

The button should show even if AJAX is off. This hack works fine if you dont have AJAX running. Can you test the hack on a default vb style?

broonzy 09-16-2007 12:20 PM

Quote:

Originally Posted by Abe1 (Post 1340101)
blank out the post_thanks_postbit_info template. Replace the whole template with nothing.

Thanks a lot Abe1. :up:

Xplorer4x4 09-16-2007 08:03 PM

We just moved server and for some reason when i click the thanks button it either takes me to a redirect page that says the error below in the top left corner, then has a redirect message like thanks for clicking the thank you button. I deleted the hide hack and thanks hack and reinstalled, now i get the error but below the thanked post and above the users who gave thanks box.

Quote:

Parse error: syntax error, unexpected '<' in public_html/forum/post_thanks.php(46) : eval()'d code on line 1

no mods 09-17-2007 02:50 AM

I have a problem with the thanks button in opera broswer, it only happens on my site, other site in opera work fine with this mod. I have 3.6.8 vbulletin.

Wehn I click the thankyoubutton is makes it so the page starts over. I checked a new skin install and samething, any ideas.

Pictures.

Before:
http://img473.imageshack.us/img473/6510/beforemk9.png

After:
http://img382.imageshack.us/img382/9941/afternt5.png

It works fine in other bwosers any clue as two why it does this, I have asked other people and they get the same problem on my forum in opera two.

Abe1 09-17-2007 05:40 AM

Quote:

Originally Posted by no mods (Post 1340588)
I have a problem with the thanks button in opera broswer, it only happens on my site, other site in opera work fine with this mod. I have 3.6.8 vbulletin.

Wehn I click the thankyoubutton is makes it so the page starts over. I checked a new skin install and samething, any ideas.

Pictures.

Before:
http://img473.imageshack.us/img473/6510/beforemk9.png

After:
http://img382.imageshack.us/img382/9941/afternt5.png

It works fine in other bwosers any clue as two why it does this, I have asked other people and they get the same problem on my forum in opera two.

Can it be you never uploaded the javascript file?
Quote:

Originally Posted by Xplorer4x4 (Post 1340360)
We just moved server and for some reason when i click the thanks button it either takes me to a redirect page that says the error below in the top left corner, then has a redirect message like thanks for clicking the thank you button. I deleted the hide hack and thanks hack and reinstalled, now i get the error but below the thanked post and above the users who gave thanks box.

I dont know what would be causing it. I would have to look at your ACP.

no mods 09-17-2007 01:40 PM

No ive reuploaded everything and reinstalled the xml, still same problem.

Abe1 09-17-2007 09:14 PM

Quote:

Originally Posted by no mods (Post 1340845)
No ive reuploaded everything and reinstalled the xml, still same problem.

Can you run the FF "Error console" and tell me what comes up when you click 'thanks'?

slyreptile 09-17-2007 09:57 PM

Thanks! That did it!

no mods 09-17-2007 11:28 PM

Quote:

Originally Posted by Abe1 (Post 1341218)
Can you run the FF "Error console" and tell me what comes up when you click 'thanks'?

How do I do this, please xplain a little more haha.:erm:

Abe1 09-18-2007 03:15 AM

Do you have FireFox? Look in the tools menu.

no mods 09-18-2007 12:17 PM

The mod works perfectly in firefox, it only messes up in opera.

tnedator 09-18-2007 08:32 PM

Abe, thanks for a great mod.

I have a question. If I wanted to change the 'Thanks' to another word or phrase like "high fives" or "honors" or something else, how would I go about doing it?

First, is that ok, since this is your mod?

Second, do you have a list of places where I would have to change thanks to the new word(s)?

Bonus question, what is the best way to backup the Thanks data in case of moving servers or a server crash? I have been going into Admin CP and choosing to backup all tables.

Thanks

momo2 09-19-2007 02:13 PM

It works great, how ever your older version, the button stood on left side, but not it's on the left, so most of my new members having a hard time to see it..
Please see attachment..

tnedator 09-19-2007 10:56 PM

Quote:

Originally Posted by tnedator (Post 1341978)
Abe, thanks for a great mod.

I have a question. If I wanted to change the 'Thanks' to another word or phrase like "high fives" or "honors" or something else, how would I go about doing it?

First, is that ok, since this is your mod?

Second, do you have a list of places where I would have to change thanks to the new word(s)?

Bonus question, what is the best way to backup the Thanks data in case of moving servers or a server crash? I have been going into Admin CP and choosing to backup all tables.

Thanks

well, I found an old post that talked about 'phrases' and changing it in the .xml prior to installing, so that seemed to work.

I do have a question though. In a test I am doing, it is showing 0 "high fives" (replacement for thanks), but below it it says 2 High Fives in 1 post.

https://vborg.vbsupport.ru/

mystic10 09-19-2007 11:21 PM

hello please help i dont kow what went wrong its saying fatal error

Warning: require_once(/home/yahoocit/public_html/includes/functions_post_thanks.php) [function.require-once]: failed to open stream: No such file or directory in /includes/class_postbit.php(268) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required '/home/yahoocit/public_html/includes/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/yahoocit/public_html/includes/class_postbit.php(268) : eval()'d code on line 1

FIM 09-21-2007 05:23 PM

installed, nice hack, please psd buton thanks?

mvigod 09-21-2007 07:15 PM

Quote:

Originally Posted by tnedator (Post 1342747)
well, I found an old post that talked about 'phrases' and changing it in the .xml prior to installing, so that seemed to work.

I do have a question though. In a test I am doing, it is showing 0 "high fives" (replacement for thanks), but below it it says 2 High Fives in 1 post.

https://vborg.vbsupport.ru/

That is because the same post was thanked twice by different users. The odds that those two numbers will ever be equal would be slim.

tnedator 09-21-2007 07:49 PM

Quote:

Originally Posted by mvigod (Post 1344037)
That is because the same post was thanked twice by different users. The odds that those two numbers will ever be equal would be slim.

I was confused by the "High Fives 0", but realized with some testing that it referred to how many High Fives (thanks) that user has given out.

mvigod 09-21-2007 11:30 PM

I added a menu item in the drop down postbit menu to search the users thanked posts . Just keeps users from having to go to the userprofile to search

In postbit and postbit legacy

Look for
Code:

<if condition="$show['search']">
  <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
 </if>

.

below it paste:
Code:

<if condition="$show['search']">
  <tr><td class="vbmenu_option"><a href="post_thanks.php?$session[sessionurl]do=findthanks&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">Find all $post[username]'s thanked posts</phrase></a></td></tr>
    </if>


cadj 09-23-2007 07:07 AM

my friends my mod thanks is giving an error:

somethimes (most times) i "click" Thanks and it say:
You have already said thank you for this post!

and this not true! somethimes if i backup page the thanks is in there. how to fix this my friends? way appear this messege or how to fix?

please help

m2006 09-23-2007 07:14 AM

thanks you

Doctor Death 09-23-2007 11:04 PM

I have a dark board, are there other buttons for the thanks mod?

Abe1 09-24-2007 01:15 AM

Quote:

Originally Posted by momo2 (Post 1342446)
It works great, how ever your older version, the button stood on left side, but not it's on the left, so most of my new members having a hard time to see it..
Please see attachment..

You have to manually move vB's $template_hook for the controls.
Quote:

Originally Posted by tnedator (Post 1342747)
well, I found an old post that talked about 'phrases' and changing it in the .xml prior to installing, so that seemed to work.

I do have a question though. In a test I am doing, it is showing 0 "high fives" (replacement for thanks), but below it it says 2 High Fives in 1 post.

http://www.broncos07.com/downloads/h...iveProfile.jpg

The 0 is because he never gave thanks to anyone.
Quote:

Originally Posted by mystic10 (Post 1342764)
hello please help i dont kow what went wrong its saying fatal error

Warning: require_once(/home/yahoocit/public_html/includes/functions_post_thanks.php) [function.require-once]: failed to open stream: No such file or directory in /includes/class_postbit.php(268) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required '/home/yahoocit/public_html/includes/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/yahoocit/public_html/includes/class_postbit.php(268) : eval()'d code on line 1

why not try uploading the files???????
Quote:

Originally Posted by FIM (Post 1343960)
installed, nice hack, please psd buton thanks?

no

Hornstar 09-24-2007 01:15 AM

I am still having problems deleting all of a users thanks they have given or received.

Abe1 09-24-2007 01:16 AM

no.

Abe1 09-24-2007 01:17 AM

Quote:

Originally Posted by hornstar1337 (Post 1345584)
I am still having problems deleting all of a users thanks they have given or received.

Sorry, i didn't look into that yet.


All times are GMT. The time now is 09:35 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.02598 seconds
  • Memory Usage 1,847KB
  • 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
  • (21)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