A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Can you use the profile modal for wordpress login?
Jul 1, 2010
2:47 am
Rookie
Forum Posts: 5
Member Since:
Jul 1, 2010
Offline

Hey,

Firstly I have to say that I love your forum software! In the past I have tried to integrate a few with my wordpress built site (http://flickfeast.co.uk) and all the others are simply rubbish compared to this one!  Smile

I especially like the profile modal that you have for the forum users profile info. I would like to use that for the site login/register (to increase the forum and site integration and general flow). Is this possible? If so can you give me any tips on how to get it working?

Many thanks,
Rob

Jul 1, 2010
3:14 am

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

Do you mean you would like the login to be on a modal popup?
That wouldn't be that hard if using the built in SP inline login. I am not sure about registration though as this is pure WordPress.

Yellow Swordfish
Jul 1, 2010
3:43 am
Rookie
Forum Posts: 5
Member Since:
Jul 1, 2010
Offline

Yes, I wouldlike the login to be on a modal popup (for both the site and forum). In that respect it would be best if the login methods were consisent between the two.

 

I currently have a login link at the top of my site which uses the wordpress method <?php wp_loginout(); ?>, and next to that a register link using <?php wp_register(); ?>. I then also have the standard SP login link at the top of the forum.

 

It would be great if I could make the login method more consistent across the two. I guess I could remove the SP login links and just rely upon the main site one. But I thought it might be nice to incorporate it into the modal method that SP already uses for the profile info. Just not sure how to go about doing that Confused

Jul 1, 2010
4:01 am

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

The thing you need to remember is that login, logout, registration are all pure WordPress. The SP inline login form simply collects the data and then hands off procesing to the standard WP routine. These are not separate routines.

So – as I say  the inline login form that SP provides could easily be placed into a popup but the WP login form and the registration form could not so easily be coded to do that – although if your jQuery and jQuery Ajax are good then both could be done.

You know – there may already be a plugin that does this…. might be worth spending some time hunting just in case…

Yellow Swordfish
Jul 1, 2010
4:08 am
Rookie
Forum Posts: 5
Member Since:
Jul 1, 2010
Offline

Ok, I understand now. I have hunted high and low and surprisingly I haven't been able to find a suitable plugin Frown

 

I think it would be a good start to just have the inline login form in a popup. Are you able to help me with that?

Jul 1, 2010
4:22 am

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

I can point you in the right direction.
The function you need is in forum/sf-page-components.php and is called sf_render_login_strip(). Note that this function is pluggable so there is no need to actually change it – you could copy it to the 'pluggable' file and edit the copy (see wiki/plugn API section).
Also in that file is a routine called sf-render_version_strip() which is responsible for the strip at the bottom and, in particular, the popup about/ackowledgements box. This makes a good model for what you would need to do.

Yellow Swordfish
Jul 1, 2010
4:54 am
Rookie
Forum Posts: 5
Member Since:
Jul 1, 2010
Offline

Great, I'll give it a go.

Thanks

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: steve.engelking, irlandes1
63 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2626

Members: 7363

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10897

Posts: 79582

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22240), Mr Papa (23688)