Osclass forums
Development => Plugins => Topic started by: trains58554 on August 29, 2011, 05:57:34 am
-
Hi everyone
**more bug fixes 10-13-11
Fixed bugs with email alerts. No reinstall necessary just replace the old files with the new ones.
**bug fix 10-12-11
fixed bug with strct.sql file causing errors
**update 9-14-11
Offer button version 1.0
**changes planned for v 2.0
make correct currency symbol display based upon your selected currency
make offer button work for non registered users
**update 9-11-11
beta version 2
added a feature to show top 3 offers on an add
added email alerts.
**update 8-31-11
Fixed error in my sql file. The new zip has the updated file.
found another error in the sql file.
This fix will require you to reinstall the plugin.
As some of you know I have been building a plugin for accepting offers. The offers plugin is about 90% complete so in the mean time here are some sneak peaks.
The first image attached shows the view of the user view the offers he has submitted. The second image shows the view of the seller viewing their offers.
The plugin is ready for use!
To display offer button modify your item.php file in your theme folder and add <?php offer_button(); ?> where ever you want. I would suggest that you put the code right around where the other buttons like contact seller are.
Please let me know of any errors or suggestions you have for me thanks.
Please download version 2.0
http://forums.osclass.org/plugins/%28plugin%29-offer-button/
If you would like this old version please contact me.
Jay
-
This way, OSClass is some how similar to eBay?
-
Wow! Great plugin
-
This is a fantastic plugin!!
Great job!!
When do you plan to release it for trying out?
-
Hi Swede
I plan on releasing a beta version later on in the week.
Jay
-
Offer button is great, I don't think it's similar to eBay, many sites use it, try autobazar.eu (switch to english or other language you prefer, it's well organized car classifieds site, and they have offer button too :)
-
Hi all
The offer button plugin is ready for beta testing. Let me know of any errors you find or improvements that you think would make this plugin better.
You can download the plugin from the first post.
Jay
-
i tried uploading the plugin on my site but an error shows up that it wasnt uploaded succesfully
-
Hi usclassifieds.org
I think I have sorted out the problem with the zip.
Please try the new zip uploaded to the first post.
Thanks
Jay
-
it uploaded but now i get the error : There was a fatal error and the plugin was not installed.
Error: "file_get_contents() [function.file-get-contents]: Filename cannot be empty" Line: 29
File: /home4/usautosc/public_html/oc-content/plugins/offerButton/index.php
-
I have the error problem that you where getting fixed. We may have the issue with uploading the file again not totally sure on that.
Updated zip in first post.
Edit as a work around if uploading the zip does not work just extract the zip and upload the files via ftp.
Jay
-
Hi trains!
Your zip doesnt work... i unzipped it and rezipped it so now i can upload it through the admin panel.
But it doesnt show in the pluginslist (its uploaded, i can see it in the plugins map)...
I did put the code <?php offer_button(); ?> at line 107, and what happens is that in all ads the pics and contact seller form doesnt show anymore....
When deleting the code everything is fine again.
Im using version 2.2.2
-
Hi Swede
Can you explain a little more about it displaying in plugin map and not plugin list?
I will look into this more in the morning.
Jay
-
Sorry for the wrong wordings... i should have used the word folder instead of map... my english isnt at its best this time in the morning :D
The plugin is in the plugins folder but it does not show up in the admin plugins list.
Look at the attached pics.
-
ive got the plugin uploaded and installed but the offer button doesnt show up anywhere and ive tried putting the code in many different places.
-
Hi all
I am doing a little write up as to how to use this plugin. After you first install the plugin you will have to click the config link there you can setup which categories you want the offer button to be use in. After the configuration is done you will have to either edit your ad or post a new ad because the user has the option to enable or disable the offer button on his or her ads.
I hope this makes sense if not let me know and I will upload some more pictures.
Jay
-
Hey, ive tried getting the plugin to work, i dont know whats wrong heres my item.php maybe you'll know what to do...
-
Ive managed to get it installed and configured it to show in all my categories.
When making an ad there is now an option to show the offer button prefilled.
But no button shows up on the ad after its published.
The code <?php offer_button(); ?> is on line 107 in the item.php
-
Hi Swede
Which item.php file did you past the code into?
Jay
-
@usclassifieds.org
I have check out your item.php file and have moved the code down more. I have re-uploaded the file here.
Jay
-
it still doesnt show up
-
@usclassifieds.org
I found the error it was in sql file. So I will re upload the plugin.
Jay
-
still nothing shows up on my item
-
Did you re install the plugin?
-
yea still nothing
-
Which ad are you tring to get the the offer button to show up on?
-
Well, i want it to work on all of them but im just testing it now on this one: http://www.usclassifieds.org/index.php?page=item&id=329
-
what happens when you edit that item and check the check box to allow offers?
Jay
-
wow the offer checkbox isnt showing up anymore
-
When you reinstalled the plugin did you remember to configure the categories you want the offer button to work in?
Jay
-
i did and the checkbox now shows up, but still no change in the ad
-
@usclassifieds.org
I found one more error in my sql. I am so sorry about all the errors. So you will have to reinstall the plugin once more. This time I should have all the errors out of the sql file.
Jay
-
works now thanks! and no problem, happy to be helping us get closer to the stable release
-
Very good I am glad it is working now. Thank you for helping in testing this plugin.
Jay
-
Hey, do you think an alert could be made for when someone made an offer to your ad?
-
Hey, do you think an alert could be made for when someone made an offer to your ad?
What type of alert would you want one that emails you when you get an offer or one that displays a number of new offers next to the link in the user dashboard or both. I think they both could be doable.
Jay
-
i think the one that emails you would be the most helpful so the user doesnt have to log in to the site to find out
-
I will work on setting up an email alert. Do you think we should have an alert for the possible buyer as well so they also know when the item has been accepted or declined?
Jay
-
Oh yeah good idea, that would be really useful to this way both the buyer and seller will be able to be updated
-
I will work on adding the email alerts.
Jay
-
Now it works!!
I made an ad with the offerbutton checked and a link showed up beside the other buttons as it should.
I would prefer a button there instead of a link though...
I also tested to make an offer and a message showed up telling me i cant make an offer to my self, so that function works as it should.
I will test it moore later on.
This is a NICE plugin, good work!
-
Ive tried it a little moore now and everything seems to work without any issues!
What should be added is this:
1. When an offer is accepted by seller it should not be possible to make anymore offers... maybe the link should be locked and shanged to "Offer closed" or something.
2. Emails to both seller and the guy who makes the offer.
3. "View offers on your items" link in the user dashboard should be followed by a number telling you how many offers you have on your item, and after looking at them the number should be reset to 0 again.
-
@Swede
#1would be really hard to make it work well because some users sell more than 1 item
-
Ive tried it a little moore now and everything seems to work without any issues!
What should be added is this:
1. When an offer is accepted by seller it should not be possible to make anymore offers... maybe the link should be locked and shanged to "Offer closed" or something.
2. Emails to both seller and the guy who makes the offer.
3. "View offers on your items" link in the user dashboard should be followed by a number telling you how many offers you have on your item, and after looking at them the number should be reset to 0 again.
Hi Swede
1 is possible I am still thinking how to go about that I will try to figure something out and try to get it into the stable release.
2 is planned the only part I had not thought about was sending the buyer an email when he places the offer
3 I will look into what it would take to add that function.
Thanks for the suggestions and ideas
Jay
-
Hey how much longer for the final version?
-
It will be soon I am thinking of maybe early next week releasing one more beta version then latter in the week the stable version.
Jay
-
Hi,
I installed the plugin with uploading files via FTP then enable it.
I still have warning as follows as someone asked before.
Warning: file_get_contents(.../oc-content/plugins//usrofferButton/index.php) [function.file-get-contents]: failed to open stream: No such file or directory in .../oc-includes/osclass/plugins.php on line 213
Is there anything wrong with me?
Thanks,
-
Hi SLUSA
I have found the problem in my code. Here is the code that will need to be fixed.
find this function and replace the osc_plugin_configure_view line with the one below.
function offer_config() {
// Standard configuration page for plugin which extend item's attributes
osc_plugin_configure_view(osc_plugin_path(__FILE__));
}
This problem will be fixed for the next beta version.
Jay
-
Jay,
Thanks. The warning message was gone!
But offer button doesn't show up. I set categories to be used offer button. I inserted the code into the item.php file to show it up. When I post new item I checked "add offer button". But nothing happened. Why?
Thank you,
-
Hi
Just tried Add new plugin.
I am get the error msg
"The was problem adding this plugin"
thanks
-
Hi computerbar,
Do you mean that...
1. Download a zip file from the very first topic.
2. Unzip it.
3. Edit the code to fix a problem that I got.
4. Upload all files into plugins/offerButton/ folder.
5. Install plugin at admin panel.
6. Configure the plugin.
These are things I should do right?
Thanks,
-
I did things that I posted in the previous reply.
But still nothing happened.
Why?
Thanks,
-
Jay,
Thanks. The warning message was gone!
But offer button doesn't show up. I set categories to be used offer button. I inserted the code into the item.php file to show it up. When I post new item I checked "add offer button". But nothing happened. Why?
Thank you,
where about in your item.php file did you add the offer button code?
Jay
-
Beta version 2 is now available the stable release will be Tuesday or Wednesday. You can download the updated plugin in the first post. If you have already started using this plugin on a live site you will have to backup your data then after reinstalling this plugin you will need to restore your data to the tables. the tables are offer_button and offer_item_options
Jay
-
Jay,
Sorry for my late response. I inserted the code as follows,
....................
<p class="contact_button">
<?php if ( !osc_item_is_expired () ) { ?>
<?php if(osc_reg_user_can_contact() && osc_is_web_user_logged_in() || !osc_reg_user_can_contact() ) { ?>
<strong><a href="#contact"><?php _e('Contact seller', 'slusa') ; ?></a></strong>
<?php } ?>
<?php } ?>
<strong class="share"><a href="<?php echo osc_item_send_friend_url() ; ?>" rel="nofollow"><?php _e('Share', 'slusa') ; ?></a></strong>
<?php offer_button(); ?>
</p>
<?php osc_run_hook('location') ; ?>
</div>
<div id="useful_info">
<h2><?php _e('Useful information', 'slusa') ; ?></h2>
<ul>
<li><?php _e('Avoid scams by acting locally or paying with PayPal', 'slusa'); ?></li>
...............
Thanks,
-
Hi SLUSA
Your inserted code is fine. Can you try the new beta version I think what is happening is the very first beta version had a few hard coded variables in the sql file that is fixed now.
Jay
-
how to change the United States dollar symbol($) to another Currency symbol
-
Hi rajasekar
Right now the only way to change the dollar symbol is either by translating the plugin or mannually editing the pages that have a dollar symbol. I am going to change the currency symbol so it loads the right one based upon your set currency.
Jay
-
I changed the ajax-offer.php manually to other currency format.
thanks for your help
-
@RajaSekar
There are a few email alerts that use the US $ sign you can edit the email alerts in the admin panel under the email and alerts menu.
Jay
-
Jay,
I installed your 2nd beta version. But still not the button show up.
I don't know why.
Do you have any sample screenshot to make sure how the button is.
Thank you,
-
Hi SLUSA
You have set the categories that the offer button works with right. If yes then did you add or edit an item and check the add offer button checkbox?
The attached pic is what you should see when you add or edit an item.
Jay
-
Jay,
I see the button as you attached when I post items. But my issue is that I don't see any button in the item page even I checked the box for the button. Do I misunderstand what purpose the plugin is for?
There's no user in my site I mean anyone can post items without user registration. Is there any relations between the issue and my site's circumstances?
Thanks,
-
Currently this plugin is setup for registered users only. That would be why the button does not show up. I will look into making this plugin support non registered users.
Jay
-
I appreciate it, Jay
Thanks,
-
Hey when i configure the plugin, the changes dont save.
-
What changes are you trying to change?
Jay
-
I'm looking forward to releasing V2.0.
Thank you for your great job!! ;)
-
I have the same issue and I guess it is because plugin configuration options are not getting saved.
-
The configuration menu in the plugin
-
1. I made the change to item.php so the link can show up, but where does user first assign it to an item? Doest this link become available to every item automatically? Don't we have to make change to item_edit.php?
2. Offer Button Preferences never get saved eevn if I say yes tio these.
Enable offer button?:
Yes No
Display the top three offers:
Yes No
-
1. I made the change to item.php so the link can show up, but where does user first assign it to an item? Doest this link become available to every item automatically? Don't we have to make change to item_edit.php?
2. Offer Button Preferences never get saved eevn if I say yes tio these.
Enable offer button?:
Yes No
Display the top three offers:
Yes No
1 The user first assigns the button when he post an item at towards the end of the page there is a check box that reads add offer button. Currently the button is not added automatically. There is no need to edit the item_edit.php file.
2 I will look into the problem with the preferences and fix that issue.
Jay
-
while you fix it, is there way, I can edit the preference values in database? Is it in t_preference and what would be the values? Without that, I can not see this checkbox as you mentioned.
-
Hi rsaggar
the preferences are stored in t_preference look for offer-plugin offerButton_enabled and set the value to 1. When I updated the zip how did you go about installing the updates did you uninstall the plugin then reinstall?
Jay
-
I have tried editing code and reading all of the posts, but I still can't stop this error from occuring everytime I try to install "offer button" plugin:
There was a fatal error and the plugin was not installed.
Error: "file_get_contents(http://www.rexburgswap.com//oc-content/plugins/offerButton/struct.sql) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found" Line: 30
File: /homepages/20/d118606353/htdocs/wsb3756333702/oc-content/plugins/offerButton/index.php
What do I need to change (recent .zip download from first post)
-
Hi sundance
Can you check to make sure the file struct.sql is in the offerButton folder.
I think it may not be there or there is a permission problem.
Jay
-
It is there.
It is 672B large
-
Hi sundance
I found the problem it was in my code.
In oc-content/plugins/offerButton/index.php line 29 change it to
$path = osc_plugin_resource('offerButton/struct.sql') ;
and that will fix the problem. or you can download the zip in the first post as I have re uploaded the zip.
Jay
-
You are awesome! thanks for your help. Works now.
-
That is good news. :)
Jay
-
I Have receive this email...
"Hi Pedro Monteiro!
Your offer on Teste {OFFER_STATUS} on Your Shop BB – Classificados, Surf, Bodyboard.
Click on the link to view the staus of your offer {OFFER_STATUS_URL}
This is an automatic email, if you have already seen this offer, please ignore this email.
Thanks"
Why {OFFER_STATUS} and {OFFER_STATUS_URL} doesn't work?
Thanks!
Other thing...
I have create 2 account add 1 item for account, I have made login with first account and click in item of other account and made a offer. And I receive that email above.
I made login With other account and I accept offer! But I received that email
"Hi Pedro Monteiro!
Your offer on Teste has been accepted on Your Shop BB – Classificados, Surf, Bodyboard.
Click on the link to view the status of your offer http://xxxx.com/oc-content/plugins/offerButton/offer_button.php#item4
This is an automatic email, if you have already seen this offer, please ignore this email.
Thanks"
That email is suppose to send for the account that have made the offer but I received that in who response the offered....
Can you help me?
-
I will take a look and see what is up with the emails.
Jay
-
I will take a look and see what is up with the emails.
Jay
Thanks! :D
-
Hi mortalkiller
I have got the email alerts working right now. All you have to do is just copy the files in the zip over the files on your server. The updated zip is in the first post.
Jay
-
Hi mortalkiller
I have got the email alerts working right now. All you have to do is just copy the files in the zip over the files on your server. The updated zip is in the first post.
Jay
Thanks! :D great!
-
Hi, after installing the plugin in twitter theme nothing happens, it doesn´t appear on item after checking categories. And the menu on "My account" is not according twitter theme.
Can anyone fix this? thanks
-
Wow! Great!
it works like charm.
I like the validation for canceling offer myself.
One remarks we need to change the currency value manually default currency value taking is better.
-
Hi RajaSekar
I am planing to fix that issue in the next release.
Jay
-
Hello Trains,
i have tried to install plugin. It installs ok, but i can't see this Offer Button live.
In My account there are correct categories, but how to get button 'out there'.
I am using Modern theme if this is issue?
Thank you,
W.
-
Hi wodp
Did you edit your item.php file and add this code where you want the button to show up at?
<?php offer_button(); ?>
I think that is what is missing if you have done that and still no button let me know.
Jay
-
Hi wodp
Did you edit your item.php file and add this code where you want the button to show up at?
<?php offer_button(); ?>
I think that is what is missing if you have done that and still no button let me know.
Jay
Aah, many thanks, have overlooked that part :).
Much appreciated for help but even more for great contribution to OSClass!
-
Hi all
I have fixed a bug in the code that cause ghost ad counts in your osclass. Here is the code you need to change in the index.php file.
function offer_item_delete($id){
$conn = getConnection();
$conn->osc_dbExec("DELETE FROM %st_offer_item_options WHERE fk_i_item_id = '%d'", DB_TABLE_PREFIX, $id);
$conn->osc_dbExec("DELETE FROM %st_offer_button WHERE item_id='%d'", DB_TABLE_PREFIX, $id);
}
Just find the above function and replace it with this code.
I am currently working on an upgrade for this plugin so in a few days I should have the new version out and it will have these changes done as well.
Jay
-
Hey,
I tried the plugin you sent me and the new index file but it still doesnt work
-
Hi usclassifieds.org
There is a new version of the Ghostbuster plugin http://forums.osclass.org/index.php/topic,4828.0.html
Can you upload your index.php file from the offer button plugin?
Jay
-
After all the fun, the offer button we worked on for my site does not show whether logged in or not. Any clue?
-
@sundance
Try removing the if statement around the offer_button() code in the item.php file.
Jay
-
It works if I remove the if statement, but then it is on whether logged in or not. It is weird that it would work and then stop working.
-
When you are testing it are you logged into the admin and logged out of the front end? I viewed your site and do not see the button but when logged in I see the button.
Jay
-
never thought of that (didn't think it would matter)
-
I am not logged in to admin, and I am not seeing it whether logged in or not.
-
I never thought about that either until I was on your site. I am sending you the index.php file for the offer button again as I found another error. When you open the offer button you have the last three offers enabled and I forgot to move the database query strings so it show an error but I corrected the problem.
Jay
-
I see the offer button on this ad when I log in http://www.rexburgswap.com/electronics_1/camcorders-video-cameras-accessories/hd-video-camera-sanyo-vpc-hd700_89
When I log out I do not see the offer button.
Jay
-
It seems to not be connecting with the ads that had an issue with the update. The ones that transferred ok in the update have the offer button, the ones that needed fixing do not. Should I overwrite the file with the one you gave me and see if that works?
-
The new index file didn't do anything that I can see.
-
I tried uninstalling it and reinstalling it, but no change.
-
Found it. When adding the items that didn't get crossed over during the upgrade. It unchecked all the options (offer, contact, etc). Looks like I have some editing to do.
-
Have an idea. Is it possible for this plugin to also have a text field titled trade? when posting an item you could specify if the offer button can do offers or trade or both. When creating an offer for an item you like (if both were checked by the user) you could either offer money, offer a trade, or offer money with a trade.
-
I think I could add something like that. We could give the user the option to accept money and or accept trades. Then when a user goes to put in a offer they could select from a drop down either money offer, trade, or money trade. Then based upon what the user submitting the offer choose it would determine if the text box for the money value is displayed. It then would be up to the posting user to decide if he wants to contact that user about his trade. The next version will make it easy for the posting user to contact the offer user and vise versa for the offer user.
Jay
-
That would be sweet.
-
You will see this feature in the 2.0 version that will be done here soon. Thanks for the cool idea.
Jay
-
Hi,
Thanks for this great plugin!
In my user account(dashbord) i have 2 butons "View Your Submmited Offers" and "View Offers on Your Items" so it's OK.
But in the website where is the buton to submit an offer?
-
You need to add it in the code. Go to the offer button manager in the admin and copy the code, and paste it in the ite.php where you want it to show.
-
Hello
Can someone put a picture from his/her website to see how the offer button looks and where it is?
Because I have put the code in item.php but I can't see anything.
thank you
-
Hi,
Attached is a screen-shot of the Offer button, which I placed next to the "Contact Seller" and "Share" buttons.
To make the offer button work, make sure:
1) The offer button is enabled in your plugin config
2) Make sure you also have the categories configured to show the offer button
3) Make sure to edit your specific ad and ensure that the "Add Offer Button" option is checked.
-
Hello
Not working for me
-
Where in the item.php did you place the code?
-
Im using bcute and ive put the code on line 170
-
I have translated everything to Swedish, but i cant find where to translate the button... where can i do that? (the text now says "Place An Offer")
-
Hi Swede,
I just looked in the code and I did not put that text into the brackets for translating. I will fix that for the next version which should be out with in the next week or so.
Jay
-
Ok!
In what file should i look for it?
Some more to fix in your next release:
1. There is a dollarsign in front of the offerprice, so the plugin does not use the installed currency.
2. There is only the name of the ad that you have made an offer to, no link to the accual ad.
-
You will find the place offer code in the index.php file around line 89.
1 the currency issue is fixed in the next version if you want to change this you will find the $ symbol down arround line 89 and below in the index.php file.
2 can you explain which page you see this on?
Thanks
Jay
-
how can i change the "Offer Button Options" text size on item_post page
I have tried different style nothing happens
-
Hi RajaSekar,
To change the "Offer Button Options" text size you will have to edit the item_edit.php and change the h tag currently it is set for a h3.
Jay
-
ok jay
I will take a look of h3 tag
-
thanks jay i have found the solution
-
You will find the place offer code in the index.php file around line 89.
1 the currency issue is fixed in the next version if you want to change this you will find the $ symbol down arround line 89 and below in the index.php file.
2 can you explain which page you see this on?
Thanks
Jay
I see this on My Account, "View Offers on Your Items" and also on "View Your Submitted Offers".
And there is a spelling mistake where it says "Submmited" instead of "Submitted".
-
And it would be nice if you could make an option in admin to choose between logged in and not logged in user to show the offerbutton to, because i want to enable it for non logged in persons.
-
Hi Swede,
I have corrected my spelling mistake. Thank you for pointing that out.
I have made the plugin to work so that non logged in user can submit offers if the admin allows it. I did not set it up to let non logged in user place the offer button on there items. If you want this functionality let me know and I will look at adding it to the next version.
Thanks
Jay
-
1.unregistered user can't see an offer
2.i think we need to remove the unused css code because of lot of unused css used in demo_table
-
hello I must put this button which offer a line of theme hyerarchy?
thank you
-
@romantica
try the attached one
-
thank RajaSekar,you can do the same thing on bcute item?
-
Hi Swede,
I have corrected my spelling mistake. Thank you for pointing that out.
I have made the plugin to work so that non logged in user can submit offers if the admin allows it. I did not set it up to let non logged in user place the offer button on there items. If you want this functionality let me know and I will look at adding it to the next version.
Thanks
Jay
What i want is what you say is already in the plugin, that non logged in users can place an offer on the ads that have the button... but that doesnt work for me.
When i visit ads with the offer button as a non logged in user i dont see the button... i have to log in to see it.
Or is this a feature to come in the next release?
-
Hi Swede,
I am sorry about the confusion I meant to say this was a feature in the new version.
Jay
-
when new version is release? also the tag cloud plugin
-
Hi RajaSekar,
I plan on releasing the new version sometime next week.
As for the tag cloud plugin I have not done much with that plugin I will try to get it done here before Christmas.
Jay
-
thanks jay
-
Hello
I put it line 106
</div>
<?php osc_run_hook('item_detail', osc_item() ) ; ?>
<p id='contact_button' class="contact_button">
<?php if( !osc_item_is_expired () ) { ?>
<?php if(osc_reg_user_can_contact() && osc_is_web_user_logged_in() || !osc_reg_user_can_contact() ) { ?>
<strong><a href="#contact"><?php _e('Contact seller', 'modern') ; ?></a></strong>
<?php } ?>
<?php } ?>
<strong class="share"><a href="<?php echo osc_item_send_friend_url() ; ?>" rel="nofollow"><?php _e('Share', 'modern') ; ?></a></strong>
<?php offer_button(); ?>
</p>
<?php osc_run_hook('location') ; ?>
</div>
<!-- plugins -->
<div id="useful_info">
<h2><?php _e('Useful information', 'modern') ; ?></h2>
-
hello please help thank you
-
@romantica
follow the kji previous post
-
the position of this is the theme is modern and I bcute
thank
-
Hello
I was replying to a previous post Where in the item.php did you place the code?
It did not work for me.
Thank you
-
Hi kji,
Did you edit the add and click add offer button?
Jay
-
Hello
Yes I did.
thank you
-
thank
-
@kji
Are the users registered with your site or do you allow anyone to post on your site without registering?
If it is the latter then the reason the offer button is not working is because of the way I have the plugin setup to only allow registered users to have the offer button show up.
In the new version I am working on I have added an option to allow non registered users to submit offers but I have not yet added functionality for non registered users to add an offer button to there ads.
Jay
-
Hello
No, the users registered with my site, plus when I install this plugin I have problems with my carousel.
I hope I can install the new version.
Thank you
-
Hi kji,
Is your site online? If so can you pm me the address or post it here?
Thanks
Jay
-
How to remove add offer button option on unregister user(item post page) because unregistered user can't see his/her offer
-
I have just post the ad without registering with offer button option
I got an offer but i can't see the offer through email
here is offer my offer URL
http://example.com/index.php?page=custom&file=offerButton/offer_byItem.php#item220
is there is a way to disable offer button on unregistered user
-
Hi RajaSekar,
To make it so unregistered users cannot see the offer button you would have to edit index.php file of the plugin
change this find this function offer_form and replace it with the following code
function offer_form($catId = '') {
$conn = getConnection() ;
// We received the categoryID
if($catId!="") {
// We check if the category is the same as our plugin
if(osc_is_this_category('offer', $catId)) {
if(osc_is_web_user_logged_in()){
require_once('form.php');
}
}
}
}
change this find this function offer_item_edit and replace it with the following code
function offer_item_edit($catId = null, $item_id = null) {
$conn = getConnection() ;
if(osc_is_this_category('offer', $catId)) {
if(osc_is_web_user_logged_in()){
$detail = $conn->osc_dbFetchResult("SELECT * FROM %st_offer_item_options WHERE fk_i_item_id = %d", DB_TABLE_PREFIX, $item_id);
require_once 'item_edit.php';
}
}
}
Jay
P.S. Sorry for the delay on the new version.
-
thanks jay it works
-
Hi.. I have downloaded the 0.1 version, tested, and dont work in my site!
I have serched a other version to download but I don't have encountred!
Can someone give me the link for download it or send me the plugin via mail?
Thanks in advance
-
Hi SuperAtic,
The version that is downloaded from the first post is the only version available right now. I have version 2.0 in the works I was planning on releasing it before Christmas but I did not get it finished I have a little more to do then I will release version 2.0.
Did you add the code in your item.php file. The code can be found in the faq/help menu option of the plugin. If you have this code added already then try editing existing ads and checking the offer button checkbox.
Jay
-
Hi Jay
Yess
I have inserted the code in the item.php.. but don show the button!
I do no...
If the version 2.0 beta working you can send me a copy for testing?
Thanks
K
-
Using bcute theme everthing works ok except the button itself is not a button its a text link.
I placed the following in my item.php
<strong class="share"><?php offer_button(); ?><strong>
-
Hi jeffreythrasher@gmail.com,
Did you place the offer button code before the </p> tag? If no try placing it before it.
Jay
-
That got it! Thanks for being so "Newbie" friendly! :o
-
Please upload your plugin again - The link is broken.
Thank you in anticipation.
Luen
-
I uploaded the zip again.
Jay
-
Do you have a feeling for when version 2.0 is coming? (no pressure...)
-
Hi Swede,
Version 2.0 is currently sitting a about 90% done. I should have some time to work on this plugin next week.
Jay
-
Hi,
question, can you tell me wich lines to take a way to don't have any email notifications more about this plugin
regards
-
hello,
i want to try this plugin, installed it already but. can see any button.
im using the modern theme on my osclass 2.3.5 install.
i see the menu:
View Offers on Your Items
View Your Submmited Offers
from MY ACCOUNT menu
-
Hi cosmicx,
Did you add the code to the item.php page? If so then to get the button to show up on existing items you will have to edit them and check the checkbox for the offer button.
Jay
-
@trains58554
what else am i missing? still does not work, i already inserted this code: <?php offer_button(); ?>
in item.php of the modern theme
just below
<p class="contact_button">
========================
UPDATE:
i got if fixed already.
the seller must enable first, the button.
-
:)
hello I train a little problem with the plugin, you can not submit my offer. I offer the button on my ad, then everything is ok. disappointed when I click it I opened the box to my offer and then when I click submit nothing happens. the box still display the submit button n'à area not working. do you know where is the problem? thank you.
-
Hey train,
I have the same problem here...
I add the offer button in modern theme in Items page but..
When i click to submit an offer nothing happens
I tried all your suggestions but still not working
In other themes it is working well but in modern theme not.
-
@tijo972 @kostas,
I am thinking there is some sort of js error on your page which is not allowing the offer button to work. Can you try checking it out with firebug or pm me your url and I can check it out.
Thanks
Jay
-
Thank you very much for your interest ...
The Site that I have are still in progress.
The link is: http://adds.e-bizz.gr
-
My URL http://deal-dom.com
-
Hey Trains,
I am having the same issue as the other 2 are. I got it all to work but when the box comes up and I go to submit my offer it does nothing.
I am using google chrome for the browser if that helps you any...
I really like this feature and hope you can come up with a solution for it....
KEEP UP THE OUTSTANDING WORK!!!! :)
-
hello train, then firebug returns me this error:
$.fancybox.showActivity is not a function
(?)
d()
c = Object { originalEvent=Event submit, type="submit", timeStamp=1329887469567, more...}
d()
$.fancybox.showActivity();
how to adjust? Thank you for your help
-
Hi tijo972,
I am not sure why you are getting that error I have been doing some searching as to why that error pops up.
Jay
-
Great and very usefully plugin, but can you add support for different language?
Best regards
-
Great plugin! I have one bug and one suggestion.
Bug - I seem to be experiencing the issue mortalkiller brought up a few months back. The Seller receives an email indicating that an Offer has been made on their item. Once Accepted or Declined the Seller again receives an email (instead of the Buyer) indicating the Status. I have installed the latest version of the plugin.
Suggestion - When an Offer is Accepted, I think, it would be helpful to have a Contact the Buyer button or link in the chart showing the Offer (in the Sellers view). Because right now I don't have anyway to contact the Buyer. Perhaps it could open up to a similar Contact Publisher form to keep it branded (instead of just showing the email address).
Thanks again for all your hard work!
-
I have what some people reported much earlier...
Button isn't appearing in item.php
item.php
<p class="contact_button">
<?php if( !osc_item_is_expired () ) { ?>
<?php if(osc_reg_user_can_contact() && osc_is_web_user_logged_in() || !osc_reg_user_can_contact() ) { ?>
<strong><a href="#contact"><?php _e('Contact seller', 'bcute') ; ?></a></strong>
<?php } ?>
<?php } ?>
<strong class="share"><a href="<?php echo osc_item_send_friend_url() ; ?>" rel="nofollow"><?php _e('Share', 'bcute') ; ?></a></strong>
<?php offer_button(); ?>
</p>
Resultant HTML
<p class="contact_button">
<strong><a href="#contact">Contact seller</a></strong>
<strong class="share"><a href="http://trade.inalice.com.au/item/send-friend/5" rel="nofollow">Share</a></strong>
</p>
just nothing is output..
Any help would be greatly appreciated
Here's the config page
-
Hi artie11,
Did you edit the item and check the checkbox to display the offer button?
Jay
-
I can't find a checkbox per item to allow offers
I'm a pretty nifty php programmer, So if there's a way to debug the pages if you could let me know, I'll figure it out myself
-
Did you add the offer button code to the item.php file? You can find the code that needs to be inserted into the item.php file on the help page under the offer button menu on the admin side.
Jay
-
every thing i did perfect as per the instructions but it is not working in modern theme :(
-
In my original post I said that i'd done that... I have even copied the relevant section of code to prove that it's in there.
-
Can anyone help me with this problem?
Bug - I seem to be experiencing the issue mortalkiller brought up a few months back. The Seller receives an email indicating that an Offer has been made on their item. Once Accepted or Declined the Seller again receives an email (instead of the Buyer) indicating the Status. I have installed the latest version of the plugin.
-
Hi consultingguy,
I have fixed the email issue in version 2.0. I will hopefully releasing 2.0 very soon.
Jay
-
Thanks Jay. I look forward to its release! Quick question - will 2.0 include any way for the Seller to contact the Buyer? I've modified my site to show the Buyer email address in brackets on the Manage Offers page for now. Ideally I'd like to see a button that brings up a form similar to the Contact Publisher.
-
Hi consultingguy,
Yep in the new version you will have the option of sending the buyer an email. There also will be an option to send a personal message to the buyer once I finish the PM plugin and if the PM plugin is installed.
Jay
-
Am having the same problem. I've followed all the directions you gave. But the offer icon doesn't show on the ads. Am using the latest version of OSClass script. Don't know if version 1 is compatible with the latest version of OSClass. Do look into it. And I'll be waiting for the release of version 2.0. Thanks
-
Hi Whitelotus,
Did you edit the item and check the checkbox to show the offer button? Version 1.0 is compatible with the latest version of OSClass.
Jay
-
I did. I followed all that was said here.
-
hello!
i've dowloaded the zip file on 1st post, but is the versione 0.1 with more bugs!!
where i can download latest version?
-
Hi ,
I added this plugin in on my website http://annuncigratuiti.ws/ ,
but the offer button does not appears on in item.php,
the link appears in user profile.
am I wrong somewhere?
-
Hi Kreator,
If you view the help page for this plugin it will tell you which code you need to add to the item.php file.
Jay
-
sure I have installed as in instructions, I added the code <?php offer_button(); ?> on my item page, but the offer button does not appears
-
Did you edit the existing ad and check the check box to add the offer button?
Jay
-
I do not see this box to select ... :(
-
In the plugin window click the configure link for the offer button plugin and there you can select which categories the offer button will work in.
Once that is done you should see the check box to enable the offer button.
Jay
-
In the plugin window click the configure link for the offer button plugin and there you can select which categories the offer button will work in.
Once that is done you should see the check box to enable the offer button.
Jay
I have just that in the settings, I see no where to select category :(
-
This is the configure link on the manage plugins page. I am going to be changing it so it is easier to set all the settings in the next version.
Jay
-
Ok, I have not looked in the right place, describe me where is this
"In the plugin window click the configure link for the offer button plugin and there you can select which categories the offer button will work in."
more precisely where you have to look , please
-
ok, I solved, I found the settings page where all plugins, then when I posted a new announcement we had to mark off option,
thanks and sorry that I posted , was my mistake, I did not understand well what you have explained
-
Hi Kreator,
I am glad you got it working. In the next version I am going to try to make setting up this plugin easier.
Jay
-
Hi trains, i also face same problem with some people. When submit offers, it's nothing happen. I using modern theme. Can it's modified without using popup or something? Great plugin.
-
searchweb - I have the same problem with all users on modern theme! When they submit offers, nothing happend!
-
@ trains58554
Hi, i have the same problem as tijo972 and others , i'm using osclass 3.0 with italy theme installed
I'm using the plugin version of cris psted on the replay #7 here http://forums.osclass.org/plugins/please-help!-offer-button-doesnt-work/msg28550/#msg28550
everything is ok only when you submit a offer nothing happen.
You have some solution to the problem? becouse the plugin you made is great and usefull.
Thank you
-
Hi
I will try to get it working as I have not tested this plugin in 3.0 yet. I will look into why nothing happens when you submit an offer.
Jay
-
Hi
I will try to get it working as I have not tested this plugin in 3.0 yet. I will look into why nothing happens when you submit an offer.
Jay
Thank you for your quick reply if you need to check out my site is http://www.iltrovatutto.net/
i try to post an ad with the offer button is this http://www.iltrovatutto.net/vendo-compro/dvd-cd/yuf-cbxvzcx_108
sorry abuot the language, is only italian
Thank you again and keep up with the good job you are doing
-
Hi cartagena68,
I think I have found the problem. I noticed on your site your fancybox version is 2.0.4 and in that version they changed some functions names so to fix your current version you will have to edit the index.php file of the plugin. Look for this line $.fancybox.showActivity(); and replace it with $.fancybox.showLoading(); and then find this line $.fancybox.hideActivity(); and replace it with $.fancybox.hideLoading(); and that should make the offer button work again. I will also be updating the plugin to include the new function names so if you do not want to make the changes yourself I should have the new version up tomorrow.
Jay
-
Hi cartagena68,
I think I have found the problem. I noticed on your site your fancybox version is 2.0.4 and in that version they changed some functions names so to fix your current version you will have to edit the index.php file of the plugin. Look for this line $.fancybox.showActivity(); and replace it with $.fancybox.showLoading(); and then find this line $.fancybox.hideActivity(); and replace it with $.fancybox.hideLoading(); and that should make the offer button work again. I will also be updating the plugin to include the new function names so if you do not want to make the changes yourself I should have the new version up tomorrow.
Jay
Hi trains58554
Thank you again, i made the changes and now that problem is solved, you can submit the offer, and received the e-mail notification, but i see other problem, the pages "received offer" and "submitted offer" from the control panel or from e-mail, are empty, i mind no offer appear in that pages but if you click on the offer button in the ad it show the 3 best offer
-
Hi cartagena68,
I think I have found the problem. I noticed on your site your fancybox version is 2.0.4 and in that version they changed some functions names so to fix your current version you will have to edit the index.php file of the plugin. Look for this line $.fancybox.showActivity(); and replace it with $.fancybox.showLoading(); and then find this line $.fancybox.hideActivity(); and replace it with $.fancybox.hideLoading(); and that should make the offer button work again. I will also be updating the plugin to include the new function names so if you do not want to make the changes yourself I should have the new version up tomorrow.
Jay
Hi trains58554
Thank you again, i made the changes and now that problem is solved, you can submit the offer, and received the e-mail notification, but i see other problem, the pages "received offer" and "submitted offer" from the control panel or from e-mail, are empty, i mind no offer appear in that pages but if you click on the offer button in the ad it show the 3 best offer
Hi trains58554
never mind, i fix it allready.
Everything is working fine now, thank you very much
There was some error on the pages offer_button.php and offer_byItem.php in cris version plugin
i just upload those pages from your plugin and fix some spellig error to work with the translaction ( it was just an error when you echo you whrote 'offer_button' instead of 'offerButton' so the language translaction wasen't working).
Now is working fine, thank you again for your work
Is a really good plugin
-
Just installed plugin on ver 3.0 Modern theme and everything works nice:)
If someone trying to install, or have some problem's - Just read all post's from this topic with patience and read it ALL:) , and you will be able to use this nice plugin.
Tnx trains58554 for plugin. I hope we will seen 2.0 ver.
-
I have one question , can user delete his offers? For exp i am a user, a have xxx items, and receiving offers often, and after some time i won't to remove old offers, or rejected offers , how i delete my offers ( like i delete messages)???
Second question is , can we make the ajax refresh, or some other way to show number of offers when the user is logged in? Like a personal message, when i log in i see inbox (1) new message ?
the point user logged in i see Offers on your items (1).
And last thing:)
Can wee add a "Allow offers" option to Manage your listings option in user dashboard , for exp i sell some item, i didn't sell item for xxx number of days, and now i won't to allow user to place a offer. I will simply click on "Allow offers" button in my item list, i no need to publish same item again.
I think this is a small things , but very important.
-
hey trains58554
The offer button is not working in realestate theme, i have the latest osclass and the latest realestate theme.
When I push the botton to place an offer nothing is happening.
Do you know how can I fix it?
-
Hi 666999,
Sorry for the late reply.
Currently the user cannot delete his offers. I will add that feature in the next version.
That feature will be added as well.
I like this last idea. I will be adding this as well to the next version.
I will hopefully get some time to finish up the 2.0 version.
Jay
-
Hi kostas,
Have a look at the following quote. I think that should help you.
Hi cartagena68,
I think I have found the problem. I noticed on your site your fancybox version is 2.0.4 and in that version they changed some functions names so to fix your current version you will have to edit the index.php file of the plugin. Look for this line $.fancybox.showActivity(); and replace it with $.fancybox.showLoading(); and then find this line $.fancybox.hideActivity(); and replace it with $.fancybox.hideLoading(); and that should make the offer button work again. I will also be updating the plugin to include the new function names so if you do not want to make the changes yourself I should have the new version up tomorrow.
Jay
Jay
-
It still now working trains58554.
I change the code lines but nothing.
Any way, if you have a solution at the future I am going to be happy about it, is realy nice plugin.
-
Can you pm me your site address?
Thanks
jay
-
@trains58554 tnx for response. I will w8 ver 2.0 :)
-
Hi there same matter, the option is here when i post a ads but not anymore when you look at the ads ?
-
When will a new version be released?
-
@stylyroper,
Did you add the code to the item page?
@apex,
I am not sure yet as to when I will be releasing version 2.
Jay
-
Hi trains,
no i did i just install what is the code to insert and where ?
Cheers.
Thank you for your time.
-
Hi trains,
no i did i just install what is the code to insert and where ?
Cheers.
Thank you for your time.
@ stylyroper
you have to add the following code to the page item.php where you like to show the button
<?php offer_button(); ?>
remember that only registered users can place a offer.
-
is version 2 still planned? And are you working on the release at the moment?
thanks
codelover
-
Hi codelover,
Version 2 is still planned. Currently I am not working on it. I plan to start working on it again soon.
Jay
-
Ciao, ho installato il plugin e funziona tranne per una cosa.
Quando arriva un'offerta e si clicca su rifiutata, l'utente vede nel suo menu l'offerta rifiutata, quando clicco su accetta, non accade nulla e l'utente continua a vedere in attesa.
Hello, I installed the plugin and it works except for one thing.
When you click on an offer and get rejected, the user sees in his menu offer refused, when I click accept, nothing happens and you still see waiting.
-
Hello to all.
How do I change the word with a button?
Thank you.
-
Hi Jay,
Really nice plugin, good job. It would be great to make also contact publisher form like pop up. Very nice. But, I have a problem, if I click to on place offer, there I get new pop up, I enter price, click on button and nothing happend. Could be there some conflict of javascript on items page?
-
@ Elena try this <strong class="share"><?php OFFERTA(); ?></a></strong>
-
Hello,
Has anyone been able to get this plugin to work? If so, do you have suggestions on how I can.
Using Bcute theme.
Wampserver (offline)
IE 8 and Firefox
Offer Button plugin installs fine. I can configure for catagories. I can check the box on item listings.
I can not get the button to show. i've placed the line of code at a dozen locations within the item.php file. I've even tried other files just to see what would happen. I checked the sql files. I've un-installed and re-installed. I've played with the plugin files. I've done all I know and even some stuff I don't know.... :P
What needs done to make that elusive button show.
Help
Thanks
Tom
-
Help!
I have the newest version of Osclass and using modern theme.
When a user click on the offer buttong then a pop-out window appears, but it is not possible to submit the offer.
I read all 16 pages of this thread and noticed that I am not the only one with this problem, but the advice was to use the newest plugin and since I downloaded the one posted at page 1 I assume it is the newest and the updated one, right?
What can I do to fix this?
Thanks a lot,
-
@Tom
I'm not using this plugin just testing it out.
You must be a registered user to be able to see the button. So login as a user and create a new post and you should see the button.
It drove me crazy for awhile.
-
Cheez. Never thought of that. My simple minded thinking was for the button to always show so viewer knows an offer will be entertained but when clicked require login. Seems logical.
I'll re-install and try your way.
Thanks much for the knowledge. That one was driving me nuttier then I already am.
Wonder why not my way. It makes more sense to my thinking.
Tom
-
Help!
I have the newest version of Osclass and using modern theme.
When a user click on the offer buttong then a pop-out window appears, but it is not possible to submit the offer.
I read all 16 pages of this thread and noticed that I am not the only one with this problem, but the advice was to use the newest plugin and since I downloaded the one posted at page 1 I assume it is the newest and the updated one, right?
What can I do to fix this?
Thanks a lot,
Do you need me to share some code and in this case which PHP file would you need?
Thanks in advance
-
Hi all,
The plugin works there with the latest OS version 3.0.2-class?
Thank you in advance for your answers
@ Jay could you forward on version 2.0 of the plugin offer button?
-
hey tomshaft
what u say could be easy done with something like
<?php
if(osc_is_web_user_logged_in()){
offer_button();
}else{
echo "your code or.....u need to be logged in to place an offer";
}
?>
on your item.php where u want to display the offer buton
-
Yes this is working with 3.0.2 I am using the USA THEME :)
Nice plug in Jay!!!!
Just wish it can do a bit more but it is nice.
Such as lock ad that the offer was accepted on so no one else can place a offer
Perhaps just have a SOLD POP UP on it or something.. I dont know
But ya it is working in 3.0.2
-
phpd (http://forums.osclass.org/index.php?action=profile;u=9409;PHPSESSID=d7ebd482a69421fdc7591fb3c62bf202)
Finally got around to re-installing and used your idea along with a couple css changes. Works like I want it now.
Thanks for suggestion.
Tom
-
phpd (http://forums.osclass.org/index.php?action=profile;u=9409;PHPSESSID=d7ebd482a69421fdc7591fb3c62bf202)
Finally got around to re-installing and used your idea along with a couple css changes. Works like I want it now.
Thanks for suggestion.
Tom
The only problem is that the else statement is not checking if the ad has activated "place offer".
-
Hey Guys,
Does this plugin work with version 3 x
-
Hey Guys,
Does this plugin work with version 3 x
yes
-
The button doesn't appear for me.
-
@mikestar,
Did you add the code from the help page to your item.php file?
Jay
-
Hey Jay,
Yea I did, just above the paypal advice box.
But it doesn't appear on the item.php page
-
hmm that is strange. Do you get any errors in your error log from this plugin?
Jay
-
Hey Jay,
No error in main error log.
Is there another I should check?
I was wondering if their could be any conflict with other plugins?
-
Hi all,
The button doesn't appear for me.
I use the latest version of 3.0.2 osclass
Thank you in advance for your help.
-
@mikestar,
Hmm I wonder what could be causing the button not to show up. Is your site live can you poste your site url or pm me it?
Thanks
@keish,
Did you add the code to your theme? Maybe this is the same error as mikestar's error?
Jay
-
Hello Jay,
I added the line in the code of my page item.php but the "offer" is not displayed.
We have to add it to a specific location or we can add as we want?
I do not know if my problem is the same as mikestar but if you find a solution for it says to me that I test on my side if it solves my problem.
Thank you in advance for your help and your good work.
@ +
-
@mikestar,
Hmm I wonder what could be causing the button not to show up. Is your site live can you poste your site url or pm me it?
Thanks
@keish,
Did you add the code to your theme? Maybe this is the same error as mikestar's error?
Jay
Hi Jay,
The plugin just doesn't appear for me.
<?php offer_button(); ?>
It must be a conflict with another plugin.
It would be great for me if it worked thought.
Check you inbox for my site link.
-
Hi Guys,
I just thought of something did you select the categories that you want the offer button to show up in? If that was not done then the offer button will not show either.
Jay
-
Yes.
Thanks jay its working now.
I don't know why it wasn't before.
@keish what I did was to remove code, disable plugin and redo everything from scratch.
I now shows up (In the paypal advise box). Haven't tried anywhere else yet but it should work now.
Nice one jay
-
Hi Guys,
I just thought of something did you select the categories that you want the offer button to show up in? If that was not done then the offer button will not show either.
Jay
Hi Jay,
The plugin is activated correctly, the code now appears on my ad. By cons, when I want to make an offer from the box that appears click on the button does nothing.
It seems that the button does not send any parameters to the offer ...
Have you any idea why? Am I the only one with this problem?
Thank you in advance for your help.
@keish what I did was to remove code, disable plugin and redo everything from scratch.
Hi mikestar,
It works now thank you for posting the ad but sending the offer from the button it does nothing ...
On your side, you have the same problem with you or any works even when you make an offer?
Thank you in advance
-
@keish,
Check the permissions of the oc-content/plugins folder and make sure they are set at 755. As most host will though a soft exception if the permissions are set higher.
Jay
-
Hi everyone
**more bug fixes 10-13-11
Fixed bugs with email alerts. No reinstall necessary just replace the old files with the new ones.
**bug fix 10-12-11
fixed bug with strct.sql file causing errors
**update 9-14-11
Offer button version 1.0
**changes planned for v 2.0
make correct currency symbol display based upon your selected currency
make offer button work for non registered users
**update 9-11-11
beta version 2
added a feature to show top 3 offers on an add
added email alerts.
**update 8-31-11
Fixed error in my sql file. The new zip has the updated file.
found another error in the sql file.
This fix will require you to reinstall the plugin.
As some of you know I have been building a plugin for accepting offers. The offers plugin is about 90% complete so in the mean time here are some sneak peaks.
The first image attached shows the view of the user view the offers he has submitted. The second image shows the view of the seller viewing their offers.
The plugin is ready for use!
To display offer button modify your item.php file in your theme folder and add <?php offer_button(); ?> where ever you want. I would suggest that you put the code right around where the other buttons like contact seller are.
Please let me know of any errors or suggestions you have for me thanks.
Download below
Jay
i do input the offer button but it´s not running on my item.php..I see it in the Userpanel but not on the item.php..I have input <?php offer_button(); ?> behind the Button..Share.....What do i wrong????
-
ive got the plugin uploaded and installed but the offer button doesnt show up anywhere and ive tried putting the code in many different places.
yes i do it all so but i dont see the button.....
-
The button disappeared again.
The permissions where 777 now changed to 755 but still now showing button.
I'm not sure what is happening here.
strange
-
Hi jay,
I just saw that the plugin does not offer multi-language. If you would be willing to make multi-language, I would be ready on my side to translate it into French.
In advance thank you and congratulations for your work.
@ +
-
It's not possible select the category where the plugin will be appears?
-
Hi everyone
**more bug fixes 10-13-11
Fixed bugs with email alerts. No reinstall necessary just replace the old files with the new ones.
**bug fix 10-12-11
fixed bug with strct.sql file causing errors
**update 9-14-11
Offer button version 1.0
**changes planned for v 2.0
make correct currency symbol display based upon your selected currency
make offer button work for non registered users
**update 9-11-11
beta version 2
added a feature to show top 3 offers on an add
added email alerts.
**update 8-31-11
Fixed error in my sql file. The new zip has the updated file.
found another error in the sql file.
This fix will require you to reinstall the plugin.
As some of you know I have been building a plugin for accepting offers. The offers plugin is about 90% complete so in the mean time here are some sneak peaks.
The first image attached shows the view of the user view the offers he has submitted. The second image shows the view of the seller viewing their offers.
The plugin is ready for use!
To display offer button modify your item.php file in your theme folder and add <?php offer_button(); ?> where ever you want. I would suggest that you put the code right around where the other buttons like contact seller are.
Please let me know of any errors or suggestions you have for me thanks.
Download below
Jay
I don´t can see a offer Button on my item.php....In my Account i see the links.....
I have done the code in my item.php but dont show it.....Where can help???
-
Do you put de php code on item.php?
-
Hi all,
I am going to take an look at the plugin and see if I can clean out the dust in the plugin to make it work smoothly again.
Jay
-
okay nice one jay.
Not sure why it just won't work.
-
I Have receive this email...
"Hi Pedro Monteiro!
Your offer on Teste {OFFER_STATUS} on Your Shop BB – Classificados, Surf, Bodyboard.
Click on the link to view the staus of your offer {OFFER_STATUS_URL}
This is an automatic email, if you have already seen this offer, please ignore this email.
Thanks"
I have create 2 account add 1 item for account, I have made login with first account and click in item of other account and made a offer. And I receive that email above.
I made login With other account and I accept offer! But I received that email
"Hi Pedro Monteiro!
Your offer on Teste has been accepted on Your Shop BB – Classificados, Surf, Bodyboard.
Click on the link to view the status of your offer http://xxxx.com/oc-content/plugins/offerButton/offer_button.php#item4
This is an automatic email, if you have already seen this offer, please ignore this email.
Thanks"
That email is suppose to send for the account that have made the offer but I received that in who response the offered....
Can you help me?
Hello, I am still facing the same issue, Accept/Pending/Decline emails are sent to the owner of the item, not the user who did the offer. I have taken the last version of post 1 (version 0.1) but it does not solve. Everything else work fine, could you help ?
A second issue I face : in offer_button.php or offer_byItem.php, when I have 3 offers by items, 1 see the 3 offers correctly, but the items are duplicated, so 1 see 3 times the item with the 3 offers.
thanks.
-
Hi I am experiencing a problem with the offer button not displaying on item.php if you can help me solve this issue let me know and I'll pm you
-
Hi,
I have installed you plugin with real estate theme. I have placed the code in item.php, nothing appeared. it's not working in real estate plugin. i have tried to place the code almost everywhere in item.php. no luck. It will be a great plugin if you can fix this. I hv been waiting for this feature, your effort is appreciated.
-
I was also experiencing the link not showing in item.php until I realised that I had first to edit the item and check the box 'allow offer on item'. That box is checked by default for all new items but not for items already created. Worth checking this first.
-
I Have receive this email...
"Hi Pedro Monteiro!
Your offer on Teste {OFFER_STATUS} on Your Shop BB – Classificados, Surf, Bodyboard.
Click on the link to view the staus of your offer {OFFER_STATUS_URL}
This is an automatic email, if you have already seen this offer, please ignore this email.
Thanks"
I have create 2 account add 1 item for account, I have made login with first account and click in item of other account and made a offer. And I receive that email above.
I made login With other account and I accept offer! But I received that email
"Hi Pedro Monteiro!
Your offer on Teste has been accepted on Your Shop BB – Classificados, Surf, Bodyboard.
Click on the link to view the status of your offer http://xxxx.com/oc-content/plugins/offerButton/offer_button.php#item4
This is an automatic email, if you have already seen this offer, please ignore this email.
Thanks"
That email is suppose to send for the account that have made the offer but I received that in who response the offered....
Can you help me?
Hello, I am still facing the same issue, Accept/Pending/Decline emails are sent to the owner of the item, not the user who did the offer. I have taken the last version of post 1 (version 0.1) but it does not solve. Everything else work fine, could you help ?
A second issue I face : in offer_button.php or offer_byItem.php, when I have 3 offers by items, 1 see the 3 offers correctly, but the items are duplicated, so 1 see 3 times the item with the 3 offers.
I solved the second issue as follow :
SOLVED : I replaced :
Search::newInstance()->addConditions(sprintf("%st_offer_button.item_id = %st_item.pk_i_id", DB_TABLE_PREFIX, DB_TABLE_PREFIX));
by
Search::newInstance()->addConditions(sprintf("%st_offer_button.item_id = %st_item.pk_i_id GROUP BY item_ID", DB_TABLE_PREFIX, DB_TABLE_PREFIX));
@Jay, if you could just share the index.php that solve the issue of email not send correctly, I will be able to correct my code. This is the last issue before I can launch my offer button on my site. I think you have corrected it for 2.0 already. Thanks.
-
Hi guys,
I am working on getting version 2 finished up so I am going to try and release it either this week or next.
Thanks
Jay
-
Hey Jay,
Is there a way to add something like this to the offer plug in.
Like this ( Inbox (0) ) / But have it say something like " You Have (0) Offers " in the user dashboard area or perhaps up in the super tool bar area as well...
Also how about having a counter offer button from the seller back to buyer? Possible? ;D
-
Hi kcguy,
Your first idea is already added to the upcoming version.
The counter offer idea is possible. It will however not make it into the 2.0 version but I will ad this idea to my list.
Jay
-
Hi guys,
I am working on getting version 2 finished up so I am going to try and release it either this week or next.
Thanks
Jay
what's the status of new version?
-
Hi phpd,
I am getting closer. I should be ready with a beta by next week sometime.
Jay
-
Hi phpd,
I am getting closer. I should be ready with a beta by next week sometime.
Jay
So Jay,
What surprises can we expect with the new version?
-
Well some of the new features that will be included in the new version are:
non registered users can make offers.
Better layout of the offers.
Integration with the supertoolbar.
In the users links it will display the number of new offers if the user has new ones.
And more great features that I am going to keep as a surprise right now. 8)
I am finishing up a few changes and doing a few test and will hopefully be ready by Monday with a beta release.
Jay
-
Well some of the new features that will be included in the new version are:
non registered users can make offers.
Better layout of the offers.
Integration with the supertoolbar.
In the users links it will display the number of new offers if the user has new ones.
And more great features that I am going to keep as a surprise right now. 8)
I am finishing up a few changes and doing a few test and will hopefully be ready by Monday with a beta release.
Jay
Sounds exciting Jay,
Just one question about 1 thing. will you be able to have the option to allow none registered users not be able to make an offer. In my case I want them to be a registered user in order to make offer...
I am looking forward to it !!!! ;D
-
Yep there will be that option and by default it will be so only registered users can make offers.
Sounds good I am looking forwards to releasing it as there are some big features coming.
Jay
-
Hi Jay,
How can we change the page titles for plugins (like advanced ad management or offer button) ?
Right now it is the website title twice.
Thanks !
-
Hi jimwinny,
Thanks for pointing that out. I never noticed that until now. I think there is a way I can do it. I will look into it.
Jay
-
jay thanks for this awesome plugin, like someone mentioned in posts, this will make it more like ebay and it's simply awesome, ofcourse i got an issue ;D
i installed it, categories assignment works fine, i seen the button on the add, checked it, i see the make offer link on item page, no errors anywhere, installation was a breeze, but link doesnt do anything, u click it and nothing happens.
any help would be appreciated.
-
Hi Bryan,
You may want to test this from a previous post :
Edit the index.php file of the plugin. Look for this line $.fancybox.showActivity(); and replace it with $.fancybox.showLoading(); and then find this line $.fancybox.hideActivity(); and replace it with $.fancybox.hideLoading(); and that should make the offer button work again.
-
i did change it and link doesnt do anything, i assume it should open up a pop-out fancy-box nothing happens at all, like the link is dead, its clickable but not working :( thx for try though i appreciate it j
in fact it puts #offer_form on current url so it works but actual loading of box or box dont show, hope this helps on my issue.
-
How can i translate this plugin, when there is no language folder?
-
Hi,
I installed the Osclass 3.1. The plugin is not working on the item page with Modern theme.
Other themes is OK.
When I click the button nothing happens.
I deleted the english translation on the site and install the hungarian.
-
Hi phpd,
I am getting closer. I should be ready with a beta by next week sometime.
Jay
Hey Jay. LETS DO SOME TESTING!!!!! :)
-
Hey Jay. LETS DO SOME TESTING!!!!! :)
We will very soon. I had some other stuff come up so I had to put this on the back burner. I am back working on it and I got a lot done today. I have a few more ends to tie up and then I will release a beta version.
Jay
-
3.01 OsClass
Modern Theme
When a I click to "Place an offer" the pop up does weird things
In my own listings I can place an offer but when I click "Submit Offer" a "Please enter a number" message appears.
In other user ads can't place an offe, the button doesnt work and even if I delete "previous" and "next" fancybox divs with Firebug I'm still not able to send an offer. And sometimes offer button and text dissappears.
Any fix?
-
It isn't displaying for me :( bcute theme.. Am I missing something ?
Edit, Had a look at the help.php and noticed the code obviously to put into item.php but I can't see it in admin so that needs to be fixed.
I've found
<?php _e('You have to edit your item.php file in your theme folder. Then add the following line <?php offer_button(); ?> anywhere you want the offer button to show up.', 'offer_button'); ?>
So if anybody else is dumb enough (like me, no offense to others) to miss this they need to add: <?php offer_button(); ?>
into the item.php
Hope the update comes along swiftly, thanks. Jay.
-
Attention everyone.
The long awaited Offer Button 2.0 will be released on the 26th of March as a beta version. So stay tuned for an awesome update.
Jay
-
Attention everyone.
The long awaited Offer Button 2.0 will be released on the 26th of March as a beta version. So stay tuned for an awesome update.
Jay
Ta na na.....:))
-
HI All,
Offer Button 2.0 is now available.
http://forums.osclass.org/plugins/%28plugin%29-offer-button/
Thanks
Jay