• Welcome to Simple Machines Community Forum. Please login or sign up.
October 26, 2021, 02:00:44 AM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


Welcome Topic

Started by SMFHacks.com Team, May 07, 2007, 09:42:29 PM

Previous topic - Next topic

KittyGalore

Quote from: Deaks on May 31, 2020, 08:56:38 AM
vbgamer I can confirm KittyGalore bug, error comes up is:

8: Trying to access array offset on value of type nullApply Filter: Only show the errors from this fileFile: /home/bryandea/public_html/test/smf/Sources/Register.php
Line: 557


else
{
call_integration_hook('integrate_activate', array($row['member_name']));

setLoginCookie(60 * $modSettings['cookieTime'], $memberID, sha1(sha1(strtolower($regOptions['username']) . $regOptions['password']) . $regOptions['register_vars']['password_salt']));

redirectexit('action=login2;sa=check;member=' . $memberID, $context['server']['needs_login_fix']);
}
}


Line 557 comes from call_integration_hook('integrate_activate', array($row['member_name']));

Issue doesnt show in fresh SMF install only this mod.
So this is a bug with the mod for SMF 2.0.17
SMF Curve 2.0x

Horme Gaming

seems to be as I only get this error on this mod, and it didnt post on my test.

KittyGalore

Quote from: Deaks on May 31, 2020, 09:26:43 AM
seems to be as I only get this error on this mod, and it didnt post on my test.
Ok thanks.
SMF Curve 2.0x

KittyGalore

Quote from: Deaks on May 31, 2020, 08:56:38 AM
vbgamer I can confirm KittyGalore bug, error comes up is:

8: Trying to access array offset on value of type nullApply Filter: Only show the errors from this fileFile: /home/bryandea/public_html/test/smf/Sources/Register.php
Line: 557


else
{
call_integration_hook('integrate_activate', array($row['member_name']));

setLoginCookie(60 * $modSettings['cookieTime'], $memberID, sha1(sha1(strtolower($regOptions['username']) . $regOptions['password']) . $regOptions['register_vars']['password_salt']));

redirectexit('action=login2;sa=check;member=' . $memberID, $context['server']['needs_login_fix']);
}
}


Line 557 comes from call_integration_hook('integrate_activate', array($row['member_name']));

Issue doesnt show in fresh SMF install only this mod.
Any update on this.
SMF Curve 2.0x

Arantor

Means that $row is somehow empty by the time that part of the code is reached, but that would be weird.
No good deed goes unpunished
All helpful urges should be circumvented

skb

After upgrading to 2.1 RC4, I generate 3 errors every time I access the Admin Section of the Forum.

All the errors are Undefined and the error message is
Quote8: Undefined index: welcome_admin

These are the 3 lines from welcomeHooks.php generating the error
function welcome_admin_areas(&$admin_areas)
{
   global $txt, $modSettings, $scripturl;
   

    welcome_array_insert($admin_areas, 'layout',
        array(
                'welcome' => array(
(1) 'title' =>  $txt['welcome_admin'],
'permission' => array('admin_forum'),
'areas' => array(
'welcome' => array(
                (2)                    'label' => $txt['welcome_admin'],
'file' => 'WelcomeTopic2.php',
'function' => 'WelcomeTopic',
'custom_url' => $scripturl . '?action=admin;area=welcome',
'icon' => 'welcome.png',
'subsections' => array(
(3) 'welcome' => array($txt['welcome_admin']),
),
),),
),
               
        )
        );

SMF 2.1 RC4 (default theme) / TP 2.1.0

GL700Wing

Try adding the $txt['welcome_admin'] text string to ./Themes/default/languages/Admin.english.php (or whatever your forum language file is):
$txt['welcome_admin'] = 'Welcome Configuration';
Life doesn't have to be perfect to be wonderful ...

skb

July 21, 2021, 05:34:51 AM #767 Last Edit: July 21, 2021, 05:52:35 AM by skb
Thanks. I figured that the text string was missing. I was trying to add it to WelcomeTopicEnglish.php (and the utf-8 file). I also tried tinkering with the index.english.php. Eventually, I uninstalled and reinstalled the package. That seems to have solved the problem, as well added the 'Welcome Configuration' options which seemed to have been missing in the earlier install.

I think the text string goes into Modifications.Rnglish.php

Disclaimer : I am a total nerd, so please forgive if I am talking gibberish.

SMF 2.1 RC4 (default theme) / TP 2.1.0

GL700Wing

Quote from: skb on July 21, 2021, 05:34:51 AM
Thanks. I figured that the text string was missing. I was trying to add it to WelcomeTopicEnglish.php (and the utf-8 file). I also tried tinkering with the index.english.php. Eventually, I uninstalled and reinstalled the package. That seems to have solved the problem, as well added the 'Welcome Configuration' options which seemed to have been missing in the earlier install.

I think the text string goes into Modifications.Rnglish.php

Disclaimer : I am a total nerd, so please forgive if I am talking gibberish.
Glad you got it sorted ...
Life doesn't have to be perfect to be wonderful ...

mickjav

Just installed this mod on 2.0.18 and works a treat Thanks mick
Database Dreams - music and charts, Home of Chart Tracker Elite, Apollo & DJ 2020.
Coming soon The Librarian.

pocttopus

Hello,
Can you update this mod for 2.1rc4?
Thanks.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: