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)

Abe1 10-16-2006 12:05 AM

Quote:

Originally Posted by stinger2
hi Abe

https://vborg.vbsupport.ru/
not that big issue....but i am getting a streep between the thanks button and the edit button

i have redone the postbit legacy temp few times..but no success......

when i upload my old postbit legacy from vb 3.54 i dont get this.......

it should not be so..since i revert the template and worked it all over again...any idea why i am getting this??

I think I've seen this a while before. Do you have the latest version? Also, what browser are you using?

stinger2 10-16-2006 12:27 AM

Quote:

Originally Posted by Abe1
I think I've seen this a while before. Do you have the latest version? Also, what browser are you using?

yes Abe..i have the last version..and i am using IE

Milad 10-16-2006 02:02 AM

Quote:

Originally Posted by Abe1
Added to my todo list but not sure why the link would show up if unregistered user can't see the thanks button. The link my be there still. I'll try to see what I can do.

I think the problem could be solved if we hide the link for the blocked usergroups not only the <img ... /> tag.

fatal1980 10-16-2006 03:36 AM

Does anyone know how to sort the most thanked post and have it displayed on the front page or in vbadvance like http://curious-contraptions.com

Is there a vba module for this?

mrkhm 10-17-2006 05:29 AM

many thanks, much appreciated.

paulgrimshaw 10-17-2006 07:19 PM

I have installed this, but have a problem. When I click thanks, my site reloads <!> within the page I am looking at underneith the signature where the thanks button was.. I have attached an image.

Any ideas?

Thanks,
Paul.

AyeCapn 10-18-2006 04:17 AM

Loving the hack.

Here's a different kind of question... How can I change the font size of the thanks box ("The following user says thank you...") to match the postbit_legacy font size? With lots of thanks, that box could get pretty big. Small font would help it blend in more as well.

EDIT: never mind. I found it! Change the <td> class from "alt2" to "smallfont"

:cool:

Abe1 10-18-2006 11:59 AM

Quote:

Originally Posted by paulgrimshaw
I have installed this, but have a problem. When I click thanks, my site reloads <!> within the page I am looking at underneith the signature where the thanks button was.. I have attached an image.

Any ideas?

Thanks,
Paul.

Yes. You did not do the template edits correctly.

stinger2 10-18-2006 07:33 PM

Quote:

Originally Posted by stinger2
hi Abe

http://www.hostmypiconline.com/images/thanks.png
not that big issue....but i am getting a streep between the thanks button and the edit button

i have redone the postbit legacy temp few times..but no success......

when i upload my old postbit legacy from vb 3.54 i dont get this.......

it should not be so..since i revert the template and worked it all over again...any idea why i am getting this??

what ever it is..it sit in the xml file.......i uploaded the 4.2 version xml...and that dash is gone....reimported 5.1 xml and it is back...may be this will give you some idea Abe??

category 10-18-2006 07:43 PM

abe did you solve the problem why your hack doesnt upload in some forums?

Abe1 10-19-2006 05:47 PM

Quote:

Originally Posted by category
abe did you solve the problem why your hack doesnt upload in some forums?

Not yet.

AyeCapn 10-19-2006 09:02 PM

I've modified my installation a bit. I really wanted the vB.org MOTM hack on my site, but it isn't publicly available. I changed the button and all phrase text to refer to the system as a "Nomination for Tip of the Month". It only appears in forums that pertain to the particular piece of software we discuss.

Most thanks at teh end of the month wins tip of the month, then all are removed. We start fresh the next month

:cool:

Muellmann 10-20-2006 09:28 PM

i uninstalled because the thankscount of the members disappeared from them profiles and everywhere was 0 thanks then. the table "user" was defective and
I tried to unistall the plugin, but one thanks-button remained in my navbar, can you help me to remove this. I reverted my forumhome but it's still there.

Andromeda2875 10-20-2006 09:58 PM

For some reason it is not working on my forum. I installed it and followed the instructions but in my postbit_legacy there is no:

Code:

<!-- / post $post[postid] popup menu -->

The images does not show up to thank anyone. Please help.

choiemdi1975 10-21-2006 02:01 AM

Could you update this hack to supporting VBB 3.6.2 ?
I like it very much :)

Thanks

Abe1 10-21-2006 10:47 PM

Quote:

Originally Posted by Muellmann
i uninstalled because the thankscount of the members disappeared from them profiles and everywhere was 0 thanks then. the table "user" was defective and
I tried to unistall the plugin, but one thanks-button remained in my navbar, can you help me to remove this. I reverted my forumhome but it's still there.

No clue how that got there. I would have to look at your ACP.

Abe1 10-21-2006 10:47 PM

Quote:

Originally Posted by Andromeda2875
For some reason it is not working on my forum. I installed it and followed the instructions but in my postbit_legacy there is no:

Code:

<!-- / post $post[postid] popup menu -->

The images does not show up to thank anyone. Please help.

That is the last line of the postbit.

Abe1 10-21-2006 10:48 PM

Quote:

Originally Posted by choiemdi1975
Could you update this hack to supporting VBB 3.6.2 ?
I like it very much :)

Thanks

I believe this version works on vb 3.6.2

Abe1 10-22-2006 01:54 AM

Version 5.2 (10/21/06):
  • Optimized AJAX code
  • rel="nofollow" added to all links


brandnew 10-22-2006 06:34 AM

This hack is messy. It includes a long string of javascript after each and every post in the thread. Why it has to be that? You can just put javascript in an external .js file, attach postid to the "Thank You" button in each post, and for every click, the postid is passed to the function.

Please clean this up. The vbulletin inline mod offers a good example to follow.

optrex 10-22-2006 09:25 AM

Thanks for that update abe, my spiders are alot happier with that nofollow in place

RS_Jelle 10-22-2006 10:41 AM

Thanks for the update :)

There's a small W3C error, when you validate a showthread page you get this error for each thanks:
Quote:

Warning Line x column x: reference not terminated by REFC delimiter.
<a href="member.php?u=x">username</a>&nbsp(22-10-2006)
There's &nbsp in the source code, this should be &nbsp;

Abe1 10-22-2006 12:57 PM

Quote:

Originally Posted by brandnew
This hack is messy. It includes a long string of javascript after each and every post in the thread. Why it has to be that? You can just put javascript in an external .js file, attach postid to the "Thank You" button in each post, and for every click, the postid is passed to the function.

Please clean this up. The vbulletin inline mod offers a good example to follow.

Last time I checked, I had to do it this way because AJAX uses a second function that i am unable to send a variable to. I will look into it again since my knowledge for javascript has been increasing the past few weeks.

Abe1 10-22-2006 01:02 PM

Quote:

Originally Posted by RS_Jelle
Thanks for the update :)

There's a small W3C error, when you validate a showthread page you get this error for each thanks:

There's &nbsp in the source code, this should be &nbsp;

Correct.

Will be fixed in next release.

post_thanks_box_bit can be released with:
HTML Code:

<if condition="$ajax_on"><a href=\"member.php?$session[sessionurl]u=$thank[userid]\" rel=\"nofollow\">$thank[username]</a><if condition="$date_thank">&nbsp;($date_thank)</if>$virg
<else />
<a href="member.php?$session[sessionurl]u=$thank[userid]" rel="nofollow">$thank[username]</a><if condition="$date_thank">&nbsp;($date_thank)</if>$virg
</if>


big dan 10-22-2006 04:34 PM

Smooth upgrade from 5.1 to 5.2 on 3.6.2 today :)

EMBX 10-23-2006 01:44 AM

Installed VB 3.6.2

Very nice hack, thank you! :up:

Had some troubles with translation (javascript Errors) but this was because I put quotes around some words in the phrase translation to Dutch :eek:

Again Very nice hack! *click install *

nocarder 10-23-2006 09:52 AM

Installed smoothly in 3.6.2

Nice job, thanx a lot...!!!

Abe1 10-23-2006 12:29 PM

Quote:

Originally Posted by EMBX
Installed VB 3.6.2

Very nice hack, thank you! :up:

Had some troubles with translation (javascript Errors) but this was because I put quotes around some words in the phrase translation to Dutch :eek:

Again Very nice hack! *click install *

You can make a new phrase for the ajax phrase and add a \ before each " and '

nexus851 10-24-2006 07:46 AM

It freezes and gives me a 404 error when i treid to upload the product thru the product manager. Please help...

J

NM, i just FTP the xml and it works fine now

Abe1 10-24-2006 11:55 AM

Quote:

Originally Posted by nexus851
It freezes and gives me a 404 error when i treid to upload the product thru the product manager. Please help...


J

NM, i just FTP the xml and it works fine now

I know others compained about it not uploading. What did you do???

SeQual 10-24-2006 11:58 AM

OR import the XML file from your server
./includes/xml/product.xml

I guess he did that, instead of browing to it from computer. Mine works both ways.

Lionel 10-24-2006 04:41 PM

There appear to be a conflict with Geek Article System

In GAS, part of the first post (with a link to full thread) displays on top of everypage.

That throws of a foreach error by post thank you.

Quote:

Warning: Invalid argument supplied for foreach() in /includes/class_postbit.php(268) : eval()'d code on line 290

Warning: Invalid argument supplied for foreach() in /includes/class_postbit.php(268) : eval()'d code on line 300
Is there a way to fix that?

Abe1 10-24-2006 10:15 PM

Quote:

Originally Posted by Lionel
There appear to be a conflict with Geek Article System

In GAS, part of the first post (with a link to full thread) displays on top of everypage.

That throws of a foreach error by post thank you.



Is there a way to fix that?

Can you re-order the order that the plug-ins run?

Lionel 10-24-2006 10:17 PM

That was my first reaction, but that did not work

EMBX 10-24-2006 10:26 PM

Quote:

Originally Posted by Abe1
You can make a new phrase for the ajax phrase and add a \ before each " and '

Cool, I didn't know that! Thanks Abe :D

Evert

Abe1 10-25-2006 03:57 AM

It may be fixed in next version. I have edited some code and have gotten thanks hack to work on the showpost page. While doing that, I patched up some holes that can stop the other pages from getting errors.

Here is an UNOFFICIAL 5.3 version. It's not final at all (as in maybe more changes, no bugs though) but you can try it on your forum at let me know what happens.

Lionel 10-25-2006 06:12 AM

That did not work for me.

When I tried to reinstall current version, that gave me a javascript error on post_groan. Lucky for me I had 5.11 which works well without javascript error. But back to square one with the GAS error. I am on 3.60

Abe1 10-26-2006 03:03 AM

Version 5.3 (10/26/06):
  • fixed minor issue with 'post_thanks_box_bit' template
  • added to showpost
  • Better integration with Post Groan Hack.

perfphysio 10-26-2006 11:26 AM

Can you or someone else provide a few more image options for the thanks icon? The hack itself is great

Markith 10-26-2006 11:51 AM

Is there any way to just have the Thanks # and not
Thanks # in blank number of posts?

bascially just want it to say THANKS and how many times


All times are GMT. The time now is 05:58 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.02881 seconds
  • Memory Usage 1,835KB
  • 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_html_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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