vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Recent Thanks for [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=280109)

Hippy 05-05-2012 02:38 PM

1 Attachment(s)
try this one,...

added this fix

Quote:

Originally Posted by Scandal (Post 2326724)
Try this:
1. Open the recent_thanks.php
2. Find the line 101:
PHP Code:

$rt_date date("d-m-Y - H:i"$date_timestamp); 

3. Replace it with:
PHP Code:

$rt_date vbdate("d-m-Y - H:i"$date_timestamp); 



Emeralda 05-05-2012 04:05 PM

Still shows server time >.<

djbaxter 05-05-2012 04:23 PM

What kind of hosting are you on? How is it set in WHM or cPanel?

Hippy 05-05-2012 04:41 PM

Quote:

Originally Posted by Emeralda (Post 2326512)
Still shows server time >.<

That file might not have the time change I had to rush out..bbl the first one didn't right?

Emeralda 05-05-2012 05:52 PM

Quote:

Originally Posted by Hippy (Post 2326519)
That file might not have the time change I had to rush out..bbl the first one didn't right?

What first one and what does bbl mean?

Hippy 05-05-2012 06:05 PM

I added 2 files , bbl = be back later

Emeralda 05-05-2012 06:36 PM

I tried both the you've uploaded today.

Hippy 05-05-2012 07:35 PM

you have the correct one in ...
I see the issue now .. all is good for me because my time zone..
but it's not using the vb code for the time..

it's coded into the recent_thanks.php
Scandal would you lok into it please thanks

Scandal 05-06-2012 01:10 PM

Quote:

Originally Posted by Emeralda (Post 2325461)
How to fix the time on the page? It's really bugging me, I think it shows the server time, not the user's one. The clock next to ava is a "live clock" showing my current time. The last like given was done almost exactly 16 minutes prior to taking the screenie.

http://img825.imageshack.us/img825/7...fa78c1461e.png

Try this:
1. Open the recent_thanks.php
2. Find the line 101:
PHP Code:

$rt_date date("d-m-Y - H:i"$date_timestamp); 

3. Replace it with:
PHP Code:

$rt_date vbdate("d-m-Y - H:i"$date_timestamp); 


Emeralda 05-06-2012 02:26 PM

That one worked, or at least I think that's the one that Hippy sent me on the forum. Rawr, great thankies to both of you~

Quote:

Originally Posted by Hippy (Post 2326519)
That file might not have the time change I had to rush out..bbl the first one didn't right?

By the way, I haven't not noticed that you've edited the second upload before, I was totally sure you meant something else when you said it, silly me >.<


All times are GMT. The time now is 01:43 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.01651 seconds
  • Memory Usage 1,743KB
  • 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_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