-
Posts
36 -
Joined
-
Last visited
Profile Information
-
Real Name
Ralph
-
Gender
Male
-
Location
Tampa Bay, Florida
-
Interests
Finding and sharing unique (i.e.yulem) objects.
Bible - Website
yulem's Achievements
-
Hi, USU5 is working fine as is the .../extra/usu5 XML Site Maps. Thank for a great contribution. It seems the site map index.php creates maps for categories, products, and manufacturers by default. Since I use Article Manger I added that code to generate a map for article_info.php. My question is what about the other "standard" site pages like shipping, conditions, privacy, etc? Also, do you have any suggestions for Reviews, FAQ and Links? Since these are table driven one should be able to add re-purposed code similar to "manufacturers". Are there any opinions as to the value of these types of pages in a sitemap for Google or Bing? Thanks, Ralph Here's the code I added to the site map index.php for Articles. Did I miss anything? In function create_single_sitemap_index-- $detail = array( 'url' => tep_href_link( 'sitemapArticles' . $filename_suffix ), 'lastmod' => date( "Y-m-d" ), 'freq' => 'weekly', 'priority' => '0.5' ); usu5_node_create( $doc, $root, $detail, true ); In function usu5_create_sitemap_set -- /** * Articles_sitemap */ $detail = array(); usu5_xml_init( $doc, $root); $query = "SELECT a.articles_id, a.articles_date_added, a.articles_last_modified FROM " . TABLE_ARTICLES . " a ORDER BY a.articles_last_modified DESC, a.articles_date_added DESC"; $result = tep_db_query( $query ); $count = 1; while ( $row = tep_db_fetch_array( $result ) ) { $detail = array( 'url' => tep_href_link( FILENAME_ARTICLE_INFO, 'articles_id=' . (int)$row['articles_id'], 'NONSSL', false ), 'lastmod' => ( strtotime( $row['articles_last_modified'] ) > strtotime( $row['articles_date_added'] ) ) ? date( "Y-m-d", strtotime( $row['articles_last_modified'] ) ) : date( "Y-m-d", strtotime( $row['articles_date_added'] ) ), 'freq' => 'weekly', 'priority' => '0.5' ); usu5_node_create( $doc, $root, $detail ); } tep_db_free_result( $result ); usu5_xml_exists( $doc, 'sitemapArticles' . $filename_suffix );
-
The .htaccess you provided in extras/ solved the problem. Sorry I missed it. Ralph
-
Hi, My site currently uses: HeaderTags_SEO-3.2.5 Ultimate_SEO_URLS v22d_11 ArticlesManager-1.57.6 LinksManager_II-1.29 When I upgraded to osC 2.3.x I replaced Ultimate_SEO_URLS v22d_11 with Ultimate_Seo_Urls_5_PRO_r205. That change broke HeaderTags_SEO-3.2.5. If I disable USU5 then Header Tags works; if I enable USU5 then Header Tags stops writing the correct tags. USU5 appears to be working fine using Standard mode. Jack said that he thought there was a configuration that allows these contributions to work together. I have "rewrite" uris and am using the .htaccess file that worked with Ultimate_SEO_URLS v22d_11. Can you please offer any suggestions to allow USU5 to work with Header Tags? Thanks, Ralph
-
I just determined that if I DISABLE Seo Urls 5 then everything works! What is the proper configuration for these two contributions to play nicely together? Thanks, R
-
Hi Jack, My problem is I can only get the default tag information for these programs for these conditions: product_info.php - All conditions only displays default tag information article.php - All article_info.php - All, even when the article (article_info.php?articles_id=63) is entered in Page Control index.php - when a category is selected. Index.php as the home page is OK. (there might be others) Here's the results of Test: The header_tags.php file IS verified writeable regardless of test results. Taking product_info.php as an example: 1 - Value is entered in Page Control for this program and displays when you select "Review Results" 2 - I verified by direct observation that the database table (products_description) was properly populated after running "Fill Tags." 3 - The installation changes have been checked twice. In the latest download of "HeaderTags_SEO-3.2.5/Use_if_version_greaterthan_2.3/catalog_for_new_shop_only_2.3" there is NO .../includes/header_tags.php. I used the one in .../catalog/includes. This seems to be OK. I use Theme Switcher Shop so I had to change includes/template_top.php to be: <?php /*** Begin Header Tags SEO ***/ if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" /> <title><?php echo tep_output_string_protected($oscTemplate->getTitle()); ?></title> <?php } /*** End Header Tags SEO ***/ ?> I also have these contributions installed: Ultimate_Seo_Urls_5_PRO_r205 ArticlesManager-1.57.6 LinksManager_II-1.29 and others. By placing comments in includes/header_tags.php I determined that the section of code for product_info.php is never being executed because if fails the case test condition. header_tags.php is being entered and the default section an others (like contact_us.php) function correctly. $PHP_SELF is being set correctly. Can you give me some clues as to maybe why that test condition is not being met or where to look further? Thanks in advance, Ralph
-
Hi, It seems that the last update to TinyMCE Anywhere was 17 Sep 2007. My TinyMCE Anywhere install works fine with FF and IE on Fedora and XP but when I try to use Chrome none of the buttons in TinyMCE work. Everything looks fine; they just don't do anything! I found an "Uncaught TypeError: Cannot read property 'baseNode' of undefined" in the java script of tiny_mce.js but that's as far as I can take it. Does anyone have this combination working with Chrome? Is anyone maintaining TinyMCE Anywhere? Thanks, Ralph
-
Thanks Jack. I didn't see much activity on the TinyMCE Anywhere support forum but I'll post there and see what happens. Ralph
-
Hi, My problem is Google Chrome compatibility with TinyMCE Anywhere as the suggested contribution to use with Article Manager. It seems that the last update to TinyMCE Anywhere was 17 Sep 2007. The TinyMCE Anywhere Forum had nothing I could find related to Chrome and is not very active so I'm posting here. My install works fine with FF and IE on Fedora and XP but when I try to use Chrome none of the buttons in TinyMCE work. Everything looks fine; they just don't do anything! I found an Uncaught TypeError: Cannot read property 'baseNode' of undefined in the java script of tiny_mce.js but that's as far as I can take it. Does anyone have this combination working with Chrome? Is anyone maintaining TinyMCE Anywhere? Thanks, Ralph
-
I have Ultimate SEO URLs 2-2.2d-4 and GoogleXML_sitemap_1.4 installed and all appears to be working fine. My problem is that when I generate the "sitemapproducts.xml" the links there contain the category parent but the actual links generated by Ultimate SEO URL is configured not to include the category (and in fact they are not visible in the browser). I don't include the category parent in the URLs and don't want it included in the sitemap. For example the link http://timingtruth.c...d-efa-p-58.html appears in "sitemapproducts.xml" as http://timingtruth.c...nd-efa-p-58.htm Both URLs will reach the correct page. I have "Reset SEO URLs Cache" and toggled the Enable cache for both Products and Categories in the Admin panel. I'm no doubt overlooking something obvious but I've run out of ideas. Any thoughts or guidance? Thanks, Ralph
-
PS - It works with Header Tags SEO if you add // Photo Gallery define('FILENAME_GALLERY', 'gallery.php'); to catalog/includes/filenames.php. You would need to add the other file names if you wanted them included as well. Ralph
-
Hi, Just installed 0.6 and wanted to say thanks for a great contribution. I understand this is a new contrib in process so I wanted to give you feedback as well. Installation was generally simple and straightforward. I did need to change permissions on my .../gallery/thumbnails folders to allow the Apache process to write files. The new Admin functionality is welcomed but a bit confusing still. I get the following: 21 [edit comment] [delete picture] 101 [edit comment] [delete picture] 102 [edit comment] [delete picture] Clean up thumbnail folder Is this the interface or did I miss something in the install? If it's the interface I understand this is a new contrib and a work in process; otherwise what did I do wrong? The contrib uses OTF Thumbnailer (I'm using 2.3.x) but where is the thumbnail size controlled? I'm getting thumbnails sized differently (150x112) than what I have set in the "Images" configuration. Search Engine Optimization:I use SEO-G and Header Tags SEO contributions. Header Tags SEO seems to be able to work I have not started integrating with SEO-G yet. In general it's important for a contribution to populate any page or image it generates with meaningful Title, Desc, and Log tags. If the title and desc of the image could populate these tags that would be wonderful and the search engines might actually index your images! [*]I notice that the CSS is imbedded in the PHP files. Is it possible to pull that code out into a separate file? Again thank you for a fine contribution. Ralph
-
Hi Jack, This is a question about pseudo pages. I just upgraded to HeaderTags SEO 3.0.7 (from 3.0.4). Great changes and enhancements, thanks. I also have Information Pages Unlimited and Links Manager II installed. No matter how many times I reinstalled or checked my installation I could not get HT-SEO to work with Links Manager. Your new Test function showed no errors. Everything in the admin section appeared to work fine. I could add and edit the pseudo pages; I verified the structure and content of the databse directly. Pseudo pages from Information Pages Unlimited worked fine immediately. The header information for the main page (non psuedo) of Links Manager worked fine but the link category pages (pseudo) did not. The header information was the same as for the main link page. Eventually I made some changes to the // links.php section of .../includes/header_tags.php to get it working. Since this is a dynamically generated and maintained file editing it is not smart for many reasons. This is why I'm writing. I would be interested in knowing if anyone has gotten the link categories pseudo pages to work???? Is there a better solution for getting Links Manager working? or did I completely miss something during installation or configuration??? Here's the code changes for you to look at. (I do not encourage others to use it as your solution will be better. This code is a kludge!) You'll see I made changes to how the path was parsed. Thanks again for a very effective and needed contribution, Ralph // links.php case (strstr($_SERVER['PHP_SELF'],FILENAME_LINKS) or strstr($PHP_SELF,FILENAME_LINKS)): $page = 'links.php?parentid=0&lPath='; $parts = explode("?",$page); $partsa = explode("=", $parts[1]); if (isset($parts[0])) { $found = false; $name = FILENAME_LINKS . "?" . $partsa[0] . "="; $name1 = FILENAME_LINKS . "?" . $partsa[0] . "=" . $partsa[1] . "="; $pageTags_query = tep_db_query("select * from " . TABLE_HEADERTAGS . " where page_name like '" . $name . "%' and language_id = '" . (int)$languages_id . "'"); if (tep_db_num_rows($pageTags_query) > 0) { while($pageTags = tep_db_fetch_array($pageTags_query)) { if ($name1 . $_GET["lPath"] === $pageTags['page_name']) { $header_tags_array = tep_header_tag_page($pageTags['page_name']); $found = true; break; } } } if (! $found) $header_tags_array = tep_header_tag_page(FILENAME_LINKS); } else $header_tags_array = tep_header_tag_page(FILENAME_LINKS); break;
-
Jack, Your fix works wonderfully. I now can delete the offending link via the admin panel. Thanks again for a great contribution. Ralph
-
I have Links Manager II correctly installed and it's working fine. Thanks for a great contribution. This post concerns an attempted security breach. I'm wondering if others have seen it and if there is a defense. The attack attempts to insert a bogus link for some nefarious purpose. The overall attempt fails because the link stays in "Pending." (a great example of how good, secure design really works) but they do succeed in adding records to the database (which is a necessary and understood consequence of allowing anyone to add links). The problem is that the bogus link cannot be deleted via the admin screens. The bad link shows up in the Administrator's "Links" screen. When you attempt to select it for deletion an error occurs. The only way I know to delete the bad link is to edit the database directly which is rarely a good practice. For reference the error displayed is: Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /.../oscommerce/admin/links.php on line 796 Warning: reset() [function.reset]: Passed variable is not an array or object in /.../oscommerce/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /.../oscommerce/admin/includes/classes/object_info.php on line 18 Any thoughts, comments or better solutions from the community? Yulem
-
I'm trying to get SEO-G v1.20 to work with Links Manager II v1.18. SEO-G works fine for everything but Links Manager. Links Manager appears to be working fine. The Links Manager link in the Information Box of my left column maps correctly to "links.html" and I see my Link Categories page correctly. But when I select a Link Category link I am not getting the SEO-G url remappings. I see "http://yulemshop.com/links.php?parentid=0&lPath=3" rather than the name in SEO-G Zones which is "fringe-aesthetics" for example! There are no errors in Apache logs My .htaccess works for everything else; I have the original RewriteRule only: "RewriteRule ^(.*).html$ root.php?$1.html&%{QUERY_STRING}" I have uncommented the two Links Manager sections of code in seo_url.php To the best of my knowledge the Admin configuration is correct: 1) SEO-G Types has "Link Categories" enabled, no extra handlers, seo_links for its class and 15,4 for Order and Linkage (no Order or Linkage number is shared) 2)SEO-G Controller displays "Link Categories"; Details shows correct information and names are "included" (The database is getting correctly populated!) 3)SEO-G Reports shows two lines of interest: First is for the link in the Information Box in the Left Column: http://192.168.20.91/links.php (maps to -->) http://192.168.20.91/links.html This is correct. Next line results from following any Link Category the first time: http://192.168.20.91/links.php?lPath=0 (maps to -->) http://192.168.20.91/links_lpath-0.html This link is not correct and takes me to the same page as http://192.168.20.91/links.html. Subsequent selections of other Link Categories add no new mappings. Have I missed something in the configuration?? (I almost missed uncommenting seo_url.php!) Are the Order and Linkgage numbers OK? Do I need to modify .htaccess? Do I need to add a "handler"? If so which program? Is something in Link Manager NOT using "tep_href_link"? Help! Thanks, Yulem