Textpattern Forum

You are not logged in. Register | Login | Help

#31 2005-07-16 23:35:49

paularms
Member
From: University of Minnesota
Registered: 2004-10-21
Posts: 155
Website

Re: ign_password_protect

The documentation for 0.3 is not displaying correctly. It would be nice if that could get fixed.

Offline

#32 2005-07-17 02:21:03

igner
Plugin Author
Registered: 2004-06-03
Posts: 336

Re: ign_password_protect

Yeah, geez, who wrote this crap plugin…uh, right. that’d be me.

@creativesplash – that’s the right tag…but I’m not sure if you’re using the right version of the plugin – double-check for me that you’re using 0.3…or grab the updated 0.3a (fixes a minor bug with current revs).

@paularms – right, sorry ‘bout that problem with the documentation, moved to a new machine and neglected to correct the pointer to the Textile parser. Fixed now.


And then my dog ate my badger, and the love was lost.

Offline

#33 2005-07-17 05:39:05

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: ign_password_protect

I am using 0.3 coz I can see the function (ign_usr_online) in the code. Anyways will check 0.3b and let you know how it went.

Last edited by creativesplash (2005-07-17 11:35:50)


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#34 2005-07-17 11:36:50

igner
Plugin Author
Registered: 2004-06-03
Posts: 336

Re: ign_password_protect

if you’re still having problems with it, send me a URL & user / pass offlist, I’ll take a look.


And then my dog ate my badger, and the love was lost.

Offline

#35 2005-07-17 13:39:14

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: ign_password_protect

I still have problems. I’ve emailed you the login information.

I’ve protected the whole of the “default” page. Feel free to move things around. Thanx. :)


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#36 2005-07-18 04:12:40

igner
Plugin Author
Registered: 2004-06-03
Posts: 336

Re: ign_password_protect

ok, took me a bit to track things down, but both problems are solved as of 0.3b1

Last edited by igner (2005-08-08 13:54:36)


And then my dog ate my badger, and the love was lost.

Offline

#37 2005-07-18 04:26:09

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: ign_password_protect

Thank you so much Igner. I’ll have a go at it and let you know how it went!

Edit: I just checked it out and it’s doing its job. Thanx again.

(I know I’ve burdened you enough) Still, I would like to request for a few more features..

1. Display the “logged in” users Real name

2. When clicking on a username (online users) is it possible to display a pop-up containing the users profile (username, real name, email and privilege)

I know its tough to do but any pointers will help.

Last edited by creativesplash (2005-07-18 05:14:53)


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#38 2005-08-02 17:45:12

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: ign_password_protect

Hello again Jeremy,

I hacked your code so that it displays ONLY the logged in username….

Here’s the code..

<code>
function ign_logged_user($atts)
{ global $ign_user; extract(lAtts(array( ‘logged_msg’ => IGN_NOT_LOGGED_IN ), $atts)); $user= !empty($ign_user) ? graf($ign_user) : ‘’; return $user;
}
</code>

<p>The problem is that the username is automatically wrapped with a <code><p></p></code>. What I do to get rid of the <code><p></code> tags?</p>

Last edited by creativesplash (2005-08-02 17:46:28)


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#39 2005-08-02 18:46:12

igner
Plugin Author
Registered: 2004-06-03
Posts: 336

Re: ign_password_protect

get rid of the graf() function and just return $ign_user. So it’d be:

<code>
$user = !empty($ign_user) ? $ign_user : ‘’;
</code>

I haven’t forgotten your other request(s) (the one above and providing a password reset mechanism for underprivileged users) – I’ve just been caught up on another project of late. Should have some time soon to work on it.

J


And then my dog ate my badger, and the love was lost.

Offline

#40 2005-08-03 03:20:10

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: ign_password_protect

I’m glad you remember my requests. Thank you!


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

Board footer

Powered by FluxBB