Page 1 of 1

Registration plugin

Posted: Thu Oct 12, 2006 4:35 am
by rj
To begin with, the self registration plugin takes up too much room for me.
There seems to be three unnecessary <br>s between the top link and the input boxes. And the boxes are too long forcing my sidebar to be too wide for everything else.

After a month of this, style.css and I have become friends! Mainly due to switching to carl's contest theme were its all formated nicely and has good explain text. Thank you Carl...

I can't seem to find where I can tweak this plugin more to my liking.

And secondly, I would like to move the whole thing out of the sidebar up into a header nugget. How would I do that?

If I cant do that, is there an easy way to just have only a link in the sidebar that says REGISTER and then the plugin pops up as a window or something?

Oh, and if I have the feed icons on my catagories, what is the need to show them below on the sidebar. Can I just hide them?

Re: Registration plugin

Posted: Thu Oct 12, 2006 10:15 am
by garvinhicking
Hi!

I believe many things could be tuned using CSS. You can even use tricks like "br { display: none}" for the sidebar element.

The input boxes are also controlled through a "width" CSS property that you need to adjust.
And secondly, I would like to move the whole thing out of the sidebar up into a header nugget. How would I do that?
Well...that would take you some template editing. You would need to set the user-self-registration plugin as "hidden" in your plugin manager, and then you need to take the steps described here:

http://www.s9y.org/78.html -> serendipity_showPlugin

You need to use that Smarty function call and put it in the place of your index.tpl template where you want it. Something like this:

{serendipity_showPlugin class="serendipity_plugin_adduser" side="hidden"}

Since the plugin executes PHP code and not just HTML output, you cannot just put it into a nugget. Nuggets can only take HTML/JavaScript.
If I cant do that, is there an easy way to just have only a link in the sidebar that says REGISTER and then the plugin pops up as a window or something?
You could have that as well. Just insert a link that takes you to the event-plugin for registering: http://yourblog/index.php?serendipity[subpage]=adduser - then you could remove the sidebar plugin and just keep the event plugin.
Oh, and if I have the feed icons on my catagories, what is the need to show them below on the sidebar. Can I just hide them?
Sure, you can remove any sidebar plugin you don't want. But having feeds for Categories is not the same as havinga feed for everything. Most people usually want to subscribe to your whole blog.

Best regards,
Garvin

Posted: Fri Oct 13, 2006 12:12 am
by rj
You could have that as well. Just insert a link that takes you to the event-plugin for registering: http://yourblog/index.php?serendipity[subpage]=adduser - then you could remove the sidebar plugin and just keep the event plugin.
Okay, this is what I decided I want to do.
I assume that I could add that to the header nugget?
As html <a href=>?
And how will it come up?
As a window the same size as the plugin container?

Posted: Fri Oct 13, 2006 4:01 am
by rj
It all worked really really well and I am very very happy! Thanx!

I resloved my last problem and need one more bit of help on this
Just insert a link that takes you to the event-plugin for registering: http://yourblog/index.php?serendipity[subpage]=adduser - then you could remove the sidebar plugin and just keep the event plugin.
I need the same string for the administration plugin so I can move that into the nugget too. Well not the whole string but that last part with the =

thanx

rj

Posted: Fri Oct 13, 2006 5:35 am
by judebert
Are you trying to find the link to access your Admin page? If so, why not copy it from the existing one on the homepage?

I believe you can just use {your blog path}/serendipity_admin.php.

Posted: Fri Oct 13, 2006 7:12 am
by rj
I had to laugh like hell on that one. :)

Sometimes things are so easy they pass us by...
Thanx

Posted: Fri Oct 13, 2006 7:22 pm
by judebert
It's funny, isn't it? It always feels like it should be more complicated.