callenords Posted March 7, 2009 Share Posted March 7, 2009 Hi! After adding a new answer to a post, you get transfered to the forum start page. I would like to change the link so that you get transfered back to the topic you are posting on! How do I change that? Thanks for a great contribution! Carl Quote Link to comment Share on other sites More sharing options...
usvi4me Posted April 8, 2009 Share Posted April 8, 2009 Hi! After adding a new answer to a post, you get transfered to the forum start page. I would like to change the link so that you get transfered back to the topic you are posting on! How do I change that? Thanks for a great contribution! Carl In catalog/asn_reply.php change line 59 tep_redirect(tep_href_link('asnf_index.php', "id=$id",'SSL')); to tep_redirect(tep_href_link('asnf_viewtopic.php', "id=$id",'SSL')); Quote Link to comment Share on other sites More sharing options...
Guest Posted May 4, 2009 Share Posted May 4, 2009 For those of you with the Error Fatal error: Call to a member function on a non-object in (File Path)\header.php or (File Path)\asnf_addtopic.php on line xx For me it was a result of leaving a field blank when submitting a new topic. My solution was as follows. In the File includes/asnf_lib.php Find around line 216 function erro($message) { comment out line 219 //include("header.php"); comment out line 263 //include("footer.php"); This will show the message to the user that they need to go back and properly fill out the form. A simple form validation script on the add topic form would be better but don't have time for that now :) Quote Link to comment Share on other sites More sharing options...
Guest Posted September 1, 2009 Share Posted September 1, 2009 ASN Forum for osCommerce is so far the best "simple" forum addon I have found. Many thanks to the MasterGiGi and all others who have worked on this mod . Hopefully we can advance this script little by little, as it looks to be a very promising piece of code. As time permits I shall be cleaning it up to better match osC code and style. My first step has been to create a customer moderator addon. The contribution may be found here: http://addons.oscommerce.com/info/4832 Hello is it working in e-Commerce 3 alpha 5 version? And where can I download it? Many thanks, Vitaly Quote Link to comment Share on other sites More sharing options...
josh48202 Posted December 28, 2009 Share Posted December 28, 2009 (edited) for those of you who are still have the fatal error problem here is a fix that i did. the check_email function is still being used but instead of typing in the email every time it is fetched using an query. in catelog/asnf_newtopic.php find: require_once("includes/asnf_header.php"); and add below: $email_query = tep_db_query("select customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'"); $email = tep_db_fetch_array($email_query); $email_address = $email['customers_email_address']; find: <td width="72%"> <input type="text" name="email" size="30"> </td> replace with: <td width="72%"><?php echo tep_draw_input_field('email', $email_address); ?></td> do the same for catelog/asnf_viewtopic.php hope that helps you =] Edited December 28, 2009 by josh48202 Quote Link to comment Share on other sites More sharing options...
tikidiboo Posted February 27, 2011 Share Posted February 27, 2011 (edited) Hi, I am looking for some sites with this addon, so i can see it working before i use it on my own site. Cheers Edited February 27, 2011 by tikidiboo Quote Link to comment Share on other sites More sharing options...
sakkiotto Posted March 8, 2013 Share Posted March 8, 2013 it's possible attach image upload or html code for post image too ?? 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.