Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Ricky. on January 26, 2009, 03:47:24 PM

Title: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 26, 2009, 03:47:24 PM
eFloating Bar For Guests and Members
Author : Ricky.

Link to MOD (http://custom.simplemachines.org/mods/index.php?mod=1607)

Support for the MOD:
Please ask question related to this MOD here --> Support for eFloatingbar MOD (http://www.etalkindia.com/computer_programming_and_designing/support_thread_for_efloating_bar_mod_for_smf-t4015.0.html)

(Chances are that I will reply quicker over there)

Version 0.1.1
For SMF 2 beta 4, 2 RC1 and SMF 1.1.7, 1.1.8



Description


This eFloating bar uses the Javascript & CSS combination to produce eye catchy - attention grabber floating bar which can be displayed to guests as well as to members. You can display separate message for Guest and members. This MOD is highly customizable through Admin Panel.

Possible use of this eFloating bar MOD:
--> It can be really helpful for you to boost number of new registrations in your SMF Community. If properly used, you can see your new member registration count getting doubled in no time.
--> Can be used to give a quick overview including qualities and specialties about your forum to guests and attract them to JOIN it.
--> Can be used for members if you need some immediate attention from members and they can't ignore it.
--> Can be used to place ads which can't be ignored by Visitors.


Features




Demo


Demo can be found here -->
India Forum (http://www.etalkindia.com) & Linux Forum Community (http://www.linuxsolved.com/)


Installation


Simply install it via package manager.


Installation on Custom Template


This MOD need manual modification in order to function on custom themes other than default. You can use Package Parser to do the required changes. If you are unsure about it then you can ask me.


Administration


After install you can access it through Admin Panel where you can specify your own Message for Guests as well as for Members.


Customization


This mod can be highly customized via Admin Panel to change the way it looks and behave. If you have basic knowledge of CSS then you can experiment a lot to make it look good. You may see screenshots provided to have general idea.

While you can customize the CSS, you have to make sure that certain elements do not get changed as it may result in non-functioning of the eFloating bar.
To start with you can PASTE following CSS code in ADMIN area:
#topbar
{
   font-size:70%;
   position:absolute;
   border: 2px solid black;
   padding: 2px;
   background-color:#ECFFBF;
   width: 450px;
   visibility: hidden;
   z-index: 100;
}

#topbar a:hover
{
color: #FFFFFF;
background-color:#FF6600;
}


Here you can specify and modify element yourself like changing its background, changing size of the Floating bar etc.
Hence with the combination of HTML which can be used in Message to guest and CSS you can create some nice layouts for your eFloating Bar.
Note:ID #topbar has to be there and every changes made should be inside it and for it.

In case of broken layout just disable the Custom CSS option and it will revert back to original CSS.


Copyright


This mod is based on script Floating Top Bar script (http://www.dynamicdrive.com/dynamicindex17/floatbar.htm) of Dynamicdrive.com


Version Information


Jan 27th 2009 : Version 0.1.1
Made minor changes to make it more compatible with SMF 1.1.x version.
It will eliminate some folder permission issue while installing on SMF 1.1.x version.

Jan 25th 2009 : Version 0.1


Lastly


If you find this mod useful and it worked for you then please stop by and make a comment over here.

Thank you!
~Ricky
Title: Re: eFloating Bar Mod for Guests & Members
Post by: bullbreedluverz on January 26, 2009, 04:00:05 PM
ive just installed this mod on 1.1.7 without any errors, enabled it for guests, wrote a message, saved it - then logged out but nothing, no message box

my forum is a modified default but i checked the files to ensure install edits were done checking them with the manual edit instructions and its all installed fine
Title: Re: eFloating Bar Mod for Guests & Members
Post by: shanksta13 on January 26, 2009, 04:26:58 PM
Works fine for me.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: bullbreedluverz on January 26, 2009, 04:36:13 PM
must just not like me then lol
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 26, 2009, 04:54:21 PM
Well.. if you did not see any errors while installation then should have something specific to your current theme status. However, I would like you to enable that mod Guest and show me the link of the forum. May be I can suggest something then.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: bullbreedluverz on January 26, 2009, 04:56:35 PM
its enabled and should read - Welcome to Bull Breed Luverz - some eliments of the forum are closed to guests. Please sign up to our free site to enjoy the full features and areas closed to guests.

http://www.bullbreedluverz.com/smf

cheers
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 26, 2009, 05:26:22 PM
I can see that either MOD is not properly applied or it is conflicting with something. Can you show your index.template.php ?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: bullbreedluverz on January 26, 2009, 05:31:14 PM
here ya go
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 26, 2009, 05:51:10 PM
Looks like it is installed properly. I just overlooked your first post where  you said its modification was done properly.

I guess part of Providing your own message, your forgot to enable it by TICKING the check box.

See the screenshot.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: bullbreedluverz on January 26, 2009, 05:54:38 PM
i did enable it - im smf inept but not that bad lol

tried it for guests, members, members & guests
Title: Re: eFloating Bar Mod for Guests & Members
Post by: tanny on January 26, 2009, 05:58:55 PM
can u explain how to install in Custom Template ?


nice mode...

thnx
tanny
Title: Re: eFloating Bar Mod for Guests & Members
Post by: malcomxar on January 26, 2009, 06:20:37 PM
I have the same problem bullbreedluverz has

Here is my site www.gptlatino.net/foro

and my index.template.php

Regards!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: LinK187 on January 26, 2009, 06:26:54 PM
I have the same problem, it's properly installed and doesn't work. Nothing appears.

Here's my theme's index.template.php:
Title: Re: eFloating Bar Mod for Guests & Members
Post by: bullbreedluverz on January 26, 2009, 07:38:47 PM
thanks for trying to help ricky - i'll just wait till ive move over to new version of smf and use you mod there
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 26, 2009, 07:45:02 PM
Quote from: malcomxar on January 26, 2009, 06:20:37 PM
I have the same problem bullbreedluverz has

Here is my site www.gptlatino.net/foro

and my index.template.php

Regards!

You did manual modification to your template, try following version of your template and tell me if it works for you!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 26, 2009, 07:50:18 PM
Quote from: LinK187 on January 26, 2009, 06:26:54 PM
I have the same problem, it's properly installed and doesn't work. Nothing appears.

Here's my theme's index.template.php:

Your attached index.template.php looks fine, however give me your forum link to have a look on it.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: JungleBunny on January 26, 2009, 07:53:26 PM
A really, really great and fine mod !!!! :D :D :D :D :D :D :D
Works perfect. Must install it manuelly but it was no problem.

By the side, can you post the css code for your example pic ?
Have attached the pic.
Would be great because I am not the css guru 8) :D

Thank you.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 26, 2009, 07:54:31 PM
Quote from: bullbreedluverz on January 26, 2009, 07:38:47 PM
thanks for trying to help ricky - i'll just wait till ive move over to new version of smf and use you mod there
You got SMF 1.1.7, I just tested it once again on Fresh smf 1.1.7 install, and old SMF 1.1.7 with a number of mods installed.. and on a forum with 30 mods installed.. all 1.1.7 .. It worked everywhere, I am just not able to reproduce same problem at my side however,  I suspect it with some conflict with other mod.
Shall update if anything useful :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: bullbreedluverz on January 26, 2009, 07:58:08 PM
i'll keep an eye out on the thread, as you say its probably another mod and as theres 30 or so on my forum its hard to detect which 1 could be causing the problem  ;)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 26, 2009, 08:00:31 PM
Quote from: JungleBunny on January 26, 2009, 07:53:26 PM
A really, really great and fine mod !!!! :D :D :D :D :D :D :D
Works perfect. Must install it manuelly but it was no problem.

By the side, can you post the css code for your example pic ?
Have attached the pic.
Would be great because I am not the css guru 8) :D

Thank you.

Hey.. thanx..

The example you see is basically I created small HTML then in CSS added  following, which was for defining size of the eFloating bar as well its border. Inner content is all made using simple html using <p> <ul> <h2> tags etc.
Here is CSS I used:
#topbar{
align:center;
position:absolute;
border: 5px solid #9ECA7D;
padding: 10px;
background-color: lightyellow;
width: 400px;
height: 400px;
visibility: hidden;
z-index: 500;
font-size:11px;
}
#topbar p{
margin:0px;
}
#topbar a
{color : #0000FF;}


Btw, would like to know your SMF version.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: LinK187 on January 26, 2009, 08:07:45 PM
Quote from: Ricky. on January 26, 2009, 07:50:18 PM
Quote from: LinK187 on January 26, 2009, 06:26:54 PM
I have the same problem, it's properly installed and doesn't work. Nothing appears.

Here's my theme's index.template.php:

Your attached index.template.php looks fine, however give me your forum link to have a look on it.

I pmed you a link.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: JungleBunny on January 26, 2009, 08:16:25 PM
Thanks Ricky,

I see.
Mistake from me, must put the html code into the message box and not try to push it in the css code O:)
Make my code with VisualPage and now I can create finest popups ;D ;D :D :D :D :D :D

I am using 1.14
Title: Re: eFloating Bar Mod for Guests & Members
Post by: franklinrony on January 26, 2009, 08:18:10 PM
good mod congrats!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Realinfo on January 26, 2009, 10:24:14 PM
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.  

I got this message.............. when try to install it.............
Title: Re: eFloating Bar Mod for Guests & Members
Post by: LinK187 on January 26, 2009, 10:25:55 PM
Quote from: Realinfo on January 26, 2009, 10:24:14 PM
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.  

I got this message.............. when try to install it.............

So make the folder(s) writeable.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: zakmoore on January 26, 2009, 11:31:46 PM
Well, I have it working for the default theme, but I need it to work for LiveCity!

Can you provide a list of file edits?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: ccraciun on January 27, 2009, 12:49:32 AM
Quote from: Ricky. on January 26, 2009, 03:47:24 PM
eFloating Bar For Guests and Members
Author : Ricky.
...
Ricky, this looks like a great mod!
I will install it soon, as soon as i finished my other forum's tasks. I just wanted to congratulate you for this. ;)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: mrtrc266 on January 27, 2009, 02:02:30 AM
Very cool Mod Installed clean, can your post up your entire code for the floating window to give an example of how and where to put in the HTML code that show the links and everything?

Thank you in advance
Title: Re: eFloating Bar Mod for Guests & Members
Post by: brandonroy on January 27, 2009, 03:57:38 AM
How can we make it so that if a guest closes it, it won't pop back up on every page load? Or something like that.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: JungleBunny on January 27, 2009, 05:01:08 AM
Quote from: mrtrc266 on January 27, 2009, 02:02:30 AM
Very cool Mod Installed clean, can your post up your entire code for the floating window to give an example of how and where to put in the HTML code that show the links and everything?

Thank you in advance

Wrote this some articles before !

Put your html code in the message box ( guest or logged user ).
If you have a webpage prgram like dreamweaver, frontpage etc, copy the source code into the message box and give it a try :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: coucnilhomeswap on January 27, 2009, 05:47:33 AM
Hi ricky ive installed this with no errors or problems. can i ask one thing please. how on earth do you do a full bar with links in and that like the one in the screen shot. Im using SMF 1.1.7
Title: Re: eFloating Bar Mod for Guests & Members
Post by: coucnilhomeswap on January 27, 2009, 05:50:12 AM
also please note that i had to create a scripts folder on my site as the default theme does not have one. you may want to add that to your installation instructions.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: JungleBunny on January 27, 2009, 06:03:45 AM
Quote from: alanrobinsonleigh on January 27, 2009, 05:47:33 AM
Hi ricky ive installed this with no errors or problems. can i ask one thing please. how on earth do you do a full bar with links in and that like the one in the screen shot. Im using SMF 1.1.7

Use the source code of your webpage creator.

For a link "Robinson Club" (bold and large) you must copy in the message box :


<P><B><A HREF="http://robinsonclub.com"><FONT SIZE="5">Robinson Club</FONT></A><FONT SIZE="5"></FONT></B></P>

And so on...........
Title: Re: eFloating Bar Mod for Guests & Members
Post by: jossanaijr on January 27, 2009, 06:55:32 AM
Thank you!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: marchingelite2 on January 27, 2009, 07:45:23 AM
Quote from: LinK187 on January 26, 2009, 10:25:55 PM
Quote from: Realinfo on January 26, 2009, 10:24:14 PM
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.  

I got this message.............. when try to install it.............

So make the folder(s) writeable.

Ive got the same problem, which folder(s) have we got to make writeable?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: bullbreedluverz on January 27, 2009, 08:07:52 AM
Quote from: marchingelite2 on January 27, 2009, 07:45:23 AM
Quote from: LinK187 on January 26, 2009, 10:25:55 PM
Quote from: Realinfo on January 26, 2009, 10:24:14 PM
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.  

I got this message.............. when try to install it.............

So make the folder(s) writeable.

Ive got the same problem, which folder(s) have we got to make writeable?

using your FTP find the files that arent writeable, right click on it, select permisions and change it to 777

./Themes/default/languages/Modifications.english.php or ./Themes/default/languages/Modifications.english-utf8.php if you use that
./Sources/ModSettings.php
./Themes/default/index.template.php
Title: Re: eFloating Bar Mod for Guests & Members
Post by: marchingelite2 on January 27, 2009, 08:09:41 AM
Quote from: bullbreedluverz on January 27, 2009, 08:07:52 AM
Quote from: marchingelite2 on January 27, 2009, 07:45:23 AM
Quote from: LinK187 on January 26, 2009, 10:25:55 PM
Quote from: Realinfo on January 26, 2009, 10:24:14 PM
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.  

I got this message.............. when try to install it.............

So make the folder(s) writeable.

Ive got the same problem, which folder(s) have we got to make writeable?

using your FTP find the files that arent writeable, right click on it, select permisions and change it to 777

it doesnt state which files tho :( its got to be the same as manual install tho isnt it?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: bullbreedluverz on January 27, 2009, 08:10:45 AM
just added the actual files but yes its the same as manual edit files - check the file permissions for those and see if they are 777
Title: Re: eFloating Bar Mod for Guests & Members
Post by: marchingelite2 on January 27, 2009, 08:19:39 AM
ok ive done that and its installed, but now i got this on the very top of my page :(

//eFloatingbar for SMF by Ricky. $txt['admin_efloatingbar'] = 'eFloating Bar for SMF - Settings'; $txt['efloatingbar_user_style'] = 'Place your Custom CSS Here'; $txt['efloatingbar_text_guest_default'] = 'Welcome Guest , please login or register'; $txt['efloatingbar_text_logged_default'] = 'Hey ya! How are you Today, Welcome back to the Community!' ; $txt['efloatingbar_mode_guest'] = 'Enable the eFloating Bar Mod for Guests?'; $txt['efloatingbar_text_guest'] = 'Write your own Message for the guest on the eFloating Bar.'; $txt['efloatingbar_mode_logged'] = 'Enable the eFloating Bar Mod for Logged in Users?'; $txt['efloatingbar_text_logged'] = 'Write Your own Custom Message for Logged in Members for eFloating Bar.'; $txt['efloatingbar_css_enable'] = 'Select this if you want to use your own CSS instead of deault'; $txt['efloatingbar_css_default'] = '#topbar { font-size:70%; position:absolute; border: 2px solid black; padding: 2px; background-color:#ECFFBF; width: 450px; visibility: hidden; z-index: 100; } #topbar a:hover { color: #FFFFFF; background-color:#FF6600; }'; //End eFloatingbar

i am going to replace the files that i altered and see if it goes away, also replace the different theme files too..

any other suggestions?

Thanks again
Title: Re: eFloating Bar Mod for Guests & Members
Post by: coucnilhomeswap on January 27, 2009, 08:23:50 AM
ok guys a little tip for you. If your getting errors saying some files need to be writable. goto Themes/default and create a folder called "scripts" and chmod it to 777. that should help you out.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 27, 2009, 09:29:11 AM
Quote from: tanny on January 26, 2009, 05:58:55 PM
can u explain how to install in Custom Template ?


nice mode...

thnx
tanny

Go here: http://custom.simplemachines.org/mods/index.php?mod=1607
There Click on Submit which shows manual install instruction for the mod. ie. you have to download files and manually edit as per instructions you find there.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 27, 2009, 09:49:31 AM
Quote from: marchingelite2 on January 27, 2009, 08:19:39 AM
ok ive done that and its installed, but now i got this on the very top of my page :(

//eFloatingbar for SMF by Ricky. $txt['admin_efloatingbar'] = 'eFloating Bar for SMF - Settings'; $txt['efloatingbar_user_style'] = 'Place your Custom CSS Here'; $txt['efloatingbar_text_guest_default'] = 'Welcome Guest , please login or register'; $txt['efloatingbar_text_logged_default'] = 'Hey ya! How are you Today, Welcome back to the Community!' ; $txt['efloatingbar_mode_guest'] = 'Enable the eFloating Bar Mod for Guests?'; $txt['efloatingbar_text_guest'] = 'Write your own Message for the guest on the eFloating Bar.'; $txt['efloatingbar_mode_logged'] = 'Enable the eFloating Bar Mod for Logged in Users?'; $txt['efloatingbar_text_logged'] = 'Write Your own Custom Message for Logged in Members for eFloating Bar.'; $txt['efloatingbar_css_enable'] = 'Select this if you want to use your own CSS instead of deault'; $txt['efloatingbar_css_default'] = '#topbar { font-size:70%; position:absolute; border: 2px solid black; padding: 2px; background-color:#ECFFBF; width: 450px; visibility: hidden; z-index: 100; } #topbar a:hover { color: #FFFFFF; background-color:#FF6600; }'; //End eFloatingbar

i am going to replace the files that i altered and see if it goes away, also replace the different theme files too..

any other suggestions?

Thanks again
Problem with your ./Themes/default/languages/Modifications.english.php

Open it and make sure that everything in that file is enclosed between <?php   ..  ?> <?php 

EVERYTHING IN YOUR Language file
..

.
.
?>


IF using UTF then also check ./Themes/default/languages/Modifications.english-utf8.php for same.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 27, 2009, 10:11:54 AM
Quote from: Realinfo on January 26, 2009, 10:24:14 PM
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.  

I got this message.............. when try to install it.............
Quote from: alanrobinsonleigh on January 27, 2009, 08:23:50 AM
ok guys a little tip for you. If your getting errors saying some files need to be writable. goto Themes/default and create a folder called "scripts" and chmod it to 777. that should help you out.

For those who are facing "Folder Permission Error" should download version 0.1.1 , did some minor changes and should be helpful to eliminate such issues.
However, you can make all files writable from Admin --> Packages --> Option (in SMF 1.1.x) and after that it won't show any error in install.
After that operation -revert to "Minimum Files Writable".
Title: Re: eFloating Bar Mod for Guests & Members
Post by: thomase on January 27, 2009, 10:43:57 AM
I've made the files specified in this thread writeable...the FTP thing comes up..enter the correct details then I get this:

Session verification failed. Please try logging out and back in again, and then try again.

I've logged off, signed in, used a different theme, etc, and still get it and can't get the MOD to work.

It look fantastic, any help will be appreciated :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: bullbreedluverz on January 27, 2009, 11:00:55 AM
Quote from: thomase on January 27, 2009, 10:43:57 AM
I've made the files specified in this thread writeable...the FTP thing comes up..enter the correct details then I get this:

Session verification failed. Please try logging out and back in again, and then try again.

I've logged off, signed in, used a different theme, etc, and still get it and can't get the MOD to work.

It look fantastic, any help will be appreciated :)

this is a problem thats arose for some people since the upgrade to 1.1.7, i had it before and the edit in this link worked for me http://www.simplemachines.org/community/index.php?topic=278824.0
Title: Re: eFloating Bar Mod for Guests & Members
Post by: qubbah on January 27, 2009, 11:02:12 AM
how can i align to top middle?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 27, 2009, 11:57:55 AM
Quote from: qubbah on January 27, 2009, 11:02:12 AM
how can i align to top middle?

Using CSS you can do that too..  can be shifted towards middle too, though exactly its not in center but can be achieved what you want.
I just added margin-left:200px
and it will shift 200px towards left.
#topbar
{
   font-size:70%;
   position:absolute;
   border: 2px solid black;
   padding: 2px;
   background-color:lightblue;
   width:450px;
   visibility: hidden;
   z-index: 100;
   margin-left:200px;  /*This is where I made the changes */
}

#topbar a:hover
{
color: #FFFFFF;
background-color:#FF6600;
}
Title: Re: eFloating Bar Mod for Guests & Members
Post by: JungleBunny on January 27, 2009, 01:23:39 PM
Poooooooooor Ricky :-X,

I am sure you spent more time to answer some newbie questions than you have made your fine mod, lolllllllllllll
Title: Re: eFloating Bar Mod for Guests & Members
Post by: mrtrc266 on January 27, 2009, 01:38:59 PM
Quote from: JungleBunny on January 27, 2009, 05:01:08 AM
Quote from: mrtrc266 on January 27, 2009, 02:02:30 AM
Very cool Mod Installed clean, can your post up your entire code for the floating window to give an example of how and where to put in the HTML code that show the links and everything?

Thank you in advance

Wrote this some articles before !

Put your html code in the message box ( guest or logged user ).
If you have a webpage prgram like dreamweaver, frontpage etc, copy the source code into the message box and give it a try :)

I tried that but it input field will only hold 74 Characters?

Running SMF Beta 2

See attatched pic.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: mash-e1 on January 27, 2009, 02:29:45 PM
how do i add the registrations link on there

please can some one help me
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 27, 2009, 02:35:04 PM
Well.. I tested it with whole page of thousands of
Quote from: JungleBunny on January 27, 2009, 01:23:39 PM
Poooooooooor Ricky :-X,

I am sure you spent more time to answer some newbie questions than you have made your fine mod, lolllllllllllll
Well.. I am happy ppl like you and bullzbreedlover are also giving support.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 27, 2009, 02:36:51 PM
Quote from: mrtrc266 on January 27, 2009, 01:38:59 PM
Quote from: JungleBunny on January 27, 2009, 05:01:08 AM
Quote from: mrtrc266 on January 27, 2009, 02:02:30 AM
Very cool Mod Installed clean, can your post up your entire code for the floating window to give an example of how and where to put in the HTML code that show the links and everything?

Thank you in advance

Wrote this some articles before !

Put your html code in the message box ( guest or logged user ).
If you have a webpage prgram like dreamweaver, frontpage etc, copy the source code into the message box and give it a try :)

I tried that but it input field will only hold 74 Characters?

Running SMF Beta 2

See attatched pic.

You need to make HTML in separate editor and then paste whole in it.
I Have just tested it in SMF 2b4 and yesterday in smf117

Here you can see it in action: linuxsolved.com/smf2/index.php
It got many hundreds of words.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 27, 2009, 03:23:37 PM
Quote from: mash-e1 on January 27, 2009, 02:29:45 PM
how do i add the registrations link on there

please can some one help me

You need to do like this :
<a href="LINK HERE">YOUR TEXT</a>

Though.. if you leave GUEST text box blank but enable it then it will show the registration link.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: zakmoore on January 27, 2009, 04:03:55 PM
Hey Ricky,

Great mod - I've got mine working in the LiveCity theme now, and I even have my ads appearing for logged in members.

My question is this:  I looked at the two .js files and at the top there appears to be 4 settings:

var persistclose = 1 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 60 //set x offset of bar in pixels
var startY = 10 //set y offset of bar in pixels
var verticalpos="frombottom" //enter "fromtop" or "frombottom"

However, when I made changes, nothing changed.  I was trying to move the bar from top to bottom and I also was trying to make it so the guests only had to close it once per session.  Any suggestions why making these file changes had no result?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: JungleBunny on January 27, 2009, 05:22:22 PM
I see Ricky has no much work, so I have a suggestion O:) :D :D :D :D :D :D :D :D :D
What´s about a message for some membergroups 8)
Another message for moderators or normal members.

Was only a thought O:) :) :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: shumilica on January 27, 2009, 06:28:39 PM
Great mod Ricky. Can I give you an idea for a next mod based on the same script?
Can you make a mod that will make a pop-up just like this one but only to show when somebody (and only to that someone) receives a PM?

If you think that my idea is a good one, I think this mod: http://custom.simplemachines.org/mods/index.php?mod=1202 will hep you get the necessary code to put in the right place without spending to much time making to mod...
Title: Re: eFloating Bar Mod for Guests & Members
Post by: marchingelite2 on January 28, 2009, 04:31:33 AM
Quote from: Ricky. on January 27, 2009, 09:49:31 AM
Quote from: marchingelite2 on January 27, 2009, 08:19:39 AM
ok ive done that and its installed, but now i got this on the very top of my page :(

//eFloatingbar for SMF by Ricky. $txt['admin_efloatingbar'] = 'eFloating Bar for SMF - Settings'; $txt['efloatingbar_user_style'] = 'Place your Custom CSS Here'; $txt['efloatingbar_text_guest_default'] = 'Welcome Guest , please login or register'; $txt['efloatingbar_text_logged_default'] = 'Hey ya! How are you Today, Welcome back to the Community!' ; $txt['efloatingbar_mode_guest'] = 'Enable the eFloating Bar Mod for Guests?'; $txt['efloatingbar_text_guest'] = 'Write your own Message for the guest on the eFloating Bar.'; $txt['efloatingbar_mode_logged'] = 'Enable the eFloating Bar Mod for Logged in Users?'; $txt['efloatingbar_text_logged'] = 'Write Your own Custom Message for Logged in Members for eFloating Bar.'; $txt['efloatingbar_css_enable'] = 'Select this if you want to use your own CSS instead of deault'; $txt['efloatingbar_css_default'] = '#topbar { font-size:70%; position:absolute; border: 2px solid black; padding: 2px; background-color:#ECFFBF; width: 450px; visibility: hidden; z-index: 100; } #topbar a:hover { color: #FFFFFF; background-color:#FF6600; }'; //End eFloatingbar

i am going to replace the files that i altered and see if it goes away, also replace the different theme files too..

any other suggestions?

Thanks again
Problem with your ./Themes/default/languages/Modifications.english.php

Open it and make sure that everything in that file is enclosed between <?php   ..  ?> <?php 

EVERYTHING IN YOUR Language file
..

.
.
?>


IF using UTF then also check ./Themes/default/languages/Modifications.english-utf8.php for same.

both files are as you state :( still have the same problem ive downloaded the updated version and it installed without the file permission perfect but still got that text on top of screen :(
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 28, 2009, 05:40:42 AM
Quote from: JungleBunny on January 27, 2009, 05:22:22 PM
I see Ricky has no much work, so I have a suggestion O:) :D :D :D :D :D :D :D :D :D
What´s about a message for some membergroups 8)
Another message for moderators or normal members.

Was only a thought O:) :) :)

That is a big lolz :P
Because I am supporting my MOD it never means I am free :P I am pretty much occupied.. rather over occupied :)
But yes I have many ideas to incorporate in this MOD :)

Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 28, 2009, 05:42:58 AM
Quote from: zakmoore on January 27, 2009, 04:03:55 PM
Hey Ricky,

Great mod - I've got mine working in the LiveCity theme now, and I even have my ads appearing for logged in members.

My question is this:  I looked at the two .js files and at the top there appears to be 4 settings:

var persistclose = 1 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 60 //set x offset of bar in pixels
var startY = 10 //set y offset of bar in pixels
var verticalpos="frombottom" //enter "fromtop" or "frombottom"

However, when I made changes, nothing changed.  I was trying to move the bar from top to bottom and I also was trying to make it so the guests only had to close it once per session.  Any suggestions why making these file changes had no result?

I hope you are editing script made for guests :)
Well after making changes I suggest you to clear your browser cache and then try. Or simply try in other browser.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 28, 2009, 05:45:35 AM
Quote from: shumilica on January 27, 2009, 06:28:39 PM
Great mod Ricky. Can I give you an idea for a next mod based on the same script?
Can you make a mod that will make a pop-up just like this one but only to show when somebody (and only to that someone) receives a PM?

If you think that my idea is a good one, I think this mod: http://custom.simplemachines.org/mods/index.php?mod=1202 will hep you get the necessary code to put in the right place without spending to much time making to mod...
Thanx for you good words.
But for PM I guess we already have Popup PM notification built in then why would one need it ? Btw, what you want to show in this pop-up layer.. PM notification or PM itself ?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: coucnilhomeswap on January 28, 2009, 08:56:24 AM
ricky is there a way i can make this come up only once for registered members instead of it following them around the entire forum.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: JungleBunny on January 28, 2009, 12:18:33 PM
Why ?

They can simply close it !
Title: Re: eFloating Bar Mod for Guests & Members
Post by: coucnilhomeswap on January 28, 2009, 12:30:42 PM
i know but if the close it and go to another page it bounces back up
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 28, 2009, 01:08:55 PM
Quote from: alan1979 on January 28, 2009, 12:30:42 PM
i know but if the close it and go to another page it bounces back up

But for registered users it won't bounce back. It does same only for guests.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: JungleBunny on January 28, 2009, 02:04:54 PM
No Ricky, I checked it.
He is right, it bounced back.
Tested it for guests and closed the window but when I clicked to another thread the popup  opened again.
OK, closed it, another thread and popup wad there again :-X
Title: Re: eFloating Bar Mod for Guests & Members
Post by: zakmoore on January 28, 2009, 02:13:50 PM
Well, it looks like to me there is a setting that would prevent the bouncing back problem you're having.

I posted on page 3 about this, but still no response.  In the javascript files, there seems to be four lines of code at the top that are settings, one of which to control whether or not a guest would continue to receive the floating bar after manual close (upon navigating to another page).

Here is an example of what I was talking about...

var persistclose = 1 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 60 //set x offset of bar in pixels
var startY = 10 //set y offset of bar in pixels
var verticalpos="frombottom" //enter "fromtop" or "frombottom"

This is in each javascript file - one for guests and one for logged in member.  So, each seems to have setting controls.  Except for the fact that when I change these, nothing different happens.  I wanted to change mine from appearing at the top to display at the bottom of the page... no change.  As well as, no change on for the visitors either - they continue to receive the floating pop-up, even when set to "1" to remain closed.

Are these settings real, or just appear that way Ricky?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 28, 2009, 02:33:50 PM
Well.. these settings are real and btw.. I did replied to your question asking you to clear your browser cache after changing the script settings.

In this MOD, it appears for GUEST always even if they closed it but for Members, it appears only once if they closed it. However, in some cases I found  that for members it do not appear at all or did not close remains close even if closed manually.. but that was on few or rather 2 forums.. one was with 60+ MODs and another was with 45+ MODs.. So I guess was conflict with some MOD.. may be something like Ajax shoutbox or a MOD which make use of Javascripts significantly. However, I not sure which mod caused it.

But may be I will come with some work around for this in future release.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: zakmoore on January 28, 2009, 02:44:37 PM
Quote from: Ricky. on January 28, 2009, 02:33:50 PM
Well.. these settings are real and btw.. I did replied to your question asking you to clear your browser cache after changing the script settings.

Sorry man, I missed your reply.  I've cleared browser cache and changed browsers - I normally check things in both IE and Firefox, but also lately in Chrome as well.

I'm not as worried about the guests having to click the bar every time they change pages - I want them to join anyway.  My primary objective was moving the bar to the bottom, which it appeared the last setting would do... but, hasn't.  I even made sure that I didn't have any custom css in the admin and it still didn't move it to the bottom.

But, I did move it to the middle of the page using the custom css, so at least my site's title isn't covered up with it any longer.  Overall, I'm happy :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: willerby on January 28, 2009, 05:58:35 PM
Thanks Ricky, nice mod and works fine on 2.0RC1.

Fantastic for getting an instruction or message to all members that you know they will see, great for non-intrusive ads and most importantly annoys guests enough to either register or go away when you stick it in the middle of the screen...

W

Title: Re: eFloating Bar Mod for Guests & Members
Post by: JungleBunny on January 28, 2009, 07:20:18 PM
Hey Ricky,

I miss one function !!!!!

When you start the mod, is it possible that then some real Euro Cash come from the printer ?????????
Please !!!!!

8) 8) :D :D :D :D :D :D :D

Title: Re: eFloating Bar Mod for Guests & Members
Post by: Harvester on January 28, 2009, 09:43:04 PM
How do you get html into the box? It seems to only hold so many characters. Id like to do something like in your example. I already have the css you posted but thats just for the empty box. How do I get html inside the box? images, formatted text and links inside the box is wht I am shooting for.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: JungleBunny on January 28, 2009, 10:56:19 PM
******, Harvester !!!!!!

read the answers in this topic !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Then your question has got an answer.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 29, 2009, 03:12:05 AM
Quote from: Harvester on January 28, 2009, 09:43:04 PM
How do you get html into the box? It seems to only hold so many characters. Id like to do something like in your example. I already have the css you posted but thats just for the empty box. How do I get html inside the box? images, formatted text and links inside the box is wht I am shooting for.

Once again.. you just create HTML in your favourite HTML editor and paste into the GUEST Bar box or Logged in Member box . :) You can also take help of CSS..
Basically if you have basic knowledge of CSS and HTML then you can do a lot with it :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 29, 2009, 03:12:33 AM
Quote from: JungleBunny on January 28, 2009, 07:20:18 PM
Hey Ricky,

I miss one function !!!!!

When you start the mod, is it possible that then some real Euro Cash come from the printer ?????????
Please !!!!!

8) 8) :D :D :D :D :D :D :D



I wish I could do that for me too :P
Title: Re: eFloating Bar Mod for Guests & Members
Post by: drakeone69 on January 29, 2009, 04:54:09 AM
.......Nevermind problem solved, but this is the code if anyone wants to create something similar, just enter this into the Write your own Message for the guest on the eFloating Bar. area and the Write Your own Custom Message for Logged in Members for eFloating Bar. and NOT the Place your Custom CSS Here box.

This is the code I used for each.

<html>
<body>

<style type="text/css">

#topbar{
position:absolute;
border: 5px solid #9ECA7D;
padding: 10px;
background-color: lightyellow;
width: 400px;
height: 500px;
visibility: hidden;
z-index: 500;
font-size:11px;
}
#topbar p{
margin:0px;
}
#topbar a
{color : #0000FF;}
</style>


<center><h2 style="font-size:18px;color:#528751; margin-top: 30px;"><strong>We are happy to see you on the Mind Of Mankind</strong></h2>
<strong>MMK - MindMankind.com</strong> is a place to entertain as well to spread knowledge around. One of the most exciting Communities over Internet.
<h3>We would like you to <a href="http://mindmankind.com/index.php?action=register"> Join</a> MMK Forums Today.</h3>

</center>
<h2 style="margin-left:8px;font-size:18px">Why JOIN MMK forums ?</h2>
<ul style="list-style:square; line-height:15px; color:#666666"><li>You will become part of one of the fastest growing Communities</li>
<li>Show your writings or other creative skills with millions around the web through MMK</li>
<li>Talk about hot topics and issues of the world</li>
<li>Ask questions and get answers from members @ MMK.</li>
<li>Share your favorite poetry, music or your favorite online videos!</li>
<li>Talk about Favourite Shows and Celebrities &amp; lot more!</li></ul>

<center><h3><a href="http://mindmankind.com/index.php?action=register">Register Now - <strong>Its FREE</strong></a></h3>
<p>Already a member then <a href="" onClick="closebar(); return false">CLOSE</a> this window and Login.</p>
<h1 style="font-size:22px"><strong><a href="http://mindmankind.com/index.php?action=register">JOIN US</a>
</strong></h1></center>
</body>
</html>


and


<html>

<body>

<style>
#topbar
{
   font-size:70%;
   position:absolute;
   border: 2px solid black;
   padding: 2px;
   background-color:lightblue;
   width:450px;
   visibility: hidden;
   z-index: 100;
   margin-left:200px;
}

#topbar a:hover
{
   color: #FFFFFF;
   background-color:#FF6600;
}
</style>

<a href="http://mindmankind.com/index.php?action=mgallery">Check out the new Media Gallery!<br />Upload your own music, pictures & videos!<br />Or you could just browse around...</a>
</body>
</html>

Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 29, 2009, 09:42:54 AM
@drakeone69
Though that code will work but technically its not appropriate, may result in non-functioning of few Ajax things like quick quote.. but I said. may !!

It should be:

For Guest box:
The HTML should go in "Custom Text for Guests"
<center><h2 style="font-size:18px;color:#528751; margin-top: 30px;"><strong>We are happy to see you on the Mind Of Mankind</strong></h2>
<strong>MMK - MindMankind.com</strong> is a place to entertain as well to spread knowledge around. One of the most exciting Communities over Internet.
<h3>We would like you to <a href="http://mindmankind.com/index.php?action=register"> Join</a> MMK Forums Today.</h3>

</center>
<h2 style="margin-left:8px;font-size:18px">Why JOIN MMK forums ?</h2>
<ul style="list-style:square; line-height:15px; color:#666666"><li>You will become part of one of the fastest growing Communities</li>
<li>Show your writings or other creative skills with millions around the web through MMK</li>
<li>Talk about hot topics and issues of the world</li>
<li>Ask questions and get answers from members @ MMK.</li>
<li>Share your favorite poetry, music or your favorite online videos!</li>
<li>Talk about Favourite Shows and Celebrities &amp; lot more!</li></ul>

<center><h3><a href="http://mindmankind.com/index.php?action=register">Register Now - <strong>Its FREE</strong></a></h3>
<p>Already a member then <a href="" onClick="closebar(); return false">CLOSE</a> this window and Login.</p>
<h1 style="font-size:22px"><strong><a href="http://mindmankind.com/index.php?action=register">JOIN US</a>
</strong></h1></center>


And css part should go in CSS box:
#topbar{
position:absolute;
border: 5px solid #9ECA7D;
padding: 10px;
background-color: lightyellow;
width: 400px;
height: 500px;
visibility: hidden;
z-index: 500;
font-size:11px;
}
#topbar p{
   margin:0px;
}
#topbar a
{color : #0000FF;}


Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on January 29, 2009, 07:11:22 PM
If you are installing this Mod on any theme OTHER than the default theme , You need to Manually edit YOUR themes index.template.php . the Code is below for those that do not know how to use the Package Parser.

I use this Mod on a Heavily Modded ( 98 mods + Custom Code) 1.1.7 Babylon Themed Forum, with NO Issues at all.


./Themes/ Your Template /index.template.php

Find :

// Show all the relative links, such as help, search, contents, and the like.
echo '


Add Before :


//eFloating Bar Mod by Ricky.
if ($context['user']['is_guest'] && !empty($modSettings['efloatingbar_mode_guest']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
echo '<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/floating-bar-guest.js"></script>';

if ($context['user']['is_logged'] && !empty($modSettings['efloatingbar_mode_logged']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
echo'
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/floating-bar-logged.js"></script>
';
echo 
'<style type="text/css"> ',
(empty($modSettings['efloatingbar_css_enable']))? $txt['efloatingbar_css_default'] : $modSettings['efloatingbar_user_style'] , '</style>';
//End eFloating Bar Mod



Find:

<body>';


Add After:


//Show the efloating bar only if the MOD is enabled for Guest and Guests are not on Register or Login Pages
     if ($context['user']['is_guest'] && !empty($modSettings['efloatingbar_mode_guest']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {
echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>[x]</strong></a></span>
', (empty($modSettings['efloatingbar_text_guest'])) ? $txt['efloatingbar_text_guest_default'] : $modSettings['efloatingbar_text_guest'], '
</div>';
}
//Show the efloating bar only if the MOD is enabled for Members
     if ($context['user']['is_logged'] && !empty($modSettings['efloatingbar_mode_logged']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {
echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>[x]</strong></a></span>
', (empty($modSettings['efloatingbar_text_logged'])) ? $txt['efloatingbar_text_logged_default'] : $modSettings['efloatingbar_text_logged'], '
</div>';
}



This Code is straight from Rickys Mod............


Thanks Ricky !!   Great Mod !!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: qubbah on January 30, 2009, 02:13:14 AM
Thanks 4 this great mod.

Before this the new user for my forum daily average is 8 to 13 user per day

After using this mod for day one = 61 new registered users
                                      day two = 64 new registered users

Thanks.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: nwobhm on January 30, 2009, 08:04:13 AM
Thanks! Great mod! Works nicely and was easy to install!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Marcus Forsberg on January 30, 2009, 11:07:08 AM
Swedish translation:


//eFloatingbar for SMF by Ricky.
$txt['admin_efloatingbar'] = 'eFloating Bar för SMF - Inställningar';
$txt['efloatingbar_user_style'] = 'Placera din egen CSS-kod här';
$txt['efloatingbar_text_guest_default'] = 'Välkommen, Gäst. Var god <a href="'. $scripturl .'index.php?action=login"><b>logga in</b></a> eller <a href="'. $scripturl .'index.php?action=register"><b>registrera dig</b></a>';
$txt['efloatingbar_text_logged_default'] = '<strong>Tjena! Hur mår du idag?</strong> Välkommen tillbaka till våran community!' ;
$txt['efloatingbar_mode_guest'] = 'Aktivera  eFloating Bar för gäster?';
$txt['efloatingbar_text_guest'] = 'Skriv ditt eget meddelande som visas för gäster genom eFloating Bar.';
$txt['efloatingbar_mode_logged'] = 'Aktivera  eFloating Bar för inloggade medlemmar?';
$txt['efloatingbar_text_logged'] = 'Skriv ditt eget meddelande som visas för inloggade medlemmar genom eFloating Bar.';
$txt['efloatingbar_css_enable'] = 'Markera detta om du vill använda din egen CSS kod istället för standard-koden.';
$txt['efloatingbar_css_default'] = '#topbar
{
   font-size:70%;
   position:absolute;
   border: 2px solid black;
   padding: 2px;
   background-color:#ECFFBF;
   width: 450px;
   visibility: hidden;
   z-index: 100;
}

#topbar a:hover
{
color: #FFFFFF;
background-color:#FF6600;
}';
//End eFloatingbar
Title: Re: eFloating Bar Mod for Guests & Members
Post by: daragor on January 30, 2009, 02:19:58 PM
Hi mate! great mod.. i do the spanish translate for you  :D


<file name="$languagedir/Modifications.spanish.php">
<operation>
<search position="end" />
<add><![CDATA[
//eFloatingbar for SMF by Ricky.
$txt['admin_efloatingbar'] = 'eFloating Bar for SMF - Configuracion';
$txt['efloatingbar_user_style'] = 'Coloque su codigo CSS Aqui';
$txt['efloatingbar_text_guest_default'] = 'Bienvenido! Estas como invitado, Por Favor <a href="'. $scripturl .'index.php?action=login"><b>Logueate</b></a> o <a href="'. $scripturl .'index.php?action=register"><b>Registrate</b></a>';
$txt['efloatingbar_text_logged_default'] = '<strong>Hola!, Buen Dia!</strong> Bienvenido Nuevamente a la Comunidad!' ;
$txt['efloatingbar_mode_guest'] = 'Activar el eFloating Bar Mod para invitados?';
$txt['efloatingbar_text_guest'] = 'Escribe tu mensaje para los invitados en el eFloating Bar.';
$txt['efloatingbar_mode_logged'] = 'Activar el eFloating Bar Mod para usuarios logueados?';
$txt['efloatingbar_text_logged'] = 'Escribe tu mensaje para los miembros logueados en el eFloating Bar.';
$txt['efloatingbar_css_enable'] = 'Seleciona esto si quieres usar tu propio CSS como predeterminado';
$txt['efloatingbar_css_default'] = '#topbar
{
   font-size:70%;
   position:absolute;
   border: 2px solid black;
   padding: 2px;
   background-color:#ECFFBF;
   width: 450px;
   visibility: hidden;
   z-index: 100;
}

#topbar a:hover
{
color: #FFFFFF;
background-color:#FF6600;
}';
//End eFloatingbar
]]></add>
</operation>
</file>



I need help for apply this mod in OverView Theme: index.templete.php not found <body>';

In this mod is <body> only, and result with error:

Template Parse Error!
There was a problem loading the /Themes/OverView/index.template.php

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


Please any help?? (sorry my english is very poor)  :-\ thanks!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 30, 2009, 05:10:00 PM
Attach your index.template.php here!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: daragor on January 30, 2009, 07:36:13 PM
It's done!  :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on January 30, 2009, 10:12:50 PM
Ricky.

There is a small mis-spelling in :

/Default/Languages/Modifications.english.php and /Default/Languages/Modifications.english-utf8.php

Find:

$txt['efloatingbar_css_enable'] = 'Select this if you want to use your own CSS instead of deault';


it should read:


Replace with :

$txt['efloatingbar_css_enable'] = 'Select this if you want to use your own CSS instead of default';


other than that................awesome Mod !!!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 31, 2009, 06:31:35 AM
Quote from: daragor on January 30, 2009, 07:36:13 PM
It's done!  :)

I have made the changes required. Try it and let me know if it worked for you!

@TW1ST3D
Thanx for notifying me about the error. Hopefully I will fix it with new version which will have cool new features :P
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Geri Lx on January 31, 2009, 08:23:54 AM
Hi.
I also think this is a realy great mod and I'd like to install it on my forum, but iI got an error  (index.template)  when installing. So I tryed to install it manualy but I cannot find the  <body>'; string in index.template.
I have:
-SMF 1.1.7
-default theme
-and those mods installed:

1.   Blog (for 1.1.5)   1.11     
2.   BoardHover Mod   1.2.1 
3.   SimplePortal   2.1    
4.   Auto Embed Video/Audio Clips   3.0     
5.   SimplePortal   2.1.1     
6.   SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update   1.0     
7.   Show Local Url Titles   1.1     
8.   SMF 1.0.14 / 1.1.6 Update   1.0     
9.   Collapsible Categories   1.0.1 
10.   SMF 1.0.14 / 1.1.6 Update   1.0     
11.   SMF Gallery Lite   1.9.1 
12.   SMF 1.0.15 / 1.1.7 Update   1.0 
13.   AdSense Section Targeting Mod   1.0

I attach here the index.template.php too.

What could I do so that I could use the mod and it does not affect other mods?

Anticipated thanks.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on January 31, 2009, 01:16:26 PM
@ Geri Lx

Try this one...........

OOps................Rename the file to index.template.php
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on January 31, 2009, 01:27:21 PM
@ disturbedspace

Try this one..........It should work
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Justass00 on January 31, 2009, 03:06:14 PM
It would be better if guest closes pop-up, it won't show him anymore.. (using cookies or something)
Sorry for my English..
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ken. on January 31, 2009, 03:17:48 PM
Quote from: Justass00 on January 31, 2009, 03:06:14 PM
It would be better if guest closes pop-up, it won't show him anymore.. (using cookies or something)
Sorry for my English..

Agreed... once it's closed how do we keep it from returning?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Geri Lx on January 31, 2009, 05:04:01 PM
 It works.
Thank you TW1ST3D.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on January 31, 2009, 05:11:20 PM
Hi TW1ST3D, thanx for supporting here :)

Regarding keeping it close, I will add something similar soon, meanwhile you can edit /Themes/default/scripts/floating-bar-guest.js

There some instructions are given, follow them !
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ken. on January 31, 2009, 05:46:05 PM
Quote from: Ricky. on January 31, 2009, 05:11:20 PM
Hi TW1ST3D, thanx for supporting here :)

Regarding keeping it close, I will add something similar soon, meanwhile you can edit /Themes/default/scripts/floating-bar-guest.js

There some instructions are given, follow them !

Thanks, that works.  :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: fredda88 on January 31, 2009, 07:38:37 PM
Nice MOD!

Im trying to use it on Enterprise theme but theres no floating bar, just text at the top. To much newbie to find whats wrong!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: coucnilhomeswap on February 01, 2009, 06:25:24 AM
hi could you take a look at my custom theme index.template.php cant seem to get it working
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 01, 2009, 09:14:52 AM
@ alan1979

Try the template attached..............It should work.

Note:  Remember to make Back-ups and if your edit fails just revert to the backup.

Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 01, 2009, 09:23:53 AM
Quote from: Ken. on January 31, 2009, 03:17:48 PM
Quote from: Justass00 on January 31, 2009, 03:06:14 PM
It would be better if guest closes pop-up, it won't show him anymore.. (using cookies or something)
Sorry for my English..

Agreed... once it's closed how do we keep it from returning?

Edit the following in your /Themes/default/scripts/floating-bar-guest.js

Find:

:

var persistclose = 0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session


change the 0 to 1 , then It will remain closed for the remainder of the session
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 01, 2009, 09:35:55 AM
@ fredda88

Try the Template attached...........It  should Work for you,

Make backups of your original in case it does not

Please post back and let me know.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: fredda88 on February 01, 2009, 09:49:43 AM
Still the same problem, the .js scripts should be in the theme folder right?

Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 01, 2009, 09:55:10 AM
Quote from: fredda88 on February 01, 2009, 09:49:43 AM
Still the same problem, the .js scripts should be in the theme folder right?


I checked while you were updating and found that
You will need to update your forum to 1.17 ..............1.1.RC3 is not compatible. Sorry.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 01, 2009, 11:40:19 AM
It should work on 1.1.x version because not interfering internals of SMF.

@Fredda8
Install mod and enable it, use file provided by TW1ST3D and let us know ur forum URL!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: fredda88 on February 01, 2009, 12:03:31 PM
OK, it's just the theme thats 1.1RC3. My forum is updated to 1.1.7.
Thanks for your help!

@Ricky it's www.digitalsat.nu
Title: Re: eFloating Bar Mod for Guests & Members
Post by: fredda88 on February 01, 2009, 12:22:17 PM
Sorry!
I missed to edit the language file in my custom theme.
Thanks anyway!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 01, 2009, 12:32:46 PM
@ Ricky.

Could you post the whole .css file of the Guest pop up from the India site including the added text?
I'm no .css guru , so I need to see the text in place to understand and edit.

Thanks.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 01, 2009, 12:40:20 PM

Quote from: fredda88 on February 01, 2009, 12:22:17 PM
Sorry!
I missed to edit the language file in my custom theme.
Thanks anyway!

Ahhhh..yes that would do it.

I just visited your site and it works as it should , Congrats !!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: fredda88 on February 01, 2009, 12:51:51 PM
Yeep! Trying to get the text more readable now. Once again thanks for your help and input!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 01, 2009, 01:00:35 PM
Very Cool.............
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 01, 2009, 01:37:36 PM
Hey TW1ST3D

In one reply I talked about same thing :
http://www.simplemachines.org/community/index.php?topic=288554.msg1901940#msg1901940

Have a look :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 01, 2009, 03:13:37 PM
Quote from: Ricky. on February 01, 2009, 01:37:36 PM
Hey TW1ST3D

In one reply I talked about same thing :
http://www.simplemachines.org/community/index.php?topic=288554.msg1901940#msg1901940

Have a look :)

LOL !!!  I saw that and it didn't even register !!!  I must have been having a stooooopid Moment !!!!!

With your Permission, I would like to use the "Template" that you provided and edit it with my own information..............
Title: Re: eFloating Bar Mod for Guests & Members
Post by: homikus on February 01, 2009, 09:13:41 PM
Well, firstly, thanks for the great mod :)

But there's actually only one thing I need it to. And it's php.

Is it, ro will it ever be, possible to parse php in the bar? If it already is - how to do it? Maybe some modification?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 02, 2009, 01:20:40 AM
Quote from: TW1ST3D on February 01, 2009, 03:13:37 PM
Quote from: Ricky. on February 01, 2009, 01:37:36 PM
Hey TW1ST3D

In one reply I talked about same thing :
http://www.simplemachines.org/community/index.php?topic=288554.msg1901940#msg1901940

Have a look :)

LOL !!!  I saw that and it didn't even register !!!  I must have been having a stooooopid Moment !!!!!

With your Permission, I would like to use the "Template" that you provided and edit it with my own information..............
You mean using the text shown on eTI ?  There is no problem in using it :)

@homikus
Would like to know what you want to insert inside this eFloatingbar in php!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: marchingelite2 on February 02, 2009, 04:40:59 AM
Hi me again lol

i finally got that error to go away, didn't do anything tho but installed another mod and it worked :) BUT

ive gone to Admin --> Features & Options --> Layout & Options

but there is no layout & options and no reference to this mod? can anyone help why?

thanks
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Garédo on February 02, 2009, 09:02:52 AM
Bonjour.
suite a un petit support sur le forum en français, j'ai fait la traduction française.
je la joint ici.
désolé pour mon englais, je ne parle pas englais.  :P
merci au traducteur google. ;)

exelent mod.  :)

___________________________________________________

   Hello.
suite has a small support on the French forum, I made the French translation.
I joined here.
sorry for my english, I do not speak english.  :P
thank you to google translator.  ;)

excellent mod.  :)

_____________________________________________________

Quote//eFloatingbar pour SMF par Ricky.
//trad fr garedo.
$txt['admin_efloatingbar'] = 'eFloating Bar pour SMF - Param&#232;tres';
$txt['efloatingbar_user_style'] = 'Placez votre CSS personnalis&#233; ici';
$txt['efloatingbar_text_guest_default'] = 'Bienvenue invit&#233;, s\'il vous pla&#238;t <a href="'. $scripturl .'index.php?action=login"><b>connectez-vous</b></a> ou <a href="'. $scripturl .'index.php?action=register"><b>enregistrez-vous</b></a>';
$txt['efloatingbar_text_logged_default'] = '<strong>Salut! Comment allez-vous aujourd\'hui,</strong> Bienvenue sur le forum!' ;
$txt['efloatingbar_mode_guest'] = 'Activer le mod eFloating Bar pour les invit&#233;s?';
$txt['efloatingbar_text_guest'] = 'R&#233;digez votre propre message pour les invit&#233;s dans la fen&#234;tre flottante.';
$txt['efloatingbar_mode_logged'] = 'Activer le mod eFloating Bar pour les membres?';
$txt['efloatingbar_text_logged'] = 'R&#233;digez votre propre message pour les membres dans la fen&#234;tre flottante.';
$txt['efloatingbar_css_enable'] = 'S&#233;lectionnez cette option si vous voulez utiliser votre propre CSS au lieu de celui par d&#233;fault';
$txt['efloatingbar_css_default'] = '#topbar
{
   font-size:70%;
   position:absolute;
   border: 2px solid black;
   padding: 2px;
   background-color:#ECFFBF;
   width: 450px;
   visibility: hidden;
   z-index: 100;
}

#topbar a:hover
{
   color: #FFFFFF;
   background-color:#FF6600;
}';
//Fin eFloatingbar
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on February 02, 2009, 11:18:55 AM
hi need some help installed the mod and it works fine on default core theme......i installed default core theme black and its visiable but the x is red and it does not scrool.

can some 1 please give me some advice on how to fix this in simple terms.

thxs.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 02, 2009, 11:58:11 AM
Quote from: Garédo on February 02, 2009, 09:02:52 AM
Bonjour.
suite a un petit support sur le forum en français, j'ai fait la traduction française.
je la joint ici.
désolé pour mon englais, je ne parle pas englais.  :P
merci au traducteur google. ;)

exelent mod.  :)

___________________________________________________

   Hello.
suite has a small support on the French forum, I made the French translation.
I joined here.
sorry for my english, I do not speak english.  :P
thank you to google translator.  ;)

excellent mod.  :)

_____________________________________________________

Quote//eFloatingbar pour SMF par Ricky.
//trad fr garedo.
$txt['admin_efloatingbar'] = 'eFloating Bar pour SMF - Paramètres';
$txt['efloatingbar_user_style'] = 'Placez votre CSS personnalisé ici';
$txt['efloatingbar_text_guest_default'] = 'Bienvenue invité, s\'il vous plaît <a href="'. $scripturl .'index.php?action=login"><b>connectez-vous</b></a> ou <a href="'. $scripturl .'index.php?action=register"><b>enregistrez-vous</b></a>';
$txt['efloatingbar_text_logged_default'] = '<strong>Salut! Comment allez-vous aujourd\'hui,</strong> Bienvenue sur le forum!' ;
$txt['efloatingbar_mode_guest'] = 'Activer le mod eFloating Bar pour les invités?';
$txt['efloatingbar_text_guest'] = 'Rédigez votre propre message pour les invités dans la fenêtre flottante.';
$txt['efloatingbar_mode_logged'] = 'Activer le mod eFloating Bar pour les membres?';
$txt['efloatingbar_text_logged'] = 'Rédigez votre propre message pour les membres dans la fenêtre flottante.';
$txt['efloatingbar_css_enable'] = 'Sélectionnez cette option si vous voulez utiliser votre propre CSS au lieu de celui par défault';
$txt['efloatingbar_css_default'] = '#topbar
{
   font-size:70%;
   position:absolute;
   border: 2px solid black;
   padding: 2px;
   background-color:#ECFFBF;
   width: 450px;
   visibility: hidden;
   z-index: 100;
}

#topbar a:hover
{
   color: #FFFFFF;
   background-color:#FF6600;
}';
//Fin eFloatingbar

HI,. thanx
Hopefully I will include it on next update.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 02, 2009, 12:04:50 PM
Quote from: marchingelite2 on February 02, 2009, 04:40:59 AM
Hi me again lol

i finally got that error to go away, didn't do anything tho but installed another mod and it worked :) BUT

ive gone to Admin --> Features & Options --> Layout & Options

but there is no layout & options and no reference to this mod? can anyone help why?

thanks

Had any error while installing it ?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 02, 2009, 12:05:31 PM
Quote from: UkGangsta on February 02, 2009, 11:18:55 AM
hi need some help installed the mod and it works fine on default core theme......i installed default core theme black and its visiable but the x is red and it does not scrool.

can some 1 please give me some advice on how to fix this in simple terms.

thxs.
Your theme shold hv custom language file. Edit it manually.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: marchingelite2 on February 02, 2009, 12:24:54 PM
Quote from: Ricky. on January 27, 2009, 09:49:31 AM
Quote from: marchingelite2 on January 27, 2009, 08:19:39 AM
ok ive done that and its installed, but now i got this on the very top of my page :(

//eFloatingbar for SMF by Ricky. $txt['admin_efloatingbar'] = 'eFloating Bar for SMF - Settings'; $txt['efloatingbar_user_style'] = 'Place your Custom CSS Here'; $txt['efloatingbar_text_guest_default'] = 'Welcome Guest , please login or register'; $txt['efloatingbar_text_logged_default'] = 'Hey ya! How are you Today, Welcome back to the Community!' ; $txt['efloatingbar_mode_guest'] = 'Enable the eFloating Bar Mod for Guests?'; $txt['efloatingbar_text_guest'] = 'Write your own Message for the guest on the eFloating Bar.'; $txt['efloatingbar_mode_logged'] = 'Enable the eFloating Bar Mod for Logged in Users?'; $txt['efloatingbar_text_logged'] = 'Write Your own Custom Message for Logged in Members for eFloating Bar.'; $txt['efloatingbar_css_enable'] = 'Select this if you want to use your own CSS instead of deault'; $txt['efloatingbar_css_default'] = '#topbar { font-size:70%; position:absolute; border: 2px solid black; padding: 2px; background-color:#ECFFBF; width: 450px; visibility: hidden; z-index: 100; } #topbar a:hover { color: #FFFFFF; background-color:#FF6600; }'; //End eFloatingbar

i am going to replace the files that i altered and see if it goes away, also replace the different theme files too..

any other suggestions?

Thanks again
Problem with your ./Themes/default/languages/Modifications.english.php

Open it and make sure that everything in that file is enclosed between <?php   ..  ?> <?php 

EVERYTHING IN YOUR Language file
..

.
.
?>


IF using UTF then also check ./Themes/default/languages/Modifications.english-utf8.php for same.

that was the error :)

Everything seems to have installed perfect just there is no option in admin for me to edit it or even look at it?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 02, 2009, 02:30:46 PM
Include your language files here. Also if you are on custom theme and it has language files then include that too ie. attach here.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: marchingelite2 on February 02, 2009, 02:53:50 PM
thanks for looking for me :)

in custom theme there is only 1 file called settings.english.php

Title: Re: eFloating Bar Mod for Guests & Members
Post by: homikus on February 02, 2009, 03:24:02 PM
Quote from: Ricky. on February 02, 2009, 01:20:40 AM
@homikus
Would like to know what you want to insert inside this eFloatingbar in php!

Hi,
I'd like to insert the function calling Language Drop Down (from THIS mod (http://custom.simplemachines.org/mods/index.php?mod=598)). The ability to switch between several languages is crucial for me and the users, but I haven't been able to find a satisfactory place to put the menu, so far. An additional window floating at the bottom of the screen seems just perfect :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 02, 2009, 04:56:33 PM
For those of you that want Bigger Text Boxes in Admin--->features and Options--->Layout and Options........in 1.1.7 and below

Open your Sources Folder , find  ModSettings.php, and open with a Good Editor ( I use Notepad++ [it's FREE !!])

Find:

//eFloatingbar by Ricky.
$txt['admin_efloatingbar'],
array('check', 'efloatingbar_mode_guest'),
array('large_text', 'efloatingbar_text_guest'),
array('check', 'efloatingbar_mode_logged'),
array('large_text', 'efloatingbar_text_logged'),
array('check', 'efloatingbar_css_enable'),
array('large_text', 'efloatingbar_user_style', '6" style="width:95%'),
'',
//End eFloatingbar


and Replace with:

//eFloatingbar by Ricky.
$txt['admin_efloatingbar'],
array('check', 'efloatingbar_mode_guest'),
array('large_text', 'efloatingbar_text_guest','6" style="width:95%'),
array('check', 'efloatingbar_mode_logged'),
array('large_text', 'efloatingbar_text_logged','6" style="width:95%'),
array('check', 'efloatingbar_css_enable'),
array('large_text', 'efloatingbar_user_style', '6" style="width:95%'),
'',
//End eFloatingbar


This will give you some room to do your edits and see what you are doing.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on February 02, 2009, 05:18:25 PM
ricky thankyou for your reply what files do i need to edit on my extreme6 theme and if possible can i attach the files here and see if you can get it working as of now its not working at all.

what files would u need ?

here is forum link
www.softwarezpro.com
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 02, 2009, 05:20:58 PM
@ UkGangsta

attach your index.template.php from that theme
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on February 02, 2009, 05:59:09 PM
here you go and ty
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 02, 2009, 06:09:09 PM
@ UkGangsta

Try this one and let me know if it works for You

(attached)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on February 02, 2009, 06:13:22 PM
sorry its not showing anything shall i unistall the mod and install again ? its the floating bar mod i have installed
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 02, 2009, 06:16:03 PM
@ UkGangsta

Did you edit the Language file as well?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on February 02, 2009, 06:17:29 PM
no i havnt edited any files sorry what files are needed to be edited ? looked in theme folder there is no language file present
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 02, 2009, 06:19:27 PM
Quote from: UkGangsta on February 02, 2009, 06:17:29 PM
no i havnt edited any files sorry what files are needed to be edited ?


Do you use English or English UTF-8 ?

also another crazy question..............Did you enable the mod in the admin area ? (Admin--->features and Options--->Layout and Options)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on February 02, 2009, 06:21:56 PM
i use english and yes its enabled in admin i appreciate your help !!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 02, 2009, 06:23:00 PM
are there any errors?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 02, 2009, 06:26:12 PM
Check the themes ./Themes/Extreme6 /languages/Modifications.english.php you  need to attach that file

If that theme does not have a file such as that , attach your

/Themes/default/languages/Modifications.english.php file and I'll have a look.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on February 02, 2009, 06:26:47 PM
no errors in error log or on install this has me very confused works fine on smf default core  :(
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on February 02, 2009, 06:29:46 PM
there is no language file in the theme and that file is not there.

here is the default modification file attached below.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on February 02, 2009, 06:33:23 PM
attached in above post ^^^^^^^
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 02, 2009, 06:37:34 PM
I think I found your problem........try this one.............Let me know if it works
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on February 02, 2009, 06:42:02 PM
sorry still nothing   :(
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 02, 2009, 06:52:03 PM
Hmmmmm............thats Odd !! you may want to go back and check all the files that are edited by the mod, The modifications.english.php was not complete and I fixed it. I also know that the Fussilet themes are layered, so that could be a problem............I'm not schooled enough in those to make that call. you could also uninstall and then reinstall to see if that helps. other than that , maybe Ricky. can help you............

one more thing to try, did you do a "Hard Refresh" by hitting your F5 button?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on February 02, 2009, 06:54:51 PM
ill do what u suggest and let you no but ty for all your help i really do appreciate it.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 03, 2009, 03:13:33 AM
Quote from: marchingelite2 on February 02, 2009, 02:53:50 PM
thanks for looking for me :)

in custom theme there is only 1 file called settings.english.php


Hi, your language file is fine. Hope you are using english language as default. Btw, try reinstalling the mod. May be that way it will work. But keep backup of old files.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 03, 2009, 03:35:09 AM
Quote from: homikus on February 02, 2009, 03:24:02 PM
Quote from: Ricky. on February 02, 2009, 01:20:40 AM
@homikus
Would like to know what you want to insert inside this eFloatingbar in php!

Hi,
I'd like to insert the function calling Language Drop Down (from THIS mod (http://custom.simplemachines.org/mods/index.php?mod=598)). The ability to switch between several languages is crucial for me and the users, but I haven't been able to find a satisfactory place to put the menu, so far. An additional window floating at the bottom of the screen seems just perfect :)

Hi, it can be wrapped into floating DIV, ie. Language dropdown then replace index.template.php code which is found after <body>'; and is inserted by eFloatingbar MOD. Try following, let me know if worked. You have to enable floating bar mod but have to left custom message box Empty.

//Show the efloating bar only if the MOD is enabled for Guest and Guests are not on Register or Login Pages
     if ($context['user']['is_guest'] && !empty($modSettings['efloatingbar_mode_guest']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {
echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>[x]</strong></a></span>
', (empty($modSettings['efloatingbar_text_guest'])) ?  template_language_select() : $modSettings['efloatingbar_text_guest'], '
</div>';
}
//Show the efloating bar only if the MOD is enabled for Members
     if ($context['user']['is_logged'] && !empty($modSettings['efloatingbar_mode_logged']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {
echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>[x]</strong></a></span>
', (empty($modSettings['efloatingbar_text_logged'])) ?  template_language_select() : $modSettings['efloatingbar_text_logged'], '
</div>';
}


Above may or may not work!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 03, 2009, 03:45:18 AM
Quote from: UkGangsta on February 02, 2009, 06:54:51 PM
ill do what u suggest and let you no but ty for all your help i really do appreciate it.

If working fine  in default theme then only problem is with the theme. Anyways, also try following attached index.template.php
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on February 03, 2009, 06:50:09 AM
awsome thxs ricky works a treat now thxs very much !!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: marchingelite2 on February 03, 2009, 08:06:05 AM
uninstalled, reinstalled and get this now on install

Quote1.     Execute Modification     ./Themes/default/languages/Modifications.english.php     Test successful
2.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
3.    Execute Modification    ./Sources/ModSettings.php    Test failed
4.    Execute Modification    ./Themes/default/index.template.php    Test successful
5.    Extract File    ./Themes/default/floating-bar-guest.js    
6.    Extract File    ./Themes/default/floating-bar-logged.js

ive manually editted modsetting and still i cannot see it :( sorry about this
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 03, 2009, 09:32:06 AM
Quote from: UkGangsta on February 03, 2009, 06:50:09 AM
awsome thxs ricky works a treat now thxs very much !!
I am glad it worked for you now :)


@marchingelite2
I guess you should show us your ModSettings.php
Title: Re: eFloating Bar Mod for Guests & Members
Post by: samurai-lupin on February 03, 2009, 10:05:27 AM
Hello,

I'm having a problem using this under Internet Explorer. First of all it will apear in the background and not infront of my forum. More over it moves my table on the left leaving a space on the right - see picture attached.

It works fine with Firefox though.

Here is my CSS:

{
   font-size:70%;
   position: absolute;
   border: 1px solid black;
   padding: 5px;
   background-color:#BDDD99;
   width: 500px;
   visibility: auto;
   z-index: 100px;
}

Any advice how to fix this would be great. Also is it possible to display the bar on the right instead of the left of the page maybe with a 100 pixel padding to the right border and top? Thanks!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: marchingelite2 on February 03, 2009, 11:08:48 AM
thanks again for looking for me
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 03, 2009, 12:15:52 PM
@ samurai-lupin

Which version of I.E. are you using?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: samurai-lupin on February 03, 2009, 01:12:02 PM
I'm using IE 7.0
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 03, 2009, 05:08:28 PM
@ marchingelite2

I looked at the file and things seem to be in order, I took out some whitespace......
feel free to try this one it may work for you.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 03, 2009, 05:09:36 PM
@ samurai-lupin

Quote from: samurai-lupin on February 03, 2009, 01:12:02 PM
I'm using IE 7.0

what theme is that ?


Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 03, 2009, 05:47:28 PM
Quote from: marchingelite2 on February 03, 2009, 11:08:48 AM
thanks again for looking for me

It looks fine, try what TW1ST3D gave you and let us know.

Quote from: samurai-lupin on February 03, 2009, 10:05:27 AM
Hello,

I'm having a problem using this under Internet Explorer. First of all it will apear in the background and not infront of my forum. More over it moves my table on the left leaving a space on the right - see picture attached.

It works fine with Firefox though.

Here is my CSS:

{
   font-size:70%;
   position: absolute;
   border: 1px solid black;
   padding: 5px;
   background-color:#BDDD99;
   width: 500px;
   visibility: auto;
   z-index: 100px;
}

Any advice how to fix this would be great. Also is it possible to display the bar on the right instead of the left of the page maybe with a 100 pixel padding to the right border and top? Thanks!

IE. 7.0 = Microsoft Internet Explorer

Anyways, I guess I know about your problem. You have messed little with your CSS. Best way is to disable your custom CSS and then it will revert back to original settings.

Alternatively use following:
Here is my CSS:

{
   font-size:70%;
   position: absolute;
   border: 1px solid black;
   padding: 5px;
   background-color:#BDDD99;
   width: 500px;
   visibility: auto;
   z-index: 100;
}
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 03, 2009, 05:59:03 PM
LOL !!  No I was asking what theme is that on samurai-lupins forum....................
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 04, 2009, 04:20:40 AM
Quote from: TW1ST3D on February 03, 2009, 05:59:03 PM
LOL !!  No I was asking what theme is that on samurai-lupins forum....................

May be I should concentrate on my things other than this MOD :P
Title: Re: eFloating Bar Mod for Guests & Members
Post by: marchingelite2 on February 04, 2009, 09:08:28 AM
naa still dont work for me :( o well thanks for your time, think ill give up :(

thanks again
Title: Re: eFloating Bar Mod for Guests & Members
Post by: samurai-lupin on February 04, 2009, 09:09:57 AM
Quote from: Ricky. on February 03, 2009, 05:47:28 PM


Alternatively use following:
Here is my CSS:

{
   font-size:70%;
   position: absolute;
   border: 1px solid black;
   padding: 5px;
   background-color:#BDDD99;
   width: 500px;
   visibility: auto;
   z-index: 100;
}


Hello, thanks for your message. I used this code but it didn't fix my problem. I still have the border of empty space on the right in IE.

Thanks for any advice you may have.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 04, 2009, 05:16:28 PM
@ samurai-lupin

I just visited your forum and it looks great !! ( on Firefox and IE, both ) are you just trying to center the floating window ?

It appears that your homepage is skewed to the left with a lot of empty space on the right, do you use an ad management mod?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 04, 2009, 05:19:52 PM
@ marchingelite2

I feel your frustration..............however, I think it maybe a conflict with mods, Have you tried it on a fresh install (Test Forum)?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: marchingelite2 on February 05, 2009, 05:05:00 AM
will try it on a fresh forum and let you know, probably a mod as you have stated... finding out which one tho is a problem init ..

thanks for your help guys
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 05, 2009, 06:25:33 AM
@ samurai-lupin
I guess this is  your forum:
hunting.com/smf/

I checked it no IE6 and IE7, seems fine to me.
May be I do not understand what you are referring to, may be you can post a screenshot pointing to the area of problem.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 05, 2009, 06:27:10 AM
Quote from: marchingelite2 on February 05, 2009, 05:05:00 AM
will try it on a fresh forum and let you know, probably a mod as you have stated... finding out which one tho is a problem init ..

thanks for your help guys

Basically, for you mod is working but there is no Admin interface for it !!
Hmm.. I will update you as soon I get to know the reason behind.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: samurai-lupin on February 05, 2009, 09:00:51 AM
Thanks for your reply. Here are two screenshot for illustrating what I mean. Thanks.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 05, 2009, 05:20:56 PM
@ samurai-lupin

That is a CSS issue , you may need to check your edits in your css file, or use a back-up of an old one to see if it corrects.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 05, 2009, 07:06:59 PM
@Samurai-lupin
I looked at your site, though visually site is looking fine but code is little messy ie. HTML in there.  Also, efloating bar must come after <body> but you have placed it between </head> and <body>.

You may post your index.template.php ,we might be able to sort it for you!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Fat_Man on February 05, 2009, 08:59:24 PM
Quote from: samurai-lupin on February 05, 2009, 09:00:51 AM
Thanks for your reply. Here are two screenshot for illustrating what I mean. Thanks.

I went to your site and it popped up on me after everything had loaded in.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: samurai-lupin on February 06, 2009, 06:35:43 AM
Thank you verymuch for your kind support! I really appreciate it. I put the code after the <body> tage but unfortunately it didn't solve the problem.

I'm attaching my index.template.php

Thanks again!

Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 06, 2009, 09:29:55 AM
Is it ok to be installed in smf 1.1.8 ?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: coucnilhomeswap on February 06, 2009, 11:04:11 AM
yes its fine to install on 1.1.8 as 1.1.8 is only a security update. I had it working fine on 1.1.8 yesterday before i upgraded to SMF 2.0 RC1 and it works on that aswell
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 06, 2009, 12:12:53 PM
How to test the changes if i close the floating window? And how can i regenerate it if a user close it?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: mobo on February 06, 2009, 12:21:08 PM
This is a wonderful Mod. Thanks a million. Im leaving you in my will for this one...
Title: Re: eFloating Bar Mod for Guests & Members
Post by: coucnilhomeswap on February 06, 2009, 12:52:03 PM
Quote from: searchgr on February 06, 2009, 12:12:53 PM
How to test the changes if i close the floating window? And how can i regenerate it if a user close it?

What do you mean by test the changes. what i do is when i have inputed my HTML code for the guests, i click save then log-out and the changed window floats in and shows me if ive done it correctly. it wont regenerate for registered members. it only comes up once and ive found once is enough. any other questions just ask and i'll see if i can help.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 06, 2009, 01:02:55 PM
Let's say that i want to publish a new announcement/advertisement. Is there any way to make the floating window to reappear?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: coucnilhomeswap on February 06, 2009, 01:09:36 PM
well what i would sugest is this. when you make a new announcement design your new HTML code for that new announcement and then change the old HTML for members with the new HTML or you could just use this for global announcements Link to mod (http://custom.simplemachines.org/mods/index.php?mod=419)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: coucnilhomeswap on February 06, 2009, 01:12:23 PM
Ricky i hope you dont take any offence to me helping with a bit of support. will only do it if i can help.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 06, 2009, 01:17:02 PM
I have changed the html code but the floating window doesn't appear...
Title: Re: eFloating Bar Mod for Guests & Members
Post by: coucnilhomeswap on February 06, 2009, 01:19:07 PM
for it to reapear you may have to logout then login again
Title: Re: eFloating Bar Mod for Guests & Members
Post by: coucnilhomeswap on February 06, 2009, 01:23:10 PM
i think ricky may have designed it so that it doesnt keep floating in and annoying the hell out of your members. he may have a way around this so you may have to ask him nicely. please be patient for replies of him as im sure he is very busy lol
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 06, 2009, 01:58:43 PM
Quote from: alan1979 on February 06, 2009, 01:19:07 PM
for it to reapear you may have to logout then login again

Nothing.

Also a good idea is to be able to add a separate css code for quests & users.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: coucnilhomeswap on February 06, 2009, 02:07:58 PM
hmmm. to be honest i know sod all about CSS so i will leave that up to Ricky sorry
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 06, 2009, 11:20:08 PM
Every time i (and my members) open the browser from scratch (when i restart the pc) the floating window reappears. Are you sure that your members don't face the same problem?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 06, 2009, 11:57:11 PM
That is what it is supposed to do.........................
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 07, 2009, 12:06:47 AM
Aha...thanks for the info. The description of the mod is not clear as to when the floating window appears. So, when the members restarts their pc's will see the floating window again?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 07, 2009, 08:55:12 AM
The eFloating bar for guest keeps reappearing for guests on every page load and for members it won't load again even they close it once. But they closes their browser and again open site then will re-appear.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 07, 2009, 10:08:57 AM
For future: An option  to specify the membergroup i/o all the members.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 07, 2009, 11:23:09 AM
I will add few exciting things in future version as soon as I get some time to work upon it !
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 07, 2009, 11:27:31 AM
Thanks
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 07, 2009, 11:50:21 AM
And if is possible separate CSS for quests and members.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: jossanaijr on February 07, 2009, 12:45:19 PM
Quote from: searchgr on February 07, 2009, 11:50:21 AM
And if is possible separate CSS for quests and members.
Yes!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 07, 2009, 01:27:33 PM
Quote from: jossanaijr on February 07, 2009, 12:45:19 PM
Quote from: searchgr on February 07, 2009, 11:50:21 AM
And if is possible separate CSS for quests and members.
Yes!
You don't need much change, can still do. You can use common CSS for defining size and position and can have separate html inside box for guest and members. both will have totally different look. Play a little with this thing :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 07, 2009, 01:33:24 PM
The size is the problem.... i would like to have a different size for guests/members.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 07, 2009, 06:46:52 PM
Quote from: searchgr on February 07, 2009, 01:33:24 PM
The size is the problem.... i would like to have a different size for guests/members.

You can play with that as well..............Tinker with it, it's OK !!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 08, 2009, 01:06:22 AM
A member of my forum has the following problem: Even if he choose to close the floating window the window appears again in the next click. Any ideas of the reason that causes the problem?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: willerby on February 08, 2009, 10:57:07 AM
One member of my forum reported this too...
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 08, 2009, 11:27:13 AM
This mod could work better with a cookie.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 08, 2009, 01:16:43 PM
This mod uses cookie to remember if the box was closed or not !

As of now, you cant have separate size for guests and members but still using HTML wisely, it can be achieved.

PS: I do not use it all the time for members, idea was to grab attention of members in a way so that its hard for them to ignore.. so when there is something important in my forum, I enable eFloatingbar for Members and display my message ..

As said, I will come with many improvement in next version as soon as I get time to finish and test properly :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 08, 2009, 07:35:39 PM
@ searchgr & willerby

It sounds as if those members don't have cookies enabled in their browsers
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 08, 2009, 11:15:04 PM
thanks
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 09, 2009, 08:01:48 AM
He has the same problem with different pc's. Is the cookie saved in the server under the member's account?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 09, 2009, 12:17:13 PM
Cookie is saved in user PC...
Title: Re: eFloating Bar Mod for Guests & Members
Post by: qubbah on February 10, 2009, 07:30:06 AM
how we can make like this

http://www.forumbol.com/
Title: Re: eFloating Bar Mod for Guests & Members
Post by: robinrobin on February 10, 2009, 08:41:46 AM
Installed manually since automatic install worked, but didn't show anything. Activated everything. Nothing shows up for anyone.

SMF 2.0 RC1
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 10, 2009, 09:51:19 AM
Quote from: qubbah on February 10, 2009, 07:30:06 AM
how we can make like this

http://www.forumbol.com/

Pretty easy, you need to create a box in HTML which looks like similar to that box shown there and then paste that html in "comment area" in Admin Panel. To make it appear from bottom, you need to javascripts included with eFloatingbar, instructions are given there.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 10, 2009, 09:52:21 AM
Quote from: robinrobin on February 10, 2009, 08:41:46 AM
Installed manually since automatic install worked, but didn't show anything. Activated everything. Nothing shows up for anyone.

SMF 2.0 RC1
Hmm.. wht error you got while doing automatic install ? Also, can I hv link to your forum!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: qubbah on February 10, 2009, 09:55:52 AM
Quote from: Ricky. on February 10, 2009, 09:51:19 AM
Quote from: qubbah on February 10, 2009, 07:30:06 AM
how we can make like this

http://www.forumbol.com/

Pretty easy, you need to create a box in HTML which looks like similar to that box shown there and then paste that html in "comment area" in Admin Panel. To make it appear from bottom, you need to javascripts included with eFloatingbar, instructions are given there.
TQ soo much.
Can u give the sample of html?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: qubbah on February 10, 2009, 10:30:10 AM
where can i remove x (close) with image?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: robinrobin on February 10, 2009, 11:15:32 AM
Quote from: Ricky. on February 10, 2009, 09:52:21 AM
Hmm.. wht error you got while doing automatic install ? Also, can I hv link to your forum!

No error. Installing from the packet manager makes the exact same code changes as the manual ones, but it just won't work. You don't think it can be a FireFox problem, do You?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 10, 2009, 12:21:05 PM
Want to see ur forum link (when it is activated)

@qubbah
I would love to help you out but currently kind of very busy...
TO remove close button, you need to modify index.template.php ..
Title: Re: eFloating Bar Mod for Guests & Members
Post by: qubbah on February 10, 2009, 12:22:53 PM
Quote from: Ricky. on February 10, 2009, 12:21:05 PM
Want to see ur forum link (when it is activated)

@qubbah
I would love to help you out but currently kind of very busy...
TO remove close button, you need to modify index.template.php ..

Ok... get it running now... tq soo much..
This is very usefull mod.... last day i have 66 new users... before using this, the average fow a day only 5 to 15 per day... tq
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 10, 2009, 12:24:48 PM
Can you give us the code please. If you don't want is ok, no problem.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 10, 2009, 01:32:51 PM
Quote from: qubbah on February 10, 2009, 12:22:53 PM
Quote from: Ricky. on February 10, 2009, 12:21:05 PM
Want to see ur forum link (when it is activated)

@qubbah
I would love to help you out but currently kind of very busy...
TO remove close button, you need to modify index.template.php ..

Ok... get it running now... tq soo much..
This is very usefull mod.... last day i have 66 new users... before using this, the average fow a day only 5 to 15 per day... tq

Glad its working for you and helped you!
Quote from: searchgr on February 10, 2009, 12:24:48 PM
Can you give us the code please. If you don't want is ok, no problem.
Which code you are referring to ?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 10, 2009, 01:43:22 PM
Quote from: qubbah on February 10, 2009, 07:30:06 AM
how we can make like this

http://www.forumbol.com/
Title: Re: eFloating Bar Mod for Guests & Members
Post by: fmofmpls on February 10, 2009, 07:05:02 PM
Fantastic mod! Just installed it with a heavily modded forum using SMF 1.1.8, and it worked like a charm on the first try!

Thanks so much!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: qubbah on February 10, 2009, 09:31:10 PM
Quote from: searchgr on February 10, 2009, 01:43:22 PM
Quote from: qubbah on February 10, 2009, 07:30:06 AM
how we can make like this

http://www.forumbol.com/

i think the better one is from Ricky... we will wait the code from him....
Title: Re: eFloating Bar Mod for Guests & Members
Post by: samurai-lupin on February 11, 2009, 04:38:21 PM
What code would I need to add / change in order to appear teh box on the bottom of my page? Thank you
Title: Re: eFloating Bar Mod for Guests & Members
Post by: akguide on February 11, 2009, 08:33:34 PM
I almost hate to ask a question but here goes.  Installed and works fine on default and brown and tan themes.  I however at the moment am in the midst of trying to get the  Black Fs theme to work and that is where I ran into trouble..... when manually editing the the second set of edits in the index_template.php file the Black Fs file is different then the Default or Brown and Tan files were.  You say to add after *** <body>';  ***  and in the Black Fs template file the string there leads right into..

**********

<body>
  <div id="boyutlar">
    <div class="ust-l">
   <div class="ust-r">
     <div class="ust">
      </div>
      </div>
   </div>
     <div class="sol">
          <div class="sag">
            <div class="orta">
           <div id="header">
          <div id="header1">
                <div id="header2">
                   <div id="userarea">';
                                         if ($context['user']['is_logged'])
   {
      echo '
                     <b>', $txt['hello_member_ndt'], ' ', $context['user']['name'], '</b><br />';

***************


I tried putting the file after <body>  and the template failed  I tried after </b><br/>';  at the end and nothing happened. 

Thanks in advance...   

**Update - 8 hours or so later**  Ok actually found I could get this Mod this to work on this theme (Black Fs)  However <b>"only in the Header" </b> It does not show up below the header when you scroll down the whole page as it does when using with  the Default and Brown and Green themes.  Suggestions?  I'm sure it is simple but I am done staring at the screen this day..'lol'

Thanks again we really do appreciate all yo folks do making SMF what it is.

Oz
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 12, 2009, 03:16:55 AM
Attach your index.template.php for that theme here.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: akguide on February 12, 2009, 01:03:00 PM
Thanks   Ricky,

File is attached and the forum is at www.alaskaoutdoorsinfo.com/Forum  so you can see what is taking place.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 12, 2009, 10:49:01 PM
@ akguide

Try a "hard Refresh" by hitting F5 , I ran into the same problem with 2.0 RC1.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: akguide on February 12, 2009, 11:02:47 PM
Thanks for the tip, I already tried that however, It appears to me to be a template thing having to deal with layers perhaps.  I think you might have mentioned something to that effect in earlier posts in this thread but I did not see anything that would resolve this.

Oz
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 13, 2009, 05:16:41 AM
Quote from: akguide on February 12, 2009, 01:03:00 PM
Thanks   Ricky,

File is attached and the forum is at www.alaskaoutdoorsinfo.com/Forum  so you can see what is taking place.

Try the attached index.template.php and let us know!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: akguide on February 13, 2009, 12:21:40 PM
More then appreciated is your taking the time to even do this, You are a champ, The mod now works perfectly ...  hopefully we both learned something here and this ends up benefiting additional SMF users.

..of course now I'll have to go compare the files to learn what you had to do but ...

Many thanks again!

Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 13, 2009, 02:54:18 PM
How can i show the floating window only to a specific membergroup i/o all the members?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 14, 2009, 04:47:25 AM
Quote from: searchgr on February 13, 2009, 02:54:18 PM
How can i show the floating window only to a specific membergroup i/o all the members?
That things is not yet available for efloating bar.. !!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: dollarbabe on February 15, 2009, 04:24:10 AM
hello ricky.. first of all i just want to thank you for a very good mod here.. its great.... i tried to install it in my forum after reading this thread and it works fine.. although i get some errors that others are experiencing here too just like the need to log in to ftp but it works fine afterwards.... i just have one problem. I tried to put the css that was given here but it did not change the look of the efloating bar when i logged out. its still the default thats appearing. Here is the link to my site for you t check out... http://onlinersclub.biz/forum (http://onlinersclub.biz/forum) thank you for your time. Im using a default theme. thanks again.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 15, 2009, 08:39:57 AM
The CSS is same as default CSS, its like template, you can modify it (if you know CSS) to change the layout !
Title: Re: eFloating Bar Mod for Guests & Members
Post by: dollarbabe on February 15, 2009, 10:38:09 AM
Quote from: Ricky. on February 15, 2009, 08:39:57 AM
The CSS is same as default CSS, its like template, you can modify it (if you know CSS) to change the layout !

Oh ok.. i thought that was the css for the other sample you have here with the big box in the middle. Im not really familiar with css yet so im still trying to figure out how to modify it. Anyways... thanks a lot for your reply.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: derby on February 15, 2009, 11:22:28 AM
@all pls can someone post a screen shot on how the efloating bar IS?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 15, 2009, 12:34:51 PM
Quote from: derby on February 15, 2009, 11:22:28 AM
@all pls can someone post a screen shot on how the efloating bar IS?

http://www.simplemachines.org/community/index.php?topic=288554.msg1897721#msg1897721
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 16, 2009, 03:39:18 PM
See screenshot here:
http://custom.simplemachines.org/mods/index.php?mod=1607
Title: Re: eFloating Bar Mod for Guests & Members
Post by: bullbreedluverz on February 16, 2009, 03:53:59 PM
hi ricky, ive been helping someone with creating a forum for them and they want your mod on there forum and using a code posted on here i have set it up but ive installed a static menu bar on their site and your floating bar is beneath this menu bar

http://www.come2join.com/

i need to reposition your mod so it is lower down the screen and to the left slightly so its clear of the menu bar and not encroaching on the site logo - got any tips please?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 17, 2009, 01:05:01 AM
You can use Margin in css--

margin-top : 100px;
margin-left:100px;

Try changing numbers as per your requirements.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: bullbreedluverz on February 17, 2009, 08:03:25 AM
cheers ricky
Title: Re: eFloating Bar Mod for Guests & Members
Post by: lax.slash on February 17, 2009, 11:43:51 AM
Hey Ricky...

Not sure if this was suggested yet, but would it be possible to add a "Drag" feature so that the box can be moved around the screen with the mouse?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TW1ST3D on February 17, 2009, 10:34:28 PM
Quote from: lax.slash on February 17, 2009, 11:43:51 AM
Hey Ricky...

Not sure if this was suggested yet, but would it be possible to add a "Drag" feature so that the box can be moved around the screen with the mouse?

Why? this mod is designed to be somewhat of an annoyance/attention getter for those not registered or logged in..............what would the benefit be if it could be moved around?
it is supposed to get your attention and make you close it, not move it around.

It is doing exactly as it was designed to do.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: lax.slash on February 17, 2009, 10:39:26 PM
Main reason I suggested this was because (maybe it's just my site... maybe not) it get's hidden behind the logo on some themes. The drag thing is so that the user/guest could move it around so that they could read it. Or is there some other way to reposition it (like CSS or something)?

EDIT:

LOL... sorry, just saw a post that already said how to do that. Part that makes feel stupid is that it was only a few posts above mine. Sorry... forget I suggested that.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: hofdiggity on February 21, 2009, 09:50:41 PM
Just wanted to say Thank You very much to Ricky for this AWESOME MOD!

Ricky, you did an excellent job, and it really adds a nice factor to a website.

Feel free to take a look at what we were able to do with it & flashbuilder.net --->  www.ss-hof.com

I also recommend toufee for "movie" like intros.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: derby on February 22, 2009, 04:52:26 PM
i have installed the Mod how to i put it to effect?i mean to make it to work
Title: Re: eFloating Bar Mod for Guests & Members
Post by: derby on February 22, 2009, 04:58:59 PM
please how can i install it on smf 1.1.8 ....If possible give me screen shot on how to go about it step by step.Thanks
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 22, 2009, 11:19:34 PM
Administration

--------------------------------------------------------------------------------
After install you can access it through Admin Panel where you can specify your own Message for Guests as well as for Members.

For SMF 2beta4:
Goto --> Admin --> Configuration --> Modification --> Miscellaneous 
For SMF 1.1.7:
Goto --> Admin --> Features & Options --> Layout & Options
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 25, 2009, 06:06:27 AM
Quote from: hofdiggity on February 21, 2009, 09:50:41 PM
Just wanted to say Thank You very much to Ricky for this AWESOME MOD!

Ricky, you did an excellent job, and it really adds a nice factor to a website.

Feel free to take a look at what we were able to do with it & flashbuilder.net --->  www.ss-hof.com

I also recommend toufee for "movie" like intros.
Thanks, and I see that you used Flash in it. Looking nice. :)
Quote from: derby on February 22, 2009, 04:58:59 PM
please how can i install it on smf 1.1.8 ....If possible give me screen shot on how to go about it step by step.Thanks
Installing mod is easy, just download the package and upload it through Package manager ie.
Admin --> Packages --> Download Package --> Upload a Package

And then apply it.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Eyesman on February 27, 2009, 06:40:11 AM
Hello... I am facing a big problem. I have installed and used the mod for some days now and everything was ok.

Today after I enabled the pop up for the loged in users the pages of the forum became blank. The guest account works ok. If you login the pages becomes blank.

I have asked from my hosting to remove the mod and I could access the forum... but the message I had, now appears on top of every page.

I have tried to reinstall the mod to remove it but as soon as I installed it again the pages were blank again and can not access anything. Plus all the text is Centred

How can I remove the text on top of the page? (the one that is in the red box - see attached)

Thank you!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 27, 2009, 06:45:18 AM
Go to index.template.php and search for it.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Eyesman on February 27, 2009, 06:50:35 AM
I can not find it there. I searched.  ::)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 27, 2009, 06:53:40 AM
Themes/default/languages/Modifications.english.php ?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Eyesman on February 27, 2009, 06:56:20 AM
nope! :( not in there.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: haito on February 27, 2009, 11:59:47 PM
can someone share the custom css for me?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on February 28, 2009, 12:06:19 AM
Quote from: haito on February 27, 2009, 11:59:47 PM
can someone share the custom css for me?

http://www.simplemachines.org/community/index.php?topic=288554.msg1897729#msg1897729
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on February 28, 2009, 01:33:08 AM
Quote from: astroforum on February 27, 2009, 06:40:11 AM
Hello... I am facing a big problem. I have installed and used the mod for some days now and everything was ok.

Today after I enabled the pop up for the loged in users the pages of the forum became blank. The guest account works ok. If you login the pages becomes blank.

I have asked from my hosting to remove the mod and I could access the forum... but the message I had, now appears on top of every page.

I have tried to reinstall the mod to remove it but as soon as I installed it again the pages were blank again and can not access anything. Plus all the text is Centred

How can I remove the text on top of the page? (the one that is in the red box - see attached)

Thank you!
Its index.template.php  only! Find it after <body>';
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Soulgirl on March 03, 2009, 12:35:05 PM
Hello Ricky,

I've installed your mod but it's not being very kind with my custom theme.

I know the problem lies with the fact I have <body> instead of <body>': but can't for the life of me remember what else I have to include if I add the ': after <body> :D

Can you help?  I've attached my index.template.php file for your perusal.

Karen xxx
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on March 05, 2009, 12:02:24 AM
@soulgirl
Try the attached index.template.php
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Soulgirl on March 05, 2009, 01:09:06 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.thesoulgirl.com%2Femote%2FKAOS%2Fpvalentinekiss.gif&hash=15548f00bb1d04b53b5398ab5ee3af115f1ebaf8)  You're a star!  Thank you!

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.thesoulgirl.com%2Femote%2FAiwan%2520Smilies%2Fwinnergold.gif&hash=b4d23fdbce0669b616eb98cdd89f9228a6283a52)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on March 05, 2009, 12:20:21 PM
I am glad it worked for you!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: fotografo74 on March 11, 2009, 04:25:34 AM
Hi Ricky., nice mod, thanks!!!
It's possible add floating bar also for other membergroups ( moderator. and others i have created)?
Thanks!
Antonio
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on March 12, 2009, 04:40:18 AM
Well, on next update I will try to include such feature but I can't guarantee as I it depends upon the availability of free time for me!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: fotografo74 on March 12, 2009, 05:26:57 AM
Quote from: Ricky. on March 12, 2009, 04:40:18 AM
Well, on next update I will try to include such feature but I can't guarantee as I it depends upon the availability of free time for me!
Thanks Ricky! :-)
Bye!
Antonio
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on March 12, 2009, 05:43:59 AM
Thanks Ricky, it would be nice to have the option to select the membergroups.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: than on March 17, 2009, 03:13:56 PM
Hi, really thanks for this great mod!  ;)

I like to use it for add google adds, but I don´t know how to make it. Please anyones can help me?

Best regards.

PD: Waiting for membergroup function.  :P
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on March 17, 2009, 03:40:25 PM
For google ads use the ads mod.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: than on March 17, 2009, 03:51:55 PM
I´m using it.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: guardia republicano on March 18, 2009, 09:17:30 PM
Quote from: Ricky. on January 28, 2009, 02:33:50 PM
Well.. these settings are real and btw.. I did replied to your question asking you to clear your browser cache after changing the script settings.

In this MOD, it appears for GUEST always even if they closed it but for Members, it appears only once if they closed it. However, in some cases I found  that for members it do not appear at all or did not close remains close even if closed manually.. but that was on few or rather 2 forums.. one was with 60+ MODs and another was with 45+ MODs.. So I guess was conflict with some MOD.. may be something like Ajax shoutbox or a MOD which make use of Javascripts significantly. However, I not sure which mod caused it.

But may be I will come with some work around for this in future release.

Unfortunately you are right. Your mod is not working for logged users if you have shoutbox mod.
After uninstalling nneonneo's AJAX ShoutBox      1.20 from my smf 1.1.8 forum floating bars are shown.

If you need support or testing please let me know.
I hope you can solve it soon.

Best regards,
Pablo.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on March 19, 2009, 12:53:52 PM
Quote from: Soulgirl on March 03, 2009, 12:35:05 PM
Hello Ricky,

I've installed your mod but it's not being very kind with my custom theme.

I know the problem lies with the fact I have <body> instead of <body>': but can't for the life of me remember what else I have to include if I add the ': after <body> :D

Can you help?  I've attached my index.template.php file for your perusal.

Karen xxx

I have the same issue as this person, but I also have about 10,000 edits already in the index.template.php file for my theme :-\ and hence cannot simply use a different one. Any advice on how to edit this would be great. I tried to improvise by adding the ': after <body> in addition to the edit, but it catastrophically broke my whole forum. Thank God for backups
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on March 20, 2009, 04:02:28 PM
Attach your index.template.php here..
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on March 20, 2009, 07:15:39 PM
Quote from: Ricky. on March 20, 2009, 04:02:28 PM
Attach your index.template.php here..
Thanks
Title: Re: eFloating Bar Mod for Guests & Members
Post by: sear on March 22, 2009, 11:00:14 AM
Hello and thank you for the great mod, However i cannot seem to get it to work with the Helios Multi Theme, works great with thr default theme, Here is my index.template.php from the helios theme. Thank you.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on March 29, 2009, 01:20:55 PM
I figured it out. You need the '; after <body> and echo ' at the end.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: sear on March 29, 2009, 02:04:47 PM
Got it with the Helios Theme:



<body>';


      //Show the efloating bar only if the MOD is enabled for Guest and Guests are not on Register or Login Pages
     if ($context['user']['is_guest'] && !empty($modSettings['efloatingbar_mode_guest']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {   
      echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on April 07, 2009, 08:07:29 AM
Any new update? :)

I would like to target specific membergroups i/o all the members.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: 6aro on April 07, 2009, 08:56:58 AM
Hi! I've a Bulgarian translation for this mod


$txt['admin_efloatingbar'] = 'eFloating Bar for SMF - Настройки';
$txt['efloatingbar_user_style'] = 'Постави твоя алтернативен CSS тук';
$txt['efloatingbar_text_guest_default'] = 'Здравей Гост , моля <a href="{%$scripturl%}index.php?action=login"><b>влез</b></a> или <a href="{%$scripturl%}index.php?action=register"><b>се регискртирай</b></a>';
$txt['efloatingbar_text_logged_default'] = '<strong>Хей! Как си днес,</strong> Добре дошъл отново тук!!' ;
$txt['efloatingbar_mode_guest'] = 'Пусни eFloating Bar Mod за гости?';
$txt['efloatingbar_text_guest'] = ' Напиши твое различно съобщение за гости в eFloating Bar.';
$txt['efloatingbar_mode_logged'] = 'Пусни eFloating Bar Mod за вписващите потребители?';
$txt['efloatingbar_text_logged'] = 'Напиши твое различно съобщение за вписващите се потребители в eFloating Bar.';
$txt['efloatingbar_css_enable'] = 'Избери това ако искаш да ползваш собствен CSS различен от базовия';
$txt['efloatingbar_css_default'] = '#topbar
{
   font-size:70%;
   position:absolute;
   border: 2px solid black;
   padding: 2px;
   background-color:#ECFFBF;
   width: 450px;
   visibility: hidden;
   z-index: 100;
}

#topbar a:hover
{
color: #FFFFFF;
background-color:#FF6600;
}';

Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on April 10, 2009, 08:14:07 PM
The server location would be if YOU had put it in a remote location somewhere. (I assume, never done it that way)

If you have it on your laptop go into the admin CP, under download packages point it at the package on your laptop and click upload.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on April 16, 2009, 04:28:10 PM
ive tried for 4 hrs to get this 2 work on smf 2.0 rc1 on silent wave 2.0 rc1 theme attached is my themes index.template.php.

could some 1 check if its done properly pls i think i am going wrong somewere thankyou.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on April 16, 2009, 05:08:10 PM
Quote from: UkGangsta on April 16, 2009, 04:28:10 PM
ive tried for 4 hrs to get this 2 work on smf 2.0 rc1 on silent wave 2.0 rc1 theme attached is my themes index.template.php.

could some 1 check if its done properly pls i think i am going wrong somewere thankyou.

A couple things:
1> BACKUP YOUR FILE BEFORE TRYING THIS ONE

I did the edits right, but I am no pro. Backup the file before you copy this one over. You've been warned.

2> Do not use notepad or whatever it is you're using to edit PHP files. Use a proper text editor like Notepad++ The code was a jumbled mess at those edits.

BTW, what is it doing or not doing?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on April 16, 2009, 05:47:25 PM
its not showing and there was a parse error on your file unexspected () or something sorry didnt work thxs anyway.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on April 16, 2009, 07:44:30 PM
There's quite a few differences between your file and the original from the 2.0rc1 file. What's weird is there seems to be some sections missing. Sorry, one of these guys with a lot more skills than I will know more

EDIT: IF it's any clue, I couldn't get it to show up for me until I added the echo I got from one of Ricky's post.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: UkGangsta on April 23, 2009, 08:23:59 PM
im using smf 2.0 rc1 and the floatong bar will not move from bottom right corner of forum, how do i reposition it to top left so when people scroll down forum it follows them.

im on smf 2.0rc1 with a custom theme.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TheListener on April 24, 2009, 01:14:54 AM
I have this on my forum. I use 1.1.8 on default theme.

Would someone be able to help me with the css if I say what i want in the box?

Am only just learning html for the first time.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: IvoLeite on May 06, 2009, 02:40:55 PM
Hello. I've also 1.1.8 and I can't manually install in another theme besides the Default because of the last part of the code (after </body>;)

Can someone help me? I think the problem is in I've attached my index.template.php.

Tks,
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on May 06, 2009, 03:35:54 PM
Quote from: IvoLeite on May 06, 2009, 02:40:55 PM
Hello. I've also 1.1.8 and I can't manually install in another theme besides the Default because of the last part of the code (after </body>;)

Can someone help me? I think the problem is in I've attached my index.template.php.

Tks,

OK Bub, This topic doesn't seem to get a lot of action so I'll give ya a shot. I got this working for my forum and had about the exact same issue you are, but I AM NO EXPERT in any way. If you decide to try this file backup your other one first, well actually you have a back here now in this topic :) Also your file is slightly different than mine.

Anyway, see if this one works. If not I have one more idea and then if not, replace it with the old one.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: IvoLeite on May 06, 2009, 04:46:49 PM
Quote from: Tiribulus on May 06, 2009, 03:35:54 PM
I got this working for my forum and had about the exact same issue you are, but I AM NO EXPERT in any way.

Anyway, see if this one works.


And you said you're not an expert :) Working like a charm!
Tks.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on May 06, 2009, 05:08:06 PM
Quote from: IvoLeite on May 06, 2009, 04:46:49 PM
Quote from: Tiribulus on May 06, 2009, 03:35:54 PM
I got this working for my forum and had about the exact same issue you are, but I AM NO EXPERT in any way.

Anyway, see if this one works.


And you said you're not an expert :) Working like a charm!
Tks.

Oh, I am definitely no expert and I hesitate to do things like this, but I am very happy it worked.

You're welcome.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TheListener on May 08, 2009, 11:37:46 AM
Tribulus I have had some inspiration from your site for several items.

Would it be possible for some help on how to set our efloating bar so it can be viewed on the black background?

On the previous theme there was no problem BUT I believe it is time I started to learn css.

Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on May 08, 2009, 12:21:50 PM
Quote from: TheListener on May 08, 2009, 11:37:46 AM
Tribulus I have had some inspiration from your site for several items.

Would it be possible for some help on how to set our efloating bar so it can be viewed on the black background?

On the previous theme there was no problem BUT I believe it is time I started to learn css.

I do very much appreciate the kind words, but I don't know how much I can teach you. I just started playing around with all this stuff a couple months ago myself. I can only tell you what I do and maybe somebody with a lot more experience can correct me.

The Firefox extension Firebug has a great context menu feature where anything you right click on gives the option to "inspect element". This is especially useful for CSS editing. For instance, in the following example I right clicked and went to inspect element on the light yellow middle background on my site.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fgregnmary.gotdns.com%2Fpix%2Ffbcss.jpg&hash=b48abdc49bbea61e3c147a45c8798b73d0aaaeed)
It tells me that the color #ffff91 which is the light yellow background color is found on line 390 (or close) of the style.css file. Though it doesn't say, I know that is the one for the theme I'm using.

Another indispensable tool in my opinion is a color chooser/picker. This one here:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fgregnmary.gotdns.com%2Fpix%2Fcc.jpg&hash=f261e1dc335b7d04bb1c6e6afe82d18e23e04e32)
is KColorChooser for Linux. There have to be free ones for windows as well if that's what you're using. With this you can sample ANY color on ANY item ANYWHERE on the screen as well as paste the codes in to quickly see what color they represent though if you roll over the color codes in Firebug it will pop up a little box showing the color too.

Firebug also lets you try changes on the fly where you can do temporary edits that will only persist until the next browser refresh.

This is the code for my popup box:
<html> <body>  <style type="text/css">  #topbar{ position:absolute; border: 5px solid #7BBC01; padding: 10px; background-color: #FDFF94; width: 400px; height: 450px; visibility: hidden; z-index: 500; font-size:12px; } #topbar p{    margin:0px; } #topbar a {color : #0000FF;} </style>   <center><h2 style="font-size:18px;color:#528751; margin-top: 30px;"><strong>We are happy to see you here at KALE'S KORNER</strong></h2> <strong>KALE'S KORNER</strong> is a place to share in each other's knowledge and experiences enjoying all aspects of gardening <h3>We would like you to <a href="http://gregnmary.gotdns.com:8080/index.php?action=register"> Join</a> KALE'S KORNER Today.</h3>  </center> <h2 style="margin-left:8px;font-size:18px">Why JOIN Kale's Korner ?</h2> <ul style="list-style:square; line-height:15px; color:#666666"><li>Get rid of this box=]</li> <li>You will become part of a community of dedicated gardeners</li> <li>Share your creative gardening skills with others.</li> <li>Enhance your creative gardening skills by interacting with others</li> <li>Ask questions and get answers from members all over the world</li> <li>Share your photography and videos!</li> <li>Access to members only content &amp; lots more!</li></ul>  <center><h3><a href="http://gregnmary.gotdns.com:8080/index.php?action=register">Register Now - <strong>Its FREE</strong></a></h3> <p>Already a member then <a href="" onClick="closebar(); return false">CLOSE</a> this window and Login.</p> <h1 style="font-size:22px"><strong><a href="http://gregnmary.gotdns.com:8080/index.php?action=register">JOIN US</a> </strong></h1></center> </body> </html>

It is not mine, I got it from somewhere else in this topic and only modified it to suit my needs. You can deduce from what is there quite a bit of what will happen if you make your own changes. Text, colors, sizes etc. Trial and error is unavoidable unless you are an expert, which I am decidedly not. I did my edits in an editor and pasted the whole thing including the changes into the field which is pretty small and can be a pain to edit in the SMF admin interface. Those are basics I picked up myself and may not be the best way for any of this, but I'm a stubborn adventurist and like to learn as much as I can myself. Somebody else may show up right behind me and declare all my methods to be thoroughgoing quackery for which I will have no response other than gratitude for having been shown a better way.

In any case, BACKUPS are the order of the day. Even the most apocalyptic disasters can be quickly recovered from as long as backups are made before any editing is done.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: DaTaBASE89 on May 14, 2009, 02:37:34 PM
Guys,how to install these mod on Dilber MC theme? I am despered :(
Title: Re: eFloating Bar Mod for Guests & Members
Post by: mattchewone on May 17, 2009, 11:00:50 AM
How do you add a login and register link?

Thanks

Matt
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on May 17, 2009, 12:57:14 PM
<a href="http://*********/index.php?action=register">Register Now - <strong>Its FREE</strong></a>

same way the login....
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Iomega0318 on May 22, 2009, 06:03:52 AM
Just thought I would share a small edit I made to help make things a bit easier!

Here is what I did, I edited the Sources/ManageSettings.php file as so:

I simply took the following original code,

//eFloatingbar by Ricky.
$txt['admin_efloatingbar'],
array('check', 'efloatingbar_mode_guest'),
array('text', 'efloatingbar_text_guest'),
array('check', 'efloatingbar_mode_logged'),
array('text', 'efloatingbar_text_logged'),
array('check', 'efloatingbar_css_enable'),
array('large_text', 'efloatingbar_user_style', '6" style="width:95%'),
//End eFloatingbar


And changed it to,
//eFloatingbar by Ricky.
$txt['admin_efloatingbar'],
array('check', 'efloatingbar_mode_guest'),
array('large_text', 'efloatingbar_text_guest', '6" style="width:95%'),
array('check', 'efloatingbar_mode_logged'),
array('large_text', 'efloatingbar_text_logged', '6" style="width:95%'),
array('check', 'efloatingbar_css_enable'),
array('large_text', 'efloatingbar_user_style', '6" style="width:95%'),
//End eFloatingbar


I simply made the text boxes for the guest and user text a little bigger..
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Iomega0318 on May 22, 2009, 12:37:48 PM
I have been trying all night but no matter what I do I cannot get a list to show up..
Can anyone help me out with it?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on May 24, 2009, 12:48:50 AM
Quote from: Iomega0318 on May 22, 2009, 12:37:48 PM
I have been trying all night but no matter what I do I cannot get a list to show up..
Can anyone help me out with it?


<ul style="list-style:square; line-height:15px; color:#666666">
<li>Get rid of this box=]</li>
<li>You will become part of a community of dedicated gardeners</li>
<li>Share your creative gardening skills with others.</li>
<li>Enhance your creative gardening skills by interacting with others</li>
<li>Ask questions and get answers from members all over the world</li>
<li>Share your photography and videos!</li>
<li>Access to members only content &amp; lots more!</li></ul>


That's the list code from the above.

You should be able to change it how you want
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Iomega0318 on May 24, 2009, 04:45:57 AM
I tried that code first but no go.. I will try again as I notice some minor differences, and let you know..

**EDIT**
Nope still not working.. I have no clue why, maybe the class being called isn't set in the themes css?
I am going to check that since it's all I can think of right now..

If you want you can see it at the site in my link but you have to register to see it, I am not letting guests see it till I finish it..


**EDIT TWO**
Here is what I found..


/* Reset all lists. */
ul, ul li {
padding: 0;
margin: 0;
list-style: none;
}

/* We can define lists to be lists tho! */
ul.normallist {
padding-left: 2em;
}

ul.normallist li {
list-style: disc;
}


My guess is that I need to use normal list right lol? I don't normally do css..

**EDIT THREE**
Yep, that was the culprit! The css was resetting them to nothing..
Still though feel free to check the site out lol, and thank you for the help!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on May 28, 2009, 11:58:39 AM
Ricky, is it easy to add the option to target specific membergroups i/o guests & members?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: JBantha on May 28, 2009, 06:45:26 PM
Hello there, look, my problems is that guest or members CAN NOT close the floating bar

And also, y have one question

How can I made the bar to follow the ScreenView of the members, like in your demo, and not to stay on the top, as it happens in my forum?

y lend you the link to our forum:
http://kakkoii-cr.com/foro/
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Kat9119 on June 01, 2009, 02:37:45 PM
Alrighty....installed this mod though package manager on 1.1.8, using a custom theme for default, applied HTML to the Guest box, checked the box off, applied CSS to the CSS box...didn't get anything.

Went in and manually installed edits, didn't get anything. So, ended up uninstalling it. Nothing here helped. If anyone knows of an easier/better mod like this to install please lemme know.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: JBantha on June 07, 2009, 11:14:15 AM
Now I'm working on a second forum.... it's a 1.1.9, so...

Any chances to make it SMF 1.1.9 compatible?

And I still got that issue I post 2 post ago XD
Title: Re: eFloating Bar Mod for Guests & Members
Post by: splatman on June 14, 2009, 08:12:23 PM
Anyone have any idea on how to remove the "X" in the upper right of the floating box so that guest and members either have to join or log on?  I've got a lot of people I know just closing the floating box and not actually logging in or signing up.  It may appear that what I'm asking to do might be seen as annoying the visitor, but I'd really like to prompt people to join / log in.

Any ideas on how to remove the close window "X"?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on June 14, 2009, 11:51:28 PM
Quote from: splatman on June 14, 2009, 08:12:23 PM
Anyone have any idea on how to remove the "X" in the upper right of the floating box so that guest and members either have to join or log on?  I've got a lot of people I know just closing the floating box and not actually logging in or signing up.  It may appear that what I'm asking to do might be seen as annoying the visitor, but I'd really like to prompt people to join / log in.

Any ideas on how to remove the close window "X"?
Go into the index.template.php file for your theme and find:

//Show the efloating bar only if the MOD is enabled for Guest and Guests are not on Register or Login Pages
     if ($context['user']['is_guest'] && !empty($modSettings['efloatingbar_mode_guest']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {
echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>[x]</strong></a></span>
', (empty($modSettings['efloatingbar_text_guest'])) ? $txt['efloatingbar_text_guest_default'] : $modSettings['efloatingbar_text_guest'], '
</div>';

Make sure it's the first part for guests and backspace out the  [X] between the <strong> tags.
At least that worked when I tested it.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: splatman on June 14, 2009, 11:57:29 PM
Perfect!  Thank you so much for your time and effort.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: ElectroPheonix on June 16, 2009, 01:58:25 PM
Thanks for the mod! I just installed it on one of my forums 1.1.9

At first nothing worked and I wracked my brain uninstalling and installing, doing it manually and all. The CP section was showing up fine but after the boxes were ticked there was no floating bar...

I just had a good laugh at myself so I'll share what had gone wrong. I am using a custom theme and yes I manually copied and pasted the code exactly how it was given into the index.template... It still wasn't working so I went back and saw the entire code blocked together with the comments. It had pasted like this:

//eFloating Bar Mod by Ricky.    if ($context['user']['is_guest'] && !empty($modSettings...

So yea, no wonder nothing was floating... same with the second bit for the index.template...

//Show the efloating bar only if the MOD is enabled for Guest and Guests are not on Register or Login Pages     if ($context['user']['is_guest'] && !empty($modSettings['efloatingbar_mode_guest'

All I had to do was separate the comment from the first if statement and thinks are rocking...

Thanks again for the the mod, it should turn some lurkers into members :D
Title: Re: eFloating Bar Mod for Guests & Members
Post by: elforoof on June 18, 2009, 12:11:38 PM
will it work in my forum?

Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
Dilber MC Theme by HarzeM

thank you
Title: Re: eFloating Bar Mod for Guests & Members
Post by: elforoof on June 18, 2009, 09:03:47 PM
hi, I just checked this forum  http://worldbeheard.honorshard.com/

but that window keeps poping up a even if you close it, once you click on something it keeps coming back, is that they way it supose to work? i saw in this first page  on another forum working different.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on June 18, 2009, 09:25:06 PM
Quote from: elforoof on June 18, 2009, 09:03:47 PM
hi, I just checked this forum  http://worldbeheard.honorshard.com/

but that window keeps poping up a even if you close it, once you click on something it keeps coming back, is that they way it supose to work? i saw in this first page  on another forum working different.

You can edit the Java file to have it either open with each page change or have it stay closed once they close it.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: elforoof on June 18, 2009, 09:33:49 PM
Quote from: Tiribulus on June 18, 2009, 09:25:06 PM
Quote from: elforoof on June 18, 2009, 09:03:47 PM
hi, I just checked this forum  http://worldbeheard.honorshard.com/

but that window keeps poping up a even if you close it, once you click on something it keeps coming back, is that they way it supose to work? i saw in this first page  on another forum working different.

You can edit the Java file to have it either open with each page change or have it stay closed once they close it.

ok just checked you site  http://gregnmary.gotdns.com:8080/index.php/board,1.0.html
and it works perfect once you close it it doesnt  open again, but where do i edit the Java file??
thank you
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on June 18, 2009, 11:02:03 PM
In the floating-bar-guest.js file the default theme directory, right at the top, should be line 9 actually, find this value:

var persistclose

Change the 0 to a 1.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: FragaCampos on June 19, 2009, 12:26:12 PM
Hello there.
I was searching for something like this to popup a message to registered users, but for specific boards. For what i've seen, this mod don't do it. Is there a easy way to maeke it popup a certain message when doing a certain action in the forum?

Thanks in advance.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on June 19, 2009, 05:42:47 PM
Quote from: FragaCampos on June 19, 2009, 12:26:12 PM
<<< Is there a easy way >>>
No  :D
Title: Re: eFloating Bar Mod for Guests & Members
Post by: saibaworld on June 21, 2009, 05:47:02 PM
I really like this mod.

But how come it is not compatible with smf 1.1.9 as indicated on the download page?

Pls is there a way out?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on June 21, 2009, 06:22:58 PM
Quote from: drtonik on June 21, 2009, 05:47:02 PM
I really like this mod.

But how come it is not compatible with smf 1.1.9 as indicated on the download page?

Pls is there a way out?

It's working for me in 1.1.9 ???
Title: Re: eFloating Bar Mod for Guests & Members
Post by: saibaworld on June 21, 2009, 07:18:40 PM
Quote from: Tiribulus on June 21, 2009, 06:22:58 PM
Quote from: drtonik on June 21, 2009, 05:47:02 PM
I really like this mod.

But how come it is not compatible with smf 1.1.9 as indicated on the download page?

Pls is there a way out?

It's working for me in 1.1.9 ???

Thanks dude, i appreciate much.

But on the download page i see:

*  o eFloatingbar0.1.zip          o (24KB)       o [320]         

*   o eFloatingbar0.1.1.zip      o (24KB)       o [2710]         

*   o Manual Install Instructions for SMF    1.0RC1     Parse


Which one do i download? The 'eFloatingbar0.1.zip'? Or the eFloatingbar0.1.1.zip?

Thanks in advance !
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on June 21, 2009, 08:14:59 PM
The latest one is best. If you run the parser for 1.1.9 it shows the manual install instructions which means it will work in that version.

Sometimes the mod authors forget to update the page to reflect new versions their mods are compatible with.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: DELHI_BOY on June 22, 2009, 03:45:21 PM
I am using smf 1.1.9 with ReDARK theme. I set msg for guest and member but no effect, it do not display msg's. What to do?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on June 22, 2009, 03:57:25 PM
Quote from: DELHI_BOY on June 22, 2009, 03:45:21 PM
I am using smf 1.1.9 with ReDARK theme. I set msg for guest and member but no effect, it do not display msg's. What to do?

You need to manually edit the index.template.php file for your theme.
Title: How to use it on Kani Theme?
Post by: soulgeek on June 28, 2009, 02:56:45 AM
Folks,

I want to use "eFloating Bar for SMF", installed it successfully...

Description of my Froum:

"Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC | Theme Kani By Fussilet "

Issue:
Not able to see any Pop up on the forum, even after activating the MOD. Do i need to do any changes in my Theme "Kani", if Yes then where and What?

What all changes do i have to make to my index.template.php file?

Help will be appreciated Highly.

P.S.: Index.template.Php file Attatched.

Warm Regards
Ankur
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TheListener on June 28, 2009, 03:26:27 AM
although the mod works all guests see is a yellow background with white text.

How do I change this so guests can actually see the text?

Am on 2.0 RC1-1
Title: Re: How to use it on Kani Theme?
Post by: Tiribulus on June 28, 2009, 10:24:28 AM
Quote from: soulgeek on June 28, 2009, 02:56:45 AM
Folks,

I want to use "eFloating Bar for SMF", installed it successfully...

Description of my Froum:

"Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC | Theme Kani By Fussilet "

Issue:
Not able to see any Pop up on the forum, even after activating the MOD. Do i need to do any changes in my Theme "Kani", if Yes then where and What?

What all changes do i have to make to my index.template.php file?

Help will be appreciated Highly.

P.S.: Index.template.Php file Attatched.

Warm Regards
Ankur

Try this. If it doesn't work, download your old one from here and put it back.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on June 28, 2009, 10:34:54 AM
Quote from: TheListener on June 28, 2009, 03:26:27 AM
although the mod works all guests see is a yellow background with white text.

How do I change this so guests can actually see the text?

Am on 2.0 RC1-1

I'm afraid this one's over my head.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: soulgeek on June 28, 2009, 11:34:56 PM
A Big THANKS to Tiribulus...

will Buy u a Beer....   ;)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on June 29, 2009, 12:08:00 AM
No trouble
Title: Re: eFloating Bar Mod for Guests & Members
Post by: elforoof on June 29, 2009, 11:13:17 AM
Quote from: Tiribulus on June 18, 2009, 11:02:03 PM
In the floating-bar-guest.js file the default theme directory, right at the top, should be line 9 actually, find this value:

var persistclose

Change the 0 to a 1.

hello , we just change the 1 to 0 and it still keeps poping back up, its working right whaen you are log in, but when you are log out it keeps poping back .
its there something else i can do to fix this?

thank you
Title: Re: eFloating Bar Mod for Guests & Members
Post by: elforoof on July 01, 2009, 02:34:20 AM
Quote from: elforoof on June 29, 2009, 11:13:17 AM
Quote from: Tiribulus on June 18, 2009, 11:02:03 PM
In the floating-bar-guest.js file the default theme directory, right at the top, should be line 9 actually, find this value:

var persistclose

Change the 0 to a 1.

hello , we just change the 1 to 0 and it still keeps poping back up, its working right whaen you are log in, but when you are log out it keeps poping back .
its there something else i can do to fix this?

thank you

hello Tiribulus can help me with this?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: DirtRider on July 07, 2009, 07:33:47 AM
When installed and you select the option "Enable the eFloating Bar Mod for Logged in Users?" it seems to change theme ccs file and the then becomes all large and out of proportion.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Antechinus on July 07, 2009, 07:41:09 AM
And before anyone asks I'll mention that this is not using custom css in the admin options for the mod. It is exactly as installed. The effect shown in the screenshots happens on all themes. It happens as soon as the mod is enabled, even if there is no message content entered in admin.

Title: Re: eFloating Bar Mod for Guests & Members
Post by: DirtRider on July 11, 2009, 06:21:51 AM
Looks like we don't have any support on this mod  :o :(
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on July 11, 2009, 06:58:50 AM
Ricky disappeared....

Title: Re: eFloating Bar Mod for Guests & Members
Post by: elforoof on July 11, 2009, 10:16:21 AM
Quote from: elforoof on July 01, 2009, 02:34:20 AM
Quote from: elforoof on June 29, 2009, 11:13:17 AM
Quote from: Tiribulus on June 18, 2009, 11:02:03 PM
In the floating-bar-guest.js file the default theme directory, right at the top, should be line 9 actually, find this value:

var persistclose

Change the 0 to a 1.

hello , we just change the 1 to 0 and it still keeps poping back up, its working right whaen you are log in, but when you are log out it keeps poping back .
its there something else i can do to fix this?

thank you

hello Tiribulus can help me with this?

Mine is working perfect but once the guest close it it pops up again and again. i need help once you see my post please
thank you
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on July 15, 2009, 05:43:06 AM


Quote from: searchgr on July 11, 2009, 06:58:50 AM
Ricky disappeared....

Lolz, I am here but due to some problems, not able to support this mod, hopefully soon I will be regular here.

Regarding this box appearing even if closed once, well with some mods like "Ajax Chat" it behaves not as desired, some conflict with javascript used by Chat.

And for guests, it is meant to come again and again, you can solve this problem as Tribulus suggested:
Quote
In the floating-bar-guest.js file the default theme directory, right at the top, should be line 9 actually, find this value:

var persistclose

Change the 0 to a 1.[/quot
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Ricky. on July 15, 2009, 05:49:17 AM
Enclose your text in following tags:

<span style="color:#000">YOUR TEXT HERE </span>


Quote from: TheListener on June 28, 2009, 03:26:27 AM
although the mod works all guests see is a yellow background with white text.

How do I change this so guests can actually see the text?

Am on 2.0 RC1-1

Btw, a big thanks for Tiribulus for supporting this thread :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on July 15, 2009, 05:50:34 AM
welcome ricky :)

When you have time take a look if we can target the window to specific membergroups :)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TheListener on July 15, 2009, 08:15:11 AM
Quote from: Ricky. on July 15, 2009, 05:49:17 AM
Enclose your text in following tags:

<span style="color:#000">YOUR TEXT HERE </span>


Quote from: TheListener on June 28, 2009, 03:26:27 AM
although the mod works all guests see is a yellow background with white text.

How do I change this so guests can actually see the text?

Am on 2.0 RC1-1

Btw, a big thanks for Tiribulus for supporting this thread :)

Sorted. Thanks
Title: Re: eFloating Bar Mod for Guests & Members
Post by: souljaa on July 21, 2009, 04:47:56 PM
Hey guys, sorry if this question was already asked, I breezed through the pages but didn't seem to find the answer.
I have this MOD installed on my forum, but after I install it, nothing seems to happen even through the Package Manager.
I'm using SMF 1.1.10, not sure if it works on that version.
My forum is,
www.forumbeats.net
Thank you
Souljaa
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on July 24, 2009, 10:55:23 PM
You guys are giving me way too much credit. All I did was take somebody else's fix from earlier in this topic and figure out how it applied to my situation. As it turns out that situation seems to be the predominant one people are encountering with this mod.

Where the parser says for the index.template.php file FOR YOUR THEME:
Find
<body>';
Add after

      //Show the efloating bar only if the MOD is enabled for Guest and Guests are not on Register or Login Pages
     if ($context['user']['is_guest'] && !empty($modSettings['efloatingbar_mode_guest']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {   
      echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong></strong></a></span>', (empty($modSettings['efloatingbar_text_guest'])) ? $txt['efloatingbar_text_guest_default'] : $modSettings['efloatingbar_text_guest'], '
</div>';
}
//Show the efloating bar only if the MOD is enabled for Members
     if ($context['user']['is_logged'] && !empty($modSettings['efloatingbar_mode_logged']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {   
      echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong></strong></a></span>', (empty($modSettings['efloatingbar_text_logged'])) ? $txt['efloatingbar_text_logged_default'] : $modSettings['efloatingbar_text_logged'], '
</div>';
}


it appears many like myself didn't have the '; after <body>. Furthermore, simply adding it does not fix the issue. You also need echo ' at the very end after } .

What I've been doing is finding the section above for people AFTER the mod has been installed which usually looks something like this :
<body>

            //Show the efloating bar only if the MOD is enabled for Guest and Guests are not on Register or Login Pages
     if ($context['user']['is_guest'] && !empty($modSettings['efloatingbar_mode_guest']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {     
        echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>[x]</strong></a></span>
', (empty($modSettings['efloatingbar_text_guest'])) ? $txt['efloatingbar_text_guest_default'] : $modSettings['efloatingbar_text_guest'], '
</div>';
}
//Show the efloating bar only if the MOD is enabled for Members
     if ($context['user']['is_logged'] && !empty($modSettings['efloatingbar_mode_logged']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {     
        echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>[x]</strong></a></span>
', (empty($modSettings['efloatingbar_text_logged'])) ? $txt['efloatingbar_text_logged_default'] : $modSettings['efloatingbar_text_logged'], '
</div>';
}


and replacing it with this:
<body>';
        //Show the efloating bar only if the MOD is enabled for Guest and Guests are not on Register or Login Pages
     if ($context['user']['is_guest'] && !empty($modSettings['efloatingbar_mode_guest']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {     
        echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>[x]</strong></a></span>
', (empty($modSettings['efloatingbar_text_guest'])) ? $txt['efloatingbar_text_guest_default'] : $modSettings['efloatingbar_text_guest'], '
</div>';
}
//Show the efloating bar only if the MOD is enabled for Members
     if ($context['user']['is_logged'] && !empty($modSettings['efloatingbar_mode_logged']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {     
        echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>[x]</strong></a></span>
', (empty($modSettings['efloatingbar_text_logged'])) ? $txt['efloatingbar_text_logged_default'] : $modSettings['efloatingbar_text_logged'], '
</div>';
}

echo '


That seems to work every time I've tried it. If it's something else I'd have to see it, but I'm not just feigning humility when I say I am no expert. I'm really not
Title: Re: eFloating Bar Mod for Guests & Members
Post by: elforoof on July 25, 2009, 12:54:28 PM
Quote from: Tiribulus on July 24, 2009, 10:55:23 PM
You guys are giving me way too much credit. All I did was take somebody else's fix from earlier in this topic and figure out how it applied to my situation. As it turns out that situation seems to be the predominant one people are encountering with this mod.

Where the parser says for the index.template.php file FOR YOUR THEME:
Find
<body>';
Add after

      //Show the efloating bar only if the MOD is enabled for Guest and Guests are not on Register or Login Pages
     if ($context['user']['is_guest'] && !empty($modSettings['efloatingbar_mode_guest']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {   
      echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong></strong></a></span>', (empty($modSettings['efloatingbar_text_guest'])) ? $txt['efloatingbar_text_guest_default'] : $modSettings['efloatingbar_text_guest'], '
</div>';
}
//Show the efloating bar only if the MOD is enabled for Members
     if ($context['user']['is_logged'] && !empty($modSettings['efloatingbar_mode_logged']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {   
      echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong></strong></a></span>', (empty($modSettings['efloatingbar_text_logged'])) ? $txt['efloatingbar_text_logged_default'] : $modSettings['efloatingbar_text_logged'], '
</div>';
}


it appears many like myself didn't have the '; after <body>. Furthermore, simply adding it does not fix the issue. You also need echo ' at the very end after } .

What I've been doing is finding the section above for people AFTER the mod has been installed which usually looks something like this :
<body>

            //Show the efloating bar only if the MOD is enabled for Guest and Guests are not on Register or Login Pages
     if ($context['user']['is_guest'] && !empty($modSettings['efloatingbar_mode_guest']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {     
        echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>[x]</strong></a></span>
', (empty($modSettings['efloatingbar_text_guest'])) ? $txt['efloatingbar_text_guest_default'] : $modSettings['efloatingbar_text_guest'], '
</div>';
}
//Show the efloating bar only if the MOD is enabled for Members
     if ($context['user']['is_logged'] && !empty($modSettings['efloatingbar_mode_logged']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {     
        echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>[x]</strong></a></span>
', (empty($modSettings['efloatingbar_text_logged'])) ? $txt['efloatingbar_text_logged_default'] : $modSettings['efloatingbar_text_logged'], '
</div>';
}


and replacing it with this:
<body>';
        //Show the efloating bar only if the MOD is enabled for Guest and Guests are not on Register or Login Pages
     if ($context['user']['is_guest'] && !empty($modSettings['efloatingbar_mode_guest']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {     
        echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>[x]</strong></a></span>
', (empty($modSettings['efloatingbar_text_guest'])) ? $txt['efloatingbar_text_guest_default'] : $modSettings['efloatingbar_text_guest'], '
</div>';
}
//Show the efloating bar only if the MOD is enabled for Members
     if ($context['user']['is_logged'] && !empty($modSettings['efloatingbar_mode_logged']) && $context['current_action'] != 'login' && $context['current_action'] != 'register')
     {     
        echo '<div id="topbar">
<span style="float:right"><a href="javascript:void(0);" onClick="closebar(); return false"><strong>[x]</strong></a></span>
', (empty($modSettings['efloatingbar_text_logged'])) ? $txt['efloatingbar_text_logged_default'] : $modSettings['efloatingbar_text_logged'], '
</div>';
}

echo '


That seems to work every time I've tried it. If it's something else I'd have to see it, but I'm not just feigning humility when I say I am no expert. I'm really not


would this make the bar only apear once to the guest once the close it?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on July 25, 2009, 03:18:24 PM
No, that makes it appear at all for many people using themes other than the default. Check a page or 2 back where I told somebody else how to change that behavior in the .js file.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Shark-Time on August 29, 2009, 08:03:04 AM
very nice mod...will gonna try it soon...
Title: Re: eFloating Bar Mod for Guests & Members
Post by: chered on August 29, 2009, 08:36:32 PM
need your help how come css doesnt work for me. i added height: 500px but not showing any changes.
i changed also background to #fffcc (light yellow color) but nothing happened. im using v.1.1.8 using custom template

here is my css.

#topbar
{
   font-size:70%;
   position:absolute;
   border: 2px solid black;
   padding: 2px;
   background-color:#FFFFCC;
   width: 600px;
   height: 500px;
   visibility: hidden;
   z-index: 100;
}

#topbar a:hover
{
   color: #FFFFFF;
   background-color:#FFFFCC;
}
Title: Re: eFloating Bar Mod for Guests & Members
Post by: iBreak on September 20, 2009, 07:22:27 PM
is it work for 2.0 RC1.2?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: iBreak on September 20, 2009, 11:09:28 PM
I got this error in RC.1.2

8: Undefined variable: scripturl
Aplicar filtro: Mostrar sólo los errores de este archivo
Archivo: /home/content/p/a/b/pablofgc/html/elder/chadow/twilight/Themes/default/languages/Modifications.english.php
Línea: 32

How can I fix it?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TheListener on September 20, 2009, 11:12:51 PM
Quote from: iBreak on September 20, 2009, 11:09:28 PM
I got this error in RC.1.2

8: Undefined variable: scripturl
Aplicar filtro: Mostrar sólo los errores de este archivo
Archivo: /home/content/p/a/b/pablofgc/html/elder/chadow/twilight/Themes/default/languages/Modifications.english.php
Línea: 32

How can I fix it?

Were there any errors on install?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: iBreak on September 20, 2009, 11:30:05 PM
Quote from: TheListener on September 20, 2009, 11:12:51 PM
Quote from: iBreak on September 20, 2009, 11:09:28 PM
I got this error in RC.1.2

8: Undefined variable: scripturl
Aplicar filtro: Mostrar sólo los errores de este archivo
Archivo: /home/content/p/a/b/pablofgc/html/elder/chadow/twilight/Themes/default/languages/Modifications.english.php
Línea: 32

How can I fix it?

Were there any errors on install?

I have installed fine but in Error logs makes 6 pages per minute.

What should I do?    

Should I uninstall it?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TheListener on September 20, 2009, 11:31:59 PM
Are all the errors the same?

Do you know how to attach the file as an attachment so it can be looked at?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: iBreak on September 20, 2009, 11:42:23 PM
Quote from: TheListener on September 20, 2009, 11:31:59 PM
Are all the errors the same?

Do you know how to attach the file as an attachment so it can be looked at?

OMG, I change the languaje to ''Ingles'' and this was fixed. why?

If I change to spanish I got those errors again :S

I modified my Modifications.spanish_es-utf8.php like Modifications.english.php

What is wrong?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: iBreak on September 21, 2009, 12:11:04 AM
It was rare

I have to edited my Modifications.english.php for that my languaje spanish works fine.

$txt['efloatingbar_text_guest_default'] = 'Welcome Guest , please <a href="'. $scripturl .'index.php?action=login"><b>login</b></a> or <a href="'. $scripturl .'index.php?action=register"><b>register</b></a>';

to

$txt['efloatingbar_text_guest_default'] = 'Welcome Guest , please login or register';
Title: Re: eFloating Bar Mod for Guests & Members
Post by: elforoof on September 29, 2009, 03:25:41 AM
Hello sorry to bother again but i need your help.
This is what i got and i need the floting bar to close once the guest close it and not to pop up again,
this is what i got, what should i change? Thank you


/***********************************************
* Mod Created by www.mundo-se.com - NIBOGO
* Floating Top Bar script- © Dynamic Drive (www.dynamicdrive.com)
* Sliding routine by Roy Whittle (http://www.javascript-fx.com/)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var persistclose = 1 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 60 //set x offset of bar in pixels
var startY = 10 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function closebar(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}

function staticbar(){
   barheight=document.getElementById("topbar").offsetHeight
   var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
   var d = document;
   function ml(id){
      var el=d.getElementById(id);
      if (!persistclose || persistclose && get_cookie("remainclosed")=="")
      el.style.visibility="visible"
      if(d.layers)el.style=el;
      el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
      el.x = startX;
      if (verticalpos=="fromtop")
      el.y = startY;
      else{
      el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
      el.y -= startY;
      }
      return el;
   }
   window.stayTopLeft=function(){
      if (verticalpos=="fromtop"){
      var pY = ns ? pageYOffset : iecompattest().scrollTop;
      ftlObj.y += (pY + startY - ftlObj.y)/8;
      }
      else{
      var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
      ftlObj.y += (pY - startY - ftlObj.y)/8;
      }
      ftlObj.sP(ftlObj.x, ftlObj.y);
      setTimeout("stayTopLeft()", 10);
   }
   ftlObj = ml("topbar");
   stayTopLeft();
}

if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
Title: This is So Strange................
Post by: soulgeek on October 02, 2009, 12:15:18 AM
Folks,

If i use this MOD, to show a message to my Members, then Every time they Refresh the page, they keep seeing the Same Message.

It Shoued be like, they see the message only once, and when they close it, They sould not see it Again.

make Sense??

how to do it?

THanks
Title: Re: eFloating Bar Mod for Guests & Members
Post by: unformatted_ on October 11, 2009, 07:36:10 PM
Thanks for the Mod!

where can I find templates code for pretty CSS for this floatbar?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: unformatted_ on October 13, 2009, 04:11:36 PM
Hi again!

I´m having a problem in with IE users.
When register user close the popup, then open again on next click/refresh page. Bu in FF after close the popup, never open again. How can I fix this for IE?

thanks!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: InfoStrides on October 26, 2009, 07:01:28 PM
Hello All,

Please help. I am having issues with my index.template.php file while trying to add the codes to it. Please read below my previous conversation. I have attached my index.template.php for your help.

[quote ]
Hello Tiribulus,
I saw a pop-up message on your site and indeed like it. Please, how can I achieve the same thing in my forum website. I am using SMF 1.1.10.
You can check it at http://www.infostridesforum.com
Thank you.
[/quote]
QuoteCheck HERE . Detailed instructions on how I and others got this working are there. It's not that long and it will save you time. Even the exact code for mine is there which you can edit how you want.
QuoteThank you for your prompt response. I tried to install it manually but bringing the following issues:
1. When I input first code in index.template.php, my login form disappear.
2. Although, I experienced some issues as well on placing the second code in index.template.php but after reading through the posts I was able to resolve that.
Please help with first path.
Thanks.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on October 26, 2009, 08:54:08 PM
The first edit wasn't there either so I did that one too with the fixed code from a couple pages ago. If this one doesn't work then download your original from here and put it back in your theme directory.

I cannot emphasize enough that I am not much more than a semi dangerous novice tinkerer with PHP code. I usually manage to get my stuff working, but use at your own risk. If I were you starting from the beginning with this mod I'd go ahead with the package manager install, ignore the failure if it's only with this file and then copy this file over. However I you think you said you already did some manual editing.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: InfoStrides on October 27, 2009, 02:39:45 AM
where is the link to the fix u made?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on October 27, 2009, 10:06:11 AM
Quote from: infostrides on October 27, 2009, 02:39:45 AM
where is the link to the fix u made?
OOPS
Title: Re: eFloating Bar Mod for Guests & Members
Post by: InfoStrides on October 27, 2009, 10:43:08 AM
The mod is not working yet.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on October 27, 2009, 10:59:39 AM
Did you put the 2 java files in the default theme directory?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: InfoStrides on October 27, 2009, 05:57:24 PM
Yes, I did.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on October 27, 2009, 09:32:26 PM
Okay if you want to attach the other files:
/Themes/default/languages/Modifications.english.php (utf-8 if you're using that)
/Sources/ModSettings.php

As soon as I get  a chance I'll take a look. No offense, but you missed one of the edits in the index.template.php file so maybe you missed something in one of those as well.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: elforoof on October 28, 2009, 04:22:18 PM
Hello sorry to bother again but i need your help.
This is what i got and i need the floting bar to close once the guest close it and not to pop up again,
this is what i got, what should i change? Thank you

I post everything on the very top of this page,
Thank you
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on October 28, 2009, 04:29:00 PM
Quote from: elforoof on October 28, 2009, 04:22:18 PM
Hello sorry to bother again but i need your help.
This is what i got and i need the floting bar to close once the guest close it and not to pop up again,
this is what i got, what should i change? Thank you

I post everything on the very top of this page,
Thank you

The only thing I can think of is that you are editing a copy of the java file in your theme folder or somewhere else and not the one in the default theme folder. If it's not that then I honestly don't know
Title: Re: eFloating Bar Mod for Guests & Members
Post by: InfoStrides on October 28, 2009, 04:40:38 PM
Quote from: Tiribulus on October 27, 2009, 09:32:26 PM
Okay if you want to attach the other files:
/Themes/default/languages/Modifications.english.php (utf-8 if you're using that)
/Sources/ModSettings.php

As soon as I get  a chance I'll take a look. No offense, but you missed one of the edits in the index.template.php file so maybe you missed something in one of those as well.

Hello, please find attached the files as requested. Thanks.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on October 28, 2009, 05:52:22 PM
They look good to me. I dunno. Except for the trivial changes you made to the text of the message the edits are the same and in the right place. Lemme check that index.template.php file again.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on October 28, 2009, 06:13:48 PM
@Infostrides:

Try this one
Title: Re: eFloating Bar Mod for Guests & Members
Post by: LOVELORD on October 29, 2009, 07:50:29 AM
Is any way to this mod show adsense code??? Or something others... I think on banners.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: InfoStrides on October 29, 2009, 08:32:01 AM
Quote from: Tiribulus on October 28, 2009, 06:13:48 PM
@Infostrides:

Try this one

I tried this. It works but my login forms disappeared. What was the cause? How can it be rectified?

More so, how can I insert messages like in your website?

Thank you for your help!

Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on October 29, 2009, 03:06:22 PM
You've gone over my head chief. I don't know how to fix this. There is a conflict somewhere, but I would do you more harm than good if I tried any further.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: InfoStrides on October 29, 2009, 03:45:00 PM
Quote from: Tiribulus on October 29, 2009, 03:06:22 PM
You've gone over my head chief. I don't know how to fix this. There is a conflict somewhere, but I would do you more harm than good if I tried any further.

Thank you for effort so far.

House, please help!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on October 29, 2009, 04:25:06 PM
Try this.  Enable the bar for guests only. Leave the custom message for members field empty. Leave the custom CSS box unchecked. Paste this whole thing in the custom message for guests field.                                     <html> <body>  <style type="text/css">  #topbar{ position:absolute; border: 5px solid #7BBC01; padding: 10px; background-color: #FDFF94; width: 400px; height: 450px; visibility: hidden; z-index: 500; font-size:12px; } #topbar p{    margin:0px; } #topbar a {color : #0000FF;} </style>   <center><h2 style="font-size:18px;color:#528751; margin-top: 30px;"><strong>We are happy to see you here at KALE'S KORNER</strong></h2> <strong>KALE'S KORNER</strong> is a place to share in each other's knowledge and experiences enjoying all aspects of gardening <h3>We would like you to <a href="http://gregnmary.gotdns.com:8080/index.php?action=register"> Join</a> KALE'S KORNER Today.</h3>  </center> <h2 style="margin-left:8px;font-size:18px">Why JOIN Kale's Korner ?</h2> <ul style="list-style:square; line-height:15px; color:#666666"><li>Get rid of this box=]</li> <li>You will become part of a community of dedicated gardeners</li> <li>Share your creative gardening skills with others.</li> <li>Enhance your creative gardening skills by interacting with others</li> <li>Ask questions and get answers from members all over the world</li> <li>Share your photography and videos!</li> <li>Access to members only content &amp; lots more!</li></ul>  <center><h3><a href="http://gregnmary.gotdns.com:8080/index.php?action=register">Register Now - <strong>Its FREE</strong></a></h3> <p>Already a member then <a href="" onClick="closebar(); return false">CLOSE</a> this window and Login.</p> <h1 style="font-size:22px"><strong><a href="http://gregnmary.gotdns.com:8080/index.php?action=register">JOIN US</a> </strong></h1></center> </body> </html>                                             This is the exact code copied right out of my SMF admin panel. I'm curious if it's something you're putting in the message fields and not the script files that's the problem. BTW, for some reason my enter key doesn't work only in the post fields of this site which explains my weird looking posts.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: InfoStrides on October 31, 2009, 01:36:48 PM
Quote from: Tiribulus on October 29, 2009, 04:25:06 PM
Try this.  Enable the bar for guests only. Leave the custom message for members field empty. Leave the custom CSS box unchecked. Paste this whole thing in the custom message for guests field.                                     <html> <body>  <style type="text/css">  #topbar{ position:absolute; border: 5px solid #7BBC01; padding: 10px; background-color: #FDFF94; width: 400px; height: 450px; visibility: hidden; z-index: 500; font-size:12px; } #topbar p{    margin:0px; } #topbar a {color : #0000FF;} </style>   <center><h2 style="font-size:18px;color:#528751; margin-top: 30px;"><strong>We are happy to see you here at KALE'S KORNER</strong></h2> <strong>KALE'S KORNER</strong> is a place to share in each other's knowledge and experiences enjoying all aspects of gardening <h3>We would like you to <a href="http://gregnmary.gotdns.com:8080/index.php?action=register"> Join</a> KALE'S KORNER Today.</h3>  </center> <h2 style="margin-left:8px;font-size:18px">Why JOIN Kale's Korner ?</h2> <ul style="list-style:square; line-height:15px; color:#666666"><li>Get rid of this box=]</li> <li>You will become part of a community of dedicated gardeners</li> <li>Share your creative gardening skills with others.</li> <li>Enhance your creative gardening skills by interacting with others</li> <li>Ask questions and get answers from members all over the world</li> <li>Share your photography and videos!</li> <li>Access to members only content &amp; lots more!</li></ul>  <center><h3><a href="http://gregnmary.gotdns.com:8080/index.php?action=register">Register Now - <strong>Its FREE</strong></a></h3> <p>Already a member then <a href="" onClick="closebar(); return false">CLOSE</a> this window and Login.</p> <h1 style="font-size:22px"><strong><a href="http://gregnmary.gotdns.com:8080/index.php?action=register">JOIN US</a> </strong></h1></center> </body> </html>                                             This is the exact code copied right out of my SMF admin panel. I'm curious if it's something you're putting in the message fields and not the script files that's the problem. BTW, for some reason my enter key doesn't work only in the post fields of this site which explains my weird looking posts.

Thank you Tiribulus. I have exactly what you instruct me to do. I still encounter similar problem of login forms hidden and perhaps the messages were not properly shown. Please find attached screenshots of them.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on October 31, 2009, 05:08:59 PM
Quote from: infostrides on October 31, 2009, 01:36:48 PM
Quote from: Tiribulus on October 29, 2009, 04:25:06 PM
Try this.  Enable the bar for guests only. Leave the custom message for members field empty. Leave the custom CSS box unchecked. Paste this whole thing in the custom message for guests field.                                     <html> <body>  <style type="text/css">  #topbar{ position:absolute; border: 5px solid #7BBC01; padding: 10px; background-color: #FDFF94; width: 400px; height: 450px; visibility: hidden; z-index: 500; font-size:12px; } #topbar p{    margin:0px; } #topbar a {color : #0000FF;} </style>   <center><h2 style="font-size:18px;color:#528751; margin-top: 30px;"><strong>We are happy to see you here at KALE'S KORNER</strong></h2> <strong>KALE'S KORNER</strong> is a place to share in each other's knowledge and experiences enjoying all aspects of gardening <h3>We would like you to <a href="http://gregnmary.gotdns.com:8080/index.php?action=register"> Join</a> KALE'S KORNER Today.</h3>  </center> <h2 style="margin-left:8px;font-size:18px">Why JOIN Kale's Korner ?</h2> <ul style="list-style:square; line-height:15px; color:#666666"><li>Get rid of this box=]</li> <li>You will become part of a community of dedicated gardeners</li> <li>Share your creative gardening skills with others.</li> <li>Enhance your creative gardening skills by interacting with others</li> <li>Ask questions and get answers from members all over the world</li> <li>Share your photography and videos!</li> <li>Access to members only content &amp; lots more!</li></ul>  <center><h3><a href="http://gregnmary.gotdns.com:8080/index.php?action=register">Register Now - <strong>Its FREE</strong></a></h3> <p>Already a member then <a href="" onClick="closebar(); return false">CLOSE</a> this window and Login.</p> <h1 style="font-size:22px"><strong><a href="http://gregnmary.gotdns.com:8080/index.php?action=register">JOIN US</a> </strong></h1></center> </body> </html>                                             This is the exact code copied right out of my SMF admin panel. I'm curious if it's something you're putting in the message fields and not the script files that's the problem. BTW, for some reason my enter key doesn't work only in the post fields of this site which explains my weird looking posts.

Thank you Tiribulus. I have exactly what you instruct me to do. I still encounter similar problem of login forms hidden and perhaps the messages were not properly shown. Please find attached screenshots of them.

To a relative simpleton at these things like myself, that could be anything bud. I am betting that some action produced by code for this mod is fighting with some other mod or vice versa that may not be in the same sections or even the same  files as the code for this mod at all. I had an instance a while back where a couple lines in one of the source files entirely unrelated to the AEVA mod caused the AEVA CP to come up blank. I only was able to chase it down because the offending mod, which was actually a tweak, had been done recently enough to where I remembered doing it and the AEVA CP worked before that.

I said all that to say that one of these other folks with far greater skills than I will have to help you out. It's kinda disappointing, I really wanted to get this working for you.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: InfoStrides on November 01, 2009, 11:47:08 AM
Quote from: Tiribulus on October 31, 2009, 05:08:59 PM
Quote from: infostrides on October 31, 2009, 01:36:48 PM
Quote from: Tiribulus on October 29, 2009, 04:25:06 PM
Try this.  Enable the bar for guests only. Leave the custom message for members field empty. Leave the custom CSS box unchecked. Paste this whole thing in the custom message for guests field.                                     <html> <body>  <style type="text/css">  #topbar{ position:absolute; border: 5px solid #7BBC01; padding: 10px; background-color: #FDFF94; width: 400px; height: 450px; visibility: hidden; z-index: 500; font-size:12px; } #topbar p{    margin:0px; } #topbar a {color : #0000FF;} </style>   <center><h2 style="font-size:18px;color:#528751; margin-top: 30px;"><strong>We are happy to see you here at KALE'S KORNER</strong></h2> <strong>KALE'S KORNER</strong> is a place to share in each other's knowledge and experiences enjoying all aspects of gardening <h3>We would like you to <a href="http://gregnmary.gotdns.com:8080/index.php?action=register"> Join</a> KALE'S KORNER Today.</h3>  </center> <h2 style="margin-left:8px;font-size:18px">Why JOIN Kale's Korner ?</h2> <ul style="list-style:square; line-height:15px; color:#666666"><li>Get rid of this box=]</li> <li>You will become part of a community of dedicated gardeners</li> <li>Share your creative gardening skills with others.</li> <li>Enhance your creative gardening skills by interacting with others</li> <li>Ask questions and get answers from members all over the world</li> <li>Share your photography and videos!</li> <li>Access to members only content &amp; lots more!</li></ul>  <center><h3><a href="http://gregnmary.gotdns.com:8080/index.php?action=register">Register Now - <strong>Its FREE</strong></a></h3> <p>Already a member then <a href="" onClick="closebar(); return false">CLOSE</a> this window and Login.</p> <h1 style="font-size:22px"><strong><a href="http://gregnmary.gotdns.com:8080/index.php?action=register">JOIN US</a> </strong></h1></center> </body> </html>                                             This is the exact code copied right out of my SMF admin panel. I'm curious if it's something you're putting in the message fields and not the script files that's the problem. BTW, for some reason my enter key doesn't work only in the post fields of this site which explains my weird looking posts.

Thank you Tiribulus. I have exactly what you instruct me to do. I still encounter similar problem of login forms hidden and perhaps the messages were not properly shown. Please find attached screenshots of them.

To a relative simpleton at these things like myself, that could be anything bud. I am betting that some action produced by code for this mod is fighting with some other mod or vice versa that may not be in the same sections or even the same  files as the code for this mod at all. I had an instance a while back where a couple lines in one of the source files entirely unrelated to the AEVA mod caused the AEVA CP to come up blank. I only was able to chase it down because the offending mod, which was actually a tweak, had been done recently enough to where I remembered doing it and the AEVA CP worked before that.

I said all that to say that one of these other folks with far greater skills than I will have to help you out. It's kinda disappointing, I really wanted to get this working for you.

I sincerely appreciate your efforts. You are wonderful!

While waiting for Gurus in the house to help me, I will try myself.

Gurus in the house, please help!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on November 01, 2009, 12:29:25 PM
No trouble.

What mods do you have installed? Just outta curiosity
Title: Re: eFloating Bar Mod for Guests & Members
Post by: InfoStrides on November 01, 2009, 03:09:26 PM
Quote from: Tiribulus on November 01, 2009, 12:29:25 PM
No trouble.

What mods do you have installed? Just outta curiosity

1.     AjaxChat Integration     3.2.1     [ Uninstall ]
2.    Pretty URLs    1.0RC    [ Uninstall ]
3.    RSS Feed Icon    1.1    [ Uninstall ]
4.    User Email System    1.3    [ Uninstall ]
5.    Referrals Mod    2.2.6    [ Uninstall ]
6.    Limit A Guests Daily PageViews Mod    2.1    [ Uninstall ]
7.    Share This Topic    1.1    [ Uninstall ]
8.    reCAPTCHA for SMF    0.9.6    [ Uninstall ]
9.    Stop Spammer    2.3    [ Uninstall ]
10.    Contact Page    2.0    [ Uninstall ]
11.    vBulletin Style Meta Tags    1.0    [ Uninstall ]
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dharshan on November 05, 2009, 07:25:34 AM
hi people,

i have installed this on smf 1.1.10..

i dont see any settings page..

it's not there in the themes and layout options..... :-*
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on November 05, 2009, 03:40:06 PM
Uninstall  Referrals Mod    2.2.6 and try again.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dzonny on November 06, 2009, 05:22:25 AM
Hello there and thanks for great mod.

I'm wondering if there is a way to display floating bar only on Forum index page, and not inside the boards and themes?

Regards.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: abcd789 on November 07, 2009, 02:01:57 AM
hie friends.. i uploaded it but it is saying not compatible with my verson my version is 1.1.10... help me.... through manual it is not geting.... thank u in advance
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on November 07, 2009, 05:47:24 PM
Quote from: infostrides on November 01, 2009, 03:09:26 PM
Quote from: Tiribulus on November 01, 2009, 12:29:25 PM
No trouble.

What mods do you have installed? Just outta curiosity

1.     AjaxChat Integration     3.2.1     [ Uninstall ]
2.    Pretty URLs    1.0RC    [ Uninstall ]
3.    RSS Feed Icon    1.1    [ Uninstall ]
4.    User Email System    1.3    [ Uninstall ]
5.    Referrals Mod    2.2.6    [ Uninstall ]
6.    Limit A Guests Daily PageViews Mod    2.1    [ Uninstall ]
7.    Share This Topic    1.1    [ Uninstall ]
8.    reCAPTCHA for SMF    0.9.6    [ Uninstall ]
9.    Stop Spammer    2.3    [ Uninstall ]
10.    Contact Page    2.0    [ Uninstall ]
11.    vBulletin Style Meta Tags    1.0    [ Uninstall ]

Sorry man, I lost track of you. I actually did spend about another hour the other day trying to see if I could find something conflicting, but I couldn't.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on November 07, 2009, 05:49:57 PM
Quote from: Dzonny on November 06, 2009, 05:22:25 AM
Hello there and thanks for great mod.

I'm wondering if there is a way to display floating bar only on Forum index page, and not inside the boards and themes?

Regards.

I don't think so, but you can tweak the java file to make it not reopen once closed on a per visit basis.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on November 07, 2009, 05:52:12 PM
Quote from: abcd789 on November 07, 2009, 02:01:57 AM
hie friends.. i uploaded it but it is saying not compatible with my verson my version is 1.1.10... help me.... through manual it is not geting.... thank u in advance

It will work with 1.1.0. Check back a couple pages. I bet you're having that same issue with the ; after <body> and echo at the end of the piece.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dharshan on November 10, 2009, 01:35:26 AM
ok guys! I have Installed the mod manually on my 1.1.10 SMF ...Woot! it works great!

my problem is  >:(

what is the hyperlink for the close text

???
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on November 11, 2009, 09:27:12 AM
any update for rc2?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: smonk on November 13, 2009, 01:44:25 AM
what a great mod!  I'm running 1.1.10, so had to install it manually.  I read through this thread, and found everything I needed to know.  I am still playing with the CSS on size, color , position, & etc., and whether I want persistclose on or off.

thanks to everyone involved.  ;D

Stink-Eye Discussion Forum (http://www.stink-eye.net/forum)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dharshan on November 14, 2009, 10:12:40 PM
what you think about my use of this mod??

chk it out www.pcguide.exofire.net/forum

and any one who could supply me the command for the "close" hyperlink??
Title: Re: eFloating Bar Mod for Guests & Members
Post by: InfoStrides on November 15, 2009, 04:34:05 PM
Quote from: Tiribulus on November 07, 2009, 05:47:24 PM
Quote from: infostrides on November 01, 2009, 03:09:26 PM
Quote from: Tiribulus on November 01, 2009, 12:29:25 PM
No trouble.

What mods do you have installed? Just outta curiosity

1.     AjaxChat Integration     3.2.1     [ Uninstall ]
2.    Pretty URLs    1.0RC    [ Uninstall ]
3.    RSS Feed Icon    1.1    [ Uninstall ]
4.    User Email System    1.3    [ Uninstall ]
5.    Referrals Mod    2.2.6    [ Uninstall ]
6.    Limit A Guests Daily PageViews Mod    2.1    [ Uninstall ]
7.    Share This Topic    1.1    [ Uninstall ]
8.    reCAPTCHA for SMF    0.9.6    [ Uninstall ]
9.    Stop Spammer    2.3    [ Uninstall ]
10.    Contact Page    2.0    [ Uninstall ]
11.    vBulletin Style Meta Tags    1.0    [ Uninstall ]

Sorry man, I lost track of you. I actually did spend about another hour the other day trying to see if I could find something conflicting, but I couldn't.

Thank you Tribulus! I have not been able to successfully installed it. I suspend it for now.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on November 15, 2009, 11:00:18 PM
Quote from: Dharshan on November 14, 2009, 10:12:40 PM
what you think about my use of this mod??

chk it out www.pcguide.exofire.net/forum

and any one who could supply me the command for the "close" hyperlink??

That looks pretty good.

You can dig the code for close out of mine from above on this page
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on November 15, 2009, 11:03:36 PM
Quote from: infostrides on November 15, 2009, 04:34:05 PM
<<< Thank you Tribulus! I have not been able to successfully installed it. I suspend it for now.

It was killin me not knowing what the deal is with your situation, it should work, but I know when I'm in over my head.

You're welcome
Title: Re: eFloating Bar Mod for Guests & Members
Post by: InfoStrides on November 16, 2009, 01:15:53 AM
Quote from: Tiribulus on November 15, 2009, 11:03:36 PM
Quote from: infostrides on November 15, 2009, 04:34:05 PM
<<< Thank you Tribulus! I have not been able to successfully installed it. I suspend it for now.

It was killin me not knowing what the deal is with your situation, it should work, but I know when I'm in over my head.

You're welcome

Ok. thanks. I am actually using wibiya toolbar to notify guest now. You check it out! www.infostridesforum.com
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dharshan on November 16, 2009, 06:49:44 AM
Quote from: Tiribulus on November 15, 2009, 11:00:18 PM
Quote from: Dharshan on November 14, 2009, 10:12:40 PM
what you think about my use of this mod??

chk it out www.pcguide.exofire.net/forum

and any one who could supply me the command for the "close" hyperlink??

That looks pretty good.

You can dig the code for close out of mine from above on this page

got it Tiribulus,

thanks a lot.
Now i have the close button..YAY
www.pcguide.exofire.net/forum
Title: Re: eFloating Bar Mod for Guests & Members
Post by: beltazar on November 24, 2009, 03:51:40 AM
SMF2 RC2 please ?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dharshan on November 24, 2009, 06:40:32 AM
Quote from: beltazar on November 24, 2009, 03:51:40 AM
SMF2 RC2 please ?

what you mean?

go to download page and download the package, if u meant by the forum software...
Title: Re: eFloating Bar Mod for Guests & Members
Post by: beltazar on November 25, 2009, 03:42:06 PM
I mean e-floating bar for SMF2 RC2
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dharshan on November 26, 2009, 12:00:59 AM
Quote from: beltazar on November 25, 2009, 03:42:06 PM
I mean e-floating bar for SMF2 RC2

an auto installing module is not yet up on the mod page,

use the manual installation method.
:D
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on November 26, 2009, 12:09:23 AM
The manual install is not always safe & correct for the rc2.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dharshan on November 26, 2009, 12:49:46 AM
Quote from: searchgr on November 26, 2009, 12:09:23 AM
The manual install is not always safe & correct for the rc2.

i did the manual install.... ofcourse theres a risk!
I tried it on my local server then proceeded to my original forum..

look :http://www.pcguide.exofire.net/forum (http://www.pcguide.exofire.net/forum)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on November 26, 2009, 12:54:18 AM
Thank you
Title: Re: eFloating Bar Mod for Guests & Members
Post by: the_shadow on December 01, 2009, 11:42:25 AM
when i made manuall edit give me parse error...

i'll left where my index.template.php...

if someone can add this code e apreciate!!!

thnkx
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Maserati on December 01, 2009, 03:14:35 PM
How to make to put Adsense code on this float bar?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dharshan on December 01, 2009, 10:53:14 PM
Quote from: the_shadow on December 01, 2009, 11:42:25 AM
when i made manuall edit give me parse error...

i'll left where my index.template.php...

if someone can add this code e apreciate!!!

thnkx

hey mate, i'll try to dig it up for ya... ;)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: the_shadow on December 03, 2009, 11:26:06 AM
thnkx!!!!!!!!!!!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: InsaneMustang on December 12, 2009, 05:32:32 PM
Package will not work on SMF 1.1.11

It's a shame :(

Great work
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on December 12, 2009, 08:50:20 PM
Quote from: InsaneMustang on December 12, 2009, 05:32:32 PM
Package will not work on SMF 1.1.11

It's a shame :(

Great work

It does for me.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: searchgr on December 17, 2009, 02:18:06 PM
Anybody that can create an efloating Xmas Card?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: infyquest on December 29, 2009, 03:55:11 AM
I need to change it, to make age verification dialog.
any ideas how to do it.
It should pop up when clicked on certain forums
Title: Re: eFloating Bar Mod for Guests & Members
Post by: marko_andres on January 03, 2010, 10:05:03 PM
works on 1.1.11 ?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on January 03, 2010, 11:51:24 PM
Quote from: marko_andres on January 03, 2010, 10:05:03 PM
works on 1.1.11 ?

Does for me, but I've had it since 1.19 or 8. It should work though.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Smoki1988 on January 04, 2010, 10:29:38 AM
From what i get it says that the package might be corrupted or it is not compatible with my 1.1.11 version..shall i do alone the changes or not??
Title: Re: eFloating Bar Mod for Guests & Members
Post by: poolhall on January 06, 2010, 01:06:18 AM
I installed this mod in hope it'd be possible to use the floating bar for Google Adsense ads but couldn't make it work. If anyone has done that please let me know how... well... I updated the mod for SMF 2.0 RC2, see the attachment. It can be installed on Curve via Package Manager automatically but please note this is not an official update.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Bugo on January 12, 2010, 09:16:34 AM
Russian translation:

//eFloatingbar for SMF by Ricky.
$txt['efloatingbar_user_style'] = 'Настройка таблиц стилей';
$txt['efloatingbar_text_guest_default'] = 'Здравствуйте. Пожалуйста, <a href="'. $scripturl .'index.php?action=login"><b>войдите</b></a> или <a href="'. $scripturl .'index.php?action=register"><b>зарегистрируйтесь</b></a> на форуме';
$txt['efloatingbar_text_logged_default'] = '<strong>Привет, как дела?</strong> С возвращением на форум!' ;
$txt['efloatingbar_mode_guest'] = 'Включить eFloating бар для гостей?';
$txt['efloatingbar_text_guest'] = 'Ваше сообщение для гостей';
$txt['efloatingbar_mode_logged'] = 'Включить eFloating бар для зарегистрированных пользователей?';
$txt['efloatingbar_text_logged'] = 'Ваше сообщение для пользователей';
$txt['efloatingbar_css_enable'] = 'Поставьте галочку, если хотите использовать свой стиль';
$txt['efloatingbar_css_default'] = '#topbar
{
   font-size:70%;
   position:absolute;
   border: 2px solid black;
   padding: 2px;
   background-color:#ECFFBF;
   width: 450px;
   visibility: hidden;
   z-index: 100;
}

#topbar a:hover
{
color: #FFFFFF;
background-color:#FF6600;
}';
//End eFloatingbar
Title: Re: eFloating Bar Mod for Guests & Members
Post by: akbora on January 28, 2010, 10:13:20 PM
Quote from: poolhall on January 06, 2010, 01:06:18 AM
I installed this mod in hope it'd be possible to use the floating bar for Google Adsense ads but couldn't make it work. If anyone has done that please let me know how... well... I updated the mod for SMF 2.0 RC2, see the attachment. It can be installed on Curve via Package Manager automatically but please note this is not an official update.
Very very thanks it goes very well.  working perfect
Title: Re: eFloating Bar Mod for Guests & Members
Post by: irtiza104 on February 14, 2010, 07:44:39 AM
the given html code is to be placed on the admin area and then i will have to parse it with the other codes in the manual instruction?

where is the ADMIN area? where will i have to place the code? plz help.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Tiribulus on February 14, 2010, 08:49:08 AM
Quote from: irtiza104 on February 14, 2010, 07:44:39 AM
the given html code is to be placed on the admin area and then i will have to parse it with the other codes in the manual instruction?

where is the ADMIN area? where will i have to place the code? plz help.

At least in 1.11 it's in features and options/layout and options
Title: Re: eFloating Bar Mod for Guests & Members
Post by: irtiza104 on February 19, 2010, 11:03:54 PM
is this mod suitable for 2RC 2.0?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Bugo on February 20, 2010, 04:30:42 AM
Quote from: irtiza104 on February 19, 2010, 11:03:54 PM
is this mod suitable for 2RC 2.0?
Yes of course
Title: Re: eFloating Bar Mod for Guests & Members
Post by: irtiza104 on February 20, 2010, 06:55:54 AM
Hi, i have installed this mod and it is great. But i want to add some links in this efloating bar. I want to add the link to register and log in and want to add the logo of the forum. how can i do that? i also want to show the bar in the middle portion on the screen, not in the left.

i am not good at html and i dont know anything about css. so please if you can show me an "model" i will be able to modify it according to my need.

http://bangladeshtalks.com

thanks for this mod.

EDIT: i managed to insert picture and link. but how will i display ad on them or move the bar a little to the right? plz help.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: MordyT on February 23, 2010, 02:57:09 PM
Quick Question
How would I exempt other windows from the bar? Meaning Login and register are exempt, what if I wanted to add another page?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: ElectricSquid on March 12, 2010, 10:03:08 AM
Is there a way to make "the bar" pop up after a time limit delay, like 20-30 seconds?
Instead of as soon as the page loads, like it does now.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Eclipse16V on March 15, 2010, 02:22:56 AM
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
Title: Re: eFloating Bar Mod for Guests & Members
Post by: anto74 on March 19, 2010, 10:12:36 AM
Thanks again for this Mod.
It's possible shows the floating bar, for guest, for homepage only?
thanks
Antonio
Title: Re: eFloating Bar Mod for Guests & Members
Post by: MordyT on March 22, 2010, 03:52:30 PM
RC3 Support Please...
Title: Re: eFloating Bar Mod for Guests & Members
Post by: soulgeek on April 01, 2010, 10:18:06 PM
Does this Mod work with SMF 2.0 RC3?

Thanks
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Eclipse16V on April 02, 2010, 02:25:42 AM
Run on my 2.0RC3 without error
Title: Re: eFloating Bar Mod for Guests & Members
Post by: soulgeek on April 05, 2010, 01:41:38 AM
QuoteRun on my 2.0RC3 without error

I tried to install it on 2.0 RC2.03, but Installation says, "Test Failed"

Shall i still go ahead and install?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Snogmarr on April 14, 2010, 08:40:38 PM
Quote from: Eclipse16V on April 02, 2010, 02:25:42 AM
Run on my 2.0RC3 without error

runs on mt rc3 with no errors


except one

there is no field in features and options to insert words or code for guests and members..

so it works jim but not as we know it

any advice


Title: Re: eFloating Bar Mod for Guests & Members
Post by: soulgeek on April 18, 2010, 11:56:51 AM
Quote from: soulgeek on April 05, 2010, 01:41:38 AM
QuoteRun on my 2.0RC3 without error

I tried to install it on 2.0 RC2.03, but Installation says, "Test Failed"

Shall i still go ahead and install?


Can any one reply to My Question? Please!!!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dharshan on April 18, 2010, 12:21:39 PM
the mod is not compatible with SMF RC2 or RC3, the only way is to do it manually...

so if u still want it, do the manual edit...if u try to install I'm sure it will not work..

so the answer to your question is DONT
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Eclipse16V on April 18, 2010, 05:47:59 PM
thus I installed it and run manually it with my 2.0RC3 without problems.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: soulgeek on April 19, 2010, 07:57:48 AM
Quote from: Eclipse16V on April 18, 2010, 05:47:59 PM
thus I installed it and run manually it with my 2.0RC3 without problems.

Do you mean to say , i haev to click for "Parse code for RC3" and do changes Manually?

If so, how will i be able to uninstall? OPs.. again manually?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dharshan on April 20, 2010, 01:21:12 AM
i manually installed this on my forum which has overview light theme... did all updates and moved the .js files to scripts folder as well..

when i go to admin-->configuration->modification settings-->misc it gives me the following error

Parse error: syntax error, unexpected ',' in /home/laceylo2/public_html/pcguidelk.com/forum/Sources/ManageSettings.php  on line 187

here u have the updated managesettings.php file as well..

line 187 says

$txt['admin_efloatingbar'],

how to fix this
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Snogmarr on April 20, 2010, 11:45:01 AM
Quote from: Dharshan on April 20, 2010, 01:21:12 AM
i manually installed this on my forum which has overview light theme... did all updates and moved the .js files to scripts folder as well..

when i go to admin-->configuration->modification settings-->misc it gives me the following error

Parse error: syntax error, unexpected ',' in /home/laceylo2/public_html/pcguidelk.com/forum/Sources/ManageSettings.php  on line 187

here u have the updated managesettings.php file as well..

line 187 says

$txt['admin_efloatingbar'],

how to fix this


I think it is because you should have it after this line and you do not, try moving it to after this

// Mod authors, once again, if you have a whole section to add do it AFTER this line, and keep a comma at the end.


on another note I cannot see it in my modifications it just will not appear and I do not know why?????????????????????
There are no fields at all,,,,, why why why why,,,,,,,,,,
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dharshan on April 20, 2010, 12:43:07 PM
Correct :s

fixed the first error! as u said it's not there under misc settings.... Now am screwed!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: TechPrince on May 10, 2010, 06:27:52 AM
Modified for RC3
Title: Re: eFloating Bar Mod for Guests & Members
Post by: kizer on May 10, 2010, 05:25:44 PM
Is there a way to add a cookie or something so when the window is closed it does not reappear for a set amount of time? I don't have an issue with harrassing guests, but I think it would be respectable when somebody closes a window that it wouldn't appear after each page load. Maybe set it for 10minutes or something of the sort?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Kurakama on May 29, 2010, 06:46:27 PM
Quote from: TechPrince on May 10, 2010, 06:27:52 AM
Modified for RC3

thank ya ^^!
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Masterd on June 03, 2010, 07:30:08 AM
I have problems with this mod on Inferno theme. How can I fix them?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: ccraciun on June 03, 2010, 05:11:46 PM
Quote from: kizer on May 10, 2010, 05:25:44 PM
Is there a way to add a cookie or something so when the window is closed it does not reappear for a set amount of time? ...
I would also be interested in this feature, too.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: tesser on June 13, 2010, 09:04:44 AM
This mod is great  but would be better if you  had the option to pop up a box for admins  as it does for  guests and members
Title: Re: eFloating Bar Mod for Guests & Members
Post by: ravenzmoon on June 13, 2010, 01:20:40 PM
I'mmmmmmmm back!   8)

Ok I love this mod ..ok strongly like it.  Now I want to be able to place ads from google adsense in this thing for my guest. I am nice like that  ;D However it  isn't working!   One of my sites... http://www.charmedbygrace.com/forum/ (http://www.charmedbygrace.com/forum/)  All I get is a page not found.

But I cant get the code to work in the slogan either.  Augh!  Please help as I try not to pull all my hair out.


EDITED.... Hello?  After 3 days I am running out of hair to pull  :o
Title: Re: eFloating Bar Mod for Guests & Members
Post by: jmil on June 21, 2010, 03:17:15 PM
Installed mod in a 1.1.11 Custom Theme Installed NO ERRORS!

I made all Manual Changes and the Admin Section is there - But I receive no Popup either checking Guests or Checking Members or both!

I see that many with Custom Themes are having problems - I was hoping someone cn help:

here are my list of Mods:

1.     Centerfold World     1.0 
2.    OVERSIZED AC in Black Smilies    1.0    
3.    Ad Managment    2.3    
4.    FavIcon    1.1    
5.    AvatarOnBoard    2.0    [
6.    Enhanced Calendar    1.1
7.    Member Awards    1.0.2    
8.    Add Sitepreviews    1.31    
9.    Auto Email Inactive Users    1.7    
10.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    
11.    Blog (for 1.1.5)    1.11    
12.    Display Age and Location next to posts    1.0
13.    Location on Member List    1.0    
14.    SMF Sitemap    1.2.2    
15.    MessagePreviewOnHover    1.7    
16.    Default Avatar    1.1.1    
17.    SMF Arcade    2.0.14    
18.    SMF 1.0.14 / 1.1.6 Update    1.0    
19.    PageEar (Pagepeel)    1.1    
20.    Highslide Image Viewer    1.0 RC8    
21.    SMF 1.0.15 / 1.1.7 Update    1.0    
22.    SMF 1.0.16 / 1.1.8 Update    1.0    
23.    SMF Media Gallery    1.5.4    
24.    Twitter Field    1.0    
25.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0
26.    Ultimate Profile    0.9    
27.    SimplePortal    2.3
28.    Share This Topic    1.1    
29.    Google Member Map    1.0 beta 4    
30.    Aeva ~ Auto-Embed Video & Audio    6.9.101
31.    User Email System    1.3
32.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1
33.    FantasticSmileys    1.0    
34.    SMF 1.0.19 / 1.1.11 Update    1.0    
35.    Treasury    1.02
36.    Google Pagerank Display Button    1.0
37.    Attachments in Topics    1.0


Title: Re: eFloating Bar Mod for Guests & Members
Post by: MATTEK on June 23, 2010, 05:20:21 PM
Quote3.     Execute Modification     .Sources/ManageSettings.php     Test failed
      1.    Add After    .Sources/ManageSettings.php    Test failed
*    4.    Execute Modification    .Themes/default/index.template.php    Test failed
      1.    Add Before    .Themes/default/index.template.php    Test failed
      2.    Add After    .Themes/default/index.template.php    Test successful

Looking for the proper edits. Thank you.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: scenerip2k on June 23, 2010, 07:09:53 PM
 I used the Modified for RC3 version and i got the error message. I tryed to manyally edit the code but didnt work there is no " <body>';  " in the index template. I have attached my index.template file can you please help me edit it?

   1.     Replace     ./Themes/default/index.template.php     Test successful
      2.    Replace    ./Themes/default/index.template.php    Test failed

Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dharshan on July 17, 2010, 12:49:27 AM
Quote from: TechPrince on May 10, 2010, 06:27:52 AM
Modified for RC3

not working for me.... sttings php >> test failed

edited my php settings manualy!! it works... thanks
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dharshan on July 19, 2010, 12:14:26 PM
ok, SMF2 RC3 is Ok with this mod... today i tried to install this mod to the stable version of SMF 1.1.11....it says the package is not compatible ..
Title: Re: eFloating Bar Mod for Guests & Members
Post by: aw06 on August 07, 2010, 09:41:58 AM
Would using this mod affect how bots crawl your site ?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: waqarhassan on August 07, 2010, 11:21:37 AM
This is work for 2.0rc3?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Hj Ahmad Rasyid Hj Ismail on August 07, 2010, 11:45:19 AM
Quote from: waqarhassan on August 07, 2010, 11:21:37 AM
This is work for 2.0rc3?
See http://www.simplemachines.org/community/index.php?topic=288554.msg2621403#msg2621403 just a few post above yours with the modified file for SMF 2.0 RC3 version of this mod is attached.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Siirist on August 15, 2010, 12:31:30 PM
Quote from: ahrasis on August 07, 2010, 11:45:19 AM
Quote from: waqarhassan on August 07, 2010, 11:21:37 AM
This is work for 2.0rc3?
See http://www.simplemachines.org/community/index.php?topic=288554.msg2621403#msg2621403 just a few post above yours with the modified file for SMF 2.0 RC3 version of this mod is attached.

YES it does! 
See a live demo here. (http://www.asanctuary.net/yoursanctuary/index.php)
We are running SMF ver2.0 RC3 and installed the mod manually.
The mod does function as described (only if using default theme).

ahrasis, :)

Made changes as we could throughout our other themes, yet if the theme doesn't have a script folder, it is unlikely to upload the needed script files. Even making all the changes we could, it still only functions in the default theme.

We realize that this is exactly as described, we are just hopeful that some majic might make it function in other themes that our members prefer. :P

Thank you for this mod! ;D

Take Care, ;)
Cloud 8)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: aw06 on September 02, 2010, 12:00:41 PM
Quote from: Smoki1988 on January 04, 2010, 10:29:38 AM
From what i get it says that the package might be corrupted or it is not compatible with my 1.1.11 version..shall i do alone the changes or not??

I have this same problem .. any Help ???
Title: Re: eFloating Bar Mod for Guests & Members
Post by: aw06 on September 02, 2010, 01:32:48 PM
Never-mind ,.. got it installed...

Still want to know if this will affect Google bots from crawing ??
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Dzonny on October 15, 2010, 05:44:50 PM
Quote from: aw06 on September 02, 2010, 01:32:48 PM
Never-mind ,.. got it installed...

Still want to know if this will affect Google bots from crawing ??
No, bots can crawl forum if its enabled in admin panel. This mod will not effect them at all.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Masterd on October 16, 2010, 05:04:12 AM
Wich mod is better?

This or this:

http://custom.simplemachines.org/mods/index.php?mod=1449 (http://custom.simplemachines.org/mods/index.php?mod=1449)
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Hj Ahmad Rasyid Hj Ismail on October 16, 2010, 02:20:36 PM
I'd say this one.

Btw, this mod should install fine with 1.1.11 but many got problem in installing it and will get this error:
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF"

Just unzip the mod and open package-info.xml. Find:
    <type>modification</type>
        <install for="1.1.4 - 1.1.99">
        <readme parsebbc="true">readme.txt</readme>
        <modification>smf1-1mod.xml</modification>
        <require-file name="floating-bar-guest.js" destination="$themedir" />
        <require-file name="floating-bar-logged.js" destination="$themedir" />
    </install>

    <uninstall for="1.1.4 - 1.1.99">
        <modification reverse="true">smf1-1mod.xml</modification>
        <remove-file name="$themedir/floating-bar-guest.js" />
        <remove-file name="$themedir/floating-bar-logged.js" />
    </uninstall>

And change to:
<type>modification</type>
<install for="1.*">
<readme parsebbc="true">readme.txt</readme>
<modification>smf1-1mod.xml</modification>
<require-file name="floating-bar-guest.js" destination="$themedir" />
<require-file name="floating-bar-logged.js" destination="$themedir" />
</install>

<uninstall for="1.*">
<modification reverse="true">smf1-1mod.xml</modification>
<remove-file name="$themedir/floating-bar-guest.js" />
<remove-file name="$themedir/floating-bar-logged.js" />
</uninstall>

Re-zip all files, upload and install the mod. It should work just fine for SMF 1.1.11.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: aw06 on October 16, 2010, 10:20:50 PM
Quote from: Masterd on October 16, 2010, 05:04:12 AM
Wich mod is better?

This or this:

http://custom.simplemachines.org/mods/index.php?mod=1449 (http://custom.simplemachines.org/mods/index.php?mod=1449)

Hard to compare .. 2 totally different mods...
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Kurakama on November 06, 2010, 03:14:15 PM
working on rc4?  :-X
Title: Re: eFloating Bar Mod for Guests & Members
Post by: donjazzy on December 02, 2010, 05:09:55 AM
how can i make it automatically dissappear for members that have reach a post of 50
Title: Re: eFloating Bar Mod for Guests & Members
Post by: unformatted_ on December 27, 2010, 07:03:04 AM
Hi!

When will be available update for rc4?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Sudhakar Arjunan on January 02, 2011, 12:02:40 PM
I admin i want to use a javascript for users who have not logged in , eg : guest.

Could you guide me to install the java script for users who have not logged in.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Masterd on January 02, 2011, 02:40:03 PM
What do you think? This mod will install both scripts.
Title: Re: eFloating Bar Mod for Guests & Members
Post by: studiowi33 on January 12, 2011, 07:07:10 AM
This looks really nice, but it DOES NOT play well with:

http://custom.simplemachines.org/mods/index.php?mod=2804

so I had to uninstall it.  :(

Title: Re: eFloating Bar Mod for Guests & Members
Post by: PersianDeveloper on January 12, 2011, 12:57:04 PM
Hello

i have installed  eFloating bar mod on my forum
i have a custom template so i tried to manipulate it just as instructions in the parse section of the Mod
it says in index.template.php  find "<body>';" and add something after that
well in my template there is no such a thing
i found
Code:
<body class="avsthem" >
   <div id="toparea">
      <div id="topbox" class="wrapper">
         <div id="userarea">';
            if($context['user']['is_logged'])
               echo $txt['hello_member_ndt'] , ' <strong>' , $context['user']['name'] , '</strong><br />';
so i added the code right after

Code:
<body class="avsthem" >
    <div id="toparea">
        <div id="topbox" class="wrapper">
            <div id="userarea">';

its working now
but  THE PROBLEM IS , NO THE CAPTCHA VERIFICATION IS NOT FUNCTIONAL !!!
im almost sure the problem is caused by index.template.php , as i restore it , the Captcha would be ok ...


suggestions please ?
Title: Re: eFloating Bar Mod for Guests & Members
Post by: Thrilling on January 25, 2011, 04:06:40 PM
I run this on my SMF 2.0 RC4 forum, and run the laGusta theme. It looks fine at 1920x1080, but any resolution lower than that. It overlaps the home buttons, can anyone help me with this?

Heres a screenshot of what's happening:

http://www.uploadscreenshot.com/image/224555/1270518