Quote from: Steve on September 18, 2023, 06:10:48 PMIf I wanted it to not display the time, and still use time as one of it's sorting parameters, would I just remove [time] from Themes/default/MessageIndex.template.php?Yes - you wouldn't make the second code change to ./Themes/default/MessageIndex.template.php
// Is this user the message author?
$output['is_message_author'] = $message['id_member'] == $user_info['id'];
$poster_name = strtolower($message['poster_name']);
$modified_name = strtolower($message['modified_name']);
if ( !empty($output['modified']['name']) )
{
if ( $poster_name <> $modified_name )
{
$output['modified']['last_edit_text'] = sprintf($txt['last_edit_by'], $output['modified']['time'], 'Admin');
}
else
{
$output['modified']['last_edit_text'] = sprintf($txt['last_edit_by'], $output['modified']['time'], $output['modified']['name']);
}
}
Quote from: EL_LARA on September 18, 2023, 01:32:00 PM¡Un error ha ocurrido!Probablemente lo cause un mod obsoleto.
Call to undefined function mysql_free_result()
Quote from: Looking on August 12, 2023, 11:26:40 AMThanks for the reply. I edited the converter to work properly so it pulled in all correctly now.My aeva to smf gallery cracked. Check my forum in signature.
// Is this user the message author?
if ( !empty($output['modified']['name']) && $message['id_member'] <> $user_info['id'] )
{
$output['modified']['last_edit_text'] = sprintf($txt['last_edit_by'], $output['modified']['time'], 'Admin');
}
else
{
$output['modified']['last_edit_text'] = sprintf($txt['last_edit_by'], $output['modified']['time'], $output['modified']['name']);
}
RewriteEngine On
RewriteBase /
Redirect /index.htm /forum.thehunterslife.com/
# SMF rewrites for vBulletin after vBSEO removed (including forum directory)
RewriteCond %{QUERY_STRING} ^t=([0-9]+)&page=[0-9]+&p=([0-9]+)#[0-9]+(.*)?/?$ [OR]
RewriteCond %{QUERY_STRING} ^t=([0-9]+)&page=[0-9]+&p=([0-9]+)(.*)?/?$
RewriteRule ^(forums)?/?showthread.php$ https://forum.thehunterslife.com/index.php?topic=%1.msg%2#msg%2 [NE,L,R=301]
RewriteCond %{QUERY_STRING} ^t=([0-9]+)&page=[0-9]+(.*)?/?$ [OR]
RewriteCond %{QUERY_STRING} ^t=([0-9]+)(.*)?/?$
RewriteRule ^(forums)?/?showthread.php$ https://forum.thehunterslife.com/index.php?topic=%1.0 [L,R=301]
RewriteCond %{QUERY_STRING} ^f=([0-9]+)&page=[0-9]+(.*)?/?$ [OR]
RewriteCond %{QUERY_STRING} ^f=([0-9]+)(.*)?/?$
RewriteRule ^(forums)?/?forumdisplay.php$ https://forum.thehunterslife.com/index.php?board=%1.0 [L,R=301]
RewriteCond %{QUERY_STRING} ^do=newthread.f=([0-9]+)(.*)?/?$
RewriteRule ^(forums)?/?newthread.php$ https://forum.thehunterslife.com/index.php?board=%1.0 [L,R=301]
# SMF rewrite for cms author
RewriteCond %{QUERY_STRING} ^author/([0-9]+)-.*/?$ [OR]
RewriteCond %{QUERY_STRING} ^r=author/([0-9]+)-.*/?$
RewriteRule ^cms/list.php$ https://forum.thehunterslife.com/index.php?action=profile;u=%1? [L,R=301]
# SMF rewrite for calendar
RewriteRule ^calendar\.php https://forum.thehunterslife.com/index.php?action=calendar? [L,R=301]
# Rewrite all non-existent directories and folders to https://forum.thehunterslife.com/index.php
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ https://forum.thehunterslife.com/index.php? [QSD,L,R=301]
<FilesMatch \.php$>
SetHandler proxy:fcgi://hqb1ejsk2lyo-php73
</FilesMatch>
// initialize the data registry
$vbulletin =& new vB_Registry();