Re: AutoFacebook [Support]
Hello,
I just installed this add on for my website which is currently 1.3.9h I have followed all direction however on your statement "Now click "Facebook Integration" on the left. Towards the bottom you should see "Installable to?". Uncheck "Users" and add a check next to "Facebook Pages" instead."
there is nothing on Facebook Intergration that has that option. when i go to the app part to add app it sends me to my website. also the http://apps.facebook.com/---------/ is blank where the -------- lines are.
How do i know if it is working properly without your directions not being on the facebook app section?
Thanks
Re: AutoFacebook [Support]
When you have more than one page on facebook application goes blank and dont work. Is there update soon for this great mod? autoFacebook Light
Re: AutoFacebook [Support]
Is there a way to remove the pricing? Because some items we have at MAP then crossed out in red with a sale price. But the sale price does not show on the facebook page. Anyways I think it is better to remove the price so the user will click on it to read about it first and to see the actual price on our site.
Re: AutoFacebook [Support]
Quote:
Originally Posted by
willie bee
Is there a way to remove the pricing? Because some items we have at MAP then crossed out in red with a sale price. But the sale price does not show on the facebook page. Anyways I think it is better to remove the price so the user will click on it to read about it first and to see the actual price on our site.
Yes there is.
All you do is open up update_product.php and comment out line 107 for example.
Original section of the file.
Code:
'page' => $pageID,
'prod_image' => $_POST['products_image'],
'price' => $products_price,
'prod_name' => $_POST['products_name'][$_SESSION['languages_id']],
Modified section of the file.
Code:
'page' => $pageID,
'prod_image' => $_POST['products_image'],
// 'price' => $products_price,
'prod_name' => $_POST['products_name'][$_SESSION['languages_id']],
Now the price will not be posted on Facebook.
Re: AutoFacebook [Support]
Quote:
Originally Posted by
CybaGirl
Yes there is.
All you do is open up update_product.php and comment out line 107 for example.
Original section of the file.
Code:
'page' => $pageID,
'prod_image' => $_POST['products_image'],
'price' => $products_price,
'prod_name' => $_POST['products_name'][$_SESSION['languages_id']],
Modified section of the file.
Code:
'page' => $pageID,
'prod_image' => $_POST['products_image'],
// 'price' => $products_price,
'prod_name' => $_POST['products_name'][$_SESSION['languages_id']],
Now the price will not be posted on Facebook.
Just a quick check before I go breaking it all over again. :frusty:
could you enlighten us newbees as to the line number or section of the code we should edit for this, please.
I can see two or is it three times where it is entered and would not like to fiddle around with the wrong bits. :cry:
Re: AutoFacebook [Support]
Addendum to my last post.
would it be in this section?
// No Need to edit below here.
$prod_image = $store_url . "/images/" . $_POST['products_image'];
// $price = $products_price;
$prod_url = $store_url . '/index.php?main_page=product_info&cPath=' . $current_category_id . '&products_id=' . $products_id;
$prod_name = $_POST['products_name'][$_SESSION['languages_id']];
$prod_description = $_POST['products_description'][$_SESSION['languages_id']];
//$prod_description = implode(" ", $_POST['products_description']);
Ironically for me with the header;
// No Need to edit below here.
:unsure: :lookaroun
Re: AutoFacebook [Support]
Quote:
Originally Posted by
BillyBoyle
Addendum to my last post.
would it be in this section?
// No Need to edit below here.
$prod_image = $store_url . "/images/" . $_POST['products_image'];
// $price = $products_price;
$prod_url = $store_url . '/index.php?main_page=product_info&cPath=' . $current_category_id . '&products_id=' . $products_id;
$prod_name = $_POST['products_name'][$_SESSION['languages_id']];
$prod_description = $_POST['products_description'][$_SESSION['languages_id']];
//$prod_description = implode(" ", $_POST['products_description']);
Ironically for me with the header;
// No Need to edit below here.
:unsure: :lookaroun
also edit line 135
//'caption' => 'Price: '.$cur . $price,
or you'll have an currebcy symbol with no price.
Re: AutoFacebook [Support]
Yes thanks for that I forgot to edit the currency symbol out :hug: .
Also to make your life easier when editing or comparing files you might find the following two programs of great use to you.
EditPad Lite
http://www.editpadlite.com/
Press and hold the Shift key and then press the F11 key to get the line numbers to show. This will make your life easier when trying to find line numbers and what code to edit, remove etc. Plus you can set it to replace NotePad as it uses tabs for all your opened text files.
WinMerge
http://winmerge.org/
For comparing differences between your mod files and or adding changes so that mods will work along side each other.
:bigups:
Re: AutoFacebook [Support]
Quote:
Originally Posted by
CybaGirl
Yes thanks for that I forgot to edit the currency symbol out :hug: .
Also to make your life easier when editing or comparing files you might find the following two programs of great use to you.
EditPad Lite
http://www.editpadlite.com/
Press and hold the Shift key and then press the F11 key to get the line numbers to show. This will make your life easier when trying to find line numbers and what code to edit, remove etc. Plus you can set it to replace NotePad as it uses tabs for all your opened text files.
WinMerge
http://winmerge.org/
For comparing differences between your mod files and or adding changes so that mods will work along side each other.
:bigups:
Your very welcome. :bigups:
I do use Winmerge for compare and merging
I use Mostly Dreamweaver in code view or Context for php editing, though I will take a look at the program you suggested.
Do you know anything about formating the the curency out put from this mod (or any php file I guess)
I'm looking at including the price for my postings but have hit a couple of... (well really don't know what I'm doin) issues.
I found an edit way back in the thread for
line 123 (or there abouts)
Code:
$price = $_POST['products_price_gross'];
to show the price with VAT or TAX added.
The issue I have is the number of decimal places (3)
I get a price as this £0.996 instead of £0.99
I have tried this edit as it looked similar to an edit the [OP] offered for formating the same in autotweet 3
Code:
$price = $_POST[number_format($products_price_gross, 2, '.', ',' )];
I'm not really php savy and have been going crossed eyed reading this thread and a whole load of info on php.net
Any help would be greatly appreciated and I am sure other users would benifit from this as well.
Thanks in advance Billy
Re: AutoFacebook [Support]
Here I go again, replying to my own posts.
How sad is that. :P
I was getting the edit correct for formating out put except for copying it from the web page on php.net my sigle quotes were all wrong not coming out like ' ' at all.
Now I don't get a broken update product page, though I am not getting a figure showing on the facebook post.
I know the answer is with in reach, just that my wee short arms can't get it. :D