Today in History [Deleted]

Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'history_month' in 'where clause' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, A moment ago
Had to disable the add-on, appearing constantly.
Investigating, could you share the full stack trace privately.
 
Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'history_month' in 'where clause' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, A moment ago
Had to disable the add-on, appearing constantly, and cause failure to load any XF page that contains the sidebar.
Investigating, could you share the full stack trace privately.
Responded.
 
megabosx updated Today in History with a new update entry:

Add unique table name prefix

According best practice a unique prefix when creating DB tables is necessary in order to avoid conflicts with other addons, thus xf_history has been changed to xf_megabosx_history to avoid a conflict scenario.

Likewise the addon files have been prefixed and fall under the folder Mega/History namespace thus changes to Mega_History...

Kindly uninstall any version prior to 2.0.0 before installing version 2.0.0

Read the rest of this update entry...
 
Possible to include a renderer for bd widget framework

Please Support BD Widget Framework , many many people use that add on

Integration with the widget framework and being able to write my own history facts, would be awesome.... Can't wait for that.

Place a donation link, buddy...

To add the widget on bd widget framework, take the following steps:
  • Widget FrameWork select Add Widget
  • Enter the following
    • Renderer: [Advanced] Template (without wrapper)
    • Template: today_in_history_sidebar
    • Position: forum_list
  • Save
other options should be left blank apart from Display Order and widget is active status which is based on preference. Currently only the forum_list position is available for custom events if added to the member_notable position it will still work but it will not display custom events.
 
Doesn't work, same problem here, errors:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Table 'xffora.xf_history' doesn't exist - library/Zend/Db/Statement/Mysqli.php:77
 
latest version (2.0) was the first installation.
In XF the search option became corrupt, after clicking a search result many errors occur about missing xf-history table.
Gladly i had a backup from last night, and put this back, now everything allright....pffft.
Gues your add-on is messing with XF's search database....:-(
 
latest version (2.0) was the first installation.
In XF the search option became corrupt, after clicking a search result many errors occur about missing xf-history table.
Gladly i had a backup from last night, and put this back, now everything allright....pffft.
Gues your add-on is messing with XF's search database....:-(
I'm unable to reproduce the issue you mention, perhaps you can provide a detailed error log, xf-history table log was renamed in version 2.0 so that shouldn't exist in the first place.
 
If your XF site is https/ssl, then this add-on doesn't work. The data source, numbersapi.com, site is not https and most browsers will thus refuse to load the external script ...

Mixed Content: The page at 'https://site.com/forum/' was loaded over HTTPS, but requested an insecure script 'http://numbersapi.com/4/15/date?write'. This request has been blocked; the content must be served over HTTPS.

https://support.google.com/chrome/answer/1342714
Thank you for catching this, working on a fix
 
Maybe it's better this way?
Code:
                    <xen:select name="history_month" value="{$history.history_month}" inputclass="autoSize">
                        <xen:option value="1">{xen:phrase month_1}</xen:option>
                        <xen:option value="2">{xen:phrase month_2}</xen:option>
                        <xen:option value="3">{xen:phrase month_3}</xen:option>
                        <xen:option value="4">{xen:phrase month_4}</xen:option>
                        <xen:option value="5">{xen:phrase month_5}</xen:option>
                        <xen:option value="6">{xen:phrase month_6}</xen:option>
                        <xen:option value="7">{xen:phrase month_7}</xen:option>
                        <xen:option value="8">{xen:phrase month_8}</xen:option>
                        <xen:option value="9">{xen:phrase month_9}</xen:option>
                        <xen:option value="10">{xen:phrase month_10}</xen:option>
                        <xen:option value="11">{xen:phrase month_11}</xen:option>
                        <xen:option value="12">{xen:phrase month_12}</xen:option>
                    </xen:select>
 
Top Bottom