Description: This will allow an individual user to override the forum's dateslip feature in their display preferences. The dateslip function determines if the posts are sorted by replies, or original post date on the postlist page.
Database Altered: New Field, U_DateSlip, added to the w3t_Users table.
Info/Instructions:
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
addpost.php - After adding a post the page to send them back to is based on dateslip.
showflat.php/showthreaded.php - queries for prev/next post are based on dateslip and if the default doesn't match the user's option prev/next won't go in the right order.
I get this SQL error (I run 6.5) after installing the mod: How please can I correct this? can someone please give me the correct syntax? I'm no expert on mySQL.
Script: /home/ac2/public_html/board/changedisplay.php Line#: 137 SQL Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'U_TimeFormat = 'short1' WHERE U_Username = 'bcc'' at line SQL Error #: 1064 Query: UPDATE w3t_Users SET U_LastOn = '1103681073', U_Display = 'flat', U_View = 'collapsed', U_PostsPer = '40', U_TextCols = '60', U_TextRows = '5', U_StyleSheet = 'greenday', U_Preview = 'on', U_PictureView = 'on', U_PicturePosts = 'on', U_Language = 'english', U_FlatPosts = '40', U_TimeOffset = '0', U_FrontPage = 'ubbthreads', U_StartPage = 'mi', U_ShowSigs = 'yes', U_DateSlip = '2' U_TimeFormat = 'short1' WHERE U_Username = 'bcc'
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.