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)

mmurtha 12-03-2008 03:01 AM

Hi everyone,

If I wanted to change the "Thanks" to something else, what phases would I enter in the search Phrases section to change these stats where the user info is in each post?

Thanks: 0
Thanked 0 Times in 0 Posts

Also, is there anything else I need to change besides the button?

Thanks!

Punn intended. ;)


Mary

leftie 12-03-2008 06:35 PM

I have version 5.3 installed on vb 3.6.5. I have just installed a new style and edited the templates as per instructions, everything is in the postbit but i can't get anything to show in the posts: ie thanked by etc. I don't have the xml for 5.3 to try and force things to the new style.... will overwriting with the v7.3 xml break anything.
Help please.

RobbieZ 12-03-2008 06:43 PM

Quote:

Originally Posted by beejeebers (Post 1676682)
Where are the thank you stats accessed? (if that function exists)


I'm running a thank you contest and want to show the top people being thanked...

Go into AdminCP>Vbulletin Options>Cyb Forum Statistics

Now goto Status Management 1st Row or 2nd Row and click so it shows Top Thanked

Quote:

Originally Posted by mmurtha (Post 1677508)
Hi everyone,

If I wanted to change the "Thanks" to something else, what phases would I enter in the search Phrases section to change these stats where the user info is in each post?

Thanks: 0
Thanked 0 Times in 0 Posts

Also, is there anything else I need to change besides the button?

Thanks!

Pin intended. ;)


Mary

Open your XML document in an editor program and look around line 341 you should see phrasename.

Now you need to change all occurrences of "Thanked" and "thanks" to whatever you need to change it to.

There are quite a few of them. Be very careful you dont change any of these : post_thanks_thanked_posts as this will make the code stop working.

Re-Install your XML and overwrite.

Any problems PM me and i'll see if i can help you out.

Mrdby 12-04-2008 01:41 AM

Warning: Invalid argument supplied for foreach() in [path]/includes/functions_post_thanks.php on line 183

Warning: Invalid argument supplied for foreach() in [path]/includes/functions_post_thanks.php on line 183

Warning: Invalid argument supplied for foreach() in [path]/includes/functions_post_thanks.php on line 183

Warning: Invalid argument supplied for foreach() in [path]/includes/functions_post_thanks.php on line 183

RobbieZ 12-04-2008 11:59 AM

Quote:

Originally Posted by Mrdby (Post 1678190)
Warning: Invalid argument supplied for foreach() in [path]/includes/functions_post_thanks.php on line 183

Warning: Invalid argument supplied for foreach() in [path]/includes/functions_post_thanks.php on line 183

Warning: Invalid argument supplied for foreach() in [path]/includes/functions_post_thanks.php on line 183

Warning: Invalid argument supplied for foreach() in [path]/includes/functions_post_thanks.php on line 183

You are using the wrong version for your VB.

Uninstall and use this version:

[AJAX] Post Thank You 3.8

Mrdby 12-04-2008 11:10 PM

Quote:

Originally Posted by RobbieZ (Post 1678392)
You are using the wrong version for your VB.

Uninstall and use this version:

[AJAX] Post Thank You 3.8

don't they have problems with this?

turgay 12-06-2008 03:11 PM

Hello,
i don't want to show the username who thanked. it's okay for me when the plugins shows only "A User thanked". how can i handle this?

thanks

VHLinks 12-06-2008 04:25 PM

Great hack. I have a question. How hard do you think it would be to force people to click "thanks" before they could download an attachment file from that particular thread. Is it something that would be possible somehow? I don't mind trying to figure it out myself, just a point in the right direction of whether it would doable.

Thanks!

mmurtha 12-06-2008 04:53 PM

Quote:

Originally Posted by RobbieZ (Post 1677949)
Go into AdminCP>Vbulletin Options>Cyb Forum Statistics

Now goto Status Management 1st Row or 2nd Row and click so it shows Top Thanked



Open your XML document in an editor program and look around line 341 you should see phrasename.

Now you need to change all occurrences of "Thanked" and "thanks" to whatever you need to change it to.

There are quite a few of them. Be very careful you dont change any of these : post_thanks_thanked_posts as this will make the code stop working.

Re-Install your XML and overwrite.

Any problems PM me and i'll see if i can help you out.

Hey Robbie,

You're a man among men! Thanks a bunch for the help!

Mary

leftie 12-06-2008 08:47 PM

Quote:

Originally Posted by leftie (Post 1677947)
I have version 5.3 installed on vb 3.6.5. I have just installed a new style and edited the templates as per instructions, everything is in the postbit but i can't get anything to show in the posts: ie thanked by etc. I don't have the xml for 5.3 to try and force things to the new style.... will overwriting with the v7.3 xml break anything.
Help please.


Great hack.. but can you please mark it as unsupported.


All times are GMT. The time now is 10:28 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.03196 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)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
  • (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