Combining Login box with some variable tags.
5 posters
Page 1 of 1
Combining Login box with some variable tags.
Hi there.
I want to create a control panel type box to go on my forum widgets.
So basically I just want the login box, with some text, some variables and some basic html underneath. Shouldn't be too hard right? Any ideas? You can't edit the login box directly...
I want to create a control panel type box to go on my forum widgets.
So basically I just want the login box, with some text, some variables and some basic html underneath. Shouldn't be too hard right? Any ideas? You can't edit the login box directly...
Re: Combining Login box with some variable tags.
Yes its not difficult just add the basic html codes. Where are you stuck?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Combining Login box with some variable tags.
Sanket wrote:Yes its not difficult just add the basic html codes. Where are you stuck?
I don't know how to get the code for the login box into a new widget which I can combine with the HTML.
Thanks for your reply.
Re: Combining Login box with some variable tags.
Hello ribena_wrath,
I believe that this is the HTML code that you're looking for:
Regards,
Base
I believe that this is the HTML code that you're looking for:
- Code:
<form method="post" action="/login"><p><label for="username"><strong>Username:</strong></label></p><p style="height: 2em;"><input type="text" class="inputbox autowidth" value="" maxlength="40" size="15" id="username" name="username"></p><p><label for="password"><strong>Password:</strong></label></p><p style="height: 2em;"><input type="password" class="inputbox autowidth" maxlength="25" size="15" name="password" id="password"></p><p align="center"><a rel="nofollow" href="/profile?mode=sendpassword">I forgot my password</a></p><p align="center"><input type="checkbox" checked="checked" class="checkbox" tabindex="4" id="autologin" name="autologin"><label for="autologin"> Log me on automatically at each visit</label></p><p align="center"><input type="submit" class="button" value="Log in" tabindex="6" name="login"></p></form>
Regards,
Base
Re: Combining Login box with some variable tags.
Hello
Thanks for the reply!
That is not exactly what I am looking for, but you're on the right track.
I basically want the log in features, plus the code that recognises someone is online, and then shows the welcome message to the user and their avatar. I want to combine it with some variables and HTML to give them some useful links ect.
I can get the code to make a copy of the login box. I tested it with my mod username, and it shows the avatar and user name of the username I used to edit the site!
The code you supplied keeps no information of the user, and is simply a login box.
Thanks for the reply!
That is not exactly what I am looking for, but you're on the right track.
I basically want the log in features, plus the code that recognises someone is online, and then shows the welcome message to the user and their avatar. I want to combine it with some variables and HTML to give them some useful links ect.
I can get the code to make a copy of the login box. I tested it with my mod username, and it shows the avatar and user name of the username I used to edit the site!
The code you supplied keeps no information of the user, and is simply a login box.
Re: Combining Login box with some variable tags.
May I remind you that double/triple posting isn't tolerated unless separated by 24 hours (Use the edit button)
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Combining Login box with some variable tags.
Ah i get what you mean as i wanted the same.
I can't help you unfortunately but i'll help everyone else understand.
He wants, the log in box you provide, where when you log in, it changes to have your avatar and 'My Profile' link, but he also wants it to include other user CP links, like 'Preferences' and 'Friends' etc...
I can't help you unfortunately but i'll help everyone else understand.
He wants, the log in box you provide, where when you log in, it changes to have your avatar and 'My Profile' link, but he also wants it to include other user CP links, like 'Preferences' and 'Friends' etc...
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Combining Login box with some variable tags.
LGforum wrote:Ah i get what you mean as i wanted the same.
I can't help you unfortunately but i'll help everyone else understand.
He wants, the log in box you provide, where when you log in, it changes to have your avatar and 'My Profile' link, but he also wants it to include other user CP links, like 'Preferences' and 'Friends' etc...
Yep! You truly are a saint
Re: Combining Login box with some variable tags.
Have you looked on er.. i think it was in 'Tricks and Tips' i dont know, i can't remember, but it basically has the code for a User CP widget?
If you haven't i'll try and find it for you, if you have... well then you know where it is lol.
It doesn't have the whole log in feature which you want, but its start on the other codes, and hopefully someone will provide a code for the log in thing here.
EDIT: okay here's the link: https://help.forumotion.com/t42100-control-panel-for-users
as i mentioned, it doesn't contain the log in feature but it may help.
If you haven't i'll try and find it for you, if you have... well then you know where it is lol.
It doesn't have the whole log in feature which you want, but its start on the other codes, and hopefully someone will provide a code for the log in thing here.
EDIT: okay here's the link: https://help.forumotion.com/t42100-control-panel-for-users
as i mentioned, it doesn't contain the log in feature but it may help.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Combining Login box with some variable tags.
Hi,
Also, for the login box/profile details (like here on the support forum) it's a widget Admin panel >> Modules > Widgets > Log in > 'Drag n drop' it and save, then have your control panel below it (link in above post)
Also, for the login box/profile details (like here on the support forum) it's a widget Admin panel >> Modules > Widgets > Log in > 'Drag n drop' it and save, then have your control panel below it (link in above post)
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Re: Combining Login box with some variable tags.
Darren1 wrote:Hi,
Also, for the login box/profile details (like here on the support forum) it's a widget Admin panel >> Modules > Widgets > Log in > 'Drag n drop' it and save, then have your control panel below it (link in above post)
I'm actually using this at the moment. It works fine, but I just wanted to streamline the whole thing really.
Re: Combining Login box with some variable tags.
Ok, that sounds good
Did you want something like our "Shortcuts" underneath the avatar/login box?
I don't know the code for the swapping login box & Avatar pending user status.
Did you want something like our "Shortcuts" underneath the avatar/login box?
I don't know the code for the swapping login box & Avatar pending user status.
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Re: Combining Login box with some variable tags.
Darren1 wrote:Ok, that sounds good
Did you want something like our "Shortcuts" underneath the avatar/login box?
I don't know the code for the swapping login box & Avatar pending user status.
Well I want exactly what I have on my forum already, here
It's the 'control panel boxes on the top right. Obviously you won't be logged in, but I'm sure you'll recognise the coding.
Appreciate all the help btw guys.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum