Support Request

kampester

Joined: 2007-11-13
Posts: 1
Posted: Mon, 2007-11-19 19:01

Hello

I am looking for ongoing paid support and would like to find someone who as direct experience working with this plugin.

I have attempted to integrate gallery 2 and wordpress blog here:

http://dogandcatpics.com/wpg2 I have used the WPG2 plugin, however I can not get the Gallery to display a login form. The registry link is there and a new user can register, but I can not figure out how to display the login form.

Can someone help with this issue?

Here are my requirements for this project:

1) Display login form on wordpress blog homepage
2) Display login form/link on gallery homepage Assumption: login for WP and
Gallery are connected

Thanks

Regards Erik

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2007-11-19 23:17

Hiya Kampester,

We just do not offer paid support, as neither Kirk nor myself has the time to devote to paid support.. That said we are more than happy to help you here in the forums..

A few things, by default WPG2 plugin will only create Gallery2 users for certain Wordpress Roles. This link will help explain this..

Install the role manager plugin and change the relevant role to have Gallery2 User and WPG2 will extend the single signon event for you to log the user into Gallery2..

As for the login link in Gallery2 pointing back to Wordpress.. Hmm not sure how to do this, it might be possible, we will tackle that one next..

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
Deer_eye

Joined: 2007-10-01
Posts: 19
Posted: Tue, 2007-11-20 13:25

Hi Kampester

Take a look at my page

http://www.reisesucht.ch

It's easy to implement the gallery login form on wordpress. Just add a text widget to your wordpress presentation and add the code that generats the login form for you.

That's the code i used.

Quote:
<p><b>Please login:</b></p>
<td id="gsSidebarCol">
<div id="gsSidebar" class="gcBorder1">
<div class="block-core-LoginBlock gbBlock">
<form id="LoginForm" action="/gallery2" method="post">
<div>
<input type="hidden" name="g2_returnName" value="Album"/>
<input type="hidden" name="g2_return" value="/gallery2?g2_wpg2_returnurl=http%3A%2F%2Fwww.reisesucht.ch&amp;g2_wpg2_returnname=reisesucht.ch"/>
<input type="hidden" name="g2_formUrl" value="/gallery2?g2_wpg2_returnurl=http%3A%2F%2Fwww.reisesucht.ch&amp;g2_wpg2_returnname=reisesucht.ch"/>
<input type="hidden" name="g2_authToken" value="6caf9a419ae3"/>

<input type="hidden" name="g2_controller" value="core.UserLogin" />
<input type="hidden" name="g2_form[formName]" value="UserLogin" />
<input type="text" id="giFormUsername" size="15"
name="g2_form[username]" value="Benutzername"
onfocus="var f=document.getElementById('giFormUsername'); if (f.value == 'Benutzername') { f.value = '' }"
onblur="var f=document.getElementById('giFormUsername'); if (f.value == '') { f.value = 'Benutzername' }"/>
<input type="password" id="giFormPassword" size="15"
name="g2_form[password]"/>

<input type="submit" class="inputTypeSubmit"
name="g2_form[action][login]" value="Anmelden"/>
</div>
</form>
</div>

But you have to use yourself, you can copy it from your gallery sourcecode...

 
slamp

Joined: 2006-04-05
Posts: 11
Posted: Fri, 2007-11-23 19:16

hey Deer_eye, is your gallery2 in embedded mode?

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sat, 2007-11-24 01:46

No Deer_Eye Gallery2 is not in embedded mode thus why deer_eye requires a Gallery2 Login. We are experimenting with a few different ways to display Gallery2 in WPG2 3.1 due out sometime early next year..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo