Forum Replies Created

Viewing 14 replies - 31 through 44 (of 44 total)
  • Thread Starter bastien31

    (@bastien31)

    Thx for the quick reply. As I told in another post, your plugin is great and do the job for pdf invoices.

    The problem is that I need a more complete plugin which manages credit notes too. So, I have to use another one.

    But thx for your work ??

    Thread Starter bastien31

    (@bastien31)

    Hi Bas,

    Thanks for the quick reply. Finally, it’s ok.

    Your plugin is very good and you have a very good work. I love it.

    The problem is that I needed a more complete plugin which manages credit notes too. So, I have to use another one.

    But thx for your work ??

    Thread Starter bastien31

    (@bastien31)

    Hi,

    I find a solution. The problem is that mpdf don’t like domain in the image path. It works pretty quickly if it’s relative path.

    In the function get_company_logo_html(), just remove the domain and http stuff and add ../ as the current path is wp-admin.

    Basically you have a path image like :

    It works great by removing https://subdomain.domain.com and adding ..

    • ../wp-content/uploads/YYYY/MM/thefile.jpg

    I did it directly in the abstract file. I don’t know how to change better.

    Is it possible to modify in a future update the logo image path you save when adding the file in order to have the relative path and not the absolute used in this function ?

    Thanks

    Bastien

    Thread Starter bastien31

    (@bastien31)

    Hi,

    I just found the function get_company_logo_html() in the file abstract-bewpi-invoice.php.

    There is this note : * Convert image to base64 due to incompatibility of subdomains with MPDF

    The url of the logo image is like https://subdomain.domain.com/wp-content/uploads/2015/09/logo-company.jpg

    I understand that MPDF obliges to encode the image in base64. Does it why it’s so slow ?

    Thanks for your help

    Bastien

    Same issue here. Thanks a lot for the css snippet.

    It’s a bug where WooThemes must have a look. It’s on checkout !!

    Thread Starter bastien31

    (@bastien31)

    Hi,

    It was a modification I done in functions.php.

    I added this line:

    remove_action( ‘woocommerce_created_customer_notification’, array( WC_Emails::instance(), ‘customer_new_account’ ), 10, 3 );

    in order to customize the process of the email (I have two kinds of customer).

    It seems it screw the emails generation.

    Thread Starter bastien31

    (@bastien31)

    Hi,

    I don’t have worked on the problem because I have found another solution, easier for me (with a theme and a plugin for importing data).

    The website where I have the issue is not accessible online. But I can open a subdomain where I would install wordpress to reproduct the problem I have.

    I will take time to do that in the following days. Is there a way to send you a private message (for URL and login/pwd to the website ?)

    Thanks for the support.

    Thread Starter bastien31

    (@bastien31)

    Hi,

    @moderator: sorry for the paste of the code ! ??

    I am investigating the problem I have with the search. I found that I don’t have the same result depending on what setting I chose for the “styles” possibilities in the car demon settings.

    – If I put yes to styles for form, vehicles and themes, I have the result I paste in my previous post.

    – If I put yes to some, the result is near the same, exceptingthe presentation.

    – If I put no to all three, the results is “Not found” and no vehicles, even if my criteria match with vehicles.

    I don’t understand why the styles choices interact with the results of the search. I’m going to have a deeper look.

    Maybe that’s an error somebody has already had.

    Thanks for any help.

    Bastien

    Thread Starter bastien31

    (@bastien31)

    Hi Jim,

    And really thanks for the so quick reply!

    About the problems I have, the first was a 404 page error. My apologies: I just have to saved permalinks again et it’s ok.

    I have some problem with css element but it’s ok for that, i will fix it and I have to work on the stylesheets.

    But the main problem is on the search. I have put the car demon search widget in the sidebar. I have only one vehicle in my base. If I just click on search, I have as reply:

    “Any results.
    Sorry, but nothing matched your search criteria. Please try using a broader search selection.”

    I have a list of 8 items of the only one I have with the image.

    When I open the element inspector, that’s what I have:

    <div id="post-0" class="post no-results not-found"><h2 class="entry-title">Aucun résultat</h2><div class="entry-content"><p class="sorry">Sorry, but nothing matched your search criteria. Please try using a broader search selection.</p><div class="searched_by"><span class="remove_search" onclick="remove_search('search_condition', 'used', 's=cars&car=1&stock=&search_condition=used&search_make=,renault&search_year=&search_model=&search_dropdown_Min_price=0&search_dropdown_Max_price=0&search_dropdown_miles=&search_dropdown_body=&submit_search=Search');">x</span> <span class="remove_search_title">Condition:</span> used, <span class="remove_search" onclick="remove_search('search_make', ',renault', 's=cars&car=1&stock=&search_condition=used&search_make=,renault&search_year=&search_model=&search_dropdown_Min_price=0&search_dropdown_Max_price=0&search_dropdown_miles=&search_dropdown_body=&submit_search=Search');">x</span> <span class="remove_search_title">Make:</span> renault</div><div class="no_result">
    				<div class="random">
    					<div class="random_img">
    						<img class="similar_car_ribbon" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/ribbon-no-ribbon.png" width="76" height="76" alt="New Ribbon" id="ribbon">
    						<img onclick="window.location='https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/';" class="random_car_lookup" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/look_close.png" width="188" height="143" alt="New Ribbon" id="look_close">
    						<img onclick="window.location="https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/";" title="Click for price on this 2010 renault laguna" onerror="ImgError(this, "no_photo.gif");" class="random_widget_image" width="180px" height="135px" src="https://localhost/wp_beauchamps/wp-content/uploads/2014/01/logo.png">
    					</div>
    					<div class="random_description">
    						<span class="random_title">2010 renault laguna</span><span class="random_text">Condition: Used</span><span class="random_text">Mileage: </span><span class="random_text">Stock#: </span>
    					</div>
    				</div></div><div class="no_result">
    				<div class="random">
    					<div class="random_img">
    						<img class="similar_car_ribbon" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/ribbon-no-ribbon.png" width="76" height="76" alt="New Ribbon" id="ribbon">
    						<img onclick="window.location='https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/';" class="random_car_lookup" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/look_close.png" width="188" height="143" alt="New Ribbon" id="look_close">
    						<img onclick="window.location="https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/";" title="Click for price on this 2010 renault laguna" onerror="ImgError(this, "no_photo.gif");" class="random_widget_image" width="180px" height="135px" src="https://localhost/wp_beauchamps/wp-content/uploads/2014/01/logo.png">
    					</div>
    					<div class="random_description">
    						<span class="random_title">2010 renault laguna</span><span class="random_text">Condition: Used</span><span class="random_text">Mileage: </span><span class="random_text">Stock#: </span>
    					</div>
    				</div></div><div class="no_result">
    				<div class="random">
    					<div class="random_img">
    						<img class="similar_car_ribbon" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/ribbon-no-ribbon.png" width="76" height="76" alt="New Ribbon" id="ribbon">
    						<img onclick="window.location='https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/';" class="random_car_lookup" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/look_close.png" width="188" height="143" alt="New Ribbon" id="look_close">
    						<img onclick="window.location="https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/";" title="Click for price on this 2010 renault laguna" onerror="ImgError(this, "no_photo.gif");" class="random_widget_image" width="180px" height="135px" src="https://localhost/wp_beauchamps/wp-content/uploads/2014/01/logo.png">
    					</div>
    					<div class="random_description">
    						<span class="random_title">2010 renault laguna</span><span class="random_text">Condition: Used</span><span class="random_text">Mileage: </span><span class="random_text">Stock#: </span>
    					</div>
    				</div></div><div class="no_result">
    				<div class="random">
    					<div class="random_img">
    						<img class="similar_car_ribbon" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/ribbon-no-ribbon.png" width="76" height="76" alt="New Ribbon" id="ribbon">
    						<img onclick="window.location='https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/';" class="random_car_lookup" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/look_close.png" width="188" height="143" alt="New Ribbon" id="look_close">
    						<img onclick="window.location="https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/";" title="Click for price on this 2010 renault laguna" onerror="ImgError(this, "no_photo.gif");" class="random_widget_image" width="180px" height="135px" src="https://localhost/wp_beauchamps/wp-content/uploads/2014/01/logo.png">
    					</div>
    					<div class="random_description">
    						<span class="random_title">2010 renault laguna</span><span class="random_text">Condition: Used</span><span class="random_text">Mileage: </span><span class="random_text">Stock#: </span>
    					</div>
    				</div></div><div class="no_result">
    				<div class="random">
    					<div class="random_img">
    						<img class="similar_car_ribbon" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/ribbon-no-ribbon.png" width="76" height="76" alt="New Ribbon" id="ribbon">
    						<img onclick="window.location='https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/';" class="random_car_lookup" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/look_close.png" width="188" height="143" alt="New Ribbon" id="look_close">
    						<img onclick="window.location="https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/";" title="Click for price on this 2010 renault laguna" onerror="ImgError(this, "no_photo.gif");" class="random_widget_image" width="180px" height="135px" src="https://localhost/wp_beauchamps/wp-content/uploads/2014/01/logo.png">
    					</div>
    					<div class="random_description">
    						<span class="random_title">2010 renault laguna</span><span class="random_text">Condition: Used</span><span class="random_text">Mileage: </span><span class="random_text">Stock#: </span>
    					</div>
    				</div></div><div class="no_result">
    				<div class="random">
    					<div class="random_img">
    						<img class="similar_car_ribbon" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/ribbon-no-ribbon.png" width="76" height="76" alt="New Ribbon" id="ribbon">
    						<img onclick="window.location='https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/';" class="random_car_lookup" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/look_close.png" width="188" height="143" alt="New Ribbon" id="look_close">
    						<img onclick="window.location="https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/";" title="Click for price on this 2010 renault laguna" onerror="ImgError(this, "no_photo.gif");" class="random_widget_image" width="180px" height="135px" src="https://localhost/wp_beauchamps/wp-content/uploads/2014/01/logo.png">
    					</div>
    					<div class="random_description">
    						<span class="random_title">2010 renault laguna</span><span class="random_text">Condition: Used</span><span class="random_text">Mileage: </span><span class="random_text">Stock#: </span>
    					</div>
    				</div></div><div class="no_result">
    				<div class="random">
    					<div class="random_img">
    						<img class="similar_car_ribbon" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/ribbon-no-ribbon.png" width="76" height="76" alt="New Ribbon" id="ribbon">
    						<img onclick="window.location='https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/';" class="random_car_lookup" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/look_close.png" width="188" height="143" alt="New Ribbon" id="look_close">
    						<img onclick="window.location="https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/";" title="Click for price on this 2010 renault laguna" onerror="ImgError(this, "no_photo.gif");" class="random_widget_image" width="180px" height="135px" src="https://localhost/wp_beauchamps/wp-content/uploads/2014/01/logo.png">
    					</div>
    					<div class="random_description">
    						<span class="random_title">2010 renault laguna</span><span class="random_text">Condition: Used</span><span class="random_text">Mileage: </span><span class="random_text">Stock#: </span>
    					</div>
    				</div></div><div class="no_result">
    				<div class="random">
    					<div class="random_img">
    						<img class="similar_car_ribbon" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/ribbon-no-ribbon.png" width="76" height="76" alt="New Ribbon" id="ribbon">
    						<img onclick="window.location='https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/';" class="random_car_lookup" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/look_close.png" width="188" height="143" alt="New Ribbon" id="look_close">
    						<img onclick="window.location="https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/";" title="Click for price on this 2010 renault laguna" onerror="ImgError(this, "no_photo.gif");" class="random_widget_image" width="180px" height="135px" src="https://localhost/wp_beauchamps/wp-content/uploads/2014/01/logo.png">
    					</div>
    					<div class="random_description">
    						<span class="random_title">2010 renault laguna</span><span class="random_text">Condition: Used</span><span class="random_text">Mileage: </span><span class="random_text">Stock#: </span>
    					</div>
    				</div></div><div class="no_result">
    				<div class="random">
    					<div class="random_img">
    						<img class="similar_car_ribbon" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/ribbon-no-ribbon.png" width="76" height="76" alt="New Ribbon" id="ribbon">
    						<img onclick="window.location='https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/';" class="random_car_lookup" src="https://localhost/wp_beauchamps/wp-content/plugins/car-demon/theme-files/images/look_close.png" width="188" height="143" alt="New Ribbon" id="look_close">
    						<img onclick="window.location="https://localhost/wp_beauchamps/cars-for-sale/laguna-1-8l-bleu-2010/";" title="Click for price on this 2010 renault laguna" onerror="ImgError(this, "no_photo.gif");" class="random_widget_image" width="180px" height="135px" src="https://localhost/wp_beauchamps/wp-content/uploads/2014/01/logo.png">
    					</div>
    					<div class="random_description">
    						<span class="random_title">2010 renault laguna</span><span class="random_text">Condition: Used</span><span class="random_text">Mileage: </span><span class="random_text">Stock#: </span>
    					</div>
    				</div></div></div><!-- .entry-content --></div>

    [Moderator Note: Please post code or markup between backticks or use the code button. Or better still – use a pastebin. Your posted code may now have been permanently damaged by the forum’s parser.]

    Your plugin certainly fit 99% with what I need so I’m going to continue investigating.

    Thanks for your reply,

    Bastien

    Thanks @sylviaivie for the reply

    The problem I don’t want to install another plugin for something which is basic for WordPress.

    I install two versions 3.8 and 3.8.1 on my local webserver, and my child works perfectly. So, it seems maybe not to come from 3.8.1 but I don’t understand. On the same server, I have a 3.8 version where the child theme works.

    I am investigating…

    Hi again,

    Just to add something: the child theme I want to use in WordPress 3.8.1 works perfectly in WordPress 3.8 in exactly the same configuration on the same server.

    Thanks for your help

    PS @esmi: I continue this topic because it seems we all have the same problem…

    Hi,

    I found this topic because I have the same error like Tom. The message:

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.

    Name Description
    Adamos Child The parent theme is missing. Please install the “Adamos” parent theme.

    I already have done plenty of child themes and some work fine on WordPress 3.8.

    The topic seems to be “Resolved” but I don’t see a solution here…

    Thread Starter bastien31

    (@bastien31)

    Thanks bcworkz for the quick reply.

    I’m happy to see that I am in the right direction. As you mention, the inventory size will not be huge. I’m going to tried with postmeta on a small sample (fake data with just two parameters) to try the validity of this solution.

    I noted your remark for my second post_type and I think you are right. I can of course bound the two post_type by their id in for example a hidden field, but I think it’s to complicate things for nothing.

    Have a great day!

    Hi remvpn,

    I found this solution for this f*$ù$ problem :

    The annoying culprit is this little line in /wp-includes/post-template.php, which I once more commented out:
    $content = str_replace(‘]]>’, ‘]]>’, $content);

    Thanks to the guy who posted this answer.

    https://simon.xn--schnbeck-p4a.dk/wordpress-cdata-nightmare/

    I also use the preserved html tag plugin which works for all the other stuffs, except the ]]> problem.

    Hope it works for you.

    Bastien

Viewing 14 replies - 31 through 44 (of 44 total)