Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

[SOLVED] Date/time problem in Edit POST/PAGE INFO ITEMS


  #1  
Old Feb 22, 2010, 06:50 PM
nikflorida's Avatar
nikflorida
 
16 posts · Feb 2010
Charlotte, NC
Send a message via AIM to nikflorida Send a message via Yahoo to nikflorida
[SOLVED] Date/time problem in Edit POST/PAGE INFO ITEMS

I have placed a timestamp in the "byline" field, timestamping posts in the format month day, year at hour:minute am/pm ... no matter how I specify the php format, the timestamp shows a twelve-hour day time only. Also, I'd like to place print and email icons above each post; there doesn't seem to be an effective way to use the p-print and p-email functions in the "kicker" field... suggestions/assistance?

My site is http://nikflorida.org. Thanks! The Atahualpa theme would be be wonderful if I could get it to actually work right!

Peace--
NIK
  #2  
Old Feb 22, 2010, 06:56 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of Atahualpa and WP?
What EXACTLY are you placing in the byline option?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 23, 2010, 01:05 PM
nikflorida's Avatar
nikflorida
 
16 posts · Feb 2010
Charlotte, NC
Send a message via AIM to nikflorida Send a message via Yahoo to nikflorida
I am using the latest updates of both, as far as I know... Atahualpa 3.6.6 and WP 2.9.2...

In the Atahualpa "edit post/pages info items" dialogue, I am entering
Code:
By <a href="mailto: %author-email%">%author%</a> on %date(F j, Y)%
in the "BYLINE: Homepage" field and
Code:
By <a href="mailto: %author-email%">%author%</a> at %date(g:ia #o#n F j, Y)%
in the "BYLINE: Multi-post pages" and "BYLINE: Single-post pages" fields. The email link works fine, but the date format shows "on xx:xx am/pm" (WITH a space)(on the homepage) or "at xx:xx am/pm (on the more specific single-post pages) instead of "on Month DD, YYYY at xx:xxam/pm as I'm indicating it should.

I suspect that the timestamp is being read from the database, formatted and written into a string variable, then that string variable is not being updated. I'm not sure though.

Last edited by nikflorida; Feb 23, 2010 at 01:19 PM. Reason: attempting to get code to display highlighted and pre-formatted
  #4  
Old Feb 23, 2010, 01:27 PM
nikflorida's Avatar
nikflorida
 
16 posts · Feb 2010
Charlotte, NC
Send a message via AIM to nikflorida Send a message via Yahoo to nikflorida
Just for the record, I have also tried
Code:
%date(F j Y #a#t g:ia)%
with the same output. It updates the literal characters (like "on" and "at", when preceding the date variable, but doesn't change the date format and ignores the literal characters within the formatting parameters. Help!

Last edited by nikflorida; Feb 23, 2010 at 01:28 PM. Reason: clarification
  #5  
Old Feb 23, 2010, 06:30 PM
nikflorida's Avatar
nikflorida
 
16 posts · Feb 2010
Charlotte, NC
Send a message via AIM to nikflorida Send a message via Yahoo to nikflorida
hrm... I just posted an entry while signed in as "nikflorida" and the byline for the story says "cscholer"... "cscholer is the most recent person whose permissions have been changed from "user" to "contributor", but he definitely didn't write this post, nor was he signed in at all at the time it was posted. The post_author field in the SQL table shows an incorrect ID. (I assume that's his ID...I didn't look)
  #6  
Old Feb 23, 2010, 09:25 PM
nikflorida's Avatar
nikflorida
 
16 posts · Feb 2010
Charlotte, NC
Send a message via AIM to nikflorida Send a message via Yahoo to nikflorida
I created a new user profile called "nik_florida" and set the role to "editor"... then "nik_florida" (but not administrator "nikflorida") showed up in the author pull-down list on the main post edit page. I'm not sure if that's a theme issue or a WordPress issue... it appears that administrators do not have posting credentials in multi-user implementations. idk... it wasn't a problem until some other folks got their roles changed from "user" to "contributor"... as long as nikflorida was the only sn posting, it worked fine. Hrm.

Bookmarks

Tags
date format, update

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to exclude post/page info items from certain pages? bcorrigan Excerpts, Read more, Pagination 2 Aug 17, 2009 05:25 PM
Sociable, NextPage, and Post/Page Info Items ... A Thank You. fromtheranks Plugins & Atahualpa 0 Jun 26, 2009 09:40 PM
Post/Page Info Items - Trackbacks Andrea Post-Kicker, -Byline & -Footer 2 Feb 27, 2009 05:13 AM
comment time/date info shady Comments, trackbacks & pings 1 Feb 27, 2009 04:38 AM
Post / Page Info Items - Button crashes comp, how do I add to post-footer? Image help everygirlssecret Post-Kicker, -Byline & -Footer 1 Jan 5, 2009 01:12 PM


All times are GMT -6. The time now is 06:02 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.