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)
-   -   Reputation Click Tracker (https://vborg.vbsupport.ru/showthread.php?t=72781)

Erwin 12-13-2004 06:28 AM

One suggestion:

Show the reputation giving power as well. :)

docvader 12-13-2004 03:02 PM

Sure this works correctly? It's not refreshing down to zero on a daily basis (it still holds onto the three reputations I gave out last week (OK, I'm not too generous... LOL)

rich

tubedogg 12-13-2004 06:17 PM

Quote:

Originally Posted by docvader
Sure this works correctly? It's not refreshing down to zero on a daily basis (it still holds onto the three reputations I gave out last week (OK, I'm not too generous... LOL)

rich

The query looks for up to the last X times you've given in the last 24 hours, where X is the daily limit...

AND dateline >= ".(time()-86400)."

Unless time() is malfunctioning on your server, I can't see any reason why it would show 3 that you gave last week.

tubedogg 12-13-2004 06:18 PM

Quote:

Originally Posted by Erwin
One suggestion:

Show the reputation giving power as well. :)

Not a bad idea...

I'll be doing an updated version later today or tommorrow that takes this into account, plus the template caching and showing the admin how many times he has given overall.

docvader 12-13-2004 06:43 PM

Quote:

Originally Posted by tubedogg
Not a bad idea...

I'll be doing an updated version later today or tommorrow that takes this into account, plus the template caching and showing the admin how many times he has given overall.

Time is ok and functioning on my server, but I'm using Mac OSX, Jaguar 10.2 for my operating system. Not sure if the query is hitting it correctly, nor do I know how to check it, LOL.

Bison 12-13-2004 08:23 PM

Quote:

Originally Posted by tubedogg
Not a bad idea...

I'll be doing an updated version later today or tommorrow that takes this into account, plus the template caching and showing the admin how many times he has given overall.

Thanks Tubedogg! :banana:

trackpads 12-13-2004 11:19 PM

Kevin thanks!!!

Now get back to work on Hivemail! :-) (I kid I kid!!)

Mark.B 12-18-2004 04:58 PM

This is still not 100% right.

If you exceed the daily limit, the tracker simply says this:

In the last 24 hours, you have given reputation to 15 posters.
You can give reputation to 0 more poster today

In other words, the condition based around $nexttime is not working, it is not displaying the message about when you can give rep again.

Mark.B 12-18-2004 05:31 PM

Hmm...fixed this by changing $nexttime != 0 to $nexttime != '0' in the usercp_reptracker template.....

Also noticed the collapse toggle needs fixing as it currently collapses a different table.

In the usercp_reptracker find:
Code:

<tbody id="collapseobj_usercp_forums" style="$vbcollapse[collapseobj_usercp_forums]">
Change to:
Code:

<tbody id="collapseobj_usercp_tracker" style="$vbcollapse[collapseobj_usercp_tracker]">
Also find code:
Code:

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_forums')">
Change to:
Code:

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_tracker')">

trackpads 12-18-2004 10:18 PM

Thanks!


All times are GMT. The time now is 06:16 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.01051 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (4)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
  • (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