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)

Abe1 02-22-2005 02:57 PM

Quote:

Originally Posted by H@K@N
Hello Abe1,

i am using it on my Production System, and as i mentioned in my Post, that all Post have a Thank you button, except of my own, indepent on the Setting in ACP ....

Will try to update to 1.0.2, to see if its working then ....

gr33tz

GREAT! That is what suppose to happen! You can't thank your own post so the button wont show. Look at the discription of this hack to see the other times the button wont show.

H@K@N 02-22-2005 04:55 PM

Quote:

Originally Posted by Abe1
GREAT! That is what suppose to happen! You can't thank your own post so the button wont show. Look at the discription of this hack to see the other times the button wont show.

Sorry Ab1, maybe i couldn't explain well :

If i change in Admincp the setting : post_thanks_forum_first_all = 1

Normally only the first Post has to be a Button Thank You, ok if its my Post, than no button appear thats clear.

But with this setting, ALL post have a thank_you Button, but my own Posts didn't have a button thats also clear.

The main question is, why i have on all other Posts a Thank you button, even i put the setting to only first Post ...

Ok lets try to figure it out :

If i enter a Forum Id, into : Individual Forums to Have for Only First Post
than its working, only first post in that Forum Id have the thansk button.

If i want to use it on all Forums, normally this field should be blank, isn't it ?

If i keep this field blank, all Post on all Forums have a Than_You Button.


gr33tz

Abe1 02-22-2005 05:03 PM

Quote:

Originally Posted by H@K@N
Sorry Ab1, maybe i couldn't explain well :

If i change in Admincp the setting : post_thanks_forum_first_all = 1

Normally only the first Post has to be a Button Thank You, ok if its my Post, than no button appear thats clear.

But with this setting, ALL post have a thank_you Button, but my own Posts didn't have a button thats also clear.

The main question is, why i have on all other Posts a Thank you button, even i put the setting to only first Post ...

Ok lets try to figure it out :

If i enter a Forum Id, into : Individual Forums to Have for Only First Post
than its working, only first post in that Forum Id have the thansk button.

If i want to use it on all Forums, normally this field should be blank, isn't it ?

If i keep this field blank, all Post on all Forums have a Than_You Button.


gr33tz

OK. Let me see if I got this,

When you set the option 'Make the thank you button for only the first posts in topics,' it still still shows the button for all posts.

If this is the case, I'll try to look tonight at the code but I thought it was working.

H@K@N 02-22-2005 05:08 PM

Yes thats the case, indepent of Setting in ACP for only in first Post, the Hack is showing it in ALL Posts ... ( except my own )

In the meanwhile i made the Upgrade into 1.0.2 with the Upgrade procedure ... just 4 info.

It is working if i set it to only first post, and give a Forum Id in the setting below, than only in that Forum, the first Post have a Button.

th@nks 4 checking

Gohan 02-22-2005 05:09 PM

1.0.0 work fine :D, I don't need it

Abe1 02-23-2005 01:26 PM

Turn hack on for only first posts of threads now works.

You can either download 1.03 and folow the instruction in the installer or just follow these instructions:

in the file /includes/functions_showthread.php

Find:
PHP Code:

if ($vboptions['post_thanks_first_all'] == '1' AND $post[postcount] != 1

and replace with:
PHP Code:

if ($vboptions['post_thanks_forum_first_all'] == '1' && $post[postcount] != 1


H@K@N 02-23-2005 01:30 PM

Th@nks Abe1 now its working ....

just wondering, if i made somethign wrong, because the others mentioned that the hack is working :-)

gr33tz

Eternal2u 02-23-2005 01:33 PM

http://gamesxposed.com/showthread.ph...1&page=1&pp=20

ok here is my explnation..the bove link shows that the thank you hack is working fine to the public..

however the admin panel options were supose to have with this mod is non-exsitent..

screenshot of it..

http://gamesxposed.com/upload/images...1109172793.jpg

now if thats not enough explnation..well fuc i'm gona run into a wall full speed

Abe1 02-23-2005 01:34 PM

Quote:

Originally Posted by H@K@N
Th@nks Abe1 now its working ....

just wondering, if i made somethign wrong, because the others mentioned that the hack is working :-)

gr33tz

Nope, this option wasn't working for anyone.

Abe1 02-23-2005 01:45 PM

Quote:

Originally Posted by Eternal2u
http://gamesxposed.com/showthread.ph...1&page=1&pp=20

ok here is my explnation..the bove link shows that the thank you hack is working fine to the public..

however the admin panel options were supose to have with this mod is non-exsitent..

screenshot of it..

http://gamesxposed.com/upload/images...1109172793.jpg

now if thats not enough explnation..well fuc i'm gona run into a wall full speed

try running these quaruies:

PHP Code:

INSERT INTO setting VALUES ('post_thanks_on_off''post_thanks','1','1''yesno'1000);
INSERT INTO setting VALUES ('post_thanks_forum_off''post_thanks'''''''2000);
INSERT INTO setting VALUES ('post_thanks_forum_first_all''post_thanks''0','0''yesno'3000);
INSERT INTO setting VALUES ('post_thanks_forum_first','post_thanks''''',''4000);
INSERT INTO setting VALUES ('post_thanks_date_all','post_thanks''1','1''yesno'5000);
INSERT INTO setting VALUES ('post_thanks_date_forum','post_thanks''',''''6000);
INSERT INTO setting VALUES ('post_thanks_usergroup_using''post_thanks'''''''7000);
INSERT INTO setting VALUES ('post_thanks_user_useing''post_thanks'''''''8000); 



All times are GMT. The time now is 04:56 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.01449 seconds
  • Memory Usage 1,764KB
  • 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
  • (3)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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