Thread: New Posting Features - [hide] hack incl post thank you "addon"
View Single Post
  #611  
Old 02-20-2008, 04:17 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ociosos View Post
PLEASE READ THE UPDATE FIRST AT THE END OF THIS POST...

OK I FIX THE REFRESHHHHHHHHHHHHHHHHHHH THING AFTER CLICKING ON THANK YOU.....

I DON'T KNOW IF ITS RIGHT TO MODIFY SOMEBODY ELSE HACK...

BUT..... I DID IT WITH ALL MY RESPECT.

:bunny::bunny:OK HERE ARE THE INSTRUCTIONS....:bunny::bunny:



First go to the ADMINCP ==> Styles & Templates ==> Search in Templates
look for post_thanks_button LET'S EDIT IT...

---------------------------------------------------------------------------
BEFORE DOING ANY MODIFICATION I JUST WANT YOU TO KNOW THE I WILL NOT BE RESPONSIBLE FOR ANY WRONG MOD...
OK LET'S CONTINUE...

make sure that you copy and paste in a txt and save it, just to keep a backup of the post_thanks_button in case S. H.
---------------------------------------------------------------------------

in the post_thanks_button template find:


erase the action> ; return false <just that nothing else..

---- THIS IS THE UPDATED TEXT----

now add the following action after the post_thanks_give_$post[postid]();



dont forget to leave a space right after post_thanks_give_$post[postid](); then put the history.go();

it should look like this:



AND THAT'S IT CLICK ON SAVE AND TRY IT...
PLZ COMMENT THIS LITTLE MOD...

---------------------------------------------------------------------------
IF YOU NEED A SPANISH VERSION I CAN HELP JUST MAIL ME
SI NECESITAS UNA AYUDA EN ESPANOL MANDAME UN EMAIL
---------------------------------------------------------------------------

itsid IF YOU THINK THIS IS THE WRONG PLACE TO PUT THIS.... PLZ LET ME KNOW I ERASE THE MESSAGE...

AND THANK YOU FOR ALL YOUR HELP...

2 OF THE GREATEST HACKS!!! TOGETHER...!!!!!!!!!!!!!!

IF YOU FIND SOME WORDS NOT WRITTEN RIGHT, IS BCZ SPANISH IS MY FIRST LANGUAGE...
I DID MY BEST TO KEEP IT UNDERSTANDABLE...

GOOD LUCK!!!
------------------------------------------------------------------------
to visit the "THANK YOU" HACK follow this link:
https://vborg.vbsupport.ru/showthrea...35#post1114635


-------------------------------------------------------------------------------
FIRST BUG
-------------------------------------------------------------------------------
THIS WORKS ONLY ON MOZILLA FIREFOX BROWSER
ON THE EXPLORER AND OPERA DON'T WORK IT JUST GIVE ME A MESSAGE SAYING
"THAT YOU ALREADY SAID THANK YOU"

SORRY WORKING ON IT TO MAKE IT WORK IN OTHERS
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
UPDATE
-------------------------------------------------------------------------------
OK FIX IT AGAIN FOR THE BROWSER EXPLORER MOZILLA & OPERA WORKS GREAT
SEE THE UPDATED TEXT
i dont see it anywhere this is what i have in my post button template i have the latest 7.2 post thanks hack and vb 3.6.8pl2

Code:
<a href="post_thanks.php?$session[sessionurl]do=post_thanks_add&amp;p=$post[postid]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_give($post[postid], <if condition="$vboptions[post_groan_integrate]">true<else />false</if>); return false;"</if> style="display:$display_thanks_image" rel="nofollow"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" /></a>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01063 seconds
  • Memory Usage 1,786KB
  • 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
  • (1)bbcode_code
  • (1)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