The problem is that during upgrade, the post rebuild started by itself. This did not give me the opportunity to chech the settings in the new ACP . All images that were previously attachments in the old forum have now been converted to plaintext links. I now need to re-run the rebuild posts function so that plaintext image links are parsed and shown as images in posts. So, to restate my question, is it or is it not possible to re-run the post rebuild? I need to do this so that images that were previously attachments are no longer plaintext links, the post install rebuild made them that way because the above settings page was set that way when the post install rebuild happened . . . I don't want them that way.
It's a question of throwing time and resources at developing, and then maintaining, a function that harldy anybody uses, and is of questionable value in the first place. To me, removing it was the correct decision and I'm happy it's gone. I hope it stays gone. To me, making a bold decision to remove a useless feature is thinking way beyond the confines of the box you envisage.
Yes you're right, thanks for the pointer. There were two references to the 30 minute limit in that file you mentioned and changing them both (one for members, one for guests) appears to work. . . /* Get Members */
$members = iterator_to_array( \IPS\Db::i()->select( array( 'member_id', 'member_name', 'seo_name', 'member_group' ), 'core_sessions', array(
array( 'login_type=' . \IPS\Session\Front::LOGIN_TYPE_MEMBER ),
array( 'running_time>' . \IPS\DateTime::create()->sub( new \DateInterval( ' PT90M ' ) )->getTimeStamp() )
), 'running_time DESC', $this->orientation === 'horizontal' ? NULL : 60 )->setKeyField( 'member_id' ) );
/* Get guests count */
$memberCount = 0;
$guests = 0;
$anonymous = 0;
if ( $this->orientation === 'horizontal' )
foreach ( \IPS\Db::i()->select( 'login_type, COUNT(*) AS count', 'core_sessions', array( 'running_time>' . \IPS\DateTime::create()->sub( new \DateInterval( ' PT90M ' ) )->getTimeStamp() ), NULL, NULL, 'login_type' ) as $row ) Safe??? Also, There appears to be no setting to make this box only available to members. Do you have any advice for me on how to hide it from guests?
Actually it seems you also have to edit the following line to make it work. . . $table->limit = 30; That also makes the online users page much bigger or smaller though (depending on which way you edit the limit). I actually prefer to see bigges online users pages. Any devs got some input for this?
I think I figured this out myself. In /applications/core/modules/front/online. . . /* Initial filters */
$where = array(
array( "core_sessions.running_time>?", \IPS\DateTime::create()->sub( new \DateInterval( 'PT30M' ) )->getTimeStamp() ), If I change the 'PT30M' to something like 'PT15M' or 'PT90M', it appears to work. Is this a safe edit?
Well this is absurd because if you change the settings in ACP to allow hyperlinks in posts, the only way to update links in old posts (that are presently just text) is to rebuild old posts. There must surely be a way to trigger the manual rebuilding of posts. If there isn't then it's a gross miscalculation by the software architects.
I'm having this issue on both IPS company forums, and my own forum. Resetting password clears the problem and allows me to login, but only until I log out and then try to log in again hours later. I've been trying to figure out where all my members went. Now I know, they are apparently unable to login. . . Note however that even though the system is saying your profile doesn't exist, it's actually logged you in. Obviously members are giving up at the login screen though.