Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 16 Dec 2009, 23:30
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
date_format

This is related to the PHP widget question I had

I have this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

returns


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now that should return something like


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Anyone ideas why it's not?
__________________
Face Your Fears, Live Your Dreams
www.altnation.com
Reply With Quote
  #2  
Old 17 Dec 2009, 07:24
vaskies vaskies is offline
 
Join Date: Dec 2009
Are you sure gig.date is a valid date? This might be useful: http://www.w3schools.com/SQL/func_date_format.asp Scroll to the bottom for examples. Otherwise I'd guess your error lies somewhere else in your code.
Reply With Quote
  #3  
Old 17 Dec 2009, 12:05
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
Yeah the gig.date is 2009-12-17 and the code works fine on vb3 but in vb4 it displays with the numbers at the start rather than the Day.

Something very odd happening.

--------------- Added 18 Dec 2009 at 10:54 ---------------

ok jsut realised that when you save the widget the


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

gets changed to with out the spaces between % u0025 and a


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

anyway to stop that or is it a bug?
__________________
Face Your Fears, Live Your Dreams
www.altnation.com

Last edited by Ghostsuit : 18 Dec 2009 at 09:57. Reason: Auto-Merged DoublePost
Reply With Quote
  #4  
Old 21 Dec 2009, 11:20
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
For the record this was a bug in the PHP widget. vBulletin have it at confirmed pending so should be fixed after rc4.
__________________
Face Your Fears, Live Your Dreams
www.altnation.com
Reply With Quote
  #5  
Old 21 Dec 2009, 15:14
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
That's a weird one - good catch!
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #6  
Old 21 Dec 2009, 15:42
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
Yup very strange.
__________________
Face Your Fears, Live Your Dreams
www.altnation.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 08:26.

Layout Options | Width: Wide Color: