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)

LBmtb 01-12-2007 10:06 PM

Would anybody be interested in a script that tallies up thanks in a month and spits out a table or list of users with the most thanks? Could make a nice "Top Thank Earners of the Month" page. I'm working on it right now and I have the bulk of it done. Just gotta make it pretty.

Also, I don't know how to make it into a plugin or a template yet. It's simply on a non-vb page right now. Do any more experienced coders know how to convert a php script to something that could be made into a plugin/product?

NeutralizeR 01-14-2007 09:03 AM

Abe1 :)
https://vborg.vbsupport.ru/showpost....&postcount=401

Majority of the visitors of my forums are the guest visitors and this hack uses too much server power, i need to disable/hide this hack for them.

srikanthjjjj 01-15-2007 01:28 AM

Just some questions, WIth this can you hide stuff with this mod and when the user clicks thanks the user cna see what's hidden
and also does it display how many thanks the user has recieved and how many it's given/
CAn you also check all the posts the user has been thanks in?

Abe1 01-15-2007 03:15 AM

Quote:

Originally Posted by NeutralizeR (Post 1158721)
Abe1 :)
https://vborg.vbsupport.ru/showpost....&postcount=401

Majority of the visitors of my forums are the guest visitors and this hack uses too much server power, i need to disable/hide this hack for them.

It should work.

NeutralizeR 01-15-2007 09:27 AM

Quote:

Originally Posted by Abe1 (Post 1159544)
It should work.

Unfortunately it doesn't work for post thank you hack. The query is still being executed in the background. Do you have any suggestions?

Abe1 01-15-2007 10:30 AM

Then you have to put the tags around on the plug-ins also.

NeutralizeR 01-16-2007 03:29 AM

Quote:

Originally Posted by Abe1 (Post 1159694)
Then you have to put the tags around on the plug-ins also.

Disabled all other plugins to figure out which plugin executes the query.

postbit_display_start

Tried a few conditionals but still no luck...

Quote:

if ($vbulletin->userinfo['usergroupid'] == 1)
{
}
else
{
plugin content
}
Quote:

if ($vbulletin->postinfo['usergroupid'] == 1)
{
}
else
{
plugin content
}
Quote:

if ($bbuserinfo['usergroupid'] == 1)
{
}
else
{
plugin content
}

stinger2 01-16-2007 08:16 AM

hi Abe1

some members are missing the thank you button SOME times..( not always).....is this a clitch maybe
you can see it here

http://img372.imageshack.us/img372/1410/nothanksbf6.jpg

Abe1 01-16-2007 12:10 PM

Quote:

Originally Posted by stinger2 (Post 1160436)
hi Abe1

some members are missing the thank you button SOME times..( not always).....is this a clitch maybe
you can see it here

http://img372.imageshack.us/img372/1410/nothanksbf6.jpg

Did you check the settings? I need more info.

Abe1 01-16-2007 12:12 PM

Quote:

Originally Posted by NeutralizeR (Post 1160338)
Disabled all other plugins to figure out which plugin executes the query.

postbit_display_start

Tried a few conditionals but still no luck...

In the post_bit_start, it would be this: $this->registry->userinfo['usergroupid']


All times are GMT. The time now is 05:04 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.02654 seconds
  • Memory Usage 1,744KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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