vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Post Thank You Hack 1.10 (https://vborg.vbsupport.ru/showthread.php?t=73410)

kafi 07-25-2005 07:16 PM

After having splited thread, line starting with this code
PHP Code:

foreach ($post_thanks_cash AS $thanks

is causing me problem and I was not able even open thread. It was showing also in the moment of spliting thread.

After I clicked splited thread i got this front error bulletin message:
Unable to add cookies, header already sent.
File: /home/www/webpage.cmo/www/includes/functions_showthread.php
Line: 294

I have corrected it with original functions_showthread.php, but still having this warning:
Warning: Invalid argument supplied for foreach() in /home/www/webpage.com/www/includes/functions_showthread.php on line 294

Abe1 07-25-2005 08:04 PM

Quote:

Originally Posted by kafi
After having splited thread, line starting with this code
PHP Code:

foreach ($post_thanks_cash AS $thanks

is causing me problem and I was not able even open thread. It was showing also in the moment of spliting thread.

After I clicked splited thread i got this front error bulletin message:
Unable to add cookies, header already sent.
File: /home/www/webpage.cmo/www/includes/functions_showthread.php
Line: 294

I have corrected it with original functions_showthread.php, but still having this warning:
Warning: Invalid argument supplied for foreach() in /home/www/webpage.com/www/includes/functions_showthread.php on line 294

Go make sure you have the latest file update. It was fixed right after 1.10 was released. Download hack, upload the insaller. Go into it and click on 'file edits'. Copy the functions_showthread info to your file.

kafi 07-27-2005 07:08 AM

Abe1 you sure?

Just want to verify this, because reinstaling always cause me some troubles...

Your last updat is 10th of May.
I have installed this hack on 26th of Jun.

Is it possible that I do not have the latest version?
I have compared all files, but they look the same as I have used for install.

Abe1 07-27-2005 09:58 AM

Quote:

Originally Posted by kafi
Abe1 you sure?

Just want to verify this, because reinstaling always cause me some troubles...

Your last updat is 10th of May.
I have installed this hack on 26th of Jun.

Is it possible that I do not have the latest version?
I have compared all files, but they look the same as I have used for install.

If you installed this hack on Jun 26th, and download ed t then, then I dont know why you get this error.

ncangler 07-30-2005 03:44 PM

I installed the hack and it looks great. Only one problem I've seen. The "Thanks" button shows up on all members posts except mine. I'm the Admin on the site. Any reason it would not appear on my posts?

Abe1 07-31-2005 01:11 AM

Quote:

Originally Posted by ncangler
I installed the hack and it looks great. Only one problem I've seen. The "Thanks" button shows up on all members posts except mine. I'm the Admin on the site. Any reason it would not appear on my posts?

You cant your self :)

kregger 07-31-2005 08:26 PM

I have a few hacks installed. Will the installer overwrite them? Sorry, I'm a bit of a n00b. hehe If so, what files does it overwrite?

Craig

Abe1 08-01-2005 03:19 AM

Quote:

Originally Posted by kregger
I have a few hacks installed. Will the installer overwrite them? Sorry, I'm a bit of a n00b. hehe If so, what files does it overwrite?

Craig

it shouldn't over write anything.

Tulsa 08-05-2005 10:58 PM

I was looking for the thank you button, to thank you for the hack but couldn't find it! :confused: :classic:

ncangler 08-06-2005 12:09 AM

I don't think the hack is installed here but on my installation the thank you button does not appear on any of my posts as Administrator. It does show up on any registered users posts. ?

Tulsa 08-06-2005 12:48 PM

I'm sorry that was supposed to be funny. Must be the delivery.. :)

Anyway, it won't show to you on your posts because you can't thank yourself, somewhat redundant. It does show to others on your site so they can thank you. At least it's working that way on my site.

Abe1 08-07-2005 12:29 AM

Quote:

Originally Posted by ncangler
I don't think the hack is installed here but on my installation the thank you button does not appear on any of my posts as Administrator. It does show up on any registered users posts. ?

Yes, Tulsa is right. It's working as it's suppose to. You dont want users thanking them selves, do you? So the button is removed if it's your post.

okc 08-10-2005 10:50 PM

Abe, or anyone else, - is there a way to make the hack so at certain times thanked, you get different icons - ie at 20 you get gif1 at 40 you get gif 2 -

thx for the hack

Abe1 08-10-2005 10:51 PM

Quote:

Originally Posted by okc
Abe, or anyone else, - is there a way to make the hack so at certain times thanked, you get different icons - ie at 20 you get gif1 at 40 you get gif 2 -

thx for the hack

You can make it add to rep points.

okc 08-10-2005 11:39 PM

I see how you can make it add to rep pts, but not how that translates to different icons - I want to make it so if they're thanked 30 times, they get gif1 next to their name and if thanked 50 times gif2 - thx alot

Abe1 08-11-2005 02:04 AM

Quote:

Originally Posted by okc
I see how you can make it add to rep pts, but not how that translates to different icons - I want to make it so if they're thanked 30 times, they get gif1 next to their name and if thanked 50 times gif2 - thx alot

the more rep you have, the more boxes you get.

Bubble #5 08-11-2005 02:28 AM

Hmm... I thought this was 3.5 compatible. I must be thinking of one of your other hacks.

Abe1 08-11-2005 02:29 AM

Quote:

Originally Posted by Bubble #5
Hmm... I thought this was 3.5 compatible. I must be thinking of one of your other hacks.

It is: https://vborg.vbsupport.ru/showthread.php?t=92410

maharajah 08-15-2005 01:38 AM

Abe, i installed it and it worked fine :D

Thanks a lot for this great hack !!
its a must for a release site.

.

newtsys 08-22-2005 11:53 AM

I seem to be missing a template add in the install, but it is there in the uninstall for postbit and postbit_legacy:

<if condition="$post_thanks_already == 0 AND THIS_SCRIPT == showthread AND $bbuserinfo[userid] != $post[userid]"><a href="newreply.php?do=post_thanks&p=$post[postid]"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" ></a></if>
<!-- end post thank you hack -->

This seems to cause a error in call at line 251 undefined user variable () in /includes/functions_showthread.php

is the edit in your remove suppose to be inserted for install, and if so where in postbit and postbit_legacy?

Abe1 08-22-2005 01:36 PM

Quote:

Originally Posted by newtsys
I seem to be missing a template add in the install, but it is there in the uninstall for postbit and postbit_legacy:

<if condition="$post_thanks_already == 0 AND THIS_SCRIPT == showthread AND $bbuserinfo[userid] != $post[userid]"><a href="newreply.php?do=post_thanks&p=$post[postid]"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" ></a></if>
<!-- end post thank you hack -->

This seems to cause a error in call at line 251 undefined user variable () in /includes/functions_showthread.php

is the edit in your remove suppose to be inserted for install, and if so where in postbit and postbit_legacy?

The 3rd template edit.

newtsys 08-23-2005 04:09 AM

I am trying to say the third template edit is not in the php_install.
The way I found it was through the uninstall sequence.
I even redownloaded your hack again and same thing no directions to insert.
I have the edit all I need to know is where to insert it.

Below is not in the edits for install on my copy of your program!!!
I found it in the removal instructions or wouldn't even known about it.
<if condition="$post_thanks_already == 0 AND THIS_SCRIPT == showthread AND $bbuserinfo[userid] != $post[userid]"><a href="newreply.php?do=post_thanks&p=$post[postid]"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" ></a></if>
<!-- end post thank you hack -->

Abe1 08-23-2005 10:05 AM

Quote:

Originally Posted by newtsys
I am trying to say the third template edit is not in the php_install.
The way I found it was through the uninstall sequence.
I even redownloaded your hack again and same thing no directions to insert.
I have the edit all I need to know is where to insert it.

Below is not in the edits for install on my copy of your program!!!
I found it in the removal instructions or wouldn't even known about it.
<if condition="$post_thanks_already == 0 AND THIS_SCRIPT == showthread AND $bbuserinfo[userid] != $post[userid]"><a href="newreply.php?do=post_thanks&p=$post[postid]"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" ></a></if>
<!-- end post thank you hack -->

BTW, this code belongs in the vb3.5 version and all you have to place in the template is $post_thanks_button

vakvak 08-23-2005 03:45 PM

How can i uninstall this hack.I have to uninstall this hack because there is a problem in my database so this hack.Some thanks dont show so mysql error :(

Abe1 08-23-2005 03:47 PM

Quote:

Originally Posted by vakvak
How can i uninstall this hack.I have to uninstall this hack because there is a problem in my database so this hack.Some thanks dont show so mysql error :(

Run the installation file. There is an unistall option there.

vakvak 08-23-2005 03:49 PM

thanks abe1 i will try

yj_enquirer 08-24-2005 06:46 PM

wow.. thanks for this.. it works perfect on v3.0.8 install.. just how i like it.. marvelous job m8 and wish you well in all the other mods you have going on..

Just one question.. is there a possibility for other user-groups e.g. moderators to remove the messages of thanks. @present, it seems that only members of the Administrator group can remove the "post-thanks"

thank-you.

Abe1 08-24-2005 07:15 PM

Quote:

Originally Posted by yj_enquirer
wow.. thanks for this.. it works perfect on v3.0.8 install.. just how i like it.. marvelous job m8 and wish you well in all the other mods you have going on..

Just one question.. is there a possibility for other user-groups e.g. moderators to remove the messages of thanks. @present, it seems that only members of the Administrator group can remove the "post-thanks"

thank-you.

Maybe I'll add that option but not in the vb3.0 version. I stoped releasing updates for vb3.0. But thanks for the idea.

dimitris 09-05-2005 11:58 AM

hi,
i like this hack. I know this hack from other forums.
Its good and usufull but......

Not working with hidden. I installed "thanks" hack, i make a post like user but the hidden was not open.

Is there a trick to corporate with hidden?

Thx a lot.

stan111 09-22-2005 01:04 PM

i installed everything perfectly except the "Thanks" button showing Red X like this. i already uploaded the post_thanks.gif to forum/images/buttons but it is still look like this
https://vborg.vbsupport.ru/


here is the code i found in function_showthread
HTML Code:

]<img src=\"$stylevar[imgdir_button]/post_thanks.gif\"
is there anyway i can change that to make the Red X going away ?

thanks in advance

Abe1 09-22-2005 01:31 PM

Quote:

Originally Posted by stan111
i installed everything perfectly except the "Thanks" button showing Red X like this. i already uploaded the post_thanks.gif to forum/images/buttons but it is still look like this
http://img171.imageshack.us/img171/6...sbutton9vj.jpg


here is the code i found in function_showthread
HTML Code:

]<img src=\"$stylevar[imgdir_button]/post_thanks.gif\"
is there anyway i can change that to make the Red X going away ?

thanks in advance

if you have many stilyes, you need to put this image into each styles button folder.

Feckie (Roger) 09-22-2005 02:15 PM

Will this be ported for 3.5

Abe1 09-22-2005 02:20 PM

Quote:

Originally Posted by Feckie (Roger)
Will this be ported for 3.5

It is already. Look at my sig.

stan111 09-22-2005 04:13 PM

Quote:

Originally Posted by Abe1
if you have many stilyes, you need to put this image into each styles button folder.

thanks a million for a fast reply , Abe1
you rock
i got everything working perfect now
i think my member will love it

hypnoticpimp 09-26-2005 10:03 AM

Well The Hide hack on vbstyles.com is finally out for free! can u please implement it with This Thank you Hack!

hypnoticpimp 09-26-2005 05:51 PM

hey !Man that uninstaller gave me errror! everytime i click on my forum. I get this error

Quote:

Unable to add cookies, header already sent.
File: /home/nittoinf/public_html/forums/includes/functions_showthread.php(1575) : eval()'d code
Line: 259

Abe1 09-26-2005 05:54 PM

Quote:

Originally Posted by hypnoticpimp
hey !Man that uninstaller gave me errror! everytime i click on my forum. I get this error

Did you undo the file edits?

hypnoticpimp 09-26-2005 07:01 PM

yes i did!, even reuploaded my original functions_Showthread! File. before i did the edit. and i still get that error

hypnoticpimp 09-26-2005 07:04 PM

I get this error. Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/nittoinf/public_html/forums/includes/functions_showthread.php(793) : eval()'d code on line 259! at the top!

i even searched on google. and on another forum it said. to try to add a .htaccess file on that directory. and on the .htaccess file. to put this
PHP_FLAG output_buffering on .. So i did that. and i no longer get the error "Unable to add cookies, header already sent.
File: /home/nittoinf/public_html/forums/includes/functions_showthread.php(1575) : eval()'d code
Line: 259" But when i click on a topic! I dont see the Message ! but i still get the error

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/nittoinf/public_html/forums/includes/functions_showthread.php(793) : eval()'d code on line 259! at the top!


My forum is www.NittoLive.info/forums see for your self! please help man my vbulletin version is 3.0.9

Abe1 09-27-2005 01:59 PM

Quote:

Originally Posted by hypnoticpimp
I get this error. Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/nittoinf/public_html/forums/includes/functions_showthread.php(793) : eval()'d code on line 259! at the top!

i even searched on google. and on another forum it said. to try to add a .htaccess file on that directory. and on the .htaccess file. to put this
PHP_FLAG output_buffering on .. So i did that. and i no longer get the error "Unable to add cookies, header already sent.
File: /home/nittoinf/public_html/forums/includes/functions_showthread.php(1575) : eval()'d code
Line: 259" But when i click on a topic! I dont see the Message ! but i still get the error

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/nittoinf/public_html/forums/includes/functions_showthread.php(793) : eval()'d code on line 259! at the top!


My forum is www.NittoLive.info/forums see for your self! please help man my vbulletin version is 3.0.9

You still have the error? I dont see anything now.


All times are GMT. The time now is 10:51 PM.

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.01460 seconds
  • Memory Usage 1,843KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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