Topic-icon new version 3.1 installation issue -- can not see it in Module Manager

Active Subscriptions:

None
I successfully intalled the older version 3.0 on my joomla 2.5. today I tried to install the latest version 3.1 .
what I did is:

1) I removed the old version in Module Manager (Clicked the Trash icon)
2) then I uploaded and install the new 3.1 zip file via Extension Manger ( I did this for 3.0 installation without a problem)
3) the Installation successful message shown. However the summary of installation title still showed me the older version in the red title bar :
SCLogin Module
(version 3.0 - May 2013)
I did cleaned up joomla cache.
4) Then I go to Module Manager, surprisingly I could not find any SC Login module there!!
I tried the above few times and even check tmp installation folder , etc. Nothing .
How can install 3.1 version? Why did the above happen? Did I do sth wrong?
The topic has been locked.
Active Subscriptions:

None
I tried further.
I went to Extension Manager -- Manage. Find SC Login and uninstalled it.

Then , I install the 3.0 zip package again. this time, SC login module is shown on my Module Manager.
To me, Its setting is same as the older version 3.0. Did I get the new version really? I did choose 3.1 files to upload and install.
So I went to Extenstin Manager ---> Manage again: I saw the following screen capture:


File Attachment:


it shows 3.1 version in version column, but its overview still show it is 3.0 May /2013? Did I get a right verion??? Or you forgot updating your overview version information?
If I still had the old version, I would be shocked. bcs I deleted everything including cache and totally reinstalled the new version.
The topic has been locked.
Support Specialist
Looks like we forgot to update the version information in that description box. The Extension Manager in Joomla is accurate, our description is not.

We'll get that fixed with the next release as there are a few other minor bugs that have been reported. Overall, the 3.1 release seems to have fixed a lot of common issues though.

Sorry for the confusion,
Alex
The topic has been locked.
Active Subscriptions:

None
ok.it means I did install version 3.1.
Just for a double check.
I compared all files in zip file (3.1) with all files under mod_sc_login folder on the server side(after installation). I found they are different, as the attached picture shows. Could you double check it for me to ensure I did a right installation?
File Attachment:


I need to make sure I did a right one.
For 3.1 version(if my installed one is correct 3.1), where can I change Log out from button to text( you said you would add this feature in the update)
so far I browsed all options and they are almost same 3.0 version. no any extra or new.
The topic has been locked.
Support Specialist
There still isn't a way to change the logout button to text. However, if you're using the the User Menu option (to show a Joomla menu), we've added a way to add a text logout button to that menu easily that, when clicked, will immediately log the user out. That's in contrast to the normal Joomla Logout menu item which redirects to the logout page.

If you aren't using the menu, you can edit the /modules/mod_sclogin/helper.php file to change it. Around line 291, you'll see:
function getLogoutButton($useSecure, $jLogoutUrl)
    {
        return '<div class="sclogin-joomla-login">
            <form action="' . JRoute::_('index.php', true, $useSecure) . '" method="post" id="sclogin-form">
                <div class="logout-button" id="scLogoutButton">
                    <input type="submit" name="Submit" class="button btn btn-primary" value="' . JText::_('JLOGOUT') . '" />
                    <input type="hidden" name="option" value="com_users" />
                    <input type="hidden" name="task" value="user.logout" />
                    <input type="hidden" name="return" value="' . $jLogoutUrl . '" />'
        . JHtml::_('form.token') . '
                </div>
            </form>
        </div>';
    }
Update that to:
function getLogoutButton($useSecure, $jLogoutUrl)
    {
        return '<div class="sclogin-joomla-login">'.
              '<a href="' . JRoute::_('index.php?option=com_users&task=user.logout&return=' . $this->getLoginRedirect('jlogout') . '&' . JSession::getFormToken() . '=1') . '">' . JText::_('JLOGOUT') . '</a>';
    }
I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago - 10 years 7 months ago #35977 by fei
I tried the Show User Menu. I chose my top menu which currently only has two menu item in it --- My Account and Log out.
I disabled SHow Log out Button. Chose SHow User Menu and User Menu Typ is List.
have a look this screen capture:

File Attachment:


Question:
1 ) Why it still showed the Top Menu words?? I wan to show the 1st Menu item -- My account as the 1st one there.
2) Why there is horizontal black bar?? DOn't want it
3) Why menu items are layed horizontally there? instead of dropdown list like your demo??
Currently all menu items are shown by defaul even I didn't click. I want to click My account and then it shows drop down list -- menu items, --- same as your demo.
4) For log out, I need to manually give it a url. what url I should give ? (joomla 2.5)

In overall I want to Dropdown list (not dropdown buttons), same as you demo . why is this so hard to get it to be same as your demo,
I think you should stop adding more or fixing more features for a while and give us a good documentation about how to use and how to adjust in detail. I spent too much time on making it work as normal one like your demo.

PS: At least, one step by step tutorial about how to set the module to be same your demo. it is bcs most users choose to try after seeing the demo. so at least there should a direct manual to make it easy to have that demo on our sites.

thanks.
Last edit: 10 years 7 months ago by fei.
The topic has been locked.
Active Subscriptions:

None
10 years 7 months ago - 10 years 7 months ago #36050 by fei
my testing site: www.idream.com.au/
any reply??
Last edit: 10 years 7 months ago by fei.
The topic has been locked.
Active Subscriptions:

None
just want to know how to get SHow User Menu in log out working.
and
how to insert a log out link (what is the url for log out for Joomla 2.5)?

Look forward to your help asap. cheers
The topic has been locked.
Support Specialist
Fei,
Thanks for your patience. I just had a chance to look at your site. I registered and saw the user menu on your page, and it's definitely not dropping down or doing anything else properly. Looking at the HTML on your page, our CSS is not being included. The way to include that CSS is to enable the "Include Bootstrap" option in the SCLogin module. That CSS is what turns the unordered list (ul's and li's) in the menu into the dropdown that you're looking for. Without that CSS, the user menu will just have the styles of your template, which aren't setup to display the drop-down how our module would.

I know you've had issues with the modal popup, and that's probably why you disabled the Bootstrap setting. The SCLogin module needs both jQuery and Bootstrap (both the Javascript and CSS) included on your page. We have settings to disable those, but that should be used only if those are being loaded by something else, like your template.

We'll need to get to the bottom of the conflict if enabling that setting causes issues again. We are looking at a few ways to improve compatibility between the SCLogin module and some templates that have conflicts, but we need information from users that have these conflicts to determine how best to do it.

Logout link
To get a logout link that logs the user out when clicked, do the following:
* Go to your Menu Manager and click into the User Menu that you've already setup.
* Create a new menu item of type "External Link"
* Set the Title to whatever you want to display in the menu
* Set the "Link" to "sclogout" - SCLogin will detect that and create the logout button properly

Please test and let me know how that goes.

Thanks,
Alex
The topic has been locked.
Support Specialist
Oh, one thing to note that I saw on your site while testing. Your template is including the following very long file in your HTML:
http://www.idream.com.au/qcs/templates/vp_supermart/css/customstyle/style.css?s=Ym9keV9iYWNrZ3JvdW5kPUZBRkFGQSZib2R5X2JhY2tncm91bmRfcGF0dGVybj1pbWFnZXMvc3VwZXJtYXJ0L3BhdHRlcm5zL3RyYW5zcGFyZW50LmdpZiZnZW5lcmFsX3RleHQ9Jm11dGVkX3RleHQ9JmRhcmtfdGV4dD0maGVhZGVyX3RleHQ9JmxpbmtfdGV4dD0maWNvbj0mYm9yZGVyPSZpbnB1dF90ZXh0Ym94X2JnPSZpbnB1dF90ZXh0Ym94X2JvcmRlcj0maW5wdXRfdGV4dGJveF90ZXh0PSZidXR0b25fYmc9NkI2QjZCJmJ1dHRvbl90ZXh0PSZidXR0b25fdGV4dF9zaGFkb3c9JmJ1dHRvbl9ob3Zlcl9iZz1GRjMzMzMmYnV0dG9uX2hvdmVyX3RleHQ9JnRvcF9iYXJfYmc9JmhlYWRlcl9iZz0mc2xpZGVyX2Jhbm5lcl9iZz0mbWFpbl9iZz0maW5mb19iZz0maW5mb19ib3JkZXI9JmJvdHRvbV9iZz0mYm90dG9tX2hlYWRlcj0mYm90dG9tX3RleHRzPSZmb290ZXJfYmc9JmZvb3Rlcl9ib3JkZXI9JmZvb3Rlcl90ZXh0cz0mZm9vdGVyX2xpbmtzPSZtZW51X2JvcmRlcj0mbW9iaWxlX2Jhcl9iZz0mbW9iaWxlX21lbnVfYmc9Jm1vYmlsZV9tZW51X2JvcmRlcj0mYm94X2JnPSZzZWNvbmRfYm94X2JnPSZib3hfYm9yZGVyPSZib3hfc2hhZG93PSZsb2FkX2JnPSZsb2FkX2JvcmRlcj0mbG9hZF90ZXh0PSZwcm9kdWN0X3ByaWNlPSZwcm9kdWN0X29yaWdpbmFsX3ByaWNlPSZpbl9zdG9jaz0mb3V0X3N0b2NrPUZGMDAwMCZwcm9kdWN0X3NvcnRfYmc9JnByb2R1Y3Rfc29ydF9ib3JkZXI9JnByb2R1Y3Rfc29ydF9zaGFkb3c9JmFkZHRvY2FydF9iZz0mYWRkdG9jYXJ0X3RleHQ9JmFkZHRvY2FydF90ZXh0X3NoYWRvdz0mYWRkdG9jYXJ0X2hvdmVyX2JnPSZhZGR0b2NhcnRfaG92ZXJfdGV4dD0%3D
When opened, it's completely empty. It seems strange and should be looked into. This has *nothing* to do with the above.. just something strange I saw and though I should point out.

Alex
The topic has been locked.