[XFA] Forum Sales

[XFA] Forum Sales [Paid] 1.5.1

No permission to buy (€6.00)
Percentage of sale to forum still doesn't allow setting a maximum amount? Eg. Sell price of $10,000 with a node or user group 1%, but I want to set a $10 maximum instead of it being $100. Screenshot not showing this anywhere.

If I have user group permission based %, is there also a permission that a user can adjust during thread creation?
I want to be rigid on my non-premium members so that they have to have 5%, but for my paid premium members suggest/default they do 1% but still allow them to change this lower/higher.
 
Last edited:
Percentage of sale to forum still doesn't allow setting a maximum amount? Eg. Sell price of $10,000 with a node or user group 1%, but I want to set a $10 maximum instead of it being $100. Screenshot not showing this anywhere.

No as it was not in the suggestions on my forum I didn't recall your request.

If I have user group permission based %, is there also a permission that a user can adjust during thread creation?
I want to be rigid on my non-premium members so that they have to have 5%, but for my paid premium members suggest/default they do 1% but still allow them to change this lower/higher.

The percentage on sale is permission based so you could indeed set a different value per usergroup.
 
No as it was not in the suggestions on my forum I didn't recall your request.
I guess you don't consider it worth considering/tracking.

The percentage on sale is permission based so you could indeed set a different value per usergroup.
But, by usergroup, not able to modify the configured setting when creating a thread? Or, all usergroups can modify when creating a thread?
 
I guess you don't consider it worth considering/tracking.

No it's just that generally our customers perform feature requests on our forum (we have one per product) and we use the forums to track things.

But, by usergroup, not able to modify the configured setting when creating a thread? Or, all usergroups can modify when creating a thread?

No it's configured per usergroup through permissions, so not overriden when creating a thread.
 
Can this be forum or node based. In other words, can I have specific forums that can have the option to sell items.
 
No it's just that generally our customers perform feature requests on our forum (we have one per product) and we use the forums to track things.
As a potential customer, I'll check back on this thread some time in the future and see if you've decided to add that functionality.
 
Can this be forum or node based. In other words, can I have specific forums that can have the option to sell items.

Of course, the permissions are in the node part so can be set on a node basis.

As a potential customer, I'll check back on this thread some time in the future and see if you've decided to add that functionality.

Following our discussion I did add the request, in order not to forget this time :)
 
Bugs on 1.5.12

This appers to be something to do with the currency choice

ErrorException: Undefined property: XenForo_ControllerResponse_Error::$redirectType - library/XFA/ForumSales/Extends/ControllerPublic/Forum.php:17
Code:
array(3) {
  ["url"] => string(57) "https://www/forums/.45/add-thread"
  ["_GET"] => array(1) {
    ["/forums/45/add-thread"] => string(0) ""
  }
  ["_POST"] => array(19) {
    ["prefix_id"] => string(1) "4"
    ["title"] => string(4) "Test"
    ["message_html"] => string(25) "<p>Nothing here&nbsp;</p>"
    ["_xfRelativeResolver"] => string(60) "https://www/forums/.45/create-thread"
    ["xfa_sell"] => string(1) "1"
    ["xfa_fss_quantity"] => string(1) "1"
    ["xfa_fss_price"] => string(0) ""
    ["xfa_fss_currency"] => string(3) "nzd"
    ["xfa_fss_paypal_email"] => string(24) "email@outlook.com"
    ["xfa_fss_require_address"] => string(1) "1"
    ["tags"] => string(0) ""
    ["attachment_hash"] => string(32) "865f7e8892bf99756523b7ed2da51d50"
    ["watch_thread_state"] => string(1) "1"
    ["discussion_open"] => string(1) "1"
    ["_set"] => array(2) {
      ["discussion_open"] => string(1) "1"
      ["sticky"] => string(1) "1"
    }
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(38) "/forums/.45/create-thread"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }

This appears to be referencing when somone makes a new topic in a forum that doesnt have sales activated

ErrorException: Undefined variable: thread - library/XFA/ForumSales/Extends/ControllerPublic/Forum.php:22

Code:
Array(3) {
  ["url"] => string(66) "https://www./forums/.37/add-thread"
  ["_GET"] => array(1) {
   ["/forums/_37/add-thread"] => string(0) ""
  }
  ["_POST"] => array(11) {
   ["_guestUsername"] => string(9) "JosephNap"
   ["captcha_question_answer"] => string(0) ""
   ["captcha_question_hash"] => string(40) "178890f48e73ea402578580f44f1cd02ec4f31f5"
   ["prefix_id"] => string(1) "0"
   ["title"] => string(63) "Информация по блокировкам (Россия)"
   ["message_html"] => string(1326) "Доменное имя kinozz.club было поставлено регистратором в состояние «clienthold», что делает его неработоспособным для пользователей.

Наши НОВЫЕ домены:
http://lpcp.cpi.kinozz.lol
http://mfvi.jrg.kinozz.lol
http://wand.hsd.kinozz.lol
http://kujr.gre.kinozz.lol
http://iveb.kjt.kinozz.lol
http://fqyc.ycy.kinozz.lol
http://pgcf.fiw.kinozz.lol

Что Вы можете сделать:

Превентивно настроить обход блокировок (смотреть ниже)
Все ссылки, приведенные в этой теме (а желательно всю тему) сохраняйте на компьютере! Обязательно! Скачайте эту раздачу: в ней описано множество способов по обходу блокировок!
Благодаря им вы сможете обойти потом ограничения на свободу получения информации
Зарегистрироваться, будем высылать информацию про обход блокировок на почту
Периодически заглядывайте сюда для новостей"
   ["message"] => string(1326) "Доменное имя kinozz.club было поставлено регистратором в состояние «clienthold», что делает его неработоспособным для пользователей.

Наши НОВЫЕ домены:
http://lpcp.cpi.kinozz.lol
http://mfvi.jrg.kinozz.lol
http://wand.hsd.kinozz.lol
http://kujr.gre.kinozz.lol
http://iveb.kjt.kinozz.lol
http://fqyc.ycy.kinozz.lol
http://pgcf.fiw.kinozz.lol

Что Вы можете сделать:

Превентивно настроить обход блокировок (смотреть ниже)
Все ссылки, приведенные в этой теме (а желательно всю тему) сохраняйте на компьютере! Обязательно! Скачайте эту раздачу: в ней описано множество способов по обходу блокировок!
Благодаря им вы сможете обойти потом ограничения на свободу получения информации
Зарегистрироваться, будем высылать информацию про обход блокировок на почту
Периодически заглядывайте сюда для новостей"
   ["_xfRelativeResolver"] => string(69) "https://www./forums/.37/create-thread"
   ["tags"] => string(0) ""
   ["submit"] => string(13) "Create Thread"
   ["_xfToken"] => string(8) "********"
  }
}


Screenshot_8.webp

A couple of things wrong with the image results above.
  • If I'm forcing a 15% commission in this forum, its not a donation (however, I would like this to appear when the user DOES opt to make a donation.
  • I have a max set of $50, whereas this message falsely implies I'm receiving 15% of $4600
  • I'd like to lose the .00 its a waste of space
 
Last edited:
Bugs on 1.5.12

This appers to be something to do with the currency choice

ErrorException: Undefined property: XenForo_ControllerResponse_Error::$redirectType - library/XFA/ForumSales/Extends/ControllerPublic/Forum.php:17
Code:
array(3) {
  ["url"] => string(57) "https://www/forums/.45/add-thread"
  ["_GET"] => array(1) {
    ["/forums/45/add-thread"] => string(0) ""
  }
  ["_POST"] => array(19) {
    ["prefix_id"] => string(1) "4"
    ["title"] => string(4) "Test"
    ["message_html"] => string(25) "<p>Nothing here&nbsp;</p>"
    ["_xfRelativeResolver"] => string(60) "https://www/forums/.45/create-thread"
    ["xfa_sell"] => string(1) "1"
    ["xfa_fss_quantity"] => string(1) "1"
    ["xfa_fss_price"] => string(0) ""
    ["xfa_fss_currency"] => string(3) "nzd"
    ["xfa_fss_paypal_email"] => string(24) "email@outlook.com"
    ["xfa_fss_require_address"] => string(1) "1"
    ["tags"] => string(0) ""
    ["attachment_hash"] => string(32) "865f7e8892bf99756523b7ed2da51d50"
    ["watch_thread_state"] => string(1) "1"
    ["discussion_open"] => string(1) "1"
    ["_set"] => array(2) {
      ["discussion_open"] => string(1) "1"
      ["sticky"] => string(1) "1"
    }
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(38) "/forums/.45/create-thread"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }

This appears to be referencing when somone makes a new topic in a forum that doesnt have sales activated

ErrorException: Undefined variable: thread - library/XFA/ForumSales/Extends/ControllerPublic/Forum.php:22

Code:
Array(3) {
  ["url"] => string(66) "https://www./forums/.37/add-thread"
  ["_GET"] => array(1) {
   ["/forums/_37/add-thread"] => string(0) ""
  }
  ["_POST"] => array(11) {
   ["_guestUsername"] => string(9) "JosephNap"
   ["captcha_question_answer"] => string(0) ""
   ["captcha_question_hash"] => string(40) "178890f48e73ea402578580f44f1cd02ec4f31f5"
   ["prefix_id"] => string(1) "0"
   ["title"] => string(63) "Информация по блокировкам (Россия)"
   ["message_html"] => string(1326) "Доменное имя kinozz.club было поставлено регистратором в состояние «clienthold», что делает его неработоспособным для пользователей.

Наши НОВЫЕ домены:
http://lpcp.cpi.kinozz.lol
http://mfvi.jrg.kinozz.lol
http://wand.hsd.kinozz.lol
http://kujr.gre.kinozz.lol
http://iveb.kjt.kinozz.lol
http://fqyc.ycy.kinozz.lol
http://pgcf.fiw.kinozz.lol

Что Вы можете сделать:

Превентивно настроить обход блокировок (смотреть ниже)
Все ссылки, приведенные в этой теме (а желательно всю тему) сохраняйте на компьютере! Обязательно! Скачайте эту раздачу: в ней описано множество способов по обходу блокировок!
Благодаря им вы сможете обойти потом ограничения на свободу получения информации
Зарегистрироваться, будем высылать информацию про обход блокировок на почту
Периодически заглядывайте сюда для новостей"
   ["message"] => string(1326) "Доменное имя kinozz.club было поставлено регистратором в состояние «clienthold», что делает его неработоспособным для пользователей.

Наши НОВЫЕ домены:
http://lpcp.cpi.kinozz.lol
http://mfvi.jrg.kinozz.lol
http://wand.hsd.kinozz.lol
http://kujr.gre.kinozz.lol
http://iveb.kjt.kinozz.lol
http://fqyc.ycy.kinozz.lol
http://pgcf.fiw.kinozz.lol

Что Вы можете сделать:

Превентивно настроить обход блокировок (смотреть ниже)
Все ссылки, приведенные в этой теме (а желательно всю тему) сохраняйте на компьютере! Обязательно! Скачайте эту раздачу: в ней описано множество способов по обходу блокировок!
Благодаря им вы сможете обойти потом ограничения на свободу получения информации
Зарегистрироваться, будем высылать информацию про обход блокировок на почту
Периодически заглядывайте сюда для новостей"
   ["_xfRelativeResolver"] => string(69) "https://www./forums/.37/create-thread"
   ["tags"] => string(0) ""
   ["submit"] => string(13) "Create Thread"
   ["_xfToken"] => string(8) "********"
  }
}


View attachment 149671

A couple of things wrong with the image results above.
  • If I'm forcing a 15% commission in this forum, its not a donation (however, I would like this to appear when the user DOES opt to make a donation.
  • I have a max set of $50, whereas this message falsely implies I'm receiving 15% of $4600
  • I'd like to lose the .00 its a waste of space
I have a similar server error that I have reported to the coders website support area. @optrex - are you able to use the add on? Mine doesn't work at all and just gives me the errors.
Code:
ErrorException: Undefined index: usd - library/XFA/ForumSales/Extends/ControllerPublic/Forum.php:37
Generated By: admin, Yesterday at 1:48 PM
Stack Trace
#0 /home/admin/public_html/community/library/XFA/ForumSales/Extends/ControllerPublic/Forum.php(37): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/admin/pub...', 37, Array)
#1 /home/admin/public_html/community/library/XenForo/FrontController.php(351): XFA_ForumSales_Extends_ControllerPublic_Forum->actionAddThread()
#2 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
  ["url"] => string(70) "https://sphynxlair.com/community/forums/sphynxlair-store.62/add-thread"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(21) {
    ["title"] => string(4) "test"
    ["message_html"] => string(16) "<p>yuyutyuyt</p>"
    ["_xfRelativeResolver"] => string(73) "https://sphynxlair.com/community/forums/sphynxlair-store.62/create-thread"
    ["xfa_sell"] => string(1) "1"
    ["xfa_fss_quantity"] => string(0) ""
    ["xfa_fss_price"] => string(1) "1"
    ["xfa_fss_currency"] => string(3) "usd"
    ["xfa_fss_paypal_email"] => string(22) "tommyd.com"
    ["xfa_fss_require_address"] => string(1) "1"
    ["tags"] => string(0) ""
    ["attachment_hash"] => string(32) "5"
    ["use_own_style"] => string(1) "1"
    ["watch_thread"] => string(1) "1"
    ["watch_thread_state"] => string(1) "1"
    ["discussion_open"] => string(1) "1"
    ["_set"] => array(2) {
      ["discussion_open"] => string(1) "1"
      ["sticky"] => string(1) "1"
    }
    ["poll"] => array(5) {
      ["question"] => string(0) ""
      ["responses"] => array(2) {
        [0] => string(0) ""
        [1] => string(0) ""
      }
      ["max_votes_type"] => string(6) "single"
      ["change_vote"] => string(1) "1"
      ["view_results_unvoted"] => string(1) "1"
    }
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(51) "/community/forums/sphynxlair-store.62/create-thread"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
Delete...Close
 
I can use it, but as with the rm version it's about to be turned off if I don't get a quick fix.
 
ErrorException: Undefined property: XenForo_ControllerResponse_Error::$redirectType - library/XFA/ForumSales/Extends/ControllerPublic/Forum.php:17

This appears to be referencing when somone makes a new topic in a forum that doesnt have sales activated

ErrorException: Undefined variable: thread - library/XFA/ForumSales/Extends/ControllerPublic/Forum.php:22

I think it's rather if someone create a thread and it errors.

A couple of things wrong with the image results above.
  • If I'm forcing a 15% commission in this forum, its not a donation (however, I would like this to appear when the user DOES opt to make a donation.
  • I have a max set of $50, whereas this message falsely implies I'm receiving 15% of $4600
  • I'd like to lose the .00 its a waste of space

The maximum configuration is a percentage not a fixed amount so it's as designed.

The .00 is induced by the field using decimal type, but I guess if both are zeroes it could be rounded.
 
I think it's rather if someone create a thread and it errors.
Either way is it going to be fixed?

The maximum configuration is a percentage not a fixed amount so it's as designed.
Ok so that needs changing. If I charge 15 percent of a 100 dollar sale it's reasonable. 15 percent of a 5000 dollar sale is not. It makes the whole system unworkable and puts people off using the site for sales.

You did not mention the donation wording when it's not a donation - I want to keep it when it is, so this needs to be rephrased for when commission is forced.

People without PayPal. They either keep the email address blank or use a non PayPal email. Either way it breaks the payment communication to PayPal.

No email should not be allowed = they should be prevented from posting, and an email with no PayPal account for the seller should alter to a send money transfer.

Sales forums. The admin chooses where this feature is enabled then the user can override it by not selecting the tick box to sell an item. This allows them to post a normal non sale topic, which kind of breaks the admins wish for it to be a sales forum. The tick box needs removing and the sales layout needs to be standard.

The addon has potential but needs a lot more input for it to be a workable solution.
 
Either way is it going to be fixed?

Of course, already fixed on my dev version.

Ok so that needs changing. If I charge 15 percent of a 100 dollar sale it's reasonable. 15 percent of a 5000 dollar sale is not. It makes the whole system unworkable and puts people off using the site for sales.

Yes this was requested by another user, to have a maximum amount.

You did not mention the donation wording when it's not a donation - I want to keep it when it is, so this needs to be rephrased for when commission is forced.

Because I was planning on applying this fix.

People without PayPal. They either keep the email address blank or use a non PayPal email. Either way it breaks the payment communication to PayPal.
No email should not be allowed = they should be prevented from posting, and an email with no PayPal account for the seller should alter to a send money transfer.

I can't/won't check wether the email is a valid paypal address.
Checking it's not empty is no issue, but isn't it already the case ?

Sales forums. The admin chooses where this feature is enabled then the user can override it by not selecting the tick box to sell an item. This allows them to post a normal non sale topic, which kind of breaks the admins wish for it to be a sales forum. The tick box needs removing and the sales layout needs to be standard.

I disagree with you on the fact that things can't be mixed.
It's a point of view some may not have the same point of view.

But forcing could indeed be implemented.

The addon has potential but needs a lot more input for it to be a workable solution.

It fits lots of user but maybe it doesn't have all the features you wish, that's understandable.
It's designed to be simple to use.

I'll implemented the bug fixes this week, for the feature this may be done a little later as I have other updates in the pipes and this one got updated recently.
But surely I'll take your suggestions into account as they are valuable.

Clément
 
no, I can post with an empty email address. It would be useful to force check that an email address format is present. ie something@somewhere and not just random input text.

Yeah for sure, as you may have seen this one is in the list :)
 
Top Bottom