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)

Been Told 03-27-2011 06:45 AM

Quote:

Originally Posted by Phaedrus (Post 2177893)
Refresh your post cache. It is most likely your java stuck in limbo.

That fixed it right up! Thanks!

Been Told 03-27-2011 11:23 AM

Another question... My members are asking me to move the "Thank You" link/button to the right side where edit, quote and so on are (postbit legacy). How do I do that?

Phaedrus 03-27-2011 01:53 PM

Quote:

Originally Posted by Been Told (Post 2177922)
Another question... My members are asking me to move the "Thank You" link/button to the right side where edit, quote and so on are (postbit legacy). How do I do that?

Read post number 2.

Been Told 03-27-2011 02:06 PM

D'oh! Thanks :)

cpvrx 03-28-2011 07:38 PM

Is there an option to display all "thanks" post for a user like - in user cp or something?
If so, how?

Sworm 03-28-2011 10:02 PM

Uninstalled after 4 years of great use :S

ExciterNL 03-29-2011 05:44 PM

You make me wanting to know: Why?

Sworm 03-30-2011 05:55 PM

Quote:

Originally Posted by Hippy (Post 2098820)
2 things I did to mine...

open your post_thanks_postbit_info
and change it to this
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 style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
    <vb:else />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{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>

now open your
post_thanks_javascript template
and change to this..


Code:

<script type="text/javascript" src="clientscript/post_thanks.js"></script>

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.post_thanks_button, .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.post_thanks_button: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};
}
</style>


Hippy , this has helped me so much!!!!! Thank you!

Now look as well!

Hippy 03-30-2011 07:28 PM

Quote:

Originally Posted by Sworm (Post 2179155)
Hippy , this has helped me so much!!!!! Thank you!

Now look as well!

welcome
I'm glad it helped..
and you did not kill this great mod after all those years
enjoy

A M I R 04-01-2011 11:27 AM

Please optimize for version 4.1.2

Thanks

Za4a Tuner 04-01-2011 01:16 PM

Uninstalled after nearly 6 years of use :(
After my update from 3.8.7 to 4.1.2 the hack doesn't work at all. The coder was last online in june 2010 ... i think, thats the end of the hack :(

NarutoFTW 04-01-2011 05:51 PM

Anyone got notification upon being thanked working? and check thanked posts?

Hippy 04-01-2011 07:15 PM

Quote:

Originally Posted by Za4a Tuner (Post 2179758)
Uninstalled after nearly 6 years of use :(
After my update from 3.8.7 to 4.1.2 the hack doesn't work at all. The coder was last online in june 2010 ... i think, thats the end of the hack :(

should of disabled all hacks when updating from vb3 to vb4 and then used the vb4 thank mod to update the one you had installed..
all would of worked out..

Phaedrus 04-02-2011 04:44 AM

I've fixed the mod for my site, it's been uploaded into the thread a few posts ago. I've also been working on the Groan hack for integration, etc. I think I have a working version, but I need to test it more and set it live before I upload that one.

mitch84 04-02-2011 05:09 AM

Quote:

Originally Posted by Phaedrus (Post 2179993)
I've fixed the mod for my site, it's been uploaded into the thread a few posts ago. I've also been working on the Groan hack for integration, etc. I think I have a working version, but I need to test it more and set it live before I upload that one.

Hi, if you disturb them, I think you should open a new topic, thank you

Za4a Tuner 04-02-2011 08:55 AM

Quote:

Originally Posted by Hippy (Post 2179875)
should of disabled all hacks when updating from vb3 to vb4 and then used the vb4 thank mod to update the one you had installed..
all would of worked out..

Hy,
i disabled all hacks before updating ;)
My problem is, that the coder won't update this version ... last only last year.
If the hack will work with the actually vBversion ... what's up with the next vBupdate? Will the hack work? If not -> my users will "kill me" ;)
So i decided to uninstall the hack :(

MrD 04-02-2011 03:07 PM

Hi,
@Chris: there is an other Hack, that use the Same. And he have an Importer for this Hack :D
https://vborg.vbsupport.ru/showthread.php?t=243510
Maybe, the New vbseo have an Like System :)

Za4a Tuner 04-02-2011 08:24 PM

Quote:

Originally Posted by MrD (Post 2180115)
Hi,
@Chris: there is an other Hack, that use the Same. And he have an Importer for this Hack :D
https://vborg.vbsupport.ru/showthread.php?t=243510
Maybe, the New vbseo have an Like System :)

Hi,
thanks for your link, but the importer is not in the free version, you have to buy a pro version to get the importer.

Phaedrus 04-03-2011 02:23 AM

As I was testing my integration of the Post Groan/Post Thank You hacks, I noticed one problem with both of them. The search function it calls doesn't work at all. I turned off the profile stats so that people won't be clicking links and getting database errors, however... I'm working on fixing that too. It calls to a table that no longer exists in vb4, I wonder how long that has been a problem.

Anyway, if you are running this, you'll want to turn off the stats in the profiles, as the links to searches that it adds to your profiles will throw database errors. I'm working on fixing that too...

*sigh* this upgrade has been painful.

Chase 04-03-2011 04:01 PM

Can someone confirm if this works on 4.1.2? I will be upgrading from 3.8.4

Filgga 04-03-2011 07:19 PM

Quote:

Originally Posted by Chase (Post 2180447)
Can someone confirm if this works on 4.1.2? I will be upgrading from 3.8.4

Works perfectly, please DISABLE ALL plugins while upgrading. Do a backup either

del Drago 04-03-2011 08:18 PM

Hey guys,

The creator of this mod, Abe, seems to have vanished. Would it be possible for another team of coders to take charge of this mod and keep it updated?

Phaedrus 04-03-2011 10:34 PM

Quote:

Originally Posted by del Drago (Post 2180547)
Hey guys,

The creator of this mod, Abe, seems to have vanished. Would it be possible for another team of coders to take charge of this mod and keep it updated?

If I can figure out how to make this one work like it should I'll post a new Mod on it, if anybody else figures it out before me, they should do the same. The only function that I can't get to work and so keep rem'd out (the author rem'd them out, they caused issues) are the search functions.

Hippy 04-04-2011 01:47 AM

I posted fixes for this mod .. all is working but the search who thanked..was posted that it was taken out till it was figured out..
I don't know what else is not working .. vb4.1.3 beta

Phaedrus 04-04-2011 03:15 AM

Quote:

Originally Posted by Hippy (Post 2180624)
I posted fixes for this mod .. all is working but the search who thanked..was posted that it was taken out till it was figured out..
I don't know what else is not working .. vb4.1.3 beta

No, that's it. I posted one that I changed just a fraction in order to integrate it with the post groans hack. I think I have them down now, but for some reason the groans don't all display on my site. Once I work that out I'll post both of them together so that everybody can have fully functional thanks/groans with integration.

I have it set now so that you hit one button it shuts the other off, etc. I just need to be sure that the groans will show up like they are supposed to every time somebody clicks groan... If anybody wants both hacks, with the integration, to test out somewhere PM me and I'll set you up... It will help if I get some feedback.

vitrag24 04-04-2011 09:58 AM

Is this mod integrated with any mod like "Thanks to unhide content in thread/post"?

karlm 04-05-2011 12:55 AM

Quote:

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

:(

I was hoping to make use of this hack ... :(

CypherHackz 04-05-2011 04:25 AM

Same here... The product is not compatible with 4.1.2. :(

-cypher.

djbaxter 04-05-2011 12:29 PM

Quote:

Originally Posted by karlm (Post 2180961)
:(

I was hoping to make use of this hack ... :(

Quote:

Originally Posted by CypherHackz (Post 2181004)
Same here... The product is not compatible with 4.1.2. :(

-cypher.

Open product_post_thanks.xml in a plain text editor.

At line 14 - 16, FIND:

PHP Code:

    <dependencies>
        <
dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />
    </
dependencies

CHANGE TO:

PHP Code:

    <dependencies>
        <
dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.99" />
    </
dependencies


addamroy 04-05-2011 05:24 PM

I've had this mod installed for a while now, but there are now links in user profiles to threads thanked by user, and thanked threads by user.

Am I supposed to do something extra to display these links in user profiles?

It says in the user profiles how many times the user has been thanked and in how many threads, but no links to thanked posts as described in the mod.

Advice?

Phaedrus 04-06-2011 01:18 AM

You do not want the links to display, they will create database errors for you as they use an old search string that doesn't work and tries to access a table that no longer exists.

Phaedrus 04-06-2011 02:03 AM

1 Attachment(s)
Okay, I'm going to post the version that I have integrated with the groans on my site, the search feature is off until I can figure out the correct search string to find all thanks/groans. I'll also post the groans that I added back the integration to. If you upgrade check your dbase for an extra "post" in your dbase in the post_thanks/post_groans tables. For some reason it adds an extra one that is useless.

Tell me if there are any issues, if this is clean I guess I can post a new thread with both hacks with credit to the original coders...

Phaedrus 04-06-2011 05:00 AM

Quote:

Originally Posted by sulasno (Post 2176894)
do I need to uninstall or simply overwrite the existing version with the new file ?


I wish that more features could be added to the mod;

disallowing certain users from using this mod would be great (to stop anyone from abusing the mod)

Um... That option is there.

addamroy 04-06-2011 02:25 PM

Quote:

Originally Posted by Phaedrus (Post 2181378)
You do not want the links to display, they will create database errors for you as they use an old search string that doesn't work and tries to access a table that no longer exists.

Oooh I see, fair enough.

chrisdaman 04-06-2011 03:04 PM

Quote:

Originally Posted by Phaedrus (Post 2181392)
Okay, I'm going to post the version that I have integrated with the groans on my site, the search feature is off until I can figure out the correct search string to find all thanks/groans. I'll also post the groans that I added back the integration to. If you upgrade check your dbase for an extra "post" in your dbase in the post_thanks/post_groans tables. For some reason it adds an extra one that is useless.

Tell me if there are any issues, if this is clean I guess I can post a new thread with both hacks with credit to the original coders...

Thanks. I installed both updated versions and testing now. I'll report back.

Hippy 04-06-2011 06:29 PM

Phaedrus
thanks for your efforts..
Looking forward to having the find all thanks back..

Can you use these updated versions you made separate?

I know you made them work together.
But I wanted to know if they will work as stand alone mods still..

thanks again ..

2 thumbs up

Phaedrus 04-06-2011 06:39 PM

They should, but apparently there are still issues with the groans. :(

They are separate mods and the Thank Yous in particular are working splendidly. And as soon as I figure out the correct search string I'll be adding that back in. Unfortunately this is learn as you go for me, I only took it up because my users are pissed that I upgraded and lost their Groans... Man... I was sure that I had everything to upgrade without losing any of my mods... that's what I get for not testing more thoroughly before I upgraded. There's no going back now though.

Hippy 04-06-2011 06:46 PM

Quote:

Originally Posted by Phaedrus (Post 2181614)
They should, but apparently there are still issues with the groans. :(

They are separate mods and the Thank Yous in particular are working splendidly. And as soon as I figure out the correct search string I'll be adding that back in. Unfortunately this is learn as you go for me, I only took it up because my users are pissed that I upgraded and lost their Groans... Man... I was sure that I had everything to upgrade without losing any of my mods... that's what I get for not testing more thoroughly before I upgraded. There's no going back now though.

I know the feeling pal..
thanks for your efforts

Chase 04-06-2011 07:57 PM

Dumb question, but I'll be upgrading from 3.8.4 to 4.1.2. Should I use the Thanks download from Abe or yours Phaedrus? Note: I am not using the groan mod.

Hippy 04-06-2011 08:02 PM

Quote:

Originally Posted by Chase (Post 2181646)
Dumb question, but I'll be upgrading from 3.8.4 to 4.1.2. Should I use the Thanks download from Abe or yours Phaedrus? Note: I am not using the groan mod.

Make sure you back up as you would before any DB change...

turn off all your mod / hooks

then when you update from vb3 to vb4 then the mods, I would run Phaedrus updated version
*note allow over write on the import of the xml file..

and DO NOT Unistall the mod before updating .. you'll loose all the thanks..


All times are GMT. The time now is 10:02 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.04040 seconds
  • Memory Usage 1,846KB
  • 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
  • (2)bbcode_php_printable
  • (19)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