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)

scorpsy 09-21-2006 04:59 PM

Quote:

Originally Posted by GearTripper
NOTE: IF YOU ARE UPGRADING FROM A PRE 2.0 VERSION THAT WAS RUNNING ON A vBulletin v3.0 FORUM, RUN THESE 4 QUERIES MANUALY NOW.
--------------------------------------------------------------------
DELETE FROM `setting` WHERE `grouptitle` = 'post_thanks' AND `product` = '';

DELETE FROM `settinggroup` WHERE `grouptitle` = 'post_thanks' AND `product` = '';

DELETE FROM `phrase` WHERE `varname` LIKE '%post_thanks%' AND `product` = '';

DELETE FROM `template` WHERE `title` LIKE '%post_thanks%' AND `product` = '';
--------------------------------------------------------------------



I was running 3.0.12 & went strait to 3.6.1. I never removed the hack when I up graded.


Also when I get the right queries where do I run them?


Thanks for helping me ;)

big dan 09-21-2006 05:24 PM

Are there any plans to implement a "No thanks" addition? Where garbage posts would be given a thumbs down. Possibly reducing there thanks amount? I think that would make an excellent tie in.

Also, it would be nice if this could some how be integrated with the user rep system. Members on my board don't even bother with the rep system, if would tie say 10 thanks = 1 rep point that would be great.

Either way I'm satisfied with it just as it. It adds a great dynamic to my forum. :)

Abe1 09-21-2006 05:34 PM

Quote:

Originally Posted by scorpsy
I was running 3.0.12 & went strait to 3.6.1. I never removed the hack when I up graded.


Also when I get the right queries where do I run them?


Thanks for helping me ;)

Run these queries and then import the xml.

Abe1 09-21-2006 05:35 PM

Quote:

Originally Posted by Danny Boy
Are there any plans to implement a "No thanks" addition? Where garbage posts would be given a thumbs down. Possibly reducing there thanks amount? I think that would make an excellent tie in.

Also, it would be nice if this could some how be integrated with the user rep system. Members on my board don't even bother with the rep system, if would tie say 10 thanks = 1 rep point that would be great.

Either way I'm satisfied with it just as it. It adds a great dynamic to my forum. :)

Both are done already. This hack works with rep system, and there is a Post groan hack.

big dan 09-21-2006 05:47 PM

Quote:

Originally Posted by Abe1
Both are done already. This hack works with rep system, and there is a Post groan hack.

Thank you much, Abe.. I didn't even realize this was already implemented and out. :)

This place could really use the thanks hack ;)

scorpsy 09-21-2006 06:59 PM

Quote:

Originally Posted by Abe1
Run these queries and then import the xml.

How & where do I run them?


I tried the tools in the do not upload then run the xml still getting The same data base error:confused:

vivamexico55 09-22-2006 03:59 AM

Question:

How can I remove the "Thanked Posts/Thanked" bits that display in every user's post?
For instance in my forum it goes
USERNAME
(title)
(avatar)
Join date: 2006
posts: 55
Thanked: 1 *
Thanks received: 1

I'd like to remove that.

Quote:

Originally Posted by Abe1
Both are done already. This hack works with rep system, and there is a Post groan hack.

Also, where is this? I only found this for Vbulletin 3.5.4, not for 3.6.1

Thanks for your awesome work, it's pretty cool =)

oz_moses 09-22-2006 04:13 AM

Cheers Abe1, I've found an easy solution though as it looks like you've already worked this in.

What I did was configure the thanks to give +1 reputation. Then I enabled the rep system and hid the Rep icon from the postbit.

Now when someone get's thanked it shows up as new rep on the usercp with a link to the post. Easy as :)

Aylwin 09-22-2006 05:02 AM

Quote:

Originally Posted by vivamexico55
How can I remove the "Thanked Posts/Thanked" bits that display in every user's post?

If I'm not mistaken, simply remove the following from your postbit/postbit_legacy template:
Code:

$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount]
<br />


kushal 09-22-2006 08:00 PM

great mod. thank You


All times are GMT. The time now is 02:33 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.02638 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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