Loginform Loginform
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Loginform

Started by Stramm, June 30, 2006, 04:36:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Stramm

Cause someone needed a loginform similar to bbs loginforms that appeare on the main page somwhere below the menu
Works with a standalone CPG 1.4.x

edit: adding a screenshot

edit: new version 1.1 (01-08-2007), it's possible to place the loginform where you want with placing the tag {LOGIN_FORM} anywhere in your template.html. If you do not use that tag, the loginform will appeare after the sub menu.

bobby131313

Hey Stramm, thanks for the great plug-in.

I got it working on my gallery, I even figured out how to tweak it a little to fit my sidebar.

But now I would like to put it in my custom header and can't figure out how, if it's even possible using your plugin.

Can you help?

Thanks!


Stramm

that's not how it works... for having it in the custom header you basically have just to copy the plugins html output there (in a if else clause)

bobby131313

Thanks Stramm, took your advice and got it working, looks pretty good too.  ;D


Pascal YAP

#4
Stramm,

Usefull plugin yet ;D
LoginForm in our French Board

Thanx again...

PYAP

hydroplane

Is it possible to move the login box above the menu? And, if yes, how?
Thanks in advance.

Stramm

yes, download the new version and read the first post of this thread

hydroplane

Works like a charm. Many thanks again!

santosh_iit32

i have the gallery integrated with phpbb forum. it doesnt seem to work after installation of the plugin and how do I manage this plugin? I placed {LOGIN_FORM} but "{LOGIN_FORM}" there and it shows up elsewhere... how do I positioned this plugin?

Stramm

Quote from: Stramm on June 30, 2006, 04:36:55 PM
... Works with a standalone CPG 1.4.x ...

it doesn't work in a bridged environment... therefore you'll have to modify it. Don't ask me how cause I do not use phpbb

santosh_iit32

thats too bad. anyways thanx for the reply.

Gephri

has anyone been able to get this working in a bridged environment with phpbb... so close...

Nibbler

You'd need to modify the form to point to the board's login page and change the input names to match.

Gephri

I have the following issue when trying to bridge coppermine and phpBB using CPG Stramm Loginform Plugin 1.1:
A user can not log OUT properly because the SID doesn't carry through the process.  Any idea how to get the logout process to recognize the phpBB session id on logout?

Nibbler has suggested
QuoteGet the plugin to use cpg_udb::logout() or if that's not possible the session id is stored in $cpg_udb->sid.
but I'm not sure how to use that advice.

Coppermine install: /cpg/
Forum install: /phpbb/
Coppermine version: cpg1.4.10
Forum version: phpBB 2.0.22
Cookie name/preifx:  ss_pg_cookie



rubenix

Hi All,

First of all thanks for this lovely plugin.
2nd after installing this beauty (works perfectly) I just found an error on the normal login page... login.php The tables are not centered anymore...

Please I just need help as i dont know what going on here!! Am not a coder and dont know where to start...

Thanks in advance guys

rubenix

solved: I just make this small change on codebase.php

<table cellpadding="0" cellspacing="0" border="0">

Thanks any way!

will

Hi Stramm

I've started using this plugin since the PMs plugin isn't supported with Invision, I wanted to know how to add the user group to it.

Any help will be great ;)

Stramm

Not sure what you mean with usergroup and what you want to do with that. When a user logs in, then the system knows in what usergroup he is. Usually that's saven in the user table

will

I want to diplay what usergroup they are in under 'Welcome back (User)' like Admin, Suer Mods, Mods, Members etc ;)

Stramm

the constant
USER_GROUP
holds the usergroup name...

use it eg like...
$loginFormHtml = "<div align=\"right\" class=\"smallfont\">Welcome back <strong>".(USER_NAME).', '.(USER_GROUP)."</strong><br />";