Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: live627 on October 07, 2008, 10:16:43 PM

Title: Floating Bar Mod
Post by: live627 on October 07, 2008, 10:16:43 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1449)

Floating Bar Mod

This mod adds a bar at the top of the forum pages asking guests to register, login, or both. It will NOT show on register or login screens. Logged in users do not see it.

The site administrator can change the display text via the admin backend (Features and Options)

Tips to request help
When posting for help, please include:
Title: Re: Floating Bar Mod
Post by: ascaland on October 07, 2008, 10:23:50 PM
Very nice! Well done on this.  :D
Title: Re: Floating Bar Mod
Post by: Nibogo on October 07, 2008, 10:33:30 PM
Quote from: Project Evolution on October 07, 2008, 10:23:50 PM
Very nice! Well done on this.  :D

Thanks for the comments.

I am making a little tutorial for customize the bar
Title: Re: Floating Bar Mod
Post by: genieuk on October 08, 2008, 08:14:39 AM
Very Nice,

Again I wanted something like this.

Noticed a error i think thou in manual install Instructions.

./Themes/default/style.css

It says:

Find:



Replace With:

#topbar { position:absolute; border: 1px solid black; padding: 2px; background-color: lightyellow; width: 620px; visibility: hidden; z-index: 100; }

As you can see the find has nothing in it?

Very Nice, will install later.
Title: Re: Floating Bar Mod
Post by: katib on October 08, 2008, 09:03:25 AM
Quote from: NIBOGO on October 07, 2008, 10:33:30 PM
I am making a little tutorial for customize the bar
Thanks man
I will be waiting for such tutorial
could you include instruction on how to add a "register" and a "login" buttons with relevant input fields !?
Title: Re: Floating Bar Mod
Post by: Nibogo on October 08, 2008, 05:28:42 PM
Quote from: genieuk on October 08, 2008, 08:14:39 AM
Very Nice,

Again I wanted something like this.

Noticed a error i think thou in manual install Instructions.

./Themes/default/style.css

It says:

Find:



Replace With:

#topbar { position:absolute; border: 1px solid black; padding: 2px; background-color: lightyellow; width: 620px; visibility: hidden; z-index: 100; }

As you can see the find has nothing in it?

Very Nice, will install later.

Just add the code on the end of the file

Quote from: katib on October 08, 2008, 09:03:25 AM
Quote from: NIBOGO on October 07, 2008, 10:33:30 PM
I am making a little tutorial for customize the bar
Thanks man
I will be waiting for such tutorial
could you include instruction on how to add a "register" and a "login" buttons with relevant input fields !?

I will try to do it ;) , if I have the time of course
Title: Re: Floating Bar Mod
Post by: aED on October 09, 2008, 02:47:22 AM
Nice bro ill try to add this to my forum....


Thanks
Title: Re: Floating Bar Mod
Post by: geo32101 on October 11, 2008, 08:30:17 PM
How do I add it to a costume theme, I did the edit to the default theme but I dont want it for that one.
Title: Re: Floating Bar Mod
Post by: Nibogo on October 11, 2008, 08:40:00 PM
Quote from: geo32101 on October 11, 2008, 08:30:17 PM
How do I add it to a costume theme, I did the edit to the default theme but I dont want it for that one.

http://custom.simplemachines.org/mods/index.php?action=parse;mod=1449;attach=71390;smf_version=1.1.6

Do the manual edit
Title: Re: Floating Bar Mod
Post by: geo32101 on October 11, 2008, 08:51:52 PM
Do I just have to do the theme edits? Or all?
Title: Re: Floating Bar Mod
Post by: Nibogo on October 11, 2008, 09:06:13 PM
Quote from: geo32101 on October 11, 2008, 08:51:52 PM
Do I just have to do the theme edits? Or all?

Theme edits , the index.template and the style.css modifications
Title: Re: Floating Bar Mod
Post by: Costa on October 17, 2008, 06:19:23 PM
Translation to Brazilian

Code (Modifications.brazilian.php) Select

$txt['floating_bar_text'] = 'Bem-vindo visitante! Por favor, faça o <a href="'. $scripturl.'index.php?action=login"><b>login</b></a> ou o <a href="'. $scripturl 'index.php?action=register"><b>registo</b></a>';

$txt['floating_mode'] = 'Permitir o Mod Floating Bar?';

$txt['floating_text'] = 'Escreva um texto personalizado para os visitantes na Floating Bar';


Congrats for the mod
Title: Re: Floating Bar Mod
Post by: wilsond on November 04, 2008, 09:52:24 AM
I just installed this script but where do you to go to add your message? and to make it active?

it installed with no errors. I am using default theme
Title: Re: Floating Bar Mod
Post by: Nibogo on November 04, 2008, 06:04:19 PM
Quote from: wilsond on November 04, 2008, 09:52:24 AM
I just installed this script but where do you to go to add your message? and to make it active?

it installed with no errors. I am using default theme

Features & Options in the admin panel
Title: Re: Floating Bar Mod
Post by: pooya on November 18, 2008, 02:15:46 PM
Could anyone make it look like the windows xp bar we get ?

WOuld be awsome .. please.

Oh and i cant click on it :( did on 4 beta ...
Title: Re: Floating Bar Mod
Post by: pooya on November 19, 2008, 08:13:37 AM
Anyone, or any alternative.
Title: Re: Floating Bar Mod
Post by: Nibogo on November 19, 2008, 11:13:16 AM
Quote from: pooya on November 19, 2008, 08:13:37 AM
Anyone, or any alternative.

Try yourself using css
Title: Re: Floating Bar Mod
Post by: Nibogo on November 20, 2008, 07:57:23 PM
1.0 - 20 November 2008



o Added Spanish/utf8 and Brazilian/utf8 Support.
Title: Re: Floating Bar Mod
Post by: Nibogo on November 20, 2008, 08:00:21 PM
How to Change the Position to the bottom:

Open the /Themes/default/floating-bar.js

Search:

var verticalpos="fromtop"

Replace With:

var verticalpos="frombottom"
Title: Re: Floating Bar Mod
Post by: Nibogo on November 20, 2008, 08:05:39 PM
How to Add a Background Image:

Open your theme style.css:

Search:

#topbar
{
   position:absolute;
   border: 1px solid black;
   padding: 2px;
   background-color: lightyellow;
   width: 620px;
   visibility: hidden;
   z-index: 100;
}


Replace WIth:

#topbar
{
   position:absolute;
   border: 1px solid black;
   padding: 2px;
   background-image:url(images/background.png);
   width: 620px;
   visibility: hidden;
   z-index: 100;
}


Upload the background.png image to [your_theme]/images

NOTE: You have to replace the background.png with your own image.
Title: Re: Floating Bar Mod
Post by: pooya on November 20, 2008, 08:06:34 PM
Seriously no luck with anyone knowing this ?

P.S : nibogo you site uses alot of addons, if possible could u list out which ones? *Nice theme though and no float bar mod ? lol
Title: Re: Floating Bar Mod
Post by: darkkurama on December 19, 2008, 02:40:28 PM
Well, hi, i'm trying to use this mod, but, in my template, i can't find the "<body>';". All the "body" tags that are in my index.template.php in my particular theme, is a <body> and a </body></html>, that's all; Where should i put the

   //Show the floating bar only if the use is a guest , is not registering or login and the mod is activated
     if ($context['user']['is_guest'] && !empty($modSettings['floating_mode']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {
echo '<div id="topbar">
<a href="javascript:void(0);" onClick="closebar(); return false"><img src="', $settings['images_url'], '/close-bar.gif" border="0" alt="" /></a>
', (empty($modSettings['floating_text'])) ? $txt['floating_bar_text'] : $modSettings['floating_text'], '
</div>';
}"

?

Thanks!

Darkkurama
Title: Re: Floating Bar Mod
Post by: Nibogo on December 19, 2008, 04:16:33 PM
replace the <body> with:

<body>';

//Show the floating bar only if the use is a guest , is not registering or login and the mod is activated
     if ($context['user']['is_guest'] && !empty($modSettings['floating_mode']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {   
      echo '<div id="topbar">
<a href="javascript:void(0);" onClick="closebar(); return false"><img src="', $settings['images_url'], '/close-bar.gif" border="0" alt="" /></a>
', (empty($modSettings['floating_text'])) ? $txt['floating_bar_text'] : $modSettings['floating_text'], '
</div>';
}

echo '
Title: Re: Floating Bar Mod
Post by: darkkurama on December 19, 2008, 09:30:36 PM
You sir, are a god...

Gracias xD

-edit-

I got another issue: I have set my floating bar, but i want to put an URL in the entire image (i used the mini-tutorial on how to replace the floating bar for an image), is there a way to put a URL to the registration form? (you should understand it more seeing THIS (http://www.dkanimesite.es/foros/))

Thank you, andI hope not to bother you =P

Darkkurama
Title: Re: Floating Bar Mod
Post by: Nibogo on December 20, 2008, 12:15:32 PM
Quote from: darkkurama on December 19, 2008, 09:30:36 PM
You sir, are a god...

Gracias xD

-edit-

I got another issue: I have set my floating bar, but i want to put an URL in the entire image (i used the mini-tutorial on how to replace the floating bar for an image), is there a way to put a URL to the registration form? (you should understand it more seeing THIS (http://www.dkanimesite.es/foros/))

Thank you, andI hope not to bother you =P

Darkkurama

Just find:

echo '<div id="topbar">
<a href="javascript:void(0);" onClick="closebar(); return false"><img src="', $settings['images_url'], '/close-bar.gif" border="0" alt="" /></a>
', (empty($modSettings['floating_text'])) ? $txt['floating_bar_text'] : $modSettings['floating_text'], '
</div>';


Replace with:

echo '<a href="your_link.php"><div id="topbar">
<a href="javascript:void(0);" onClick="closebar(); return false"><img src="', $settings['images_url'], '/close-bar.gif" border="0" alt="" /></a>
', (empty($modSettings['floating_text'])) ? $txt['floating_bar_text'] : $modSettings['floating_text'], '
</div></a>';
Title: Re: Floating Bar Mod
Post by: darkkurama on December 20, 2008, 05:22:51 PM
Sorry, but the url must be in a special way? because it don't work =(

I have tried:

http://www.dkanimesite.es/foros/index.php?action=register
www.dkanimesite.es/foros/index.php?action=register
/foros/index.php?action=register
index.php?action=register

And my imagen don't have any link =(

Darkkurama
Title: Re: Floating Bar Mod
Post by: Nibogo on December 20, 2008, 05:48:33 PM
echo '<a href="javascript:void(0);" onClick="closebar(); return false"><img src="', $settings['images_url'], '/close-bar.gif" border="0" alt="" /></a><a href="your_link.php"><div id="topbar">
', (empty($modSettings['floating_text'])) ? $txt['floating_bar_text'] : $modSettings['floating_text'], '
</div></a>';


Try that code
Title: Re: Floating Bar Mod
Post by: darkkurama on December 20, 2008, 07:02:47 PM
that work'd, but now the "close" button is not in his possition xD

(http://img255.imageshack.us/img255/2064/dibujohj2.jpg)

Darkkurama
Title: Re: Floating Bar Mod
Post by: Nibogo on December 20, 2008, 08:51:35 PM
Es el unico modo en el que se me ocurre hacer ese codigo , o enlace de una o icono de cerrar bien ubicado
Title: Re: Floating Bar Mod
Post by: darkkurama on December 21, 2008, 09:27:41 AM
Muchisimas gracias entonces! All hail NIBOGO

Darkkurama
Title: Re: Floating Bar Mod
Post by: apadong.net on January 21, 2009, 08:33:13 PM
Indonesian translate :D
$txt['floating_bar_text'] = 'Selamat datang, silahkan <a href="'. $scripturl .'index.php?action=login"><b>masuk</b></a> atau <a href="'. $scripturl .'index.php?action=register"><b>daftar</b></a>';
$txt['floating_mode'] = 'Aktifkan Floating Bar Mod?';
$txt['floating_text'] = 'Tulis teks bebas untuk tamu pada Floating Bar';



Thx for this great mod! ;)

(ARS)
Title: Re: Floating Bar Mod
Post by: mash-e1 on January 26, 2009, 03:48:54 PM
#topbar
{
   position:absolute;
   border: 1px solid black;
   padding: 2px;
   background-color: lightyellow;
   width: 620px;
   visibility: hidden;
   z-index: 100;
}



where do i out the in .css
Title: Re: Floating Bar Mod
Post by: Nibogo on January 26, 2009, 05:31:59 PM
Quote from: apadong.net on January 21, 2009, 08:33:13 PM
Indonesian translate :D
$txt['floating_bar_text'] = 'Selamat datang, silahkan <a href="'. $scripturl .'index.php?action=login"><b>masuk</b></a> atau <a href="'. $scripturl .'index.php?action=register"><b>daftar</b></a>';
$txt['floating_mode'] = 'Aktifkan Floating Bar Mod?';
$txt['floating_text'] = 'Tulis teks bebas untuk tamu pada Floating Bar';



Thx for this great mod! ;)

(ARS)

Thanks for your help ;)
Title: Re: Floating Bar Mod
Post by: aED on February 01, 2009, 02:42:16 AM
Quote from: mash-e1 on January 26, 2009, 03:48:54 PM
#topbar
{
   position:absolute;
   border: 1px solid black;
   padding: 2px;
   background-color: lightyellow;
   width: 620px;
   visibility: hidden;
   z-index: 100;
}



where do i out the in .css

It should be in style.css
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: Nibogo on February 17, 2009, 09:10:16 PM
Added 2.0 RC1 & 1.1.8 Support
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: Dzonny on June 09, 2009, 02:57:30 PM
Hello there,
I'm using this mod for a few months and i just have to say it is great....
Well i actually have one question. Is there way to 'remove' floating bar at some pages? For example i dont want floating bar to display in sitemap page...?

Regards.
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: dkinser on July 17, 2009, 02:30:17 PM
Ok, I am at a loss here.  Am running 1.1.10, Custom Theme is WOW-DK.  I have performed the custom mods per your instructions, moved the two files.  The option to turn this mod on and off appear in the Admin as they should along with the box to put in the custom text.

But....no floating box ever shows up.   Any suggestions?   And I did have the same problem listed earlier about <body>';   I followed those instructions too, still no floating box.
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: The -L- on July 27, 2009, 07:09:00 PM
Is this working on SMF 2.0 RC1-1???
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: Nibogo on July 27, 2009, 07:28:39 PM
Quote from: The -L- on July 27, 2009, 07:09:00 PM
Is this working on SMF 2.0 RC1-1???

Yep
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: Dzonny on July 28, 2009, 04:25:58 AM
Quote from: Dzonny on June 09, 2009, 02:57:30 PM
Well i actually have one question. Is there way to 'remove' floating bar at some pages? For example i dont want floating bar to display in sitemap page...?
Just bumpping this... :)
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: souljaa on August 03, 2009, 11:41:12 AM
Hey, thanks for the great mod! Just a quick question. I added it manually on a custom theme. It shows up, but the message in the yellow box doesn't show up, the box itself does. Just wondering what I have to do to fix that?
Thanks
Souljaa
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: dkharp on August 11, 2009, 07:34:49 PM
Greetings!  I have tried to get this to work on Invazion theme

I am running smf 110 /tp 1.083 
My site is http://www.36thid.info (http://www.36thid.info)

how do I get it to work on this theme?

Please help
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: Nibogo on August 11, 2009, 07:54:18 PM
Quote from: dkharp on August 11, 2009, 07:34:49 PM
Greetings!  I have tried to get this to work on Invazion theme

I am running smf 110 /tp 1.083 
My site is http://www.36thid.info (http://www.36thid.info)

how do I get it to work on this theme?

Please help

Apply this in your theme:

http://custom.simplemachines.org/mods/index.php?action=parse;mod=1449;attach=86946;smf_version=1.1.9
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: dkharp on August 19, 2009, 09:28:35 PM
I have edited this to work in other themes.  I seem to be having trouble in  Adagio theme with smf 110


Where should I put the code in the index template for this theme.
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: haerde on August 31, 2009, 09:04:23 AM
Polish bro
$txt['floating_bar_text'] = 'Witaj Gość , proszę  <a href="'. $scripturl .'index.php?action=login"><b>zaloguj się</b></a> albo <a href="'. $scripturl .'index.php?action=register"><b>zarejestruj</b></a>';
$txt['floating_mode'] = 'Włączyć Floating Bar Mod ?';
$txt['floating_text'] = 'Wpisz swój tekst, który pokaże się niezarejestrowanym użytkownikom w Floating Bar';
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: Nibogo on August 31, 2009, 03:10:35 PM
Thanks mate
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: the_observer on September 25, 2009, 03:39:13 PM
Quote from: NIBOGO on October 11, 2008, 08:40:00 PM
Quote from: geo32101 on October 11, 2008, 08:30:17 PM
How do I add it to a costume theme, I did the edit to the default theme but I dont want it for that one.

http://custom.simplemachines.org/mods/index.php?action=parse;mod=1449;attach=71390;smf_version=1.1.6

Do the manual edit

Hi,

this is an interesting mode which i have install and is working great in the default theme

Unfortunatelly for me i use another theme the Aa New Damage v2 (http://custom.simplemachines.org/themes/index.php?lemma=738)

Since the above link which i have quoted is not working :( so i could read what i should do ,i tried to do the changes by myself.

So ,i went in the AA New Damage directory and start doing the changes manually but i face 2 problems :

1. When i try to make the second edit in the index.template.php file i dont find the <body>';
Instead i find a <body>
Nevertheless i made the change as suggested and i get this error :

Template Parse Error!
There was a problem loading the /Themes/Aa_New_Damage_v2/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
syntax error, unexpected T_STRING, expecting ',' or ';'


2.
The other problem is that i have no ./Themes/default/languages/Modifications.english-utf8.php
but it says that this change is no vital for the installation of the mod.

So i guess the problem comes from problem number 1.Can you tell me what i can do to make it work?


Of course all these are speculations of a newbie who doent know coding but as you can see i am not lazy ,i try and i ask here for help when i dont know what else to do.

Thank you very much 4 your time reading this

The_Observer.
Title: Re: Floating Bar Mod [v1.1 RELEASED!!]
Post by: the_observer on September 28, 2009, 03:02:52 PM
Hi again.

Since i got no response for my question here i tried the Greek subforum and to my great surprise i got the answer (http://www.simplemachines.org/community/index.php?topic=338714.msg2276904#msg2276904) from Butcher (http://www.simplemachines.org/community/index.php?action=profile;u=105759) and so i translate his answer here ,in english ,just in case someone else will need it.

More or less he says that :

In AA_New_Damage v2 theme instead of adding the code after <body>';
you should add it after the
<body>
<a name="top"></a>';


His solution was precise and worked like a charm...

Thank you 4 reading this.

Regards,
The_Observer.
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: Nibogo on October 08, 2009, 04:52:56 PM
Changelog:

1.1.2 - 08 Oct 2009
o Added Support for SMF 1.1.10
o Added Indonesian and Polish thanks to apadong.net and haerde, Both with utf8
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: villasg on October 09, 2009, 03:08:49 AM
Greek-utf8

$txt['floating_bar_text'] = 'Καλώς ήρθες επισκέπτη , παρακαλώ <a href="'. $scripturl .'index.php?action=login"><b>login</b></a> ή <a href="'. $scripturl .'index.php?action=register"><b>register</b></a>';
$txt['floating_mode'] = 'Ενεργοποίσε το Floating Bar Mod?';
$txt['floating_text'] = 'Γράψε ένα δικό σου κείμενο γιά τους επισκέπτες στο Floating Bar';


Thanks

Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: forummaker on October 19, 2009, 08:08:40 PM
Thanks for any help with this....
Great mod.... trying to get it working.
I am using a custom theme and have manually installed everything.
For some reason the "floating-bar.js"  file is creating an issue.
I've attached a couple images to show the error.
And.. I do have the "floating-bar.js" file in the default folder.
And.... when I change the theme to default, I can see the floating bar.... it works.
I just can't get it to work in the custom theme.
SMF 1.1.10
Thanks...
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: forummaker on October 22, 2009, 06:25:57 AM
I figured it out... WORKS GREAT! LOVE IT!
Thanks for the mod... with endless possibilities.
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: - = Orfeo = - on October 23, 2009, 12:32:30 AM
Nibogo, perdón la molestia, pero quería consultarte si sabes por qué la barra flotante se esconde detras de mi fader news, los foros y categorías, y los temas cuando navego por ellos, podrás responderme?

O sea estoy como visitante y aparece, cuando voy para abajo la barra sigue a la página, pero cuando la barra pasa el fader news o mensajes o foros etc. se esconde detras de ellos
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: Dzonny on October 23, 2009, 05:36:00 PM
Hello there,
Is there a way to put some custom position for bar, i want to floating bar be below current position, couse logo is never seen...
See attached pic for more info.
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: Nibogo on October 23, 2009, 05:48:32 PM
Quote from: Dzonny on October 23, 2009, 05:36:00 PM
Hello there,
Is there a way to put some custom position for bar, i want to floating bar be below current position, couse logo is never seen...
See attached pic for more info.

Maybe:

http://www.simplemachines.org/community/index.php?topic=266758.msg1807897#msg1807897
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: Dzonny on October 23, 2009, 05:52:37 PM
Thanks for your quick answer...
I've saw that, but it dont want if to come from bottom, but from custom position if that is possible...
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: Nibogo on October 23, 2009, 06:07:58 PM
I have not tested that but try opening the Floating Bar Js script and modify this value:

var startY = 5 //set y offset of bar in pixels

Change the 5 to 30 or something like that and please left the var verticalpos like this:

var verticalpos="fromtop"
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: abcd789 on November 07, 2009, 02:45:13 AM
hie frinds ih have isntalled byut its is not showing the mod in my theme.. i m using custom theme.... instaled sucesfully.. bt not coming dat option feautures n options.. im using smf 1.1.10 plzz help meee
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: Dzonny on November 07, 2009, 06:06:16 AM
Quote from: NIBOGO on October 23, 2009, 06:07:58 PM
I have not tested that but try opening the Floating Bar Js script and modify this value:

var startY = 5 //set y offset of bar in pixels

Change the 5 to 30 or something like that and please left the var verticalpos like this:

var verticalpos="fromtop"
Thank you, that is it. :D
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: Nibogo on November 07, 2009, 03:50:01 PM
Quote from: abcd789 on November 07, 2009, 02:45:13 AM
hie frinds ih have isntalled byut its is not showing the mod in my theme.. i m using custom theme.... instaled sucesfully.. bt not coming dat option feautures n options.. im using smf 1.1.10 plzz help meee

You need to do the modifications to your theme files

Quote from: Dzonny on November 07, 2009, 06:06:16 AM
Quote from: NIBOGO on October 23, 2009, 06:07:58 PM
I have not tested that but try opening the Floating Bar Js script and modify this value:

var startY = 5 //set y offset of bar in pixels

Change the 5 to 30 or something like that and please left the var verticalpos like this:

var verticalpos="fromtop"
Thank you, that is it. :D

Glad you have it working
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: abcd789 on November 08, 2009, 12:55:19 AM
hie friends i have instaled mod without errors... but it is not showing... y ? i have seen index.template the code is there in dat template... but how to see wether it was instaled or not... help me plz... i m giving my index.template.. see if any wrong is der.. sir.. thank u in advanc.e. i m ataching here my template..
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: forummaker on November 08, 2009, 11:13:05 PM
Again... I love the mod.
Question... how would I remove or not have the floating bar show up on other pages of the website?
I use the TinyPortal mod with my website and would like to remove the floating bar from other areas of my site. Am I able to do that?
Here is an example of a page address that I would like the floating bar not to be shown.
http://www.mysite.com/forums/index.php?page=6034
Thanks again.
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: forummaker on November 12, 2009, 05:47:06 AM
Ok... got it working just great.
I will post later a detail of what I did with my custom theme to really make this work.
I also use TP mod and works great with that.
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: PalmBeachPreps on November 15, 2009, 02:49:33 AM
Quote from: abcd789 on November 08, 2009, 12:55:19 AM
hie friends i have instaled mod without errors... but it is not showing... y ? i have seen index.template the code is there in dat template... but how to see wether it was instaled or not... help me plz... i m giving my index.template.. see if any wrong is der.. sir.. thank u in advanc.e. i m ataching here my template..
I have the same problem.

Anyone have an idea why this is happening?  Bueller?  Bueller?
Title: Re: Floating Bar Mod [v1.1.2 RELEASED!!]
Post by: dkharp on December 08, 2009, 12:14:57 AM
hello!  I see the X at top and when I put a message in, it shows.  But I would like a picture instead. I had this on 1110 and it worked great! (thank you) I have updated my forum and I am trying to get it to work. Please see my attached style.css and where do I put the picture and change the format of pic to gif instead on png. I am using the new curve default theme. www.36thid.com (http://www.36thid.com)
Title: Re: Floating Bar Mod
Post by: live627 on January 10, 2010, 06:21:04 PM
Updated to 1.1.3

Supports the latest version in both branches of SMF
Title: Re: Floating Bar Mod
Post by: akbora on January 10, 2010, 07:09:15 PM
Very nice. Include for member or only for guests?
Title: Re: Floating Bar Mod
Post by: live627 on January 10, 2010, 07:19:28 PM
Guests

EDIT: Updated the description to include 'guests' not 'them' :D
Title: Re: Floating Bar Mod
Post by: villasg on January 14, 2010, 12:00:27 PM
Greek-utf8

$txt['floating_mode'] = 'Ενεργοποίσε το Floating Bar Mod ';
$txt['floating_text'] = 'Γράψε ένα δικό σου κείμενο γιά τους επισκέπτες στο Floating Bar';

Title: Re: Floating Bar Mod
Post by: Bugo on January 15, 2010, 01:18:43 AM
I have installed this mod but no settings were not found.

Russian translation:

// Floating Bar Mod
$txt['floating_mode'] = 'Активировать мод Floating Bar (плавающая панель)?';
$txt['floating_text'] = 'Текст, показываемый гостям';
Title: Re: Floating Bar Mod
Post by: live627 on January 15, 2010, 04:30:57 PM
Quote from: Bugo on January 15, 2010, 01:18:43 AM
I have installed this mod but no settings were not found.

Did you look in "Features and Options"?

(http://custom.simplemachines.org/mods/index.php?action-download;mod=1449;id=71358;image)
Title: Re: Floating Bar Mod
Post by: Kimmen on January 15, 2010, 04:53:28 PM
I am using smf 2.0 rc2, and this bar is not visible !
Title: Re: Floating Bar Mod
Post by: live627 on January 15, 2010, 05:34:31 PM
Try to clear your browser's cache
Title: Re: Floating Bar Mod
Post by: Kimmen on January 15, 2010, 06:07:58 PM
No sir !
That does not work for me.
Title: Re: Floating Bar Mod
Post by: live627 on January 15, 2010, 06:13:05 PM
Sounds like you are using a custom theme, no?
Title: Re: Floating Bar Mod
Post by: Kimmen on January 16, 2010, 10:49:50 AM
I fixed it myself, was some code missing in my index.template.php and some code in style.css.
Title: Re: Floating Bar Mod
Post by: anakmacan on January 19, 2010, 07:34:42 PM
Great mod, but something funny, the floating bar goes BEHIND my theme lol :D
http://bincangprofesi.com/forum/index.php
Title: Re: Floating Bar Mod
Post by: Nibogo on January 19, 2010, 07:44:43 PM
Quote from: anakmacan on January 19, 2010, 07:34:42 PM
Great mod, but something funny, the floating bar goes BEHIND my theme lol :D
http://bincangprofesi.com/forum/index.php

Try to modify your /Themes/your_theme/css/index.css:

#topbar
{
    background: #ffffe0;
    border: solid 1px #f8f895;
cursor: pointer;
    display: block;
    clear: both;
    float: left;
left: 0px;
    padding: .45em .3em .45em 2em;
position: absolute;
top: 0px;
    width: 100%;
}


With:

#topbar
{
    background: #ffffe0;
    border: solid 1px #f8f895;
cursor: pointer;
    display: block;
    clear: both;
    float: left;
left: 0px;
    padding: .45em .3em .45em 2em;
position: absolute;
top: 0px;
    width: 100%;
    z-index: 3;
}
Title: Re: Floating Bar Mod
Post by: anakmacan on January 20, 2010, 12:58:52 AM
THanks nibgo ill try that :)
Title: Re: Floating Bar Mod
Post by: Beanfly on January 28, 2010, 12:32:57 PM
Hello There.. 4 Days Ago I Installed This Mod

Mod Name: Floating Bar Mod
Mod URL: http://custom.simplemachines.org/mods/index.php?mod=1449

And Now When I Go To My Forum

I Get This Message

------------------------------------------------------------------
Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.
------------------------------------------------------------------

I Have Been Refreshing for The Last 4 Days I Don't Think It's Helping. :P

I Did Do A Back Up From The Forum It Self Just Before I Installed The Mod.. And I Reinstalled That To The Database But It Seemed To Do Nothing.. I'm Not Sure What All To Do.. Can Some One Please Give Me Some Ideas Or Help Please..

Thanks 8)

P.S.
SMF 1.1.11

Attached File: index.template.php

[ATTACHMENT REMOVED]
Title: Re: Floating Bar Mod
Post by: live627 on January 28, 2010, 03:40:14 PM
Fix is attached

ATTACHMENT REMOVED
Title: Re: Floating Bar Mod
Post by: Beanfly on January 28, 2010, 10:58:03 PM
Now I Get The Error Message

-----------------------------------------------------------------------------

Template Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
_______________________________________________________

syntax error, unexpected T_STRING, expecting ',' or ';'

---------------------------------------------------------------------------------------

Can I Just Remove The Mod Or Something... I Really Need My Site Back Up And Running

What Are The Files Found In "Packages/backups" For? Will They Help?

Or Is There Another File The Website Uses To Load It's Template That Maybe Needs To Be Fixed
Title: Re: Floating Bar Mod
Post by: Matthew K. on January 28, 2010, 11:01:27 PM
Well, do what the error message says, somewhere in the coding that was edited there is a single quote (') that should be escaped.

Example, find ' and replace it with \'.

That will resolve your problem.
Title: Re: Floating Bar Mod
Post by: Beanfly on January 28, 2010, 11:17:36 PM
Just Tried That And Still Not Working  :(

I'm Not Sure If You Read Or Not But I Restored A Back Up Of The Database Just Before I Installed This Mod.. Not Sure If This Helps Or Not
Title: Re: Floating Bar Mod
Post by: Beanfly on January 28, 2010, 11:21:59 PM
I Tried Installing The Database Again Just To MAke Sure And I Got This Message  :'(

-----------------------------------------------------------------------------------------------------------

Error

SQL query:

INSERT INTO `smf_sp_shouts` (
`ID_SHOUT` ,
`ID_SHOUTBOX` ,
`ID_MEMBER` ,
`memberName` ,
`log_time` ,
`body`
)
VALUES # --------------------------------------------------------
#
# Table structure for table `smf_themes`
#

DROP TABLE IF EXISTS `smf_themes` ;



MySQL said: 
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DROP TABLE IF EXISTS `smf_themes`' at line 5
Title: Re: Floating Bar Mod
Post by: Beanfly on January 28, 2010, 11:31:10 PM
Quote from: Labradoodle-360 on January 28, 2010, 11:01:27 PM
Well, do what the error message says, somewhere in the coding that was edited there is a single quote (') that should be escaped.

Example, find ' and replace it with \'.

That will resolve your problem.
It's Full Of (') So I Replace Every (') With A (\)
I Don't Understand Where At In The Coding
Title: Re: Floating Bar Mod
Post by: live627 on January 28, 2010, 11:32:25 PM
Here is a fix for you if you didn't yet restore the backup

ATTACHMENT REMOVED
Title: Re: Floating Bar Mod
Post by: Beanfly on January 28, 2010, 11:36:19 PM
Quote from: live627 on January 28, 2010, 11:32:25 PM
Here is a fix for you if you didn't yet restore the backup
YAY It Wroked... =}
Thank You so Much Live627 You Rock
Title: Re: Floating Bar Mod
Post by: irtiza104 on February 12, 2010, 01:08:48 PM
Doesnt work. Installed properly...i guess.

RC 2
latest version

can you please have a look?

http://bangladeshtalks.com

thanks in advance
Title: Re: Floating Bar Mod
Post by: live627 on February 12, 2010, 01:46:16 PM
Here's what I suggest:

Uninstall the mod
Install it again, but on the test screen, there is an option to install in other themes. Make sure you select any additional themes that you want the bar on.
Title: Re: Floating Bar Mod
Post by: MordyT on February 20, 2010, 09:22:46 PM
Quote from: NIBOGO on November 20, 2008, 08:00:21 PM
How to Change the Position to the bottom:

Open the /Themes/default/floating-bar.js

Search:

var verticalpos="fromtop"

Replace With:

var verticalpos="frombottom"
I am guessing this is for SMF 1.x
How would I move the bar to the bottom with SMF 2.0RC2

EDIT:
    * SMF version - SMF2.0RC2
    * Mod version, if skipped, latest version is assumed - Latest
    * Theme in use, very important - Custom one - mod works so it is no important I think...
    * How the install went, any errors, or none - perfect - no errors
    * Which page the error is on, if any, not required -N/A
    * How to reproduce the error, if any -N/A
Title: Re: Floating Bar Mod
Post by: robg2251 on April 27, 2010, 11:39:51 AM
Will this be compatible with RC3 soon?
Title: Re: Floating Bar Mod
Post by: codevarun on May 09, 2010, 04:11:09 PM
Quote from: robg2251 on April 27, 2010, 11:39:51 AM
Will this be compatible with RC3 soon?
just one problem with RC3
./Sources/ManageSettings.php
Find: [Select]
// Stats, compression, cookies.... server type stuff.
Add Before: [Select]
// Floating Bar by: www.mundo-se.com
         array('text', 'floating_text'),
         array('check', 'floating_mode'),
      '',

Now where is
// Stats, compression, cookies.... server type stuff.

???
Title: Re: Floating Bar Mod
Post by: franklinrony on May 10, 2010, 01:55:16 AM
please check the mod. there are some missing files. like the close gif and the js
Title: Re: Floating Bar Mod
Post by: codevarun on May 20, 2010, 02:56:54 PM
Quote from: frony on May 10, 2010, 01:55:16 AM
please check the mod. there are some missing files. like the close gif and the js

YUP missing js and css ... :(
i am crying badly
Title: Re: Floating Bar Mod
Post by: live627 on May 20, 2010, 03:57:53 PM
The new version does not need those files to run
Title: Re: Floating Bar Mod
Post by: codevarun on May 21, 2010, 03:00:13 PM
Quote from: live627 on May 20, 2010, 03:57:53 PM
The new version does not need those files to run

Hello live627 i am using the RC3 version smf2 of course and I install that (some trouble was with settings but fixed) now the problem is that its lying over the top and with transparent background and don't float on screen
Title: Re: Floating Bar Mod
Post by: live627 on May 21, 2010, 03:44:10 PM
Link to site?
Title: Re: Floating Bar Mod
Post by: codevarun on May 21, 2010, 04:15:42 PM
Quote from: live627 on May 21, 2010, 03:44:10 PM
Link to site?
Hi
here is the link
www.f u c k e d upsystems.com

now i am getting the background up unfortunately its not floating

In rc2 i was having the mod I forget the name which was floating of the right down corner and was also displaying notification for the new PMs. Anyone know about that?
Title: Re: Floating Bar Mod
Post by: live627 on May 21, 2010, 06:21:58 PM
/forum/Themes/Catamosphere2/css/index.css

#topbar

Change position: absolute to position: fixed
Title: Re: Floating Bar Mod
Post by: codevarun on May 21, 2010, 11:46:07 PM
Quote from: live627 on May 21, 2010, 06:21:58 PM
/forum/Themes/Catamosphere2/css/index.css

#topbar

Change position: absolute to position: fixed
fixed....
thanks even :hover added
Title: Re: Floating Bar Mod
Post by: ukhalik2 on May 24, 2010, 11:01:51 AM
when this would be compatible with smf 2.0 rc3 :(
Title: Re: Floating Bar Mod
Post by: codevarun on May 24, 2010, 01:21:27 PM
Quote from: ukhalik2 on May 24, 2010, 11:01:51 AM
when this would be compatible with smf 2.0 rc3 :(
This is compatible with rc3 no issue you have to edit  just one file...
Just fine the cookie instead of everything and add after that

for proof
you can see these sites

www.helponrelation.com
www.F U C K E D U P S Y S T E M S.com

(remove spaces)
Title: Re: Floating Bar Mod
Post by: MATTEK on June 22, 2010, 12:33:24 AM
Quote2.   Execute Modification   .Sources/ManageSettings.php   Test failed
   1.   Add Before   .Sources/ManageSettings.php   Test failed

Anyone know what to do to install properly?
Title: Re: Floating Bar Mod
Post by: MordyT on June 22, 2010, 03:17:37 AM
Quote from: MATTEK on June 22, 2010, 12:33:24 AM
Quote2.   Execute Modification   .Sources/ManageSettings.php   Test failed
   1.   Add Before   .Sources/ManageSettings.php   Test failed

Anyone know what to do to install properly?
Yep, you have another mod interfering with it. Parse it out with the mod parser, and manually install it.
Title: Re: Floating Bar Mod
Post by: scenerip2k on June 26, 2010, 04:37:25 PM
Quote from: codevarun on May 24, 2010, 01:21:27 PM
Quote from: ukhalik2 on May 24, 2010, 11:01:51 AM
when this would be compatible with smf 2.0 rc3 :(
This is compatible with rc3 no issue you have to edit  just one file...
Just fine the cookie instead of everything and add after that

for proof
you can see these sites

www.helponrelation.com
www.F U C K E D U P S Y S T E M S.com

(remove spaces)

I have no idea what you just said.....edit what now?
Title: Re: Floating Bar Mod
Post by: MATTEK on June 29, 2010, 02:56:56 PM
Quote from: MordyT on June 22, 2010, 03:17:37 AM
Quote from: MATTEK on June 22, 2010, 12:33:24 AM
Quote2.   Execute Modification   .Sources/ManageSettings.php   Test failed
   1.   Add Before   .Sources/ManageSettings.php   Test failed

Anyone know what to do to install properly?
Yep, you have another mod interfering with it. Parse it out with the mod parser, and manually install it.

I suck at parsing. lol.
Title: Re: Floating Bar Mod
Post by: live627 on July 09, 2010, 01:46:43 AM
Two things if you still want this mod and haven't installed it yet:

Your list of installed mods
Your problematic file
Title: Re: Floating Bar Mod
Post by: MATTEK on July 09, 2010, 12:55:45 PM
Got my list of Mods, but I won;t be able to give you the managesettings.php file until I get home. Thanks dude. I'll have it posted as soon as I get home.
Title: Re: Floating Bar Mod
Post by: MATTEK on July 14, 2010, 01:15:50 AM
List of saved mods is at work. I'll have those to you first thing in the morning.
Title: Re: Floating Bar Mod
Post by: live627 on July 14, 2010, 01:51:39 AM
Try this
Title: Re: Floating Bar Mod
Post by: MATTEK on July 14, 2010, 09:40:01 AM
Same Files are failing.

List of mods is huge though.

Enhanced PM Pop Up
Favicon
Aeva Media
Menu Order
Share This topic
Simple Portal
Spoiler BBC Code
Arcade Skin
SMF Arcade
WYSIWYG Quick Reply v2
Search Focus Dropdown
reCAPTCHA for SMF
Join date in Posts
Welcome Back
MessagePreviewOnHover
Ultimate Profile
Board Viewers Mod
Header Link Mod
Curve_centered_menu
The Rules
Custom_Top_menu
Order News
Board Notices
Twitter and Facebook Publisher mod
ENotify
Location on Posts
SMF Multi Quote
Bakers Dozen Pages
InLine Attachments
MCLegendII RC3
Team Page
Title: Re: Floating Bar Mod
Post by: Siirist on July 18, 2010, 11:32:26 AM
Quote from: scenerip2k on June 26, 2010, 04:37:25 PM
Quote from: codevarun on May 24, 2010, 01:21:27 PM
Quote from: ukhalik2 on May 24, 2010, 11:01:51 AM
when this would be compatible with smf 2.0 rc3 :(
This is compatible with rc3 no issue you have to edit  just one file...
Just fine the cookie instead of everything and add after that

for proof
you can see these sites

www.helponrelation.com
www.F U C K E D U P S Y S T E M S.com

(remove spaces)

I have no idea what you just said.....edit what now?

We have an idea, (we need to make a manual edit)
yet as you said,
Quote
I have no idea what you just said.....edit what now?
and when we try to parse, it says that it is NOT compatible with SMF ver2.0 RC3

scenerip2k, we will just have to wait for an update

Be Well,
Cloud
Title: Re: Floating Bar Mod
Post by: MATTEK on July 19, 2010, 12:21:38 PM
Still looking for help. Thanks.
Title: Re: Floating Bar Mod
Post by: Siirist on July 19, 2010, 03:35:40 PM
Quote from: MATTEK on July 19, 2010, 12:21:38 PM
Still looking for help. Thanks.

Mattek, :)

I think that you are running SMF ver2.0 RC3. If this is true, I believe we are just going to have to wait until the Author/Creator of this mod updates it to SMF ver2.0 RC3.  :-\  But, let's remain hopeful that it won't be too long.  ;)

Cloud 8)
Title: Re: Floating Bar Mod
Post by: Masterd on August 14, 2010, 04:43:31 AM
Is this a remake of this (http://custom.simplemachines.org/mods/index.php?mod=1607l) mod?
Title: Re: Floating Bar Mod
Post by: live627 on August 14, 2010, 02:57:20 PM
Very crafty of you, but no
Title: Re: Floating Bar Mod
Post by: Masterd on August 15, 2010, 09:26:44 AM
I just wanted to know. :D
Title: Re: Floating Bar Mod
Post by: unformatted_ on August 25, 2010, 07:14:13 PM
This works on smf 2rc3?
Title: Re: Floating Bar Mod
Post by: Siirist on August 27, 2010, 11:12:01 AM
Quote from: vasco on August 25, 2010, 07:14:13 PM
This works on smf 2rc3?

Yes
http://www.asanctuary.net/yoursanctuary/index.php

send me a personal message if you have questions about this mod working in SMF ver2.0RC3
Cloud 8)
Title: Re: Floating Bar Mod
Post by: ravenzmoon on November 02, 2010, 03:54:36 PM
How can you get google adsense to show up in it?   

Title: Re: Floating Bar Mod
Post by: Sincere on November 02, 2010, 09:37:26 PM
 I had to manually look for this topic to find it.
I could not find a link to this topic in the description of the mod.
I could not find this topic, no matter what I searched for (even when searching "Floating Bar Mod" I get too many unrelated results)
Here is the french translation included
Title: Re: Floating Bar Mod
Post by: live627 on November 03, 2010, 12:07:09 AM
Thank you!
Title: Re: Floating Bar Mod
Post by: ravenzmoon on November 05, 2010, 02:14:43 PM
Quote from: ravenzmoon on November 02, 2010, 03:54:36 PM
How can you get google adsense to show up in it?   
Hello?   

I know you can get ads to show up in it.  I have a job thing in it.  But want Google in it.
Title: Re: Floating Bar Mod
Post by: romper on January 14, 2011, 03:11:43 AM
I'm using Blues Megacolor...I use parsing with ease, everything is as it shows, no problem, but it simply doesn't show bar?
Don't know what to fix, or what to change.
Title: Re: Floating Bar Mod
Post by: Branko. on September 21, 2013, 03:33:40 PM
Manual Install Instructions for SMF (Parse 2.0.5 ): Sorry, but this modification does not appear to be compatible with the selected version.
Title: Re: Floating Bar Mod
Post by: live627 on September 22, 2013, 01:36:45 AM
 1.2 sorts the compatibility issue.