xoops forums

Forum Index


Board index » All Posts




rossb

Just popping in
Posted on: 10/13 13:54
rossb
rossb (Show more)
Just popping in
Posts: 39
Since: 2006/8/28
#11

Re: Login not working except from user.php

Thanks @geekwright

For some reason (wearing too many hats), I'm still not getting it. Same result: nada when attempting to login. Here's the exact code, modified per my understanding of your suggestion:

<{if !$xoops_isuser}>
        <
input type="hidden" name="op" value="login"/>
            <{
$smarty.const._LOGIN}>&nbsp;
            <
input name="uname" type="text" />&nbsp;&nbsp;<input name="pass" type="password"/>
            <
input type="hidden" name="xoops_redirect" value="<{$smarty.server.REQUEST_URI}>" />

            <{if 
$lang_siteclosemsg}>
                <
input type="hidden" name="xoops_login" value="1" />
            <{/if}>
            <
button type="submit"><img src="/SecureOffice_Images/icons/home.png" height="75%" alt="<{$smarty.const._LOGIN}>" /></button>
            <{if !
$lang_siteclosemsg}>
                &
nbsp;+&nbsp;<a href="<{xoAppUrl /register.php}>" class="register" title="<{$smarty.const._REGISTER}>"><{$smarty.const._REGISTER}></a>&nbsp;&nbsp;
            <{/if}>
        </
form>
    <{else}>


Thanks;
Bill


geekwright

Quite a regular
Posted on: 10/13 2:07
geekwright
geekwright (Show more)
Quite a regular
Posts: 269
Since: 2010/10/15
#12

Re: Login not working except from user.php

The query string of 'op=login' should not be part of the action URL. For security reasons, the GET input will be ignored in the POST method form submission.

The form should include this instead:
<input type="hidden" name="op" value="login">


rossb

Just popping in
Posted on: 10/12 17:00
rossb
rossb (Show more)
Just popping in
Posts: 39
Since: 2006/8/28
#13

Login not working except from user.php

Hi;

Xoops 2.5.9, site: www.rossco.org

I have a login field in my header, themes/xbootstrap/tpl/userbar.tpl , intended to replace / bypass going to user.php. Login using this does not work (no error messages, nada). Login via modules/profile/user.php works fine. What am I missing / doing wrong?

Here's the login image:
Resized Image

Thanks;
Bill

<div style="background: #F1F1F1 url('')">
<
div id="xo-banner" class="commercial" style="height:85px;">
    <
a id="xo-main-logo" class="commercial" href="<{xoAppUrl /}>" title=""><img src="/SecureOffice_Images/rossco.png" alt="<{$xoops_sitename}>" /></a>
    <{if 
$xoops_banner and $xoops_banner != '&nbsp;'}>
        <!-- <{
$xoops_banner}> width="480px" height="60px" -->
        <
iframe src=<{$xoops_url}>/images/banners/xoopsifyIt.gif border="0" scrolling="no" allowtransparency="true" width="480px" height="60px" style="border:0" align="right" alt="http://www.xoops.org/;"> </iframe>
    <{/if}>
</
div>

<
div id="xo-userbar" align="right">
    <{if !
$xoops_isuser}>
        <
form method="post" action="<{xoAppUrl /user.php op=login}>">
            <{
$smarty.const._LOGIN}>&nbsp;
            <
input name="uname" type="text" />&nbsp;&nbsp;<input name="pass" type="password"/>
            <
input type="hidden" name="xoops_redirect" value="<{$smarty.server.REQUEST_URI}>" />

            <{if 
$lang_siteclosemsg}>
                <
input type="hidden" name="xoops_login" value="1" />
            <{/if}>
            <
button type="submit"><img src="/SecureOffice_Images/icons/home.png" height="75%" alt="<{$smarty.const._LOGIN}>" /></button>
            <{if !
$lang_siteclosemsg}>
                &
nbsp;+&nbsp;<a href="<{xoAppUrl /register.php}>" class="register" title="<{$smarty.const._REGISTER}>"><{$smarty.const._REGISTER}></a>&nbsp;&nbsp;
            <{/if}>
        </
form>
    <{else}>
        <{
xoInboxCount assign=pmcount}>
        <
a href="<{xoAppUrl viewpmsg.php}>" title="<{$smarty.const._THEME_INBOX}>">
        <{if 
$pmcount}>
            <
img src="<{$xoops_url}>/SecureOffice_Images/icons/inbox-full.png" alt="<{$pmcount}> <{$smarty.const._THEME_INBOX_NOTREAD}>"/>
        <{else}>
            <
img src="<{$xoops_url}>/SecureOffice_Images/icons/inbox.png" alt="<{$smarty.const._THEME_INBOX}>"/>
        <{/if}>
        </
a>
        <
a href="<{xoAppUrl /notifications.php}>" title="<{$smarty.const._THEME_NOTIFICATIONS}>"><img src="<{$xoops_url}>/SecureOffice_Images/icons/note_view.png" alt="<{$smarty.const._THEME_NOTIFICATIONS}>"/></a>
        <
a href="<{xoAppUrl /user.php}>" title="<{$smarty.const._THEME_PROFILE}>"><img src="<{$xoops_url}>/SecureOffice_Images/icons/profile.png" alt="<{$smarty.const._THEME_PROFILE}>"/></a>

        <{if 
$xoops_isadmin}>
            <
a href="<{xoAppUrl /admin.php}>" title="<{$smarty.const._THEME_ADMINISTRATION}>"><img src="<{$xoops_url}>/SecureOffice_Images/icons/configuration.png" alt="<{$smarty.const._THEME_ADMINISTRATION}>" /></a>
        <{/if}>
        <
a href="<{xoAppUrl /user.php op=logout}>" title="<{$smarty.const._THEME_LOGOUT}>" ><img src="<{$xoops_url}>/SecureOffice_Images/icons/exit.png" alt="<{$smarty.const._THEME_LOGOUT}>"/></a>
    <{/if}>
</
div>
</
div>


Mamba

Moderator
Posted on: 10/11 9:53
Mamba
Mamba (Show more)
Moderator
Posts: 10779
Since: 2004/4/23
#14

Re: Calendar/Schedule module

What is so different there? You can adjust the CSS to look like the other, and you can adjust the time intervals.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs


belgi

Just popping in
Posted on: 10/9 17:05
belgi
belgi (Show more)
Just popping in
Posts: 7
Since: 9/29 18:03
#15

Re: Module Pedigree

Quote:

belgi wrote:
We don't understand each other. I uploaded xoops 2.5.6 and XOOPS2.5_mod_Pedigree_1.30_Beta1_xoops again. You said that the Alpha version is a test version and has bugs, so I uploaded the Beta version because I understand that the Beta version is good. (there is no other version). And just with the version XOOPS2.5_mod_Pedigree_1.30_Beta1_xoops are also these problems.
1. The photo will be sent to the catalog, but will not be sent to the dancyh database.
2. The new dog will be added to the database, but will not show on the page ... latest.php and in the search engine, it is not on the page.
3. But Owners and breeders are added to the base and shown on the site.
4. Will not upload new dog data to the database, e.g. pedigree number, tests, exhibitions and others.
5. In addition, there is an error in the module menu and the View / Search buttons have quotation marks. So it looks like this: "View / Search.
6. The WEBMASTER TOOLS button is available in the menu for registered users. I don't want it to be available. It cannot be changed in the program settings. How do you remove this button in the menu?
Users not logged in, unregistered do not have access to WEBMASTER TOOLS. This option is already saved in advance in the program. And for registered users it is available. It should not be like that. As an administrator, I have USER MENU available.
7. I can't replace the entire database because it gives a different page address. The Alpha 1.3.1 module is called pedigree, and the 1.30.1 Beta 1 module is called animal. So I only changed the tables with the data of dogs and users and the table with owners and breeders. Maybe I should replace some other table with the configuration?


Skype-Fr

Just popping in
Posted on: 10/9 15:16
Skype-Fr
Skype-Fr (Show more)
Just popping in
Posts: 28
Since: 2006/4/27
#16

Re: changing colors and visuals in a theme

Ok Mamba, ... Regards


Zap_English

Quite a regular
Posted on: 10/9 9:13
Zap_English
Zap_English (Show more)
Quite a regular
Posts: 381
Since: 2016/5/24
#17

Re: Calendar/Schedule module

Not at all the same, and I tried extcal. It's crap


Mamba

Moderator
Posted on: 10/8 21:48
Mamba
Mamba (Show more)
Moderator
Posts: 10779
Since: 2004/4/23
#18

Re: Calendar/Schedule module

We already have it:

http://demo.xoops.org/modules/extcal/view_agenda-week.php
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs


Zap_English

Quite a regular
Posted on: 10/8 16:00
Zap_English
Zap_English (Show more)
Quite a regular
Posts: 381
Since: 2016/5/24
#19

Calendar/Schedule module

Take a look at this link

I think xoops needs something like this. The example is on a wordpress site

weekly schedule


belgi

Just popping in
Posted on: 10/8 11:47
belgi
belgi (Show more)
Just popping in
Posts: 7
Since: 9/29 18:03
#20

Re: Module Pedigree

We don't understand each other. I uploaded xoops 2.5.6 and XOOPS2.5_mod_Pedigree_1.30_Beta1_xoops again. You said that the Alpha version is a test version and has bugs, so I uploaded the Beta version because I understand that the Beta version is good. (there is no other version). And just with the version XOOPS2.5_mod_Pedigree_1.30_Beta1_xoops are also these problems.
1. The photo will be uploaded to the catalog and not uploaded.
2. The new dog will be added to the database, but will not show on the page ... latest.php and in the search engine, it is not on the page.
3. Owners and breeders are added to the base and shown on the site.
4. Will not upload new dog data to the database, e.g. pedigree number, tests, exhibitions and others.
5. In addition, there is an error in the module menu and the View / Search buttons have quotation marks. So it looks like this: "View / Search.
6. The WEBMASTER TOOLS button is available in the menu for registered users. I don't want it to be available. It cannot be changed in the program settings. How do you remove this button in the menu?
Users not logged in, unregistered do not have access to WEBMASTER TOOLS. This option is already saved in advance in the program. And for registered users it is available. It should not be like that. As an administrator, I have USER MENU available.
7. I can't replace the entire database because it gives a different page address. The Alpha 1.3.1 module is called pedigree, and the 1.30.1 Beta 1 module is called animal. So I only changed the tables with the data of dogs and users and the table with owners and breeders. Maybe I should replace some other table with the configuration?



TopTop
« 1 (2) 3 4 5 ... 29242 »