Thread: Show Thread Enhancements - [AJAX] Post Thank You Hack
View Single Post
  #1272  
Old 06-17-2007, 02:15 PM
NolF's Avatar
NolF NolF is offline
 
Join Date: Nov 2006
Location: You don't wanna know
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtlcore
Hey man, is this possible>
www.curious-contraptions.com you will see the little feature called "Holler" where the most thanked thread gets displayed on forum home, is that possible with your hack or is just a modified version of your hack???
That looks like "digg" system (or something like that it is called) just changed the word I think.

Quote:
Originally Posted by tanand79
Iam using VB 3.6.3 and everytime when i press thanks....the whole page refreshes and loads back again.....

can anything be done for this....pls help
Reply With Quote
Use Post thanks 6.0 Gold. Make sure you do the template edits, specially the one with the <script>

Quote:
Originally Posted by Dotara
Thanks. I read it before but didn't get which hook I've to add and where to add in postbit_legacy. Please can you elaborate a little bit?
In order (I hope I don't miss any) you will need the following hooks at the postbit(_legacy) template.
$template_hook[postbit_controls] This one is for the button ^^
$template_hook[postbit_end] This one puts the box table with who has thanked
$template_hook[postbit_userinfo_right] This one is for the info (number or thanks etc)

Quote:
Originally Posted by PugWD
Do I need the template fix or was that just for pre-6.2?
The template fix is for 3.6.7 because it has a bug. Since 6.2 is designed for 3.6.7 it is very likely you will need the template fix

Quote:
Originally Posted by PugWD
* I've widened my postbit to allow for longer usernames - where do I edit to get the width of this to line up?
* Is there a way to remove the gap between the Thanks box and the post it applies to?
* How do I move the button to the left of the other buttons rather than the right?
1? You mean the thank you box? got o the template called post_thanks_postbit_legacy and you will find some line saying
Quote:
<tr valign="top">
<td class="alt2" width="XXX">
<if condition="$post['post_thanks_amount']
]Edit that XXX with your new value
2? There is, but is a bit complicated (not really, but it involves a cuple of steps, I'll explain them tomorrow
3? In order to have the thanks button on the left, move hte position of the hook $template_hook[postbit_controls]From its current position to just bellow <!-- controls -->

Quote:
Originally Posted by sim20
Hi, i have installed the hack to the letter but cannot see any thanks button in the posts! not sure where i've gone wrong but i have checked over and over and am pretty sure that the install went as per instructions, is there any reason why it would'nt work? I'm on 3.6.5 by the way..
Use version 6.0 Gold and do the template edits as explained in the instructions you will find within

Quote:
Originally Posted by mgurain
Quote:
Originally Posted by NolF
postbit, postbit_legacy, navbar, and memberinfo
so click on "[View History]" on those templates, and you will be able to compare the changes between the templates.
postbit and navbar templates are not in this list, but still not working!
That means that those templates are up to date. However make sure that postbit legacy has the hooks mentioned earlier on this post specially $template_hook[postbit_controls] , navbar ($template_hook[navbar_quick_links_menu_pos1]). And then make sure all the files uploaded are uplaoded correctly, sometimes the fields are not fully uploaded (nothign to do with this hack) but yeh... happens so make sure they are good ^^

Have you checked the database to see if the fields have any info in then or the old 3.5 ones are still in there somewhere?

(PS sorry about grammar and spelling)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01676 seconds
  • Memory Usage 1,784KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete