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

Deaks

seems to be as I only get this error on this mod, and it didnt post on my test.
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

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.
Holder of controversial views, all of which my own.


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.4 / TP 2.2.2

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 ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

skb

#767
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.4 / TP 2.2.2

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 ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

mickjav

Just installed this mod on 2.0.18 and works a treat Thanks mick
Site Under redesign not expected to be complete before July 2025

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

Shades.

Future request when/if this is updated for 2.1.1:

1. To create a welcome topic when registering a new member via the admin member registration (when the admin creates a new member)

Thanks,
Shades 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Advertisement: