bernard_j_l
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: IE7 & WP2.5 “Add media” popup problem – cut offDoes anyone have a solution to this yet? We just created a few more posts on a number of machines and the problem is getting quite annoying.
Since there seems to be no replies to this is it possible some has a fix and I have not been able to find it in the forums?
Please help.
Forum: Fixing WordPress
In reply to: IE7 & WP2.5 “Add media” popup problem – cut offI am having this same problem. I did a recent update to WordPress 5.2 and the insert media window is at the bottom of the window so I can not get the buttons to submit the picture I want to insert. For now a talk Internet Explorer to show the page at 50% and I was able to see the buttons and proceed.
We know this was working fine in the previous release. This feature, by the way is just GREAT.
Forum: Fixing WordPress
In reply to: Adding several pictures WITHOUT a gallery? 2.5I am also having a time with the new WordPress 2.5 and getting pictures into a post.
It used to be there was a button to “insert pictures” and it was uploaded and placed in the post.
As near as I can tell you have to go into this gallery thing, which is just great. But how on earth do you get the picture into the post?
What am I missing here? I have a number of WordPress based blogs and would like to go to this new version, but we insert a number of pictures in each blog.
Anyhow, if you can tell me how this this supposed to work or point me somewhere that explains the proper procedure, that would be great.
Thanks in advance for your help.
Forum: Fixing WordPress
In reply to: What is with letter A with circumflex?Well, it would be nice to figure out why this happened to us since as I mentioned we need to do a least four more WordPress updates this week.
So please let us know what is causing this.
Since I could not stand all the calls I think I removed these characters with the following SQL command
UPDATE
wp_postssetpost_content= (replace(post_content, “”, ” “))Again, any help is appreciated.
Forum: Plugins
In reply to: Sidebar Widget ErrorWell here is some more information on this problem for you.
I have just upgraded to WordPress 2.2 and used the default templates added widgets to side bar. Then the error message starts ups with the
Line: 109
Char: 4
Error: ‘Draggables.drags[…]element.id’ is null or not an object.
Code: 0
URL: http://+++++YourWordPress/wp-admin/widgets.phpThe interesting thing is that I don’t get this error when I run it on FireFox.
Maybe this can give a clue to someone as to what is going on here.
Thanks again for the help.
Bernie
Forum: Plugins
In reply to: Sidebar Widget ErrorWell I have been getting this exact error ever since I installed the Widget plug in. My exact information as reported by Internet Explorer goes like this:
Line: 330
Char: 5
Error: ‘Draggables.drags[…].element.id’ is null or not an object
Code: 0
URL: http://+++++/wp-admin/themes.php?page=widgets-1-2-1/widgets.phpThings seem to be working OK. Sometimes dragging one of the widgets around gets a bit erratic but over all it is working.
Has this been logged as a bug somewhere? Perhaps there is another place to note this.
Thanks for the help. This is a great product.
Forum: Plugins
In reply to: Google Maps IVI don’t know if this would help much but we added some code so that a Google map appears on a posting if there is additional meta data entered in to the post. I don’t know if that would help or not. Since we developed this based on the earlier Google maps API (before geocoding was added) all you need to do is add the “latitude” and “longitude” and the map appears in the post. If the address is also added then a click pop-up appears that brings up an item to generate directions. Finally, there is a meta tag that adds a Google map to a post showing all the points and clicking on the points will take you to the post.
You can look at it at starting at the overview map page: http://www.internationalculturalexchange.org/food/?page_id=23
All the maps within the posts were created by only adding the location information. If there is no location information then there is no map in the post (the code is not even generated in the page)
The code is not so bad and if this looks like what you want we can post the code to insert into your theme. We do plan to add the Google Geo coding so that it can take an address and fill in the longitude/latitude fields.
Let us know.
Bernie
Forum: Themes and Templates
In reply to: Google Maps and WordPress themesI can’t edit that last post…but the subfolder thing is still a problem. So strike that paragraph about subfolders working. We thought we had the problem and it was fixed but in reality we were looking at the “sub-domain” issue.
Sorry.
Bernie
Forum: Themes and Templates
In reply to: Google Maps and WordPress themesI justed finished adding google maps to our Food News site. It works great and there were only two files in our theme to get it working.
I noted the post earlier about the key not working with subfolders. I am not sure if there was an API change or not but it does work with subfolders just fine. It does not work with a different root. For example, “www.name.com” is different than “name.com” even if you have registered “name.com”.
The following outlines the issues with putting the map into posts.
1. You can not run the map in a “div” it must be outside. Therefore, in the item you can retireive the Long/Lat fields, check to see if you have them for that post. But you have to do the mapping all the way down in the Word Press Footer to get out the the “page” division. This also means setting up a global to pass those parameters since Word Press calls a subroutine to get the footer and the local variables are gone. The reason for putting the code at the end is…
2. We just manually added a custom field to a post that wants to have a map. Then the map code is used only if there is information about it. Also to avoid loading the Google program on a page that will not use it, we again had to move to the footer the logic to skip that if there is no location data.
Here is the two places for the code…
================================
in “footer.php” at the very end….<?php wp_footer(); ?> <<<<<existing line to show where this code goes
<!– This is the start of drawing of a map…if the parameters have been set previously. –>
<?php
global $GMap_X_Val;
global $GMap_Y_Val;
global $GMap_Info;
if ( ! (empty($GMap_X_Val) && empty($GMap_Y_Val)) )
{
?>
<script src=”http://maps.google.com/maps?file=api&v=1&key=**YOUR KEY**” type=”text/javascript”></script><script type=”text/javascript”>
//<![CDATA[<?php
echo “var point = new GPoint( $GMap_X_Val , $GMap_Y_Val );\n” ;
echo “var html = ” . “‘” . $GMap_Info . “‘ ;\n” ;
?>var map = new GMap(document.getElementById(“map”));
map.addControl(new GLargeMapControl());
map.centerAndZoom(point, 4);
map.addControl(new GMapTypeControl());
var marker = new GMarker(point);
GEvent.addListener(marker, “click”, function() {
marker.openInfoWindowHtml(html);
});
map.addOverlay(marker);
//]]>
</script><?php } ?>
<!– Done drawing a map maybe –></body>
</html>==========================================
And then add this code over to “single.php”:<?php
Global $GMap_X_VAl;
Global $GMap_X_Val;
Global $GMap_Info;$GMap_X_Val = get_post_meta($post->ID , “longitude” , true) ;
$GMap_Y_Val = get_post_meta($post->ID , “latitude”, true);if ( ! (empty($GMap_X_Val) && empty($GMap_Y_Val) ))
{
$GMap_Info = the_title(”,”,false);
echo “Longitude $GMap_X_Val , Latitude $GMap_Y_Val.”;
?><div id=”map” style=”width: 500px; height: 400px; outline: #FF0000 dotted medium; border: medium dashed #FF0000; display: block” >
A map will be added here in a few days.</div>
<?php } ?><?php comments_template(); ?>
NOTE the “comments_templage” is in the existing file and is include here to show where to place the code.
=================================
Anyhow this worked great and the cool extensibility of Word Press allowed us to simple add the location data where we had it and leave it out where we don’t.If you can think of a better way to pass these parameters around let us know since having the “globals” to get around the positioning issues with Google maps is a hack.
Hope that helps.
Bernie.
Forum: Fixing WordPress
In reply to: Session Information Going into PHP Error LogWell I guess this issue is not going anywhere fast.
We are still having this happen but since we have most of our other applications running fine we are ignoring this.
But we do have to delete our error logs from time to time.
I can’t help thinking this is a simple configuration issue somewhere.
Anyhow feel free to delete this thread and if things get worse we will repost this.
Thanks for trying.
Bernie
Forum: Requests and Feedback
In reply to: Fixing the “From” address on all emails.Yes I just did file this one in the bug report. Sorry for placing this in the wrong area. I hope this helps.
Bernie