Hovering Login Bar

Started by Matthew K., February 07, 2010, 11:46:18 PM

Previous topic - Next topic

Matthew K.

Link to Mod

Hovering Login Bar





Written by: Labradoodle-360
Current version: 1.0
Suitable for: SMF 2.0 RC2

Link to Mod | Donate





Summary

Hovering Login Bar adds a hovering bar at the bottom of your screen that floats, meaning it follows your screen as you scroll. Which encourages people to either login or register. It includes a login form, supporting Open ID as well.

Hovering Login Bar was also created to appear inline, it LOOKS like the bottom of your forum as it floats!

It also has 3 links, one to resend activation email, forgot password and a register link.

Hovering Login Bar disappears on actions such as Register and Login, in addition it extends the height of the forum so that the footer and copyright is still visible.

Installation

Package Manager should work in most cases. If you need to make any edits, the full list can be obtained from the Parse function on the right..

Useful links
Manual Installation Of Mods
How Do I Modify Files?

Support

Questions should be address to the mod support topic.

Updating

Updates will be added here.

Changelog

1.0 - 28 January 2010
First release of Hovering Login Bar

Files modified by Hovering Login Bar
./Themes/default/index.template.php
./Themes/default/css/index.css
./Themes/default/languages/Modifications.english.php

Sudhakar Arjunan

Good and excellent Work.

Got some error on error log.

Says,

Type of error: Undefined
http://forum.com/index.php?action=admin;area=logs;sa=errorlog;desc;f1f18b4=5322b28587ec28f049f5e44be52bcdb98: Undefined variable: contextFile: /home/server/public_html/forum/Themes/default/languages/Modifications.english.php
Line: 306

Check the file and got this line on 306.

$txt['join_free'] = 'Join '. $context['forum_name']. ' Free!';

Kindly check once. Thank you.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Matthew K.

I apologize for the issue, I will resolve it right when I have access to my laptop (3AM my time).

I may not be able to submit the update to the modsite until later tomorrow due to no internet for my laptop.

However, I will post the change(s) once I can analyze the code on a computer,
Labradoodle-360

Sudhakar Arjunan

It would be so good.

Kindly update it once possible.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Matthew K.

My laptop that I have all of my files on, and that I develop on has a problem that doesn't allow me to use it.

For now, this should work.

./Themes/default/languages/Modifications.english.php
Code (Find) Select
// Labradoodle-360's Hovering Login Bar Mod.
$txt['login'] = 'Login';
$txt['resend_act_email'] = 'Resend Activation Email';
$txt['forgot_password'] = 'Forgot your Password?';
$txt['join_free'] = 'Join '. $context['forum_name']. ' Free!';
$txt['hovering_login_bar_separator'] = ' |';

Code (Replace) Select

// Labradoodle-360's Hovering Login Bar Mod.
$txt['login'] = 'Login';
$txt['resend_act_email'] = 'Resend Activation Email';
$txt['forgot_password'] = 'Forgot your Password?';
$txt['join'] = 'Join';
$txt['free'] = 'Free!';
$txt['hovering_login_bar_separator'] = ' |';


./Themes/default/index.template.php
Code (Find) Select

<span class="register_link"><a href="', $scripturl, '?action=register" title="', $txt['join_free'], '" target="_self">', $txt['join_free'], '</a></span>

Code (Replace) Select

<span class="register_link"><a href="', $scripturl, '?action=register" title="', $txt['join'], '', $context['forum_name'], '', $txt['free'], '" target="_self">', $txt['join'], '', $context['forum_name'], '', $txt['free'], '</a></span>

Matthew K.

Did this solution resolve your issue?

I am trying to catch up on mod support before updating my mods, as my computer is still down. Trying to use my time as well as I can, and support comes first in my opinion.

Labradoodle-360

shakaran

Please update for SMF 2.0 RC3.

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
My blog: http://www.shakaran.net
Quijost: professional & reliable webhosting (with SMF support) http://www.quijost.com
Tivion: a player for streaming TV and Radio channels http://www.shakaran.net/blog/tivion
Spanish RPG game: http://www.apogeus.es & http://www.apogeus.es/ao

Matthew K.

Try using version emulate. The edits are definitely compatible with RC3.

Thanks for the reminder though :)

shakaran

Thanks, spanish-utf8 translation:

$txt['login'] = 'Acceder';
$txt['resend_act_email'] = 'Reenviar email de activaci&oacute;n';
$txt['forgot_password'] = '&iquest;Olvidaste tu contrase&ntilde;a?';
$txt['join_free'] = 'Unete '. $context['forum_name']. ' Gratis!';
$txt['hovering_login_bar_separator'] = '&nbsp;|';
My blog: http://www.shakaran.net
Quijost: professional & reliable webhosting (with SMF support) http://www.quijost.com
Tivion: a player for streaming TV and Radio channels http://www.shakaran.net/blog/tivion
Spanish RPG game: http://www.apogeus.es & http://www.apogeus.es/ao

Matthew K.


Advertisement: