Advertisement:

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
SMF 2.0.x Support / Re: youtube videos not displaying SMD 2.0.15
« Last post by ivanabo on Today at 11:45:11 AM »
not sure where to check that but i think it's OharaYTEmbed_v1.2.
22
Can you attach your file. Looks modified from 2.0.15? What version are you running?
23
SMF 2.0.x Support / Re: is there a solution
« Last post by Illori on Today at 11:37:24 AM »
I think the OP has forgotten the password and which email address was used for that account. so they cannot use the reset option to get access again to the account.
24
SMF 2.0.x Support / Re: is there a solution
« Last post by m4z on Today at 11:31:18 AM »
If all the above doesn't work for you, try visiting your forum in a private browsing window.

In your regular browser window, you apparently still have a cookie for your test account, so you aren't even asked for you mail address when you click "Forgot password", right?

In the private browsing window, the cookie will be missing and the forum will ask you for the username or email address, and you will be able to enter either one for your admin account.
25
Some bots are coming from "known" domains, but you'd have to google the details yourself. Some bots show it in their User Agent string.
(SMF 2.1 has some bot detection code, but I don't know if that code is in 2.0 too.)

SMF 2.0 has the same, it has to be enabled under core features in the admin panel.
26
What would those "details" be that you want to know about your guests? SMF can basically only give you their IP (and hostname, if lookup is enabled).

where are browser logs? part of SMF? (sorry for asking -- pretty rusty on the program)

The web server logs are on the server. Depending on your hosting situation, you might have access to them via SSH, a website management tool like cpanel, or not at all.


where do I enable "lookup"

I don't know exactly where it is and don't have access to a 2.0 forum currently. But it shouldn't be hard to find, the option is labeled "Disable hostname lookups". (Depending on your hosting situation, this can cause problems, because every lookup is a (short running) process. If the number of processes is limited (as seems to be the case for many free or almost-free hosters), this could bite you.)


if bots - how would I know

Some bots are coming from "known" domains, but you'd have to google the details yourself. Some bots show it in their User Agent string.
(SMF 2.1 has some bot detection code, but I don't know if that code is in 2.0 too.)
27
SMF 2.0.x Support / Re: is there a solution
« Last post by Illori on Today at 11:20:44 AM »
you mean you need to reset the password for your admin account?

https://wiki.simplemachines.org/smf/I_accidentally_lost_my_admin_account!_What_can_I_do
28
SMF 2.0.x Support / is there a solution
« Last post by TheDragon on Today at 11:10:17 AM »
n login credentials (in the cache for years)
is empty
and my reserve files are missing
i clicked forgot password  - but it sent me new link for one of my test accounts
(ie not me as the admin)
gulp
now what --
If I prove who I am - can one of the TOP authors of SMF help me back in?

the site still works
and I do have a super moderator
but I do not recall what permissions he has

29
What would those "details" be that you want to know about your guests? SMF can basically only give you their IP (and hostname, if lookup is enabled).



where are browser logs? part of SMF? (sorry for asking -- pretty rusty on the program)
where do I enable "lookup"
if bots - how would I know

all the requested info is not critical
just that site admin was very curious

thanks all !
30
SMF 2.0.x Support / Too few arguments to function (Profile-Modify.php)
« Last post by PooX on Today at 10:44:43 AM »
Hello, i have problem with my forum. When i go to change my profile info, i get this error:

Quote
Too few arguments to function {closure}(), 0 passed in /var/www/prijevodi-titlovi.org/forum/Sources/Profile-Modify.php on line 795 and exactly 1 expected


Code there is:

Code: [Select]
global $profile_fields, $context, $cur_profile, $smcFunc, $txt, $cur_field;

// Make sure we have this!
loadProfileFields(true);

// First check for any linked sets.

foreach ($profile_fields as $key => $field)
if (isset($field['link_with']) && in_array($field['link_with'], $fields))
$fields[] = $key;

// Some default bits.
$context['profile_prehtml'] = '';
$context['profile_posthtml'] = '';
$context['profile_javascript'] = '';
$context['profile_onsubmit_javascript'] = '';

$i = 0;
$last_type = '';
foreach ($fields as $key => $field)
{
if (isset($profile_fields[$field]))
{
// Shortcut.
$cur_field = &$profile_fields[$field];

// Does it have a preload and does that preload succeed?
if (isset($cur_field['preload']) && !$cur_field['preload']())
continue;

// If this is anything but complex we need to do more cleaning!
if ($cur_field['type'] != 'callback' && $cur_field['type'] != 'hidden')
{
if (!isset($cur_field['label']))
$cur_field['label'] = isset($txt[$field]) ? $txt[$field] : $field;

// Everything has a value!
if (!isset($cur_field['value']))
{
$cur_field['value'] = isset($cur_profile[$field]) ? $cur_profile[$field] : '';
}

// Any input attributes?
$cur_field['input_attr'] = !empty($cur_field['input_attr']) ? implode(',', $cur_field['input_attr']) : '';
}

// Was there an error with this field on posting?
if (isset($context['profile_errors'][$field]))
$cur_field['is_error'] = true;

// Any javascript stuff?
if (!empty($cur_field['js_submit']))
$context['profile_onsubmit_javascript'] .= $cur_field['js_submit'];
if (!empty($cur_field['js']))
$context['profile_javascript'] .= $cur_field['js'];

// Any template stuff?
if (!empty($cur_field['prehtml']))
$context['profile_prehtml'] .= $cur_field['prehtml'];
if (!empty($cur_field['posthtml']))
$context['profile_posthtml'] .= $cur_field['posthtml'];

// Finally put it into context?
if ($cur_field['type'] != 'hidden')
{
$last_type = $cur_field['type'];
$context['profile_fields'][$field] = &$profile_fields[$field];
}
}
// Bodge in a line break - without doing two in a row ;)
elseif ($field == 'hr' && $last_type != 'hr' && $last_type != '')
{
$last_type = 'hr';
$context['profile_fields'][$i++]['type'] = 'hr';
}
}

// Free up some memory.
unset($profile_fields);


Forum is running at 7.2 PHP version.
Pages: 1 2 [3] 4 5 ... 10