Jack_mcs Posted June 18, 2009 Share Posted June 18, 2009 One more request: Is it possible to have on the "all topics" page, a sampling of articles? Ex Topic Name One Article Name A Article Nane B see more articles..... Yes, it is possible. I ran out of time before I could get to that part of the code. I'll add it to the list for the next version though. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted June 29, 2009 Share Posted June 29, 2009 One more request: Some kind of "sort order" ability for articles Quote Link to comment Share on other sites More sharing options...
caerthann Posted July 3, 2009 Share Posted July 3, 2009 I apologize for the delay in responding. I wanted to do a new installation to be sure I hadn't caused the problem. I did that and it worked fine so I don't see where that error would be coming from. If you did an update from a previous version, there may have been code left over from that. You should have to add those items to the database. If you do, then something is probably not working correctly. Jack The problem seems to occur if you use the TinyMCE files in the Extras folder. I merged the sql_data_array line from admin/articles.php into the same file in the TinyMCE folder and I think it fixed the problem. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 4, 2009 Share Posted July 4, 2009 (edited) The problem seems to occur if you use the TinyMCE files in the Extras folder. I merged the sql_data_array line from admin/articles.php into the same file in the TinyMCE folder and I think it fixed the problem. Thanks for posting that. You're fix is probably the correct one. I've never even looked at the extra directory so I'm sure the files in it are out of date. I'll put that on the list for the next update. Jack Edited July 4, 2009 by Jack_mcs Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
leveera Posted July 4, 2009 Share Posted July 4, 2009 (edited) No, I hadn't thought of that. I'll put it on the list to do but that will probably be a ways off. Jack Hi Jack back to my 2c Could you please check how clean is my code for articles_new infobox. Thanks! <?php /* $Id: articles_new.php,v 1.0 2009/07/04 22:07:52 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ $listing_sql = "select a.articles_id, a.articles_date_added, ad.articles_name, ad.articles_head_desc_tag, au.authors_id, au.authors_name, td.topics_id, td.topics_name from ((" . TABLE_ARTICLES . " a), " . TABLE_ARTICLES_TO_TOPICS . " a2t) left join " . TABLE_TOPICS_DESCRIPTION . " td on a2t.topics_id = td.topics_id left join " . TABLE_AUTHORS . " au on a.authors_id = au.authors_id, " . TABLE_ARTICLES_DESCRIPTION . " ad where (a.articles_date_available IS NULL or to_days(a.articles_date_available) <= to_days(now())) and a.articles_id = a2t.articles_id and a.articles_status = '1' and a.articles_id = ad.articles_id and ad.language_id = '" . (int)$languages_id . "' and td.language_id = '" . (int)$languages_id . "' and a.articles_date_added > SUBDATE(now( ), INTERVAL '" . NEW_ARTICLES_DAYS_DISPLAY . "' DAY) order by a.articles_date_added desc, ad.articles_name"; $listing_split = new splitPageResults($listing_sql, MAX_ARTICLES_PER_PAGE); ?> <!-- articles_new //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_NEW_ARTICLES); new infoBoxHeading($info_box_contents, false, false); $rows = 0; if ($listing_split->number_of_rows > 0) { $articles_listing_query = tep_db_query($listing_split->sql_query); $articles_listing = '<table border="0" width="100%" cellspacing="0" cellpadding="1">'; while ($articles_list = tep_db_fetch_array($articles_listing_query)) { $rows++; $articles_listing .= '<tr><td class="infoBoxContents" valign="top">' . tep_row_number_format($rows) . '.</td><td class="infoBoxContents"><a href="' . tep_href_link(FILENAME_ARTICLE_INFO, 'articles_id=' . $articles_list['articles_id']) . '"><b>' . $articles_list['articles_name'] . '</a></td></tr>'; } $articles_listing .= '</table>'; $info_box_contents = array(); $info_box_contents[] = array('text' => $articles_listing); new infoBox($info_box_contents); ?> </td> </tr> <!-- articles_new_eof //--> <?php } ?> Edited July 4, 2009 by leveera Quote Link to comment Share on other sites More sharing options...
Guest Posted July 6, 2009 Share Posted July 6, 2009 After looking thru many boards, including here. I am still stuck. I have header tags seo installed, ultimate seo installed, and article manager 1.0 installed. Unfortunately. I am getting a weird error When I installed, added a user, then tried to create either a topic or a post, it sends me to mywebsite.comdir_ws_http_catalogmiscellaneous-articles-t-.html/?action=new_topic I searched around in application_top.php and came to the conclusion that it is creating the problem(or so I assume) // Article Manager if (isset($HTTP_GET_VARS['tPath'])) { $tPath = $HTTP_GET_VARS['tPath']; } else { $tPath = ''; } I added to .htaccess RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-([0-9]+_[0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-([0-9]+_[0-9]+_[0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} still. I get that error. Any help would be appreciated. thanks Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 6, 2009 Share Posted July 6, 2009 You need to install Articles Manager 1_5.7 if you want it to be compatible with Header Tags SEO, which you should. As for the rewrite, download the version of Ultimate SEO I just uploaded and use the rewrites from there. Also upload the included seo_class.php file. It should work after that, assuming there are not any installation mistakes. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Alexander75 Posted July 7, 2009 Share Posted July 7, 2009 Hello, why the code don't split page in all articles? This is a page: http://www.eraskor.com/articles_new.php and this my code: <?php $articles_new_array = array(); $articles_new_query_raw = "select a.articles_id, a.articles_date_added, ad.articles_name, ad.articles_head_desc_tag, au.authors_id, au.authors_name, td.topics_id, td.topics_name from ((" . TABLE_ARTICLES . " a), " . TABLE_ARTICLES_TO_TOPICS . " a2t) left join " . TABLE_TOPICS_DESCRIPTION . " td on a2t.topics_id = td.topics_id left join " . TABLE_AUTHORS . " au using(authors_id), " . TABLE_ARTICLES_DESCRIPTION . " ad where (a.articles_date_available IS NULL or to_days(a.articles_date_available) <= to_days(now())) and a.articles_id = a2t.articles_id and a.articles_status = '1' and a.articles_id = ad.articles_id and ad.language_id = '" . (int)$languages_id . "' and td.language_id = '" . (int)$languages_id . "' and a.articles_date_added > SUBDATE(now( ), INTERVAL '" . NEW_ARTICLES_DAYS_DISPLAY . "' DAY) order by a.articles_date_added desc, ad.articles_name"; $articles_new_split = new splitPageResults($articles_new_query_raw, MAX_NEW_ARTICLES_PER_PAGE); if (($articles_new_split->number_of_rows > 0) && ((ARTICLE_PREV_NEXT_BAR_LOCATION == 'top') || (ARTICLE_PREV_NEXT_BAR_LOCATION == 'both'))) { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $articles_new_split->display_count(TEXT_DISPLAY_NUMBER_OF_ARTICLES_NEW); ?></td> <td align="right" class="smallText"><?php echo TEXT_RESULT_PAGE . ' ' . $articles_new_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <?php if ($articles_new_split->number_of_rows > 0) { $articles_new_query = tep_db_query($articles_new_split->sql_query); ?> <tr> <td class="main"><?php echo sprintf(TEXT_NEW_ARTICLES, NEW_ARTICLES_DAYS_DISPLAY); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php while ($articles_new = tep_db_fetch_array($articles_new_query)) { ?> <tr> <td valign="top" class="main" width="75%"> <?php echo '<a href="' . tep_href_link(FILENAME_ARTICLE_INFO, 'articles_id=' . $articles_new['articles_id']) . '"><b>' . $articles_new['articles_name'] . '</b></a> '; if (DISPLAY_AUTHOR_ARTICLE_LISTING == 'true' && tep_not_null($articles_new['authors_name'])) { echo TEXT_BY . ' ' . '<a href="' . tep_href_link(FILENAME_ARTICLES, 'authors_id=' . $articles_new['authors_id']) . '"> ' . $articles_new['authors_name'] . '</a>'; } ?> </td> <?php if (DISPLAY_TOPIC_ARTICLE_LISTING == 'true' && tep_not_null($articles_new['topics_name'])) { ?> <td valign="top" class="main" width="25%" nowrap><?php echo TEXT_TOPIC . ' <a href="' . tep_href_link(FILENAME_ARTICLES, 'tPath=' . $articles_new['topics_id']) . '">' . $articles_new['topics_name'] . '</a>'; ?></td> <?php } ?> </tr> The maximum number of New Articles to display in admin panel is on 2. Thanks a lot. Bye ;) Quote T-shirt metal, sweatshirts metal, articles, interviews on band metal and more ... Link to comment Share on other sites More sharing options...
galey1981 Posted July 10, 2009 Share Posted July 10, 2009 Hey everyone, I have the very latest Article Manager downloaded and installed. I also have the latest STS, and a very recent header tags controller. However if i try and call articles.php on my website i get the Current Articles text, minus any of my website styling, and then the following error message: Fatal error: Call to undefined function: clean_html_comments() in /htdocs/includes/modules/article_listing.php on line 66 I've seen this has been an issue historically, but I cant find anything specific to search for to fix it? Is it a version issue or could it be mysql 4 related? I'm only speculating. Thanks!! David Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 11, 2009 Share Posted July 11, 2009 If by the latest version, you mean one of the 1_57... versions, then that won't work with the Header Tags Controller contribution. It requires Header Tags SEO. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
galey1981 Posted July 11, 2009 Share Posted July 11, 2009 I've got header tags SEO V.3.1.5 - the most recently available one you uploaded. Not sure if there's some residual code left over perhaps? Any particular pages where there strictly shouldnt be any header tag coding which i can now strip out? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 11, 2009 Share Posted July 11, 2009 Then if you are using one of the 1_57... versions of Articles Manager, the clean_html_comments function is included in the Header Tags code. if you aren't, then you have to add it to the application_top.php file. Although in that case, Header Tags SEo won't work properly with Articles Manager. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
wemseo Posted July 13, 2009 Share Posted July 13, 2009 Hello ...a bit out of the topic question ... How does Article Manager compare with extra-pages (which I don't really favor much)? Can it be used to create additional information and "form" pages and ... how does if go along with a site that has already FCK-Editor installed? Thanks a lot Then if you are using one of the 1_57... versions of Articles Manager, the clean_html_comments function is included in the Header Tags code. if you aren't, then you have to add it to the application_top.php file. Although in that case, Header Tags SEo won't work properly with Articles Manager. Jack Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 13, 2009 Share Posted July 13, 2009 They both do about the same thing. Articles Manager provides more grouping options. Either will work with the FCKEditor as long as the changes to the text area code is changed. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
wemseo Posted July 13, 2009 Share Posted July 13, 2009 Thanks Jack Just give me please a bit of a kick - am a bit slow with ... "as long as the changes to the text area code is changed." <_< Cheers Norbert They both do about the same thing. Articles Manager provides more grouping options. Either will work with the FCKEditor as long as the changes to the text area code is changed. Jack Quote Link to comment Share on other sites More sharing options...
svobodicz Posted July 22, 2009 Share Posted July 22, 2009 (edited) Hi, I would like to ask you for help with error message I get in articles manager's administration, item Topics/articles . Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 71 bytes) in /home/www/drinker.cz/subdomeny/eshop/admin/includes/functions/articles.php on line 51 I suppose there is something wrong with the database request, but I don't know how to repair it :( All other items in administration menu work correctly at this moment. Thank you. Martin Edited July 22, 2009 by svobodicz Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 22, 2009 Share Posted July 22, 2009 It means you are exceeding the limit of your hosting plan. You need to ask your host to increase it. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
nudylady Posted August 15, 2009 Share Posted August 15, 2009 (edited) I tried this addon, articles not show when STS is enabled. There is a fix in page 21 of this topic, but that fix posted on Nov 15 2005, 07:33 PM. already outdated. Any idea? Edited August 15, 2009 by nudylady Quote Link to comment Share on other sites More sharing options...
andremen Posted August 16, 2009 Share Posted August 16, 2009 I tried this addon, articles show but mess my left colunn, I use dropDown Menu on the categories box. Any idea site www.flooringsupplystore.com sample with trouble: http://www.flooringsupplystore.com/articles.php?authors_id=1 Any help is apprecieted. Quote Administration Access Level Accounts 2.0 | Wishlist 2.0 | Supplier Admin Area V0.2 | Pricematch | Terms Acceptance 1.0 | Date of Birth PullDown | Header Tags SEO V 3.0 | Product Extra Fields | Article Manager v1.0 | Supertracker v3.1a | myQBI Quickbooks Sync | ## POINTS AND REWARDS MODULE V1.00 ## Link to comment Share on other sites More sharing options...
Jack_mcs Posted August 16, 2009 Share Posted August 16, 2009 I tried this addon, articles show but mess my left colunn, I use dropDown Menu on the categories box.Any idea site www.flooringsupplystore.com sample with trouble: http://www.flooringsupplystore.com/articles.php?authors_id=1 Any help is apprecieted. It doesn't change any code to do with the categories box but it does call the standard left column. Maybe yours has been changed? Try comparing one of working files, like privacy.php, to see if there is a difference. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
andremen Posted August 16, 2009 Share Posted August 16, 2009 It doesn't change any code to do with the categories box but it does call the standard left column. Maybe yours has been changed? Try comparing one of working files, like privacy.php, to see if there is a difference. Jack Thanks Jack, I compared it like you suggested but nothing has changed. This is a mystery ...lol Quote Administration Access Level Accounts 2.0 | Wishlist 2.0 | Supplier Admin Area V0.2 | Pricematch | Terms Acceptance 1.0 | Date of Birth PullDown | Header Tags SEO V 3.0 | Product Extra Fields | Article Manager v1.0 | Supertracker v3.1a | myQBI Quickbooks Sync | ## POINTS AND REWARDS MODULE V1.00 ## Link to comment Share on other sites More sharing options...
andremen Posted August 27, 2009 Share Posted August 27, 2009 Hi! Thanks all for this great contribution. Since I had installed that my website had improved not just on my customers needs but as well on the Google ranking too. I want to improve the reader’s knowledge adding the Author picture and description B on the www.yoursite.com/article_info.php after the article info and before the article date. This way the reader sees the picture off the Author and start to be familiar with it. I tried to get the peace code from /articles.php (what is perfect) and put on articles_info.php I am not been successful with this task. I have a sample of one site where you can see what I mean. http://www.wordtracker.com/academy/lisa-ditlefsen-seo-chick Any help is appreciating. :rolleyes: Quote Administration Access Level Accounts 2.0 | Wishlist 2.0 | Supplier Admin Area V0.2 | Pricematch | Terms Acceptance 1.0 | Date of Birth PullDown | Header Tags SEO V 3.0 | Product Extra Fields | Article Manager v1.0 | Supertracker v3.1a | myQBI Quickbooks Sync | ## POINTS AND REWARDS MODULE V1.00 ## Link to comment Share on other sites More sharing options...
DamanC Posted August 29, 2009 Share Posted August 29, 2009 Just a quick Question. I have AM v1.57 installed. Works great. I also have headertags SEO (V 3.1.0 I think? is there anyway to tell?) Is there a way to make the tags display as the article name or even the article topic? All I can get it to display is the static root tag. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted August 29, 2009 Share Posted August 29, 2009 Just a quick Question. I have AM v1.57 installed. Works great. I also have headertags SEO (V 3.1.0 I think? is there anyway to tell?) Is there a way to make the tags display as the article name or even the article topic? All I can get it to display is the static root tag. There isn't an easy way to tell the version of Header Tags until version 3.1.4. To add titles and tags for the article pages, use the pseudo option in Header Tags (Page Control, right column). I don't recall when that option was added to Header Tags but I think 3.1.0 had it. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
DamanC Posted August 29, 2009 Share Posted August 29, 2009 My version (if it is 3.1.0) has it. Works perfectly. Thank you as always :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.