PDA

View Full Version : Miscellaneous Hacks - Floating Guest Notify


Omranic
10-03-2007, 10:00 PM
Please remember to click Mark as Installed if you use this modification.
Support questions from members who have not marked this as installed will be considered low priority.


Many thanks:
To all vBulletin Gurus.

Name: Floating Guest Notify

Descreption: This Small mod. shows a small nice floating box notify the guest to register to gain full access & more features.


How it works:
It's as simple as drinking water, nothing to explain. :)


Features:

Can enable/disable mod totaly. v1.0.0
Specify closing behavio (browser session...). v1.0.0
Set X, Y offset. v1.0.0
Floating position (from top / from bottom). v1.0.0
Compatible with bot RTL & LTR modes, it changes its position & appearance according to the direction of the page. v1.0.0
displayed only for guests & disappeared in 'register' page. v1.0.0
All template edites done for you automatically. v1.0.0
fully phrased. v1.0.0



Help Us:

Suggestions needed to develop this mod :).
Translators needed to support more users (translation credits will go to their owners).



Known Isues:
None till now.


History:
v1.0.0 4/10/2007 04:00 AM (EEST): First initial public release.


Notes:
I'm using the javascript code embedded in this mod from long time & I don't know his author, any one know him please notify me with his name & link to his home page to post his credits here.
I don't know if some one has published this before or not, so forgive me if there is.
Supported Languages till now: Arabic, English (two products supported in the package, just install one [arabic or english]).


Screen Shots:
Available down there.


Technical Notes:
Plugins: 2
New Phrases: 16
Template changes: 1 (AUTO)
Code Changes: 0
New Templates: 1
New Settings: 7
DB Tables: 0
DB Alterations: 0
Cron Jops: 0


Installation Procedure:

Import the product file from your admincp.
upload the image close.gif to the 'misc' directory in your images folder.
Done :cool: .



Control:

vbulletin options -> Floating Guest Notify

ang2el
10-04-2007, 02:22 AM
Thanks. I just installed it. Its wonderful.

militaryspace
10-04-2007, 02:35 AM
Installed, works like a charm =) Very simple, but effective.

reebok008
10-04-2007, 03:06 AM
Nise hack! Installed with pleasure!

meraia
10-04-2007, 03:30 AM
تسلم حبيبي قلبي
وتقبل الله صيامك وقيامك
Thanks

yoyoyoyo
10-04-2007, 03:53 AM
thanks, but I noticed an error:

Closing behavior
Set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
however instead of a text entry box there are YES and NO radio buttons.

Is YES equal to 1 or 0? :confused:

nickypoooo
10-04-2007, 04:38 AM
Great mod but I can not get it to work.
I don't see anything on the forum home

my setting : 70597

any idea??:confused:

Invalid ID
10-04-2007, 04:53 AM
Great Mod. Instantly Installed.

Thanks

Omranic
10-04-2007, 05:18 AM
thanks, but I noticed an error:

however instead of a text entry box there are YES and NO radio buttons.

Is YES equal to 1 or 0? :confused:

Yes equal 1.
No equal 0.
:)


Great mod but I can not get it to work.
I don't see anything on the forum home

my setting : 70597

any idea??:confused:
Then you have custom styles that has some missing HTML comment tags, just add the following code at the top of your 'header' template (If NOT exists):

<!-- logo -->

momo2
10-04-2007, 01:15 PM
nice work..

silvermerc
10-04-2007, 01:16 PM
looks good may instal later

yahoooh
10-04-2007, 02:07 PM
how to make it not shown to spiders :google,msn and others

AtaPulja
10-04-2007, 03:14 PM
Nice! Thanks!

Barakat
10-05-2007, 12:26 AM
thank you ,, installed

Mrdby
10-05-2007, 02:58 AM
GREAT!!! Maybe you can add an area to TYPE or own text!

Mrdby
10-05-2007, 03:00 AM
yeah..the register is not on my sites root...its under my forum.

Terminatoronly
10-05-2007, 01:14 PM
not working for me mate

ما شاء الله :)

Omranic
10-05-2007, 01:37 PM
how to make it not shown to spiders :google,msn and others
just search for the template 'phpkd_floating_guest_notify', open it ADD @ the very top of it the followong code:
<if condition="!$show['search_engine']">

then ADD @ the very bottom of it the following code:
</if>

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


GREAT!!! Maybe you can add an area to TYPE or own text!
You can edit the phrase as you like, search for the phrase var 'you_are_unregistered' & edit it.


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


not working for me mate

ما شاء الله :)
Then you have custom styles that has some missing HTML comment tags, just add the following code at the top of your 'header' template (If NOT exists):
<!-- logo -->

apiasto
10-05-2007, 04:28 PM
great work thnx,but in one of my skins it is showing an empty box no fonts at all while in the rest its ok.can u help
i manage to change font color but how would i change the color of phrase (register) right now its brown thnx.if you dont mind you cantake a look on cruzin style

My site (http://www.hamara-forum.com)

Omranic
10-05-2007, 06:29 PM
great work thnx,but in one of my skins it is showing an empty box no fonts at all while in the rest its ok.can u help
i manage to change font color but how would i change the color of phrase (register) right now its brown thnx.if you dont mind you cantake a look on cruzin style

My site (http://www.hamara-forum.com)
You can change link's color by editing the phrase 'you_are_unregistered'.
add the following code after the link tage '<a':
style="color: #000000"

Replace the black color (#000000) with the needed color code.
You can post any CSS formating codes as you like with as normal.

Bundy
10-05-2007, 08:48 PM
very nice thank you

Blackie:)

MetalORock
10-05-2007, 09:11 PM
very great hack :) but how put the floating guest notify in threads too?

Omranic
10-06-2007, 12:02 AM
very great hack :) but how put the floating guest notify in threads too?
It always appear in the header, so it displayed in all pages (showthread included) [exept registering page].

Terminatoronly
10-06-2007, 07:39 AM
Doesn't work in firefox will you please make it work with firefox??

Thanks

Arrogant-One
10-06-2007, 09:37 AM
I don't know where my images directory is. I use CPanel, can someone please tell me where my images directory would be?

AO

Omranic
10-06-2007, 01:26 PM
Doesn't work in firefox will you please make it work with firefox??

Thanks
Tested & Works fine with popular browsers (FireFox 2+, IE6, IE7, Opera 9+).


I don't know where my images directory is. I use CPanel, can someone please tell me where my images directory would be?

AO
the defaul images directory for the default style is /forum_dir/imaged, it may be different for custom styles, you can determine the misc dir path by clicking the 'properties' of the who is onlline image, or you can go to style vars from admincp & see the absolute path.

apiasto
10-06-2007, 04:30 PM
ok thnx a bunch

Omranic
10-11-2007, 05:04 PM
ok thnx a bunch
You are welcome :).

Hengest
10-11-2007, 08:50 PM
Thanks for this, works fine for me in FIREFOX.

Arrogant-One
10-12-2007, 07:32 AM
the defaul images directory for the default style is /forum_dir/imaged, it may be different for custom styles,
Okay,

So Admin CP> Styles & Templates > Style Manager > Default Style

and then what?

Terminatoronly
10-13-2007, 08:37 PM
Hello,
sorry my mistake its working on firefox.

i have a question i want to remove that button from showing to close this floating notify please tell me how to remove that image and the option to close it

thanks

Omranic
10-14-2007, 01:17 PM
Okay,

So Admin CP> Styles & Templates > Style Manager > Default Style

and then what?
Dear, I mean the images dir found in when browsing your files through FTP not through vb admincp, it's a normal image file upload :)



i have a question i want to remove that button from showing to close this floating notify please tell me how to remove that image and the option to close it

thanks

you can do this by editing that template "phpkd_floating_guest_notify", any way i'll provide an option for enabling/disabling this automatically through admincp in the next version.

Terminatoronly
10-14-2007, 01:21 PM
ok thanks mate

Total666
11-04-2007, 11:03 PM
Sorry but where is the image close.gif ??? thanks

I found it the X .. I was expecting it in the main file ...

gforce75
11-05-2007, 02:35 AM
It's a good concept and i've seen it before, but please work on this hack before posting this. Like actually post the close.gif in the zip because several people got confused and including myself (which I found after going nuts for 5 min). On top of that, the text is there, but there is no color to it. This isn't something we shouldn't have to digg down and modify. Please fix this and add some flexability to it. Sorry, 1 star in my book. Uninstalled.

Alibass
11-05-2007, 02:54 AM
It's a good concept and i've seen it before, but please work on this hack before posting this. Like actually post the close.gif in the zip because several people got confused and including myself (which I found after going nuts for 5 min). On top of that, the text is there, but there is no color to it. This isn't something we shouldn't have to digg down and modify. Please fix this and add some flexability to it. Sorry, 1 star in my book. Uninstalled.

Whoa..... man are you out of line especially when these authors give their hacks and time for FREE and you come off like this? That's no way to be and no way to act! This hack is very simple to install and modify.

Carlos2
11-05-2007, 04:23 AM
Sorry but where is the image close.gif ??? thanks


I found it the X .. I was expecting it in the main file ...Not find too. But great product ;)

Alibass
11-05-2007, 02:09 PM
The "X" is in the screen shots, just right click and save or do the same here. https://vborg.vbsupport.ru/external/2009/08/85.jpg

gforce75
11-05-2007, 03:29 PM
You know, i've downloaded tons of bad hacks, but when someone tells me one minute install, i don't want to go through fixing it. I mean at least the picture could be in the folder. I know it's free, but I myself wrote codes for TI calclators back in the day and ensured some sort of testing before mass release to other schools. But the colors didn't work you had to look for the x and it depends on your common sense. I had to keep logging out, modify the product upload... logout and repeat it a few times. I'm sorry, but some a kick in the butt is sometimes needed. Five stars for a product that doesn't work? Well, it looks like it went down some more. Anyways, I feel the author has potential and is able to fix it... but it's been up and out for awhile.

energetic
11-05-2007, 04:22 PM
great work I am looking for.

Chance4Today
11-05-2007, 05:04 PM
I liked the idea but on my PC I have no X showing and all other members do so I had to uninstall it because it was driving me nuts ;)

Red Spider
11-06-2007, 05:51 PM
sweet, thanks :)

WAHMama
11-26-2007, 10:43 AM
Definately seems like a very neat hack, I'm kinda waiting on any new installs until I get the upgrade to 3.7 and then will try this out.

iou1
12-08-2007, 08:19 PM
Nice hack!

I don't want to sound ungrateful, just a little positive criticism, next time just take the extra 10 sec and write "right click and save as 'close' on red 'x". It would make it so much easier for us noobs (and apparently those of us who aren't noobs) to know what we're supposed to be doing with this hack.

You did a fabulous job, thank you for your time!! :)

ColdSpirit
12-16-2007, 03:44 PM
Installed!! Worlks like a charm!! :)

Gersfan
12-20-2007, 07:04 PM
Hi, Great Hack,

I've installed it and done the edits etc but Nothing is appearing on the index when I logout ? any ideas? thanks

cgchris99
12-30-2007, 01:12 PM
Has anyone tracked their registrations to see if there was an improvement?

S7rik3R
12-30-2007, 05:13 PM
Thanks ....

*Installed*

GouroB
12-31-2007, 09:55 AM
Okay i've installed this..works fine on default skin..but i have a new skin..in which this doesnt work.. maybe because the new customized template doesnt have that <--- logo ---> thingy....anyway can you tell me what to do? to make it appear on my new template?
[ Yes i have loaded the hack after i had both the templates..so should work on both ]

raja811
01-01-2008, 08:41 PM
thanks

bokmade
01-05-2008, 01:25 PM
Okay i've installed this..works fine on default skin..but i have a new skin..in which this doesnt work.. maybe because the new customized template doesnt have that <--- logo ---> thingy....anyway can you tell me what to do? to make it appear on my new template?
[ Yes i have loaded the hack after i had both the templates..so should work on both ]
https://vborg.vbsupport.ru/showpost.php?p=1353478&postcount=18

Nephalim
01-05-2008, 02:28 PM
works great for us.had to do the directions in post 18# as we hav custom style

TeddyTheTeddy
01-11-2008, 03:11 AM
*Marked As Installed*

Seems to be working perfectly for me now.
It even annoys me into logging in. Good stuff.

Hannan
01-28-2008, 01:26 AM
Nice Hack! thank you!

princeedward
02-25-2008, 03:56 PM
Thanks! Installed!

;)

badseed00
03-03-2008, 07:32 PM
I would like to install this product but being a noob, I am not sure how to upload the xml file. DO I upload it as a plugin?:rolleyes:

badseed00
03-03-2008, 08:45 PM
Never mind, I re-read the instructions and figured it out. But, how would I go about changing its locations to the center instead of the right side?

mariocaz
03-04-2008, 04:26 AM
I installed this useful mod, but I have a little problem with it.

I have 3 domains in my forum, the problem is the bar works with the principal domain but when the bar appears in the two other domains the url to register is wrong.

My principal domain is www.all-reefs.com and the other 2 domains are: www.foro-marino.com and www.acuariosdearrecife.com click here in the bar and you will see my problem.

And also the bar is not appearing in one of my templates.

How can I fix it ?

Thank you in advance!

Please help me!!

Gersfan
03-29-2008, 03:27 PM
Hi Guys,

I've got it to work on my custom style but it's not showing up properly or the way i've seen it on other websites and screen shot that was posted before downloaded..

http://img258.imageshack.us/img258/7651/96394207os7.png

It's hovering around the middle of the screen, Register isnt blue and the close X isnt there...
My main table is 920px wide...if that helps..

Thanks,

Gersfan
04-03-2008, 07:24 AM
Anyone? Help? Please!

Thanks,

EagleNick
04-03-2008, 05:19 PM
I don't see the X to close it... I have uploaded the image, etc... how do I get it to show?

RZ500
04-08-2008, 12:22 AM
Doe anyone havit runing on 3.6.9? bouth of my sites DB, gat blon away after the import of the plug in

jpbryan
04-10-2008, 07:10 PM
GREAT! Thanks...

ChU v2
04-11-2008, 09:44 AM
Thanks, will install.

RZ500
04-11-2008, 08:45 PM
I found the problem in my forum, and it was not un the plug in, and I'll like to tell you that I translat it to Spanish.

imnotaterrorist
04-20-2008, 03:44 AM
تشكر حبيبي

nice mod

sdavis2702
04-27-2008, 02:08 AM
Instantly installed and loving it... thanks!

mariocaz
05-21-2008, 12:36 AM
working beautiful in 3.7 gold

rigodiaz
05-29-2008, 12:18 PM
Working great in 3.7!

Thank you friend :)

ALil'Hope
06-02-2008, 11:06 PM
Using this with vBulletin version 3.7.1, working perfectly.

Javierogo
06-07-2008, 06:40 AM
Thanks dude!
http://www.ciudadelforo.com/forum/picture.php?albumid=19&pictureid=88

maleficarum
06-08-2008, 11:19 AM
Works great! Thanks.

Mrdby
06-08-2008, 02:02 PM
upload the image close.gif to the 'misc' directory in your images folder. there is nothing to upload.

callumbush
06-17-2008, 10:54 PM
Yeah where is the image? I can't find it either...
Can someone email it to me? :)

globofan
06-24-2008, 08:52 AM
yeh same problem, the image file is not there.

kylek
06-27-2008, 11:17 PM
Works great with 3.7.2!! Only thing to figure out how to center the message.

dadoc
07-07-2008, 09:32 AM
I have installed but I want to change the font color

any ideas?

Sycoloco1212
07-16-2008, 03:55 PM
i edited mine to go full screen and also left out the image to exit it since i cant find it.. this is what mine looks like ( The Code In RED Will Be What It Shows )

<Preview: http://img168.imageshack.us/img168/1328/registerew1.jpg >

<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="phpkd_float_guest_notify" active="1">
<title>Floating Guest Notify</title>
<description><![CDATA[This Small mod. shows a small nice floating box notify the guest to register to gain full access & more features.]]></description>
<version>1.0.0</version>
<url><![CDATA[https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=phpkd_float_guest_notify]]></url>
<versioncheckurl><![CDATA[https://vborg.vbsupport.ru/misc.php?do=productcheck&pid=phpkd_float_guest_notify]]></versioncheckurl>
<dependencies>
</dependencies>
<codes>
</codes>
<templates>
<template name="phpkd_floating_guest_notify" templatetype="template" date="1191432967" username="z" version="1.0.0"><![CDATA[<if condition="$show['guest'] AND THIS_SCRIPT != 'register'">

<style type="text/css">
#topbar
{
PADDING-TOP: 5px;
PADDING-BOTTOM: 5px;
PADDING-RIGHT: 5px;
PADDING-LEFT: 5px;
VISIBILITY: hidden;
BORDER-TOP: black 1px solid;
BORDER-BOTTOM: black 1px solid;
BORDER-RIGHT: black 1px solid;
BORDER-LEFT: black 1px solid;
WIDTH: 100%;
FONT-FAMILY: Tahoma;
POSITION: absolute;
BACKGROUND-COLOR: white
}
</style>

<script type="text/javascript">
var persistclose = $vboptions[phpkd_floating_guest_notify_closing]
var startX = $vboptions[phpkd_floating_guest_notify_xoffset]
var startY = $vboptions[phpkd_floating_guest_notify_yoffset]
var verticalpos = "$vboptions[phpkd_floating_guest_notify_position]"

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(off set, 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.$stylevar[right]=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
</script>

<div id="topbar">
<table width="100%">
<tr>
<td width="99%">
<phrase 1="$vboptions[bbtitle]" 2="register.php$session[sessionurl_q]">$vbphrase[you_are_unregistered]</phrase>&nbsp;&nbsp;&nbsp;&nbsp; </td><td width="1%"><a onclick="closebar(); return false" href="$vboptions[bburl]"><img style="float: $stylevar[left]" src="$stylevar[imgdir_misc]/close.gif" border="0"></a>
</td>
</tr>
</table>
</div>

</if>]]></template>
</templates>
<plugins>
<plugin active="1" executionorder="5">
<title>Floating Guest Notify Template Cache</title>
<hookname>cache_templates</hookname>
<phpcode><![CDATA[if ($vbulletin->options['phpkd_floating_guest_notify_status'] AND $vbulletin->options['phpkd_floating_guest_notify_autotemp'])
{
$globaltemplates[] = 'phpkd_floating_guest_notify';
}]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>Floating Guest Notify Template Change</title>
<hookname>parse_templates</hookname>
<phpcode><![CDATA[if ($vbulletin->options['phpkd_floating_guest_notify_status'] AND $vbulletin->options['phpkd_floating_guest_notify_autotemp'])
{
$vbulletin->templatecache['header'] = str_replace($vbulletin->options['phpkd_floating_guest_notify_search_text'], $vbulletin->options['phpkd_floating_guest_notify_search_text'].$vbulletin->templatecache['phpkd_floating_guest_notify'],$vbulletin->templatecache['header']);
}]]></phpcode>
</plugin>
</plugins>
<phrases>
<phrasetype name="GLOBAL" fieldname="global">
<phrase name="you_are_unregistered" date="1191433161" username="z" version="1.0.0"><![CDATA[<FONT COLOR="black">&nbsp;&nbsp;Welcome to the MultiPlayer Gamerz forums, To gain full access to MultiPlayer Gamerz you must, </font><a href="{2}"><FONT COLOR="#0000ff">register</font></a><FONT COLOR="black"> for a free account to gain Full access.</font>]]></phrase>
</phrasetype>
<phrasetype name="vBulletin Settings" fieldname="vbsettings">
<phrase name="setting_phpkd_floating_guest_notify_autotemp_desc" date="1191430251" username="z" version="1.0.0"><![CDATA[Set to 'Yes' to enable the Automatic Template Changes for this modification. If you disable this, the modification will not work unless you manually edit the relevant templates.]]></phrase>
<phrase name="setting_phpkd_floating_guest_notify_autotemp_title" date="1191430251" username="z" version="1.0.0"><![CDATA[Auto template change]]></phrase>
<phrase name="setting_phpkd_floating_guest_notify_closing_desc" date="1191429390" username="z" version="1.0.0"><![CDATA[Set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session]]></phrase>
<phrase name="setting_phpkd_floating_guest_notify_closing_title" date="1191429390" username="z" version="1.0.0"><![CDATA[Closing behavior]]></phrase>
<phrase name="setting_phpkd_floating_guest_notify_position_desc" date="1191429759" username="z" version="1.0.0"><![CDATA[Set the floating position of the notify box, "fromtop" or "frombottom".]]></phrase>
<phrase name="setting_phpkd_floating_guest_notify_position_title" date="1191429759" username="z" version="1.0.0"><![CDATA[Floating position]]></phrase>
<phrase name="setting_phpkd_floating_guest_notify_search_text_de sc" date="1191431364" username="z" version="1.0.0"><![CDATA[Edit the text that the Auto Template Change searches for. Do <b>not</b> alter this unless you understand what you are doing, otherwise the modification will stop working.]]></phrase>
<phrase name="setting_phpkd_floating_guest_notify_search_text_ti tle" date="1191431364" username="z" version="1.0.0"><![CDATA[Auto-Template Search Text]]></phrase>
<phrase name="setting_phpkd_floating_guest_notify_status_desc" date="1191429305" username="z" version="1.0.0"><![CDATA[Check if you need to activate or deactivate the floating guest notify.]]></phrase>
<phrase name="setting_phpkd_floating_guest_notify_status_title" date="1191429305" username="z" version="1.0.0"><![CDATA[Floating Guest Notify Active?]]></phrase>
<phrase name="setting_phpkd_floating_guest_notify_xoffset_desc" date="1191429478" username="z" version="1.0.0"><![CDATA[Set X offset of bar in pixels.]]></phrase>
<phrase name="setting_phpkd_floating_guest_notify_xoffset_title" date="1191429478" username="z" version="1.0.0"><![CDATA[X offset]]></phrase>
<phrase name="setting_phpkd_floating_guest_notify_yoffset_desc" date="1191429495" username="z" version="1.0.0"><![CDATA[Set Y offset of bar in pixels.]]></phrase>
<phrase name="setting_phpkd_floating_guest_notify_yoffset_title" date="1191429495" username="z" version="1.0.0"><![CDATA[Y offset]]></phrase>
<phrase name="settinggroup_phpkd_floating_guest_notify" date="1191429164" username="z" version="1.0.0"><![CDATA[Floating Guest Notify]]></phrase>
</phrasetype>
</phrases>
<options>
<settinggroup name="phpkd_floating_guest_notify" displayorder="1120">
<setting varname="phpkd_floating_guest_notify_status" displayorder="10">
<datatype>boolean</datatype>
<optioncode>yesno</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
<setting varname="phpkd_floating_guest_notify_closing" displayorder="20">
<datatype>boolean</datatype>
<optioncode>yesno</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
<setting varname="phpkd_floating_guest_notify_xoffset" displayorder="30">
<datatype>number</datatype>
<defaultvalue>3</defaultvalue>
</setting>
<setting varname="phpkd_floating_guest_notify_yoffset" displayorder="40">
<datatype>number</datatype>
<defaultvalue>3</defaultvalue>
</setting>
<setting varname="phpkd_floating_guest_notify_position" displayorder="50">
<datatype>free</datatype>
<optioncode>select:piped
fromtop|fromtop
frombottom|frombottom</optioncode>
<defaultvalue>fromtop</defaultvalue>
</setting>
<setting varname="phpkd_floating_guest_notify_autotemp" displayorder="60">
<datatype>boolean</datatype>
<optioncode>yesno</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
<setting varname="phpkd_floating_guest_notify_search_text" displayorder="70">
<datatype>free</datatype>
<defaultvalue><![CDATA[<!-- logo -->]]></defaultvalue>
</setting>
</settinggroup>
</options>
<helptopics>
</helptopics>
<cronentries>
</cronentries>
<faqentries>
</faqentries>
</product>


Edit the RED Colored Code to your needs

Sycoloco1212
07-16-2008, 04:16 PM
alright now for the image i made this https://vborg.vbsupport.ru/ Direct Link: http://img366.imageshack.us/img366/5356/23092320gn6.jpg

so when you get done it will look like this.. Sorry image was to big to cut it out so that side << got cut off <Preview: http://img410.imageshack.us/img410/2598/registerexitme5.jpg >

Download the image close.jpg below first

now goto you sites directory or use FTP and goto

Public_Html - Forums - Images - Styles - YOUR THEMES FOLDER - Misc

now drop the close.jpg inside the MISC folder were i specified.. now it won't work just yet as you can see we used jpg... and we need gif.. so now right click the close.jpg and click rename "make sure its inside the misc folder before renameing" then rename it to close.gif ( for maximum quality ) then just save everything and now you should have a exit button..

now if you want it so when they close it, and refresh the page or goto a different page goto ( admin CP - vBulletin Options - Floating Guest Notify ) and set Closing behavior to NO then hit save

also you can see a demo here of everything: Http://mpgamerz.net Register if you want =)

YuOr
07-17-2008, 06:20 PM
Installed, thanks!
Just my two cents :)
1. I attached the close.gif (just in case somebody is still looking for it). Right click on it and save
2. I uploaded gif to my style's misc folder, not forum/images/misc and now it works

Sycoloco1212
07-17-2008, 09:26 PM
i like my close image better =P lol but thanks :D

YuOr
07-19-2008, 05:14 PM
i like my close image better =P lol but thanks :D

depends on the style of the forum :)

dadoc
07-20-2008, 04:28 AM
alright now for the image i made this http://img366.imageshack.us/img366/5356/23092320gn6.jpg Direct Link: http://img366.imageshack.us/img366/5356/23092320gn6.jpg

so when you get done it will look like this.. Sorry image was to big to cut it out so that side << got cut off <Preview: http://img410.imageshack.us/img410/2598/registerexitme5.jpg >

Download the image close.jpg below first

now goto you sites directory or use FTP and goto

Public_Html - Forums - Images - Styles - YOUR THEMES FOLDER - Misc

now drop the close.jpg inside the MISC folder were i specified.. now it won't work just yet as you can see we used jpg... and we need gif.. so now right click the close.jpg and click rename "make sure its inside the misc folder before renameing" then rename it to close.gif ( for maximum quality ) then just save everything and now you should have a exit button..

now if you want it so when they close it, and refresh the page or goto a different page goto ( admin CP - vBulletin Options - Floating Guest Notify ) and set Closing behavior to NO then hit save

also you can see a demo here of everything: Http://mpgamerz.net Register if you want =)

Hey Sycoloco1212;1576979 it looks as though your floating image my be a bit to wide I can't see the "a" in access.
I thought you might want to know

and that script change that you posted, is that the xml. file?

I want to reposition the window and make it a little wider but can't I do that in the CP?

Sycoloco1212
07-20-2008, 07:08 PM
yes the script change is the xml file.. and sec while i check out what u ment about other things you said =P

dadoc
08-12-2008, 09:25 AM
Hey Sycoloco1212,
What I want to do is add a link that is to "Contact us"
how can I do this?

dadoc
08-14-2008, 09:11 AM
Hey Sycoloco1212,
What I want to do is add a link that is to "Contact us"
how can I do this?


I cant see that you have this working on your forum at the moment?

Doesn't it annoy you that your board it wider than the screen width?

Or is it just me that sees the board that wide?

as I have that problem with my site, but some see it ok and others see it to wide.

Veer
08-27-2008, 07:57 AM
Is there any way to include a user login box to quick login if guest is already a member?

thanks.

dadoc
08-30-2008, 07:27 AM
Is there any way to include a user login box to quick login if guest is already a member?

thanks.

You would still have to enter your username and your password
the same way as normal.
I dont see that being any easier.

Mecho
09-09-2008, 02:54 PM
not working for me anymore in 3.7.3 !

dimab
09-11-2008, 06:36 PM
just installed on 3.7.2.
works perfect! added the close image to my skins.

Markos
09-18-2008, 07:01 PM
works fine for me on 3.7.3

juanpablo
10-10-2008, 05:51 PM
w3 validator errors:

document type does not allow element "style" here .
<style type="text/css">✉

document type does not allow element "p" here; missing one of "th", "td" start-tag .
<p align="center"><map name="FPMap0" id="FPMap0">✉

document type does not allow element "td" here; assuming missing "tr" start-tag .
<td>✉



Any Help :( is so great I dont want to delet It

wperdigon
11-17-2008, 01:07 AM
works awesome!

sirramza
11-22-2008, 12:59 PM
Translated to spanish by Sir Ramza :D

Thanks for the mod ;)

sunnylikbeckham
12-09-2008, 10:06 AM
perfact
needed help though but got in reples

ESPALPSP
12-18-2008, 12:56 AM
Translated to spanish by Sir Ramza :D

Thanks for the mod ;)

Thanks for the translation ^^

Scalemotorcars
02-04-2009, 08:36 PM
Works perfect 3.7.3

But if you have a custom header like I did you need this text at the top. <!-- logo --> or its not going to work.

foroalfaromeo
04-11-2009, 06:02 PM
Hi.
It works great and I translated it to spanish, but I canot see the red "X" to close it.
Any hint?

nomoreturn
04-12-2009, 11:05 PM
hello, every one i'm a new bie and i dont know how to instal this can some one help me to install i upload close.gif in misc but dont know where to upload ( product-phpkd_float_guest_notify - [english].xml ) plz help me thanks

Peter_AUS
05-07-2009, 12:18 AM
How do you edit the message to something that you want from the default please. This should be in the documentation ?

SteveV
05-11-2009, 09:04 PM
Works great so far on 3.8.x

Eruantien
05-22-2009, 12:59 AM
Indeed, works great on 3.8.x

Abhik
05-23-2009, 11:57 AM
Is there any way to show it on registration page only?
Actually, I want to show some instructions to the guests while registering. Can this be done with this mod?

RobbieZ
05-29-2009, 01:15 PM
How do you center the product please?

Javierogo
06-19-2009, 03:17 AM
Please, how can i do to make the bar like in the vBseo (http://www.vbseo.com) page? i mean, absolutely still in the corner. Thanks! :D

Eruantien
07-09-2009, 06:14 PM
nvm

SamirDarji
07-16-2009, 05:30 PM
Awesome! I'll have to try this!

Anyone have any statistics on registration improvement?

SorentoUltimate
08-05-2009, 04:06 PM
Hello

in that post https://vborg.vbsupport.ru/showpost.php?p=1353478&postcount=18 you say :

If we want to make it not shown to spiders :google,msn and others

Search for the template 'phpkd_floating_guest_notify', open it

ADD @ the very top of it the followong code:
<if condition="!$show['search_engine']">Also ADD @ the very bottom of it the following code:
</if>When i open the template the first line are :
<if condition="$show['guest'] AND THIS_SCRIPT != 'register'">if i change that line to :
<if condition="!$show['search_engine'] AND $show['guest'] AND THIS_SCRIPT != 'register'">is not same as i put the : <if condition="!$show['search_engine']"> at the top

and the </if>at the bottom ?

Thanks again
Giorgos

webgroup
08-10-2009, 12:59 AM
The "X" is in the screen shots, just right click and save or do the same here. https://vborg.vbsupport.ru/attachment.php?attachmentid=70594&stc=1&d=1191465386


thanks!!

goxy63
08-12-2009, 01:47 PM
Would be cool that somehow we have login option here as some users before logged in also see this float bar
Great mod tho

Javierogo
08-21-2009, 07:25 AM
Hello, very nice mod and i would like to know if is possible completely static, someting like the Facebook bar. Thanks!

princeedward
08-29-2009, 07:58 PM
thanks and still working to the latest vB 3.8.4 ....

:p:up:

letsjoy
09-06-2009, 09:05 AM
Thanks a lot man for this share :)

goxy63
09-16-2009, 12:28 AM
How to make it always above all content, as google ads and such ?

Thanks

MentaL
09-17-2009, 03:29 PM
Hi guys,

On my 3.8.4 forum I only have the login box on the FORUMHOME, so I decided to use this script and to modify it to include a floating login box, for those who wish to do the following simply use this code in accordance to what the author has already released.


Replace contents of the phrase "$vbphrase[you_are_unregistered]" with the following code below;
<table width="100%" class="tborder" border="0" align="center">
<tr>
<td class="alt1"><table width="100%" border="0" cellspacing="5">
<tr>
<form action="login.php?do=login" method="post" onSubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<!-- login form -->

<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" align="center">
<td class="smallfont">&nbsp;<label for="navbar_username">Name</label>&nbsp;</td>
<td><input type="text" STYLE="color: #000000; font-family: Verdana; font-weight: normal; font-size: 11px; height: 1em; background-color: #EDF7FA;" class="bginput" name="vb_login_username" id="navbar_username" size="8" accesskey="u" tabindex="101" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"></td>
<td class="smallfont">&nbsp;<label for="navbar_password">Password</label>&nbsp;</td>
<td><input type="password" STYLE="color: #000000; font-family: Verdana; font-weight: normal; font-size: 10px; height: 1em; background-color: #EDF7FA;" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="8" tabindex="102" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" checked="checked" /></label></td>
<td><input type="submit" class="button" value="Go" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</table></td>
</tr>
</table>

<div style="text-align: center;">You are Unregistered, please <a href="{2}">register</a> to gain Full access.</div>


Search for vbulletin template "phpkd_floating_guest_notify" and find the following line;
<phrase 1="$vboptions" 2="register.php$session[sessionurl_q]">$vbphrase[you_are_unregistered]</phrase>&nbsp;&nbsp;&nbsp;&nbsp; </td><td width="1%"><a onclick="closebar(); return false" href="$vboptions[bburl]"><img style="float: $stylevar[B][left]" src="$stylevar[imgdir_misc]/close.gif" border="0"></a>



Replace with
<phrase 1="$vboptions" 2="register.php$session[sessionurl_q]">$vbphrase[you_are_unregistered]</phrase>&nbsp;&nbsp;&nbsp;&nbsp; </td><td width="1%"><a onclick="closebar(); return false" href="$vboptions[bburl]"><img style="float: $stylevar[B][right]" src="$stylevar[imgdir_misc]/close.gif" border="0"></a>


And it will look like the attached image below. (I also give permission to the author if he wishes to link to this post in his release)

- Enjoy. :D

SorentoUltimate
09-22-2009, 02:34 PM
one question,

how can i use my each style css, with out change the template for each style

LilPimp
10-03-2009, 06:23 PM
Thank you man, i have been looking all over for this.

Javierogo
10-03-2009, 06:36 PM
This is a great modification MentaL! Thanks.
:up:

Tize.
10-30-2009, 01:07 PM
Great File mate.
Thank you.

gnatster
11-05-2009, 03:44 PM
Installed...

Thanks for this. lets hope it entices a few more people to register.

jluerken
09-23-2010, 06:20 AM
I would like to see a vb4. version for this

yahooooh
10-28-2010, 03:28 PM
vbulletin 4 plz

thurs
11-17-2010, 02:40 PM
I would also like to see a VB4 version of this....thanks!

bcilloniz
12-10-2010, 09:52 PM
I got one from VB Hispano, but I upgraded my forum to the latest version and I dont know where to put the code now, because VBHispano is no more on the web and i cant find the instructions here. On monday Ill put the code, to see if anyone can help me with that, because it works on VB4.

Bye

floggerss
02-03-2011, 05:32 PM
Installed, but no working!!!! i think is that the mod dindt find the logo. Could you helpo me

Carlos X
04-15-2011, 01:24 AM
I would like to see a vb4. version for this
Agree'd. :D

Hack deleted until further notice.

letsjoy
11-01-2011, 11:34 AM
is that works for VB 4?

saqib_jutt
11-01-2011, 11:35 AM
for vb 4 please :(

bcilloniz
12-02-2011, 04:22 PM
Hello guys, I leave you the link to the floating banner for VB4 (I got this from VBHispano):

https://vborg.vbsupport.ru/showthread.php?t=255266

It works for me, but have a little problem. When I scroll down, the banner dessapears. That doesn`t happen in my phone, but still don't know what could be happening. This is the most similar mod the floating banner for VB3.

If someone can make some improvements, would be great...

Bye