theblogdoctor
Forum Replies Created
-
hey, check out this thread. i had the same issue and allegedly this has been fixed in the future version. i am still having the timezone issue on the blog i had set this up for originally…
Forum: Installing WordPress
In reply to: Enabling MutliSite Support in WP 3.0 Vs creating Separate Sitesok, thank you for your inputs… ??
Forum: Installing WordPress
In reply to: Enabling MutliSite Support in WP 3.0 Vs creating Separate SitesThanks Ipstenu!
So given all this, what would you recommend? For a “website” / wordpress install that needs only 3 – 5 separate “sites”, and not a full fledge Multi-user blog site like wordpress.com.
1. Should I stick with installing 3 or 5 separate WP single user sites, or
2. Should I enable the MU on the 1st install and setup the rest as MULTI-SITES or
3. (this just came to me) should I just change the table_prefix on the configs, so they all use the same DB, and set them up as separate single user WP installs?thank you
-ShivaForum: Fixing WordPress
In reply to: 3.0 Upgrade Problemdo you see any error messages in your PHP error log file on the host/ server?
Forum: Fixing WordPress
In reply to: add more than 1 contact form to site@ke vinritt
Just create a new contact form, give it a new name, add your new fields, save it and embed it wherever you want.
Forum: Fixing WordPress
In reply to: Add Custom Fields To A Post Using XML-RPChas anyone been able to successfully call the NewPost method with Custom Fields? I am still having no luck.
I am using a .Net Wrapper. I tried first as you all have suggested, with just key and value pairs. However, the Metablog Wrapper gives me an error that custom field ID cannot be null.
So I tried giving it a random number as ID like so (code is in C# .Net). Now the Post gets inserted, but the custom fields are getting ignored ?!
CustomField[] cf = new CustomField[1]; cf[0].id = "354325"; //random ID number cf[0].key = "image_url"; cf[0].value = "https://somesite.com/someimage.jpg";
Hi,
Never mind, I updated the event-calendar class in the plugin to return the local time….
-Shiva
Thanks Aaron.
Is there a workaround meanwhile ? I think I could change the plugin code, but the changes will be over-written next time you publish an upgrade, right ?
Please advise.
-Shiva
@theblogdoctorOk, I think I have found the code, and possibly the source of this issue.
The website’s timezone inside wordpress is set to Los Angelese and is a US website, but the actual site is hosted on servers in Paris (France). Paris time is head of US by 9 hours, and it looks like the code is using the system (server time) ? Is that right ?
/** * where filter for standard wordpress templates. Inspects the event options and filters * event posts for upcoming or past event loops * * @param string where clause * @return string modified where clase */ public function events_search_where( $where ) { if( !$this->in_event_category() ) { return $where; } $where .= ' AND ( eventStart.meta_key = "_EventStartDate" AND eventEnd.meta_key = "_EventEndDate" ) '; if( events_displaying_month( ) ) { } if( events_displaying_upcoming( ) ) { // Is the start date in the future? $where .= ' AND ( eventStart.meta_value > "'.$this->date.'" '; // Or is the start date in the past but the end date in the future? (meaning the event is currently ongoing) $where .= ' OR ( eventStart.meta_value < "'.$this->date.'" AND eventEnd.meta_value > "'.$this->date.'" ) ) '; } if( events_displaying_past( ) ) { // Is the start date in the past? $where .= ' AND eventStart.meta_value < "'.$this->date.'" '; } return $where; }
Forum: Plugins
In reply to: Plugin to extract comments from Social Sites… ?So for example, if a person has following social profiles.
https://facebook.com/thisissomeone
https://flickr.com/photos/thisissomeoneand has his/her own website powered by wordpress at https://thisissomeone.com
I want to show the comments for thisissomeone’s profile on facebook and flickr, in a widget in the sidebar on thisissomeone.com
Hope this is clear / makes sense.
I was wondering if there is some plugin out there where-in you can enter facebook user id / page-key and flickr userid and it brings in all the latest comments from those sites….
Forum: Fixing WordPress
In reply to: Parse error: syntax error, unexpected … on line 807Also, I contacted the Hosting Company to figure out how the script was uploaded, because the client had a very complex alpha numeric password. They looked at the logs and said the FTP pwd was keyed in, so someone had access to that password.
I am not sure how the hacker or hacking code got that password. So I had the client change the Control Panel and FTP password after I re-installed the software.
Forum: Fixing WordPress
In reply to: Parse error: syntax error, unexpected … on line 807Yes, the site has been hacked. For my client, I had a backup of the posts. So I deleted the WP install, re-installed it and imported the Posts.
That “tmp_….” stuff you see is the haacked code. I am not sure what it does. I read in some forums that it was serving up ads and stuff on the pages.
Forum: Fixing WordPress
In reply to: Parse error: syntax error, unexpected … on line 807Hi,
I am getting same error on 1 of my client sites…
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /hsphere/localblah blahblah/wp-includes/classes.php on line 1572
Can someone from www.remarpro.com please confirm if this is a HACKED situation ?
Thanks
Forum: Themes and Templates
In reply to: Want to Add Member’s Comment Count in Comment ListingAnyone ?
Forum: Fixing WordPress
In reply to: Want to List Posts from Multiple Tags using 1 URLThanks all. It works now with all your suggestions / pointers.