Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=363)
Brief Summary:
This modification adds a bar to the top of your forum. Encouraging guests to register, by clicking the
bar.
Icon Set: Fugue-Icons (http://p.yusukekamiyamane.com/)
Compatibility:
Changelog:
v1.0.4:
- Complete rewrite for both SMF 1.1.x and SMF 2.0.x.
- New Icon.
- Larger ?action support (doesn't load on login, register, xml, etc).
- Improved MVC - Making it easier to use on other themes.
SMFHacks.com:
- SMF Trader System
- SMF Gallery
- SMF Store
- Downloads System
- Newsletter Pro
- SMF Classifieds
- Ad Seller Pro
- ...and more!
Nice , i like it , doesnt work with rc3 though.
Quote from: Alan S on August 22, 2006, 06:16:34 PM
Nice , i like it , doesnt work with rc3 though.
Yeah I am going to work on that.
EDIT: RC3 supported added.
Yes indeed, nice it is. ;D
Installed. Works like a charm.
-AwwLilMaggie
Running 1.1 RC2 - Mod Installed Fine.. Works Great..
Nice Mod! I love it. THANKS!
:D
help!!!!!! its doesnt show the image of warning why???
http://www.jandito.com/foro/index.php
Is there somewhere that i need to turn it on, doesnt show up for me.
Logout of your forum as a guest.
It will be on the default theme.
Quote from: vbgamer45 on August 28, 2006, 06:24:25 PM
Logout of your forum as a guest.
It will be on the default theme.
what do i have to do to use this on other themes?
Open up the regbarrc3.xml and follow the instructions for your theme.
help!!!!!! its doesnt show the image of warning... why???
http://www.jandito.com/foro/index.php
Change in regbar.css
url("http://www.jandito.com/foro/Themes/default/warning.gif")
to
url(http://www.jandito.com/foro/Themes/default/warning.gif)
Quote from: vbgamer45 on August 28, 2006, 06:42:48 PM
Open up the regbarrc3.xml and follow the instructions for your theme.
I have done that and i get a parse error on line 79:
70: <link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?rc1" />';
71:
72: /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
73: Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
74: Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
75: Standards compliance mode happens when you use xhtml... */
76: if ($context['browser']['needs_size_fix'])
77: echo '
78: <link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';
79: <link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/regbar.css" />';
80:
81:
82: // Show all the relative links, such as help, search, contents, and the like.
83: echo '
Replace
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/regbar.css" />';
With
echo '<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/regbar.css" />';
ok that seemed to have worked. now i get an error on line 128:
128: if($context['user']['is_guest'] && $context['current_action'] != 'register')
129: echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><a href="' . $scripturl . '?action=register"><p>' . $txt['regbar_text'] . '</p></a></div></td></tr></table>';
Need to see more code above and below
here is the entire file, the error appears on line 124
http://www.dreamcasthaven.com/pix/index.template.php.edit.zip
Change
if($context['user']['is_guest'] && $context['current_action'] != 'register')
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><a href="' . $scripturl . '?action=register"><p>' . $txt['regbar_text'] . '</p></a></div></td></tr></table>';
<body style="background-color: #f4f7fa;">';
To
<body style="background-color: #f4f7fa;">';
if($context['user']['is_guest'] && $context['current_action'] != 'register')
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><a href="' . $scripturl . '?action=register"><p>' . $txt['regbar_text'] . '</p></a></div></td></tr></table>';
perfect. thank you very much
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.dreamcasthaven.com%2Fforum%2FSmileys%2Fdefault%2Ficon_bow.gif&hash=a8c86c8f4177accf6bbc40688dac905ee4ec1bcb)(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.dreamcasthaven.com%2Fforum%2FSmileys%2Fdefault%2Ficon_bow.gif&hash=a8c86c8f4177accf6bbc40688dac905ee4ec1bcb)(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.dreamcasthaven.com%2Fforum%2FSmileys%2Fdefault%2Ficon_bow.gif&hash=a8c86c8f4177accf6bbc40688dac905ee4ec1bcb)
i have fixed my regbar.css like so:/* A fake IE information bar */
#infobar {
font: message-box;
}
/* Please adjust the values if the infobar is not looking good */
#infobar a, #infobar a:link, #infobar a:visited, #infobar a:active {
display: block;
color: #000;
width:100%;
background: #FFFFE1 url(http://www.dreamcasthaven.com/forum/Themes/default/warning.gif) no-repeat fixed .3em .3em;
border-bottom: .16em outset;
text-decoration: none;
cursor: default;
}
#infobar a:hover {
color: #FFF;
background: #3169B6 url(http://www.dreamcasthaven.com/forum/Themes/default/warning.gif) no-repeat fixed .3em .3em;
}
#infobar p{
margin:0px;
padding: .45em 0em .45em 22px;
font-size:11px;
}
but still no image
EDIT the image appears in IE but not FF
Quote from: vbgamer45 on August 28, 2006, 06:42:48 PM
Open up the regbarrc3.xml and follow the instructions for your theme.
There are no instructions at all... ???
...Anyone? How do I get this to work on the Cerberus theme for 1.0.8?
Just do the following
Find
<body>';
Then Add
if($context['user']['is_guest'] && $context['current_action'] != 'register')
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><a href="' . $scripturl . '?action=register"><p>' . $txt['regbar_text'] . '</p></a></div></td></tr></table>';
Find code like <link rel= and add this on a line under them:
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/regbar.css" />';
I'm looking for this in the cerberus index.template.php file, correct?
yeah
That gave me a template parse error :-[
I would in the help wanted section and see if you can get someone to help.
I installed on my test site and got these two errors in the error log
http://www.woreef.com/index.php?action=packages;sa=install;package=regbar.zip
512: parseModification(): The filename 'Themes/default/index.template.php' is not a full path!
File: D:\web\worc\Sources\Subs-Package.php
Line: 1330
http://www.woreef.com/index.php?action=packages;sa=install2;package=regbar.zip
512: parseModification(): The filename 'Themes/default/index.template.php' is not a full path!
File: D:\web\worc\Sources\Subs-Package.php
Line: 1330
Don't worry about those errors, not really important just it yelling at me for not using the full path.
hahaha ok, just wanted to make sure before I add this to my production site. Thanks for all these get mods, I think most of mine that I use are yours
Hi vbgamer45,
Is it possible to have also another message for new members who has 0 post?
:)
Great mod but I'd like to see a scrolling option implemented in the sense that the bar stays with you just under the address bar as you scroll up and down the page... I mean this is a great mod but personally I dont see a point in having it if it just stays at the top of the page... think that maybe you can implement something so it scrolls with you as you scroll the page... hope this makes sense...
All I have to do now if try and mod my theme so this works withit hehe...
I didn't want it to be that annoying for people but I think you can modify it a little to accomplish that.
Quote from: vbgamer45 on October 11, 2006, 07:09:49 PM
I didn't want it to be that annoying for people but I think you can modify it a little to accomplish that.
Well to be honest I wouldnt even know where to begin... do you think maybe you could do it and if you dont want it to be that annoying as you say cant you just offer both version on the download page for the mod... this way people can choose if they want a "scrolling" version or a "one spot" version...
bump...
bump... so what do I need to do to add a scrolling functionality to this so it follows you down the page but always stays at the top of the page just under the address bar ??? I know I'm not the only one interested in this...
I do not know the code off hand. If you want me to figure it out I can but that will cost since I am very busy at the moment.
Well.. define cost... I mean obviously were talking money lol... and this isnt something you need toput a rush on... I just bumped thos post bec no one as said ne thing in a while... anyway ima patient man as long as things eventually get done so hopefully this will be a cheap "cost" hehe
bump...
Hi, I have 1.1 installed. the problem is the mod regbar, shows there is no text tht pls register.. . pls check into it... my site managementjuice.com (http://managementjuice.com)
Quote from: fivearts on October 09, 2006, 07:40:04 AM
Hi vbgamer45,
Is it possible to have also another message for new members who has 0 post?
:)
Looking forward to this function too.
Bump ... Again !!!
Quote from: MoreBloodWine on November 05, 2006, 10:21:59 AM
Well.. define cost... I mean obviously were talking money lol... and this isnt something you need toput a rush on... I just bumped thos post bec no one as said ne thing in a while... anyway ima patient man as long as things eventually get done so hopefully this will be a cheap "cost" hehe
For those who can't get the shield image to display, try to upload it again, weird thing is after upload the shields gets displayed, the codes I used were:
Regbar.css (which was placed on my current theme folder)
/* A fake IE information bar */
#infobar {
font: message-box;
}
/* Please adjust the values if the infobar is not looking good */
#infobar a, #infobar a:link, #infobar a:visited, #infobar a:active {
display: block;
color: #000;
width:100%;
background: #FFFFE1 url(http://www.netgoprofit.com/warning.gif) no-repeat fixed .3em .3em;
border-bottom: .16em outset;
text-decoration: none;
cursor: default;
}
#infobar a:hover {
color: #FFF;
background: #3169B6 url(http://www.netgoprofit.com/warning.gif) no-repeat fixed .3em .3em;
}
#infobar p{
margin:0px;
padding: .45em 0em .45em 22px;
font-size:11px;
}
This code detects the guest, which was placed exactly after <body>';
in my current theme index.template.php
if($context['user']['is_guest'] && $context['current_action'] != 'register')
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><a href="' . $scripturl . '?action=register"><p>' . $txt['regbar_text'] . '</p></a></div></td></tr></table>';
Next, which was added after the whole code followed by this comment // The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly.
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/regbar.css" />';
Demo (http://netgoprofit.com/index.php?action=forum)
Thank vbgamer45, your mods are awesome.
Quote from: MoreBloodWine on November 05, 2006, 10:21:59 AM
Well.. define cost... I mean obviously were talking money lol... and this isnt something you need toput a rush on... I just bumped thos post bec no one as said ne thing in a while... anyway ima patient man as long as things eventually get done so hopefully this will be a cheap "cost" hehe
That's a fixed table, I guess.
eh fact all the modifications salio but does not come out the letters well to me eh aggregate the codes in my subject and modicacion.spanish.php but he does not leave in my theme
i want to use this mod with Aero 79 theme. what do i need to do?
Edit your mods index.template.php theme and include the mod code.
i edited the index.template.php but i don't know what code to add and where to add it.
i get an error here
119: <link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/regbar.css" />';
i m using dilbermc theme and i cant find the exact codes in my index.template.php, so someone cud help ? and do i need to do anything with that css file?
Plz help
I was using that until I had conflicts with the "Registered Links" mod :(, as the bar IS technically a link, guests could not see it.
very cool i just made the manual updates instead of using the package for my custom theme and it worked! 8)
I would really like to change the text to Chinese. Actually, I would like to add an additional line of Chinese. When I did this though, the characters are not displayed properly. I tried saving the files I modified as UTF-8, but that didn't help.
Does anyone have some ideas.
The forum in question, is the one in my signature.
Thanks in advance for any assistance. :)
Nice mod vbgamer..Working fine with my SMF 1.1.2
Thanks :)
It shows the yellow thing, but theres not text in it
Worked fine with SMF 1.1.4 but cannot display the shield image...
changed the css, cleared the cache but no visible changes, image exists @
http://forums.rubenix.net/Themes/default/warning.gif
any ideas?? would like the shield image in there!! Help please!
I'm running SMF 1.1.4 with the theme: Carbonite and I'm also having problems with the installation of this mod.
I've managed to successfully install many mods before this one, but I just can't get this one to install properly.
How can I make it work with Carbonite?
What files do I have to edit so that it works with this theme's Index.template.php file?
Thanks in adv.
Quote from: ThisIsMyForum on November 03, 2007, 12:14:43 AM
I'm running SMF 1.1.4 with the theme: Carbonite and I'm also having problems with the installation of this mod.
I've managed to successfully install many mods before this one, but I just can't get this one to install properly.
How can I make it work with Carbonite?
What files do I have to edit so that it works with this theme's Index.template.php file?
Thanks in adv.
Upload the mod to
http://www.smfhacks.com/smf-package-parser.html
And it will tell you what files need to be edited.
Quote from: geezmo on January 17, 2007, 04:33:21 AM
Quote from: fivearts on October 09, 2006, 07:40:04 AM
Hi vbgamer45,
Is it possible to have also another message for new members who has 0 post?
:)
Looking forward to this function too.
There is another mod that can do this: Post count warning (http://custom.simplemachines.org/mods/index.php?mod=340)
Hi vbgamer, again a nice mod you made caught me
but I have this error
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Themes/default/index.template.php Test failed
3. Extract File ./Themes/default/warning.gif
4. Extract File ./warning.gif
5. Extract File ./Themes/default/regbar.css
I am using a dilber theme
Hope you can help me with this
Dilber MC=pain for inexperienced users...enough said. As for your issue it is a variant on the most common of all reported on these pages and a search would have given you your answer...please search before asking queries...for the record:
Please read:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Mirror of the last link:
http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
Ok, maybe this really doesn't matter, but I don't think this mod is XHTML compliant.
After installing it I got one error which is:
Quote
document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
...m/forum/index.php?action=register"><p>Shayanger! It appears you have not join
✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
I'm not sure how easy it is to fix that, but just thought I'd mention it. ;)
Quote from: rubenix on October 22, 2007, 06:56:45 AM
Worked fine with SMF 1.1.4 but cannot display the shield image...
Ditto, installed it on version 1.1.14's default theme and can't see the shield, tried everything under the sun. The code is there (index.template.php) and so is the warning.gif (in both the root and default template dir.) but to no avail.
Gene
Have you looked at reply #43 on this topic? The gif may be corrupted or not transferred into place properly for some reason.
cannot fasten the warning, same pulling the page down, to continue there
Quote from: ne.miguelito on December 29, 2007, 01:39:58 PM
cannot fasten the warning, same pulling the page down, to continue there
Make sure you copy the warning.gif to your custom theme's folder if you are not using the default theme.
Yes I copied "warning.gif" for the folder theme that use, as well as the "regbar.css" the problem is if it pulls the page down it disappears
I will try to explain with images:
what happens whenever I am going pulling the page down
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmaxupload.com%2Fimg%2F4C903B8D.jpg&hash=4df9e983a817f2e561182da0488a11a35d95209c)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmaxupload.com%2Fimg%2F310842A2.jpg&hash=835f5e3598941e87d53bc585637d15bcb291b0b1)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmaxupload.com%2Fimg%2F6D367397.jpg&hash=e6a296b8717d1ceb7f0c8f14b668c666afda1df8)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmaxupload.com%2Fimg%2FE575AF74.jpg&hash=fb7de45574e96d136cf275815cdecc451267f986)
that is that I intended:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmaxupload.com%2Fimg%2FB2668A05.jpg&hash=7cb9100b1e7edb80c5c23dfcb67c88c71da2a8ae)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmaxupload.com%2Fimg%2FE3D13D6F.jpg&hash=4c904f0eda870571c55f6ba4e41034b0ec0b505f)
sorry my bad English
Quote from: TrueSatan on December 29, 2007, 05:07:55 AM
Have you looked at reply #43 on this topic? The gif may be corrupted or not transferred into place properly for some reason.
Yes, I even uninstalled the mod and reinstalled it manually (using the Package Parser) but to no avail. BTW, I'm using the default template.
Cheers,
Gene
@ gemigene
Please try the following:
You need to go to ACP>Packages>Options>Installation Options and set the fields according to your hosting details then on the same page go to Cleanup Permissions and select All files Writeable and run the cleanup...check via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting and if not recheck the settings you made in Installation Options and run the cleanup again...continue as needed until you get the right settings.
Quote from: TrueSatan on December 29, 2007, 09:15:23 PM
@ gemigene
Please try the following:
You need to go to ACP>Packages>Options>Installation Options and set the fields according to your hosting details then on the same page go to Cleanup Permissions and select All files Writeable and run the cleanup...check via ftp that CHMOD of all your files is now 777 or 775 according to the peculiarities of your hosting and if not recheck the settings you made in Installation Options and run the cleanup again...continue as needed until you get the right settings.
Thanks, I'll give it a try and keep you posted.
Cheers,
Gene
Hello,
Could you please take a look at: http://www.saladosprofessores.com/index.php?option=com_smf&Itemid=110
I've tried everything to make the image shield to appear, bu nothing!!! :(
Here's my regbar.css place on the default theme and on my theme:
/* A fake IE information bar */
#infobar {
font: message-box;
}
/* Please adjust the values if the infobar is not looking good */
#infobar a, #infobar a:link, #infobar a:visited, #infobar a:active {
display: block;
color: #000;
width:100%;
background: #FFFFE1 url(http://www.saladosprofessores.com/forum/warning.gif) no-repeat fixed .3em .3em;
border-bottom: .16em outset;
text-decoration: none;
cursor: default;
}
#infobar a:hover {
color: #FFF;
background: #3169B6 url(http://www.saladosprofessores.com/forum/warning.gif) no-repeat fixed .3em .3em;
}
#infobar p{
margin:0px;
padding: .45em 0em .45em 22px;
font-size:11px;
}
Could someone please help me with the image?
Thank you,
Raul Nunes
Pleaeeeeeese? Sorry for the bump!
Quote from: rucanunes on January 07, 2008, 04:16:43 PM
Pleaeeeeeese? Sorry for the bump!
I tried everything under the sun and still couldn't get he shield to show so I gave up on it till the Mod author figures it out.
Cheers,
Gene
Hi,
I have a small problem with this mod that someone can hopefully help me with i have used smf package parser to install all edits needed to my custom theme witch is the PSP theme but there is an anlignment problem please take a look here http://smithonline.110mb.com/seafishing/
Thanks in advance
Regards
Smith Online
Quote from: gemigene on January 07, 2008, 07:00:04 PM
I tried everything under the sun and still couldn't get he shield to show so I gave up on it till the Mod author figures it out.
Cheers,
Gene
Today I went to my father's house and saw my site on is computer.
You know what? I can see the image shield. You should try it.
Raul Nunes
Quote from: rucanunes on January 08, 2008, 01:39:04 PM
Quote from: gemigene on January 07, 2008, 07:00:04 PM
I tried everything under the sun and still couldn't get he shield to show so I gave up on it till the Mod author figures it out.
Cheers,
Gene
Today I went to my father's house and saw my site on is computer.
You know what? I can see the image shield. You should try it.
Raul Nunes
I would have liked to see it on mine also... LOL!
Gene
Quote from: gemigene on January 08, 2008, 01:49:13 PM
I would have liked to see it on mine also... LOL!
Gene
Could you please give me your url?
Strange!! Now I went to my girlfriend's home and there I can't see the image shield. Go figure... :-\
Look at the browser security settings you are using on each machine.
QuoteHi,
I have a small problem with this mod that someone can hopefully help me with i have used smf package parser to install all edits needed to my custom theme witch is the PSP theme but there is an anlignment problem please take a look here http://smithonline.110mb.com/seafishing/
Thanks in advance
Regards
Smith Online
Bump:
Link to mod says
Not Found
The requested URL /index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request
Thanks for spotting that Aileen...it should be:
http://custom.simplemachines.org/mods/index.php?mod=363 (http://custom.simplemachines.org/mods/index.php?mod=363)
Hopefully vbgamer will change it later.
cool mod...everythying seems to work, but its hiding behind my header image.
can't get mod to work with "Musiconica" theme, what am I doing worng? Installs fine.
For custom themes the mod needs to be applied manually
Upload the mod to
http://www.smfhacks.com/smf-package-parser.html
Then apply the theme changes to your custom theme
great little mod, i tweaked mine a little on here...
http://www.hsvvxr.com/forums/index.php
Thanks,
Miyagi
I know this is nothing big BUT I thought worth mentioning. When hitting the XHTML validation, I get an error on the regbar. It says you can't use the <p> tag which is when you display the text. Now, when trying to remove the <p> tag, the text is pulled all the way to the left and behind the warning gif. Something small but thought it was worth mentioning.
EDIT: I thought I'd give you the full error:
1. Error Line 79, Column 179: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
...lub.com/index.php?action=register"><p>It appears you have not registered with
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
The waning.gif image appears on IE6, but not in Firefox and Opera.
I dont know why, maybe the CSS compliment or what?
Work fine for me.
Quote from: cyclon on February 10, 2008, 10:14:32 PM
The waning.gif image appears on IE6, but not in Firefox and Opera.
I dont know why, maybe the CSS compliment or what?
working good on firefox here, dunno what problem might cause that a gif appear on IE but not in firefox
Hi, although I like the regbar mod, I don't feel I have a need for it right now. Unfortunately when I went to uninstall via the package manager it gave me an error warning about installing it (even though I'm trying to uninstall it, a slight mistake in smf maybe?)
I'm using SMF 1.1.4
Anyway, back to the matter in hand, I would like to uninstall the package but now I'm worried it might mess up something that I won't know how to fix. It tells me 2 tests have failed:
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
2. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful
3. Execute Modification ./Themes/default/index.template.php Test failed
Is it safe to just go ahead and uninstall with the package manager anyway, or should I go about it some other way?
Thanks
Anna
The fail you have reported is a normal occurrence and not indicative of a problem in SMF or any mod...it simply means that the files the mod needs to edit to uninstall itself have been edited by another mod and the automatic system can no longer function to remove it because of those later edits...you will either need to uninstall the mod(s) that have later (after the install of this mod) edited those files and then uninstall using the automated system (followed by a reinstall of the other mods) or do a manual uninstall by hand editing the mod out of your forum.
Ok, thanks for that info :)
Anna
Where in the Admin Panel do you Enable it?
It is auto installed on the theme. If you are using a custom theme other than the default it will need to be manually installed to the theme.
Quote from: Mr Blah Man on February 13, 2008, 04:08:45 PM
Where in the Admin Panel do you Enable it?
You don't need to activate it, it appear on top of your forum automatically after the installation.
Hi,
I have the same problem with the shield, it isn't to see, not in Firefox or IE7.
I tried everything, post #43 I checked, I used the direct link to the warn.gif,
but nothing had help.
Can someone please tell me what I have to do?
Not sure what causes that tried to fix it myself have not been able to.
Hi all i am having a little problem i have used the package parser to help me install in on the "Aa New Damage" theme. It looks as thought its installed properly but when i log out of my account to see it there is no yellow bar or shield. Its just plain text.
Can anyone help me out with this?
Thanks.
anyone?
Quote from: NEO-BAHAMUT- on March 19, 2008, 08:15:12 AM
Hi all i am having a little problem i have used the package parser to help me install in on the "Aa New Damage" theme. It looks as thought its installed properly but when i log out of my account to see it there is no yellow bar or shield. Its just plain text.
Can anyone help me out with this?
Thanks.
you will have to add the regbar.css file to your new theme and the image to your themes images
Cheers mate for that, thats fixed the problem now :)
no probs, you are welcome
So does this only work if people are using windows with SP2/3 installed?
Hell no. It just looks like it. It's not OS specific in any way.
the imag don't work why???????????????
i have a 1.1.4 and cerberus theme nothing with ie7 and ff
I installed it manually once again on the default theme and still, the image doesn't show. And yes, I uploaded it in the right directory.
Gene
but it's ok with xhtml
Quote from: gemigene on March 25, 2008, 04:18:37 PM
I installed it manually once again on the default theme and still, the image doesn't show. And yes, I uploaded it in the right directory.
Gene
Quote from: vbgamer45 on March 17, 2008, 08:47:56 PM
Not sure what causes that tried to fix it myself have not been able to.
don't think there is an answer for this one, as per above reply
NEWSSSSSSSSSSSSSSSSSSS????????????????????????????????????
Quote from: Mystiquo on April 30, 2008, 05:37:52 AM
NEWSSSSSSSSSSSSSSSSSSS? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??
I'm not really sure what you are trying to say in the above post mystiquo?
If there was news, it would be posted in this thread :)
Quote from: Mystiquo on March 25, 2008, 03:58:55 PM
the imag don't work why???????????????
i have a 1.1.4 and cerberus theme nothing with ie7 and ff
up
I have no idea at this time. I do not know how to fix it yet.
To get it to work in
IE7, Firefox3B5, Opera 9.5b2
I had to change your CSS in regbar.css two occurances of
fixed .3em .3em
to
center left;
Validates with W3.org aswell.
Quote from: karlbenson on May 01, 2008, 08:52:35 PM
To get it to work in
IE7, Firefox3B5, Opera 9.5b2
I had to change your CSS in regbar.css two occurances of
fixed .3em .3em
to
center left;
Validates with W3.org aswell.
Thanks for the fix!
Released an update to fix the missing image in FireFox and some other browers.
Glad to help ;)
Quote from: Mystiquo on March 25, 2008, 03:58:55 PM
the imag don't work why???????????????
i have a 1.1.4 and cerberus theme nothing with ie7 and ff
You will need to install the mod manually since the mod (and almost all others) install to the default theme.
yes i have installed and i have a bar but i don't have a icon bar
my forum path in ftp is
www.xxxxxx.org/xxx/forums/Themes/cerberus11final ( my theme )
www.xxxxxx.org/xxx/forums/Themes/default/languages (my language)
I don't see icon warning.gif ie7 or firefox
where I should put the file warning.gif?
Maybe that mistake?
Do you have the latest version?
ok thanks now ok
Nice modification, thank you! :)
But a small suggestion as to the coding:
in index.template.php
if($context['user']['is_guest'] && $context['current_action'] != 'register')
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><a href="' . $scripturl . '?action=register"><p>' . $txt['regbar_text'] . '</p></a></div></td></tr></table>';
Should be
if($context['user']['is_guest'] && $context['current_action'] != 'register')
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><a href="' . $scripturl . '?action=register"/><p>' . $txt['regbar_text'] . '</p></div></td></tr></table>';
To make it pass as Valid XHTML 1.0 Transitional. :)
Thats wrong.
for one xhtml finishes single tags with " /> (note the space).
Second, last time I checked. <a> was one which can't be closed. It must be a pair.
<a></a> not <a />
No I just checked. And that's how I got it to pass. No <p></p> inside <a></a>.
EDIT:
But if you are right, it wouldn't change much... *think*
if($context['user']['is_guest'] && $context['current_action'] != 'register')
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><a href="' . $scripturl . '?action=register"></a><p>' . $txt['regbar_text'] . '</p></div></td></tr></table>';
Right?
Ok... I just had to test this further, and I admit I was wrong.. It does go through the validation, but brakes it on some browsers.. When again the original code works, even though it shows as an error in the validation. Because of the p inside a..
This is cool!
I'm going to install as soon as i get my forum's up and running again.
Thanks a lot!
Hey Vb,
Is it possible to "tweak" the mod and have it appear to all users?
Also, i'd like to change the note to say something like "some parts of the forum are experiencing difficulties" or something along those lines.
So when the site is experiencing some types of probs this banner will show up for everyone.
hello
i like this modification but when i tried to apply it, i got an error on index.template.php
i tried to manually install it but i can't find my <body>'; tag
could you fix this for me?
*index.template.php attached*
It makes it lag a fair bit on my board.
I had to remove.
Shouldn't lag it is just some extra css added to the board.
Yeah i know. :/
installed with no test fails on 1.1.5 but the bar does not show up (logged out and nothing shows up). I am using a custom TP theme so I checked the parser and all files were added that needed to be (including the images).
Any ideas?
I have a problem! When I try to install this mod through the package manager, I get an error. It says error in package installation. Here is where I'm getting the errors: 1. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
2. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test failed
3. Execute Modification ./Themes/default/index.template.php Test successful
4. Extract File ./Themes/default/warning.gif
5. Extract File ./warning.gif
6. Extract File ./Themes/default/regbar.css
Any idea on how to fix this? I'm currently using tinyportal. Please help!
anyone???????
Those specific files with errors mean you will need to manually install the code.
hi the mod intalls without any problem but it doesn't show any bar at the top to the guest ....are there some setting's i need to change or activate ......the only error i got during installation was Themes/default/languages/Modifications.english-utf8.php but when i checked it manual instruction it said that "This operation isn't vital to the installation of this mod." ....please help fast
let me see your website
thank you
update portuguese and brazilian..
<file name="$languagedir/Modifications.portuguese.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
//Begin Regbar Text Strings
$txt['regbar_text'] = 'Parece que você não esta registado na nossa comunidade. Para fazer o registo, clique aqui ...';
//END Regbar Text Strings
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.brazilian.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
//Begin Regbar Text Strings
$txt['regbar_text'] = 'Parece que você não esta registado na nossa comunidade. Para fazer o registo, clique aqui ...';
//END Regbar Text Strings
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
//Begin Regbar Text Strings
$txt['regbar_text'] = 'Parece que você não esta registado na nossa comunidade. Para fazer o registo, clique aqui ...';
//END Regbar Text Strings
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.brazilian-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
//Begin Regbar Text Strings
$txt['regbar_text'] = 'Parece que você não esta registado na nossa comunidade. Para fazer o registo, clique aqui ...';
//END Regbar Text Strings
]]></add>
</operation>
</file>
Quote from: Kimmie on May 30, 2008, 02:37:37 AM
installed with no test fails on 1.1.5 but the bar does not show up (logged out and nothing shows up). I am using a custom TP theme so I checked the parser and all files were added that needed to be (including the images).
Any ideas?
I am waiting for this answer too.
any version of 2.x ?
Quote from: PAPABEAR on July 28, 2008, 10:06:31 AM
Quote from: Kimmie on May 30, 2008, 02:37:37 AM
installed with no test fails on 1.1.5 but the bar does not show up (logged out and nothing shows up). I am using a custom TP theme so I checked the parser and all files were added that needed to be (including the images).
Any ideas?
I am waiting for this answer too.
Custom themes u need to modify index.template.php and add code.
Nothing for SMF 2.0 yet.
I really was hoping you'd have made the "bar" follow you when browsing the forum instead of a fixed position at the top of the site. I know that specific feature has been requested multiple times in the past and yet its not been implemented ;-/
Added it to the modtracker currently do not have enough free time to work on special requests.
Modtracker ?
Quote from: keshav on July 25, 2008, 11:35:28 AM
hi the mod intalls without any problem but it doesn't show any bar at the top to the guest ....are there some setting's i need to change or activate ......the only error i got during installation was Themes/default/languages/Modifications.english-utf8.php but when i checked it manual instruction it said that "This operation isn't vital to the installation of this mod." ....please help fast
any solution
Custom themes require a code addition to that theme in order for it to work.
Click on regbar.zip in the download page.
I installed this and am having a bit of a problem with my site... (in IE) when you enter the url to go to the site it actually goes to a blank page, you then have to refresh for it to go to the site - same happens in FF upon login (it takes you to a action=login2 screen) which it has never done before and when you try and logout it takes you to a blank screen as well and you get a pop saying FF is preventing the page being redirected to another page... i removed the package last night, had to do it manually but its still happening, can someone please help. Im running 1.1.5
Just looking into page info using FF - its showing render mode - Quirks mode for both of the blank pages.... can someone please tell me how to stop these two pages from appearing and it going back to my straight login and logout procedures??
Spanish and spanish_es (works also on utf8 files)
<file name="$languagedir/Modifications.spanish.php">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
//Begin Regbar Text Strings
$txt['regbar_text'] = 'Parece que todavía no te has registrado en nuestra comunidad. Para hacerlo, pincha aquí...';
//END Regbar Text Strings
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.spanish_es.php">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
//Begin Regbar Text Strings
$txt['regbar_text'] = 'Parece que todavía no te has registrado en nuestra comunidad. Para hacerlo, pincha aqu&ia;cute...';
//END Regbar Text Strings
]]></add>
</operation>
</file>
Hello !
i am using a outline template !
i had installed this mod
but it does not work on this template
can you help me !
how can i add this mod in this template
You have to modify that theme's index.template.php and add the code.
ok
give me the code please
It is different for every theme but you can copy the code from the default one and apply it for the custom and it might work
can i contact you with email and give my template to you for edit !
thanks
Nice mod
But When I try to install this mod that show me error every time
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
What I need to do ?
In Modificiations.english.php add
//Begin Regbar Text Strings
$txt['regbar_text'] = 'It appears you have not registered with our community. To register please click here ...';
//END Regbar Text Strings
before the closing ?>
Thanks Gazmanafc ;D
This work :D
any body can not help me !?!
please help me
i want to install this mod in outline template
:((
hi i have a problem with your mod this mod not accepted of W3C validation it's not good for validation this
<a href="' . $scripturl . '?action=register"><p>'. $txt['regbar_text'] . '</p></a>
Whats the error say?
Quote from: vbgamer45 on September 13, 2008, 01:34:27 PM
Whats the error say?
this is not valid for w3c
<a href="' . $scripturl . '?action=register"><p>'. $txt['regbar_text'] . '</p></a>
it's must do
<p><a href="' . $scripturl . '?action=register">'. $txt['regbar_text'] . ' </a></p>
but the bar and image is not good i have need a modify of css can you help me?
Updated for SMF 2.0 Beta4
for my problem??
Tried about for an hour was not able to come up with a solution.
Quote from: vbgamer45 on September 14, 2008, 11:20:32 PM
Tried about for an hour was not able to come up with a solution.
But you understand tthe problem???
can this be done for clanwars theme???
Quote from: Mystiquo on September 15, 2008, 03:42:19 AM
Quote from: vbgamer45 on September 14, 2008, 11:20:32 PM
Tried about for an hour was not able to come up with a solution.
But you understand tthe problem???
yes I do just don't know how to fix it.
you should enter the specifications of color and image in css understand?
solution!!!!!
find in index.template:
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><a href="' . $scripturl . '?action=register"><p>' . $txt['regbar_text'] . '</p></a></div></td></tr></table>';
replace with:
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><p><a href="' . $scripturl . '?action=register">' . $txt['regbar_text'] . '</a></p></div></td></tr></table>';
find in regbar.css:
text-decoration: none;
cursor: default;
add after:
padding: .0em 0em .0em 20px;
Thanks for all
P.S. validator W3C is ok now
Quote from: MoreBloodWine on July 31, 2008, 01:31:53 AM
I really was hoping you'd have made the "bar" follow you when browsing the forum instead of a fixed position at the top of the site. I know that specific feature has been requested multiple times in the past and yet its not been implemented ;-/
Look here: http://www.simplemachines.org/community/index.php?topic=253780.0
find in index.template:
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><a href="' . $scripturl . '?action=register"><p>' . $txt['regbar_text'] . '</p></a></div></td></tr></table>';
replace with:
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><a href="' . $scripturl . '?action=register">' . $txt['regbar_text'] . '</a></div></td></tr></table>';
find in regbar.css:
display: block;
color: #000;
width:100%;
background: #FFFFE1 url(warning.gif) no-repeat center left;
border-bottom: .16em outset;
text-decoration: none;
cursor: default;
replace with:
display: block;
color: #000;
width:99%;
background: #FFFFE1 url(warning.gif) no-repeat center left;
border-bottom: .16em outset;
text-decoration: none;
cursor: default;
padding: .45em 0em .45em 22px;
P.S. validator W3C is ok now
Thanks Mystiquo
I got the following error.
What do i need to change in order to get it to work?
2. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test failed
Open /Themes/default/languages/Modifications.english-utf8.ph
Make sure that
?>
Is on its own line.
Quote from: vbgamer45 on October 27, 2008, 08:12:44 PM
Open /Themes/default/languages/Modifications.english-utf8.ph
Make sure that
?>
Is on its own line.
The file is totally blank vbgamer45.
What code should be in it?
If it is blank you can remove the file or just skip that install step and let it fail.
Quote from: vbgamer45 on October 27, 2008, 08:53:13 PM
If it is blank you can remove the file or just skip that install step and let it fail.
It said it installed, but it didn't when I proceeded. I checked the files it was supposed to change.
So it looks like I will have to try and do it manually... or I can just add the "?>" into the Modifications.english-utf8.php file and try that.
I am using the Dilber theme.
I'm assuming that english-utf8 is your forum language?
Quote from: JimM on October 28, 2008, 04:54:50 PM
I'm assuming that english-utf8 is your forum language?
I don't think so JimM.
I'm going to try it again, then do the manual changes i think. I upgraded to version 1.1.6 before I tried to install this mod.
Hey guys, i need help
i uninstalled this mod on my 1.1.7 forum and it seems like the mod wasn't completely uninstalled. im still getting the text above the forum logo but only the text. You can find a screenshot here: http://i44.tinypic.com/2mr8lli.jpg
how to i uninstall this mod completely?
thx
anyone?
do a manual uninstall and check all the files to make sure the parts that should have been removed have been
hi if you look at my forum the regbar is up to high and there is white space between it how do i fix this?/
Forum: www.modernopolis.byethost32.com
Looks like a theme issue a lot of things don't look right attached a screenshot
Quote from: Phat^Trance on January 05, 2009, 11:29:32 AM
Hey guys, i need help
i uninstalled this mod on my 1.1.7 forum and it seems like the mod wasn't completely uninstalled. im still getting the text above the forum logo but only the text. You can find a screenshot here: http://i44.tinypic.com/2mr8lli.jpg
how to i uninstall this mod completely?
thx
anyone have the answer to this? really need to get rid of that
Yes i do not know why the center and right side fuse together...I know it has to be about the picture but how do you make it a variable witdh so it is not 800px for every monitor size because my screen resoution is 1440 by 900 and ur is prob 800 by 600.
Followed directions to a T on 1.1.8, didn't work, uninstalled.
Alright any idea now??? It now has this ,where do i edit it so it fills that whole space and the whole length with that bar and fix the errors??
Not sure. It is probably an issue with the CSS the theme's css is overriding the css of the regbar
Well can you help me,what do I do then??
That i really do not know a lot about maybe a theme designer can help but I do not much about css.
Hello.
When I tried to install this mod, I got a warning saying:
QuoteError in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Installation Readme
[/t] Execute Modification ./Themes/default/index.template.php Test failed | | | | (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpac-attack.com%2Fforum%2FThemes%2Fdefault%2Fimages%2Fadmin%2Fpackage_ops.gif&hash=4ae9aa9a98c8d3998a902839647b8c673c4321b9) (http://pac-attack.com/forum/index.php?action=admin;area=packages;sa=showoperations;operation_key=5;package=regbar.zip;filename=regbar2.xml)[/t] 1. Add After ./Themes/default/index.template.php Test successful [/t] (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpac-attack.com%2Fforum%2FThemes%2Fdefault%2Fimages%2Fadmin%2Fpackage_ops.gif&hash=4ae9aa9a98c8d3998a902839647b8c673c4321b9) (http://pac-attack.com/forum/index.php?action=admin;area=packages;sa=showoperations;operation_key=6;package=regbar.zip;filename=regbar2.xml) 2. Replace ./Themes/default/index.template.php Test failed |
|
|
You have another mod that modified that part of the template. Please modify that portion manually.
Quote from: vbgamer45 on August 03, 2009, 07:43:13 PM
You have another mod that modified that part of the template. Please modify that portion manually.
Thanks for the information.
When trying to install in SMF 2.0 RC2 says it is either corrupt or not compatible.
Quote from: GohighVoltage on December 12, 2009, 01:27:05 PM
When trying to install in SMF 2.0 RC2 says it is either corrupt or not compatible.
+1 Same here.
Plz make one actualization to the version SMF 2.0RC2
It is really importante
Tks
Regardless of the current possition on the page does it always stay at top where it's visible or does it "hide" once you scroll down some ?
Quote from: navjotjsingh on December 16, 2009, 01:26:27 AM
Quote from: GohighVoltage on December 12, 2009, 01:27:05 PM
When trying to install in SMF 2.0 RC2 says it is either corrupt or not compatible.
+1 Same here.
... Not Instale in SM 2.0RC2 :-\
Try now installed in on My RC2 forum
worked on your forum RC2?
A min just says that has nothing to install, and even lets you install the MOD: s
Yeah redownload the package and try again
Worked .. thank you for the fast response:)
Glad you got it working
Hello,
I've install it on SMF 1.1.11 Urban Based, but got error code
Quote
173: document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";
174:
175: current_header_ic = mode;
176: }
177: // ]]></script>
178:
179: </head>
180: <body>
181:
182: if($context['user']['is_guest'] && $context['current_action'] != 'register')
183: echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><a href="' . $scripturl . '?action=register"><p>' . $txt['regbar_text'] . '</p></a></div></td></tr></table>';
184:
185: <div id="toparea">
186: <div id="toolbar">
Thanks
Change
<body>
To
<body>';
I'm trying to add this to my forum, but it does not have <body>'; in /index.templates
Any help?
Updated for SMF 2.0 RC3!
Thanks for the mod. Confirmed that it works for 3 of my forums using RC3 although I have to manually install on another forum with customized theme.
Anyway, just wanted to suggest on the regbar2.css, which i believe is being used for Rc2 install, please make the position top of the infobar to 5px as can be seen below instead of -10px. I have done this 3 times and it shows better in 5px than the current default setting.
#infobar a, #infobar a:link, #infobar a:visited, #infobar a:active {
position: relative; top: 5px;
Just wanted to help.
Bangis
Thanks for the mod!
here you have the strings for
spanish
spanish-utf8
and
spanish_latin
spanish_latin-utf8
//Begin Regbar Text Strings
$txt['regbar_text'] = '¿Al parecer todavía no eres usuario de nuestra comunidad? Para registrarte presiona aquí...';
//END Regbar Text Strings
btw, I agree with Mabangis... the css positioning is a bit odd, I had to rework it all too
Thanks for translation. I am not very good with css/styles
Turkish translation:
//Begin Regbar Text Strings
$txt['regbar_text'] = 'Henüz sitemize kayıt olmamışsınız gibi gözüküyor. Kayıt olup imkanlarımızdan faydalanabilmek için buraya tıklayın...';
//END Regbar Text Strings
Thankyou very much for Turkish translation
I've installed the regbar mod on my 20.rc3 forum. But it is not showing up :(
i'm using the Overview light theme by dzinerstudio. pl. help me..
For custom themes it needs to be installed manually.
i've tried to install the mod manually by editing the index.template.php
But resulted in a template parse error :(
Pl. Help. I never installed mods manually before.
Hi Mr. Vgamer and others
Anyone knows how to fix this issue?
8: Undefined index: regbar_text
Archivo: /home/content/e/b/d/ebdesarrollo/html/smf/Themes/default/BoardIndex.template.php (eval?)
Línea: 196
Looks like your missing a language string.
Copy themes/default/languages/modifications.english.php to themes/default/languages/modifications.yourlanguage.php
If you have a custom theme that has it's own modifications.english.php you will need to copy it there as well.
Really appreciate it..we are going to check ;)
Did not work
but now I am getting another error
For instance, f I click in Users, this error comes up
8: Undefined index: allow_view_contact
Archivo: /home/content/e/b/d/ebdesarrollo/html/smf/Themes/default/Memberlist.template.php (eval?)
Línea: 701
If I click google tagged
8: Undefined index: allow_view_contact
Archivo: /home/content/e/b/d/ebdesarrollo/html/smf/Themes/default/languages/GoogleTagged.spanish.php (eval?)
Línea: 701
Any clues at what i have to do?...Should be better delete the while dafault template and upload it again? how can I change my template from the database?
thank you in advance
I need help with changing the url the regbar connects you to when you click on it. In order for members of my forum to register, they have to get the Join Password first. I've already found out how to change the message, and I've changed it to:
Quote"You must obtain the "Join Password" before you can register. Please read the Announcements & Rules board before registering."
How do I change the url from redirecting to the registration page to going to the thread that talks about the Join Password?
Thank you for your help in advance.
You would need to edit the index.template.php file and find the url of the reg bar and point it to that page.
Quote from: vbgamer45 on November 23, 2010, 09:43:50 AM
You would need to edit the index.template.php file and find the url of the reg bar and point it to that page.
Thank you.
Could you upgrade this to rc4 please. Emulation doesnt seem to work for my forum.
Also if i move all css from the separate file to smf's standard css file will it still work?
Can you upgrade this to the latest 2.0 version? Thank you.
Updated for 2.0
Thank you. :)
Quote from: vbgamer45 on June 12, 2011, 02:43:10 PM
Updated for 2.0
Thank you for that!! ;D AWESOME MOD ;)
Now if I can get it to be visible. ??? Hmmm
See screen shot attached.
Thanks in advance. ;)
Be Well, :)
Cloud 8)
I guess what I am really asking is even though I am using the default theme, I need to change the color of the lettering. Is that done in the Modifications-English.php?
Thanks in advance,
Cloud
Bump
It would be done in regbar.css
Quote from: vbgamer45 on August 27, 2011, 04:27:05 PM
It would be done in regbar.css
Thank you so much for your help.
Be Well,
Cloud
PS - Will mark as solved once I have resolved this issue
Looked in the root directory (since the mod is shown to guests) didn't find regbar.css. :-[
A bit of guidance? O:)
Thanks again,
Cloud
2.0 in themes/default or themes/default/css
found regbar2.css in the theme/default/css
changed every color to white ("#FFFFFF")
Still can't read against dark background
See attached
Sincerely,
Cloud
Here's a link so you can see what I mean.
http://www.asanctuary.net/yoursanctuary/ (http://www.asanctuary.net/yoursanctuary/)
I hope there is an easy fix for this.
Thanks for your help.
Take Care,
Cloud 8)
CSS is not something I do well sorry :(
Quote from: vbgamer45 on August 28, 2011, 08:38:36 PM
CSS is not something I do well sorry :(
But this shouldn't be about the css. I am using default "Curve" theme, see attachment, which I thought all mods should function in.
Is there another theme that this mod is known to function in?
Cloud
Only works on default theme. I don't use the mod myself.
Okay.
Thanks.
Take Care,
Cloud 8)
Quote from: A_Survivor of abuse on August 28, 2011, 08:35:33 PM
Here's a link so you can see what I mean.
http://www.asanctuary.net/yoursanctuary/ (http://www.asanctuary.net/yoursanctuary/)
Where is the regbar there?
luuuciano,
I manually un-installed the mod after it was determined it wouldn't work for me.
I am looking at other possibilities because the text was too dark to read.
Thank you for your attention,
Cloud 8)
Here you have another kind of register message, http://custom.simplemachines.org/mods/index.php?mod=3107
Maybe you like that way
luuuciano,
Thank you. :)
That is a good one.
It fades away after a while and the guests can click it off.
If a forum wants one that is annoying they can use one that never goes away.
Guests' Cursor (http://custom.simplemachines.org/mods/index.php?mod=2051)
Thanks again as we are going to use the one you showed us. ;)
Be Well,
Cloud 8)
This mod don't work on the theme I am using on my forum.
Any clue how I am going to get this mod work on the theme I am using?
You would need to copy the theme edits that were made to index.template.php to your themes index.template.php
It's ok, I understand the mod. I found a better mod then this one.
Thank's again!
I installed this and just wanted to mention that I had to do a *lot* of fiddling with the regbar2 CSS to get it looking normal. It also needed to have the warning.gif image and the CSS file moved to the correct theme directory.
Quote from: MrMike on May 02, 2012, 09:43:32 PM
I installed this and just wanted to mention that I had to do a *lot* of fiddling with the regbar2 CSS to get it looking normal. It also needed to have the warning.gif image and the CSS file moved to the correct theme directory.
For what SMF version?
I'm running the latest, 2.0.2. You can see it here: atheistroundtable.com
There was a fair bit of CSS that didn't seem to work correctly; I edited it down a little to make things simpler. But when it was installed it definitely didn't work.
Quote from: vbgamer45 on May 03, 2012, 04:18:30 PM
Quote from: MrMike on May 02, 2012, 09:43:32 PM
I installed this and just wanted to mention that I had to do a *lot* of fiddling with the regbar2 CSS to get it looking normal. It also needed to have the warning.gif image and the CSS file moved to the correct theme directory.
For what SMF version?
I like this one too.....I assume it could be modded so as to be full-width across the screen with a different color scheme?
Quote from: luuuciano on August 29, 2011, 02:17:08 PM
Here you have another kind of register message, http://custom.simplemachines.org/mods/index.php?mod=3107 (http://custom.simplemachines.org/mods/index.php?mod=3107)
Maybe you like that way
I will have one of my helpers check out this mod as well.
I'll look into this shortly, if anything is broken I will release a patch asap :)
Preview of the new version attached :)
Regbar Warning 1.0.3 Released!
Quote from: Changelog
v1.0.3 (r5.14.12):
- Complete rewrite for both SMF 1.1.x and SMF 2.0.x.
- New Icon.
- Larger ?action support (doesn't load on login, register, xml, etc).
- Improved MVC - Making it easier to use on other themes.
Click
here to go check it out!
how to edit the showing text in the bar?
Modify themes/default/languages/modifications.english.php
thanks
and could this modification make any problems while uninstalling the package?
it is SMF 2.0.2
Yup, it won't let you uninstall it properly and you'll have to manually edit it to be able to uninstall it later.
Actually, I do believe that text strings are stored in a separate file. Which would be relative to the modification name. ./Themes/default/languages/smf-hacks/regbar-warning.english.php. Modifying that file will still allow you to uninstall the modification without issues.
Quote from: vbgamer45 on November 23, 2010, 09:43:50 AM
You would need to edit the index.template.php file and find the url of the reg bar and point it to that page.
Hi Guys
I was trying to set the link in the reg bar to point at a different URL , instead of the register link .. found some posts in this thread regarding how to do this .. BUT It just says edit the index.template .php file .. I have found the code that needs to be edited but do not know what to do ..
Quote
if($context['user']['is_guest'] && $context['current_action'] != 'register')
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%"><div id="infobar"><a href="' . $scripturl . '?action=register"><p>' . $txt['regbar_text'] . '</p></a></div></td></tr></table>';
Can someone who is in the know , tell me what I need to edit .. ? and the code involved in setting a New Link instead of the Register action .
I am not very good with php or coding
Cheers in Advance
;)
Just replace
' . $scripturl . '?action=register
With the link you want it to go to.
Can anyone post a forum url where this MOD is actively used? Thanks.
It doesnt work on my forum (2.0.2)
Well, it works, but the image doesnt.
See screenshot:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs7.postimage.org%2Feuizt2hax%2FUntitled.png&hash=da51c10befd3f95f69576a7244f2a0636fd1dc00)
Why is this?
You're not providing enough information, unfortunately. Is this a custom theme, or default (Curve)? Were there any errors during the installation process? Obviously, the image is missing. This is either because of a theme compatibility issue - which I doubt, because I should be smarter than that, when I wrote this mod. Or it's because your server didn't import the image for some reason.
- If this is SMF Curve you are seeing this on, please send a link and then try uploading the image from the package to the proper location on the server.
- If this isn't Curve, please indicate that.
the installation was fine, no errors and everything installed.
The image has also uploaded as I can see it from my cpanel under the location: "public_html/forum/Themes/default/images/smfhacks_images/regbar-warning.png"
This is the image: (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs10.postimage.org%2F4h4uza28l%2Fimage.gif&hash=dd8ba1d6ffac086236183016c86cf13f32e8dde6)
I am using a theme designed by Pixel Mansion.
Apparently I overlooked a slight bug when I wrote it, quite surprised, although I appreciate your catching it.
Unfortunately, I am not currently hired by vbgamer45 to continue mod updates and bugfixes, although I can unofficially give you the fix:
Open ./Themes/default/smfhacks_templates/regbar-warning.template.php:
<img src="' . $settings['images_url'] . '/smfhacks_images/regbar-warning.png" alt="" />
<img src="' . $settings['default_images_url'] . '/smfhacks_images/regbar-warning.png" alt="" />
Thanks..
That works now
Not a problem, just a slight issue with the path not being fully accurate for other themes.
Quote from: Labradoodle-360 on November 15, 2012, 10:30:11 AM
Apparently I overlooked a slight bug when I wrote it, quite surprised, although I appreciate your catching it.
Unfortunately, I am not currently hired by vbgamer45 to continue mod updates and bugfixes, although I can unofficially give you the fix:
Open ./Themes/default/smfhacks_templates/regbar-warning.template.php:
<img src="' . $settings['images_url'] . '/smfhacks_images/regbar-warning.png" alt="" />
<img src="' . $settings['default_images_url'] . '/smfhacks_images/regbar-warning.png" alt="" />
Thanks for the bug fix!
Have applied the change.
No problem.
Thanks for this mod.
Hungarian translation attached.
Quote from: novill on November 16, 2012, 03:47:24 AM
Thanks for this mod.
Hungarian translation attached.
Thanks for translation!
I loaded the mod successfully, although, with my theme it doesn't look the best. I have livecity for my theme and I am running the current version of SMF, 1.1.17. The mod is aligned to the left and it is not easy to the eye. My forum is at www.misfitcityforum.com/forum/index.php
I like what this person did to their forum... http://www.atheistroundtable.com and I like their icon. If I know what to do and where to go, I am pretty sure I can tweak it.
________________
Just Me
Sass
That's interesting, it definitely should not look how it does on your forum. The other link you provided is the previous version of this modification.
Are you sure the modifications were made successfully? When I get home, I'll look into the code more.
Quote from: Labradoodle-360 on December 21, 2012, 11:33:43 PM
That's interesting, it definitely should not look how it does on your forum. The other link you provided is the previous version of this modification.
Are you sure the modifications were made successfully? When I get home, I'll look into the code more.
The success of the modification "looked" well enough. No errors. No warnings. Just normal modification adding all the way until I seen the final result. I am pretty putzy about stuff like that. Did you get a chance to look at the code?
Thank you for your help now and into the future, Labradoodle.
_________________
Just Me
Sass
Ooooooops! I was on vacation and I forgot, I very sincerely apologize for that! I am going to put this on my list for next time I throw open my localhost for some work.
I passed the fix on to vbgamer45, so he should be throwing a patch out soon that will fix your issues, IMSassafras, also an issue with invalid XHTML.
Quote from: Labradoodle-360 on January 16, 2013, 04:16:36 PM
I passed the fix on to vbgamer45, so he should be throwing a patch out soon that will fix your issues, IMSassafras, also an issue with invalid XHTML.
Thanks for thinking of me even if you are a little late. I hope your vaca was all you hoped for and then some. I look forward to vbgamer45's patch.
________________________________
Just Me
Sass
Submitting my forum to the validator validator w3
I have found this error...
Quote<link rel="stylesheet" type="text/css" id="smfhacks_css/regbar-warning_css" />
Line 34, Column 57: character "/" is not allowed in the value of attribute "id"
...heet" type="text/css" id="smfhacks_css/regbar-warning_css" href=
It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
Released 1.0.5
Which fixes support for custom themes in SMF 2.0 thanks to Labradoodle-360
error_2 I looked at the code for modification and it doesn't set an id field for the css that is included.
No, but let me guess, it uses loadTemplate() to load a CSS file?
If that CSS file is in a folder, it will do just that, as I took Labradoodle to task for in his Top X Stats mod. The correct workaround is described there, including why it should be used instead of misusing loadTemplate() for a purpose for which it was not entirely intended.
The updated edits that I gave vbgamer45 use $context['html_headers'] to load the CSS file rather than loadTemplate(); in addition to fixing the custom theme bug.
Yeah just double checked the code looks good for the loadtemplate calls.
function RegbarWarning()
{
global $context, $settings;
loadLanguage('smfhacks_languages/regbar-warning');
loadTemplate('smfhacks_templates/regbar-warning');
$context['html_headers'] .= "\n" . '
<link rel="stylesheet" type="text/css" href="' . $settings['default_theme_url'] . '/css/smfhacks_css/regbar-warning.css" />
';
$context['insert_after_template'] .= template_regbar_warning();
}
So error_2 the xhtml validator issue is resolved as well.
Interesting question of the day: do other mods put things into Themes/default/css/smfhacks_css ? If so, do any of them proceed to remove the entire folder on uninstallation?
If so, any setup that uses two different mods with two different CSS files will cause each other to uninstall the entire folder...
Other modifications utilize the "smfhacks_" directories. If there are other files in the directory from other modifications, the directory is not removed - just the files.
Interesting, how's that implemented? Last I checked, SMF had no facilities for that...
EDIT: So I checked. Interesting implementation, though it'd be nice if it checked for permissions when calling unlink(), to avoid errors in the event of permissions changes.
Yeah, that should probably be added.
Quote from: IMSassafras on December 21, 2012, 09:55:06 PM
I loaded the mod successfully, although, with my theme it doesn't look the best. I have livecity for my theme and I am running the current version of SMF, 1.1.17. The mod is aligned to the left and it is not easy to the eye. My forum is at www.misfitcityforum.com/forum/index.php
I like what this person did to their forum... http://www.atheistroundtable.com and I like their icon. If I know what to do and where to go, I am pretty sure I can tweak it.
________________
Just Me
Sass
Did someone forget about me or is vbgamer45 working on my problem? Don't mean to be a pest. Is my issue that unique?
________________
Just Me
Sass
Your code looks in the wrong place on your site
Quote
<div id="regbar_warning">
<a href="http://www.misfitcityforum.com/forum/index.php?action=register" target="_self">
<span class="floatleft" id="regbar_icon">
<img src="http://www.misfitcityforum.com/forum/Themes/default/images/smfhacks_images/regbar-warning.png" alt="" />
</span>
<span class="floatleft" id="regbar_message">
It appears that you have not registered with <strong>MisFiT City Forum: Discussion, Debate, and Conversation</strong>. To register, please click here...
</span>
<br class="clear" />
</a>
</div>
Should be after the body tag
Quote from: vbgamer45 on January 26, 2013, 09:14:37 AM
Your code looks in the wrong place on your site
Quote
<div id="regbar_warning">
<a href="http://www.misfitcityforum.com/forum/index.php?action=register" target="_self">
<span class="floatleft" id="regbar_icon">
<img src="http://www.misfitcityforum.com/forum/Themes/default/images/smfhacks_images/regbar-warning.png" alt="" />
</span>
<span class="floatleft" id="regbar_message">
It appears that you have not registered with <strong>MisFiT City Forum: Discussion, Debate, and Conversation</strong>. To register, please click here...
</span>
<br class="clear" />
</a>
</div>
Should be after the body tag
Ooookkkkkaaaaayyyyy....., But how am I suppose to fix it? The theme I'm using is LiveCity and it's designed to use the default theme when there isn't another page created to take the place of a default theme page. It seems to me, the error shouldn't have happened in the first place which makes me think this mod and LiveCity Theme aren't compatible. But there is always a fix, right? What do I do?
Thank you very much for the help with this, vbgamer45. You people are going to make me a charter member yet if you keep this up. ;)
___________________
Just Me
Sass
Have you reinstalled this modification, using the latest version?
Quote from: Labradoodle-360 on January 27, 2013, 02:23:59 PM
Have you reinstalled this modification, using the latest version?
Nope.
I tried to uninstall the old version but I get a white screen with this in the url:
http://www.misfitcityforum.com/forum/index.php?action=packages;sa=uninstall2;package=Regbar-Warning-1.0.4.zip
I'm going to have to manually uninstall, aren't I? What a headache. I know, it's not that bad, just time consuming.
__________________
Just Me
Sass
Could be something with the package, but you may have to manual too.
Quote from: SMFHacks.com Team on January 21, 2013, 09:16:42 PM
Yeah just double checked the code looks good for the loadtemplate calls.
function RegbarWarning()
{
global $context, $settings;
loadLanguage('smfhacks_languages/regbar-warning');
loadTemplate('smfhacks_templates/regbar-warning');
$context['html_headers'] .= "\n" . '
<link rel="stylesheet" type="text/css" href="' . $settings['default_theme_url'] . '/css/smfhacks_css/regbar-warning.css" />
';
$context['insert_after_template'] .= template_regbar_warning();
}
So error_2 the xhtml validator issue is resolved as well.
So the solution to the problem I reported is to uninstall the mod and re-install it?
The latest version had bug fixes, you should uninstall the last version and install the latest.
I was using the version 1.0.5.
I checked the mod and it has the same version. So I uninstalled the older version, downloaded it again and re-installed.
It has passed with no error on validator.w3.org
Thank you for the mod and your help!
Not a problem! :)
Can I ask a dumb question here? When I go to the Package Manager -> download packages -> Simple Machines Mod Site
I can't find either this mod. Why is that? What am I missing?
Next question is what is the procedure for downloading and installing a mod from the mod page rather than over the package manager?
QuoteI can't find either this mod. Why is that? What am I missing?
The fact that the team hasn't updated their cache file for the mod site in years.
QuoteNext question is what is the procedure for downloading and installing a mod from the mod page rather than over the package manager?
1. Download the file from the site.
2. Admin > Packages > Download Package
3. Use the bottom item to upload
4. Follow the prompts
5. If it says there are 'errors' of any kind, come back here and ask
So do I
Option 1 - go to Admin > Packages > Download Package and go to the bottom section that says "Download a package by url" , and then put in the URL of the smf page with the mod?
Or
Option 2 - Do I go to the SMF mod page and download the zip file? Then what is my next move?
I think I am getting burned out feeling like instead of spending my time running a medical help forum I have to become a PHP hobbiest. Do you think maybe SMF is not for me and I need a piece of commercial forum software? I hate asking dumb questions all day long.
Thanks
Hawk
I outlined every step you need for option 2. Download it to your computer, then upload it using the option at the bottom of the page.
QuoteDo you think maybe SMF is not for me and I need a piece of commercial forum software?
Speaking as someone who has licenses for all three major commercial forum software, I guarantee you will not get an easier ride out of it. If anything they will make you jump through more hoops.
But if I may be frank, it is not possible to run a website of any nature without either learning something of the beast, or paying someone else to do it entirely for you. Just like driving a car, you need to learn to drive, then also understand when things are not going right by looking for basic issues.
OK Arantor, I guess I am just getting tired. I do appreciate your frankness but I am not used to asking so many dumb questions. I feel like I need to read something to systematically learn.
I downloaded the zip file. I assume I cannot upload a zip file and I need to unzip it. If I do which of the several unzipped files to I then upload?
Thank you for your help.
Hawk
QuoteI assume I cannot upload a zip file
Yes, you can. From the Admin > Packages > Download Package page. At the bottom is a place to upload zip files from your computer. Like I said previously.
Arantor, I thank you, I got it installed. It seemed the first time I tried it would not accept uploading the zip file. I must have done something wrong. Off to get some sleep. Thanks Again.
Hawk
I know this is an old thread, but I have installed Regbar. Now where do I find the settings in the admin? I am running 2.0.7 with Concept3 by MGCVisuals theme.
Many thanks,
Steve
There are no settings for this mod.
Quote from: vbgamer45 on March 24, 2014, 09:29:59 AM
There are no settings for this mod.
Thanks for getting back to me. So it is not compatible with the theme Concept3 by MGCVisuals?
No idea. You may have to edit the theme to include the code that the mod adds. Upload the mod to http://www.smfhacks.com/smf-package-parser.html and follow the package edits.
When I wrote the update I tried to add the code in Source files so that it'd work on all themes. Can you describe what exactly you're having problems with? Is it just not showing up on the theme? Or is it showing up with an issue?
I installed, for me just does not show up in theme.
I think I am going to report this mod since whenever I try to uninstall it it says "Nice try" and I cannot actually uninstall it. It removed the edits to the load.php file but it cannot be removed from the package manager without manually editing the db.
You should only get that if you are running the script not as admin
// Erm, admins, only.
global $user_info;
if (!$user_info['is_admin'])
exit('Nice try.');
Thanks for the reply.
IMO that's *REALLY* stupid since I wasn't using the admin account and it actually broke everything and I had to set the mod as uninstalled manually with the "fix_packages" tool. Moreover, it also DID uninstall it but he told me "Nice try" anyway.
As a footnote you really should have stated it in the description but there is no warning about it.
Any reason why you were uninstalling a mod not as an admin? Don't packages have to be installed/uninstalled as an admin.
Wonder why there is a permission to administrate the package manager? :)
An admin may not want to always use his "administrator" account. ;)
It is done for security otherwise anyone could access the script if it is left on the forum....
I still don't get it.
I have installed something like 150 mods on my forum and kept installed around 100, NONE of them was doing this kind of thing. So you either addressed ANY other mod as insecure or it's just your own one with this problem.
Access to the package manager is with the admin_forum permission. vbgamer's fix elevates it to group 1 admins.
But yes, he is implying that almost every mod is insecure, or that SMF itself is. Funny how no-one has told the dev team so that they can make a decision if they agree or not.
That's exactly what I am saying. Any ideas? You surely know better than me, but I found out this thing and yeah I just want to know if there could be a potential security flaw or not. IMHO not since SMF permissions can handle running those scripts, methinks. Up to you Arantor, I was truly hoping to see an answer from you in this case since I don't really know what to do about it, report it? Not report it? Tell the team? If so, how in any case?
Me? I'm fine with it as it is honestly.
Ok then if you say so I definitely trust you :D
It actually is used in a handful of other modifications. It's used to prevent the scripts from being run in the browser without proper authentication from SSI.php ($user_info['is_admin']). It's intentional. Although changing it to allowedTo('admin_forum') may be a better method of doing essentially the same thing.
I have more than 110 mods uploaded and about 100 installed and this is the only one that did this thing but if you say so... :|
There are a lot more than a 110 mods on the mod site.
Yes but there are not that many full compatible with 2.0.x ;) if it's not the only one they would be just a few :P
As a customizer, I saw a lot.
Hi. Is there a screen shot of what this should look like to guests, as I don't see anything when I'm logged out? Thanks
Pete
Hmm I had one in the past doesn't seem like it is there any more.
It adds a yellow bar across the top.
@SMFHacks.com Team
@vbgamer45
I created a translation for the Polish language for this modification. Please put this translation in a modification.
In previous posts other languages are added. :)