sonnb - Up Thread [Deleted]

Have you try to uncheck the option "(Thread List) Disable Thread Come Up On Reply"?

I haven't tried that, but the addon is not useful to me if I uncheck that, because they can always up their thread by replying no matter what limit I set on using the up button.


It is an extra to have it. Because they can create more accounts to reply to get thread bumped.

In my experience, this is rare. And people are used to their listings being bumped by others' replies.
 
I haven't tried that, but the addon is not useful to me if I uncheck that, because they can always up their thread by replying no matter what limit I set on using the up button.
Did the thread on top when addon is enabled was bumped recently?
In my experience, this is rare. And people are used to their listings being bumped by others' replies.
In other word, more options is usually better ;). I will note it.
 
Did the thread on top when addon is enabled was bumped recently?

No, it wasn't. Seems to have been pretty random, but I think time zone had something to do with it. When the addon was enabled, one of my members in Australia posted that his replies were showing in the middle of the thread immediately after posting instead of at the bottom of the thread as usual.
 
No, it wasn't. Seems to have been pretty random, but I think time zone had something to do with it. When the addon was enabled, one of my members in Australia posted that his replies were showing in the middle of the thread immediately after posting instead of at the bottom of the thread as usual.
It does not rely on time zone. On installation, it will set the up_time with same value of last_post_date so it should work. I replied to your conversation to ask for some information for debugging.
 
Hi, I came across this error when trying to access the sonnb - UP thread options at the profile panel.

Forum: sgreefers.com

Please help. Thanks!


Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'thread.discussion_state' in 'where clause' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: sgreefers, 7 minutes ago
Stack Trace
#0 /var/www/vhosts/sgreefers.com/httpdocs/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\n\t\t\tSELECT COUN...')
#1 /var/www/vhosts/sgreefers.com/httpdocs/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\n\t\t\tSELECT COUN...')
#2 /var/www/vhosts/sgreefers.com/httpdocs/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\n\t\t\tSELECT COUN...')
#3 /var/www/vhosts/sgreefers.com/httpdocs/library/Zend/Db/Adapter/Abstract.php(825): Zend_Db_Adapter_Abstract->query('\n\t\t\tSELECT COUN...', Array)
#4 /var/www/vhosts/sgreefers.com/httpdocs/library/sonnbUpThread/Model/Log.php(379): Zend_Db_Adapter_Abstract->fetchOne('\n\t\t\tSELECT COUN...')
#5 /var/www/vhosts/sgreefers.com/httpdocs/library/sonnbUpThread/Model/Log.php(327): sonnbUpThread_Model_Log->countThread(1, Array, Array, '1')
#6 /var/www/vhosts/sgreefers.com/httpdocs/library/sonnbUpThread/ControllerPublic/UpThread.php(60): sonnbUpThread_Model_Log->getUserDailyCreatedThread(1)
#7 /var/www/vhosts/sgreefers.com/httpdocs/library/XenForo/FrontController.php(347): sonnbUpThread_ControllerPublic_UpThread->actionIndex()
#8 /var/www/vhosts/sgreefers.com/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /var/www/vhosts/sgreefers.com/httpdocs/index.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
["url"] => string(31) "http://sgreefers.com/up-thread/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Hi, I came across this error when trying to access the sonnb - UP thread options at the profile panel.

Forum: sgreefers.com

Please help. Thanks!


Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'thread.discussion_state' in 'where clause' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: sgreefers, 7 minutes ago
Stack Trace
#0 /var/www/vhosts/sgreefers.com/httpdocs/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\n\t\t\tSELECT COUN...')
#1 /var/www/vhosts/sgreefers.com/httpdocs/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\n\t\t\tSELECT COUN...')
#2 /var/www/vhosts/sgreefers.com/httpdocs/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\n\t\t\tSELECT COUN...')
#3 /var/www/vhosts/sgreefers.com/httpdocs/library/Zend/Db/Adapter/Abstract.php(825): Zend_Db_Adapter_Abstract->query('\n\t\t\tSELECT COUN...', Array)
#4 /var/www/vhosts/sgreefers.com/httpdocs/library/sonnbUpThread/Model/Log.php(379): Zend_Db_Adapter_Abstract->fetchOne('\n\t\t\tSELECT COUN...')
#5 /var/www/vhosts/sgreefers.com/httpdocs/library/sonnbUpThread/Model/Log.php(327): sonnbUpThread_Model_Log->countThread(1, Array, Array, '1')
#6 /var/www/vhosts/sgreefers.com/httpdocs/library/sonnbUpThread/ControllerPublic/UpThread.php(60): sonnbUpThread_Model_Log->getUserDailyCreatedThread(1)
#7 /var/www/vhosts/sgreefers.com/httpdocs/library/XenForo/FrontController.php(347): sonnbUpThread_ControllerPublic_UpThread->actionIndex()
#8 /var/www/vhosts/sgreefers.com/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /var/www/vhosts/sgreefers.com/httpdocs/index.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
["url"] => string(31) "http://sgreefers.com/up-thread/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
I found a bug. I am going to post a fix now.
 
I have limitations turned off.

On the user General Information, it says:
sonnb_up_thread_phrase_no_limitation

Just the phrase name, not the phrase.

Is it possible to remove the user menu when the limitation is turned off?
 
I have limitations turned off.

On the user General Information, it says:


Just the phrase name, not the phrase.

Is it possible to remove the user menu when the limitation is turned off?
Thanks. I will fix the phrase in the next update. Mean while you can create this phrase at your own to get rid of it.

I consider your question as suggestion for the next update.
 
I should update and say that I did get this working on the latest version of XenForo. It is still missing a phrase for sonnb_up_thread_phrase_no_limitation, but I added one.
 
I should update and say that I did get this working on the latest version of XenForo. It is still missing a phrase for sonnb_up_thread_phrase_no_limitation, but I added one.
Make sure you are on the latest version. I have just double check the XML and I can see this phrase.
 
I have another question...

In one forum, we want to allow replies to a thread.
In another forum, we do not want to allow replies to a thread.

We want to use the Up button in both forums.

Is that possible? We know how to make it work with all replies disabled, and we know how to make it work with all replies enabled. But we don't know how to make it work differently in each forum.
 
I have another question...

In one forum, we want to allow replies to a thread.
In another forum, we do not want to allow replies to a thread.

We want to use the Up button in both forums.

Is that possible? We know how to make it work with all replies disabled, and we know how to make it work with all replies enabled. But we don't know how to make it work differently in each forum.
This is currently not possible. The current approach works on global mode (in the options). To support that, it must be added to each forum as an option. I will note it down and will implement later when I finish my current task.
 
Top Bottom