Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SMFHacks.com Team on August 22, 2006, 06:14:09 PM

Title: Regbar Warning
Post by: SMFHacks.com Team on August 22, 2006, 06:14:09 PM
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:



SMFHacks.com:



Title: Re: Regbar warning
Post by: Alan S on August 22, 2006, 06:16:34 PM
Nice  , i like it , doesnt work with rc3 though.
Title: Re: Regbar warning
Post by: vbgamer45 on August 22, 2006, 06:17:36 PM
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.
Title: Re: Regbar warning
Post by: Skipdawg on August 22, 2006, 08:53:31 PM
Yes indeed, nice it is.  ;D
Title: Re: Regbar warning
Post by: Gary on August 22, 2006, 08:57:19 PM
Installed. Works like a charm.

-AwwLilMaggie
Title: Re: Regbar warning
Post by: mickyd2006 on August 23, 2006, 08:15:21 AM
Running 1.1 RC2 - Mod Installed Fine.. Works Great..

Nice Mod! I love it. THANKS!

:D
Title: Re: Regbar warning
Post by: janditoOo on August 23, 2006, 04:12:25 PM
help!!!!!! its doesnt show the image of warning why???

http://www.jandito.com/foro/index.php
Title: Re: Regbar warning
Post by: TGB on August 28, 2006, 06:15:03 PM
Is there somewhere that i need to turn it on,  doesnt show up for me.
Title: Re: Regbar warning
Post by: vbgamer45 on August 28, 2006, 06:24:25 PM
Logout of your forum as a guest.
It will be on the default theme.
Title: Re: Regbar warning
Post by: TGB on August 28, 2006, 06:26:07 PM
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?
Title: Re: Regbar warning
Post by: vbgamer45 on August 28, 2006, 06:42:48 PM
Open up the regbarrc3.xml and follow the instructions for your theme.
Title: Re: Regbar warning
Post by: janditoOo on August 28, 2006, 06:44:16 PM
help!!!!!! its doesnt show the image of warning... why???

http://www.jandito.com/foro/index.php
Title: Re: Regbar warning
Post by: vbgamer45 on August 28, 2006, 06:50:14 PM
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)
Title: Re: Regbar warning
Post by: TGB on August 28, 2006, 06:52:15 PM
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 '
Title: Re: Regbar warning
Post by: vbgamer45 on August 28, 2006, 06:57:50 PM
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" />';

Title: Re: Regbar warning
Post by: TGB on August 28, 2006, 07:02:27 PM
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>';
Title: Re: Regbar warning
Post by: vbgamer45 on August 28, 2006, 07:06:13 PM
Need to see more code above and below
Title: Re: Regbar warning
Post by: TGB on August 28, 2006, 07:17:03 PM
here is the entire file,  the error appears on line 124

http://www.dreamcasthaven.com/pix/index.template.php.edit.zip
Title: Re: Regbar warning
Post by: vbgamer45 on August 28, 2006, 07:22:50 PM
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>';
Title: Re: Regbar warning
Post by: TGB on August 28, 2006, 07:32:52 PM
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
Title: Re: Regbar warning
Post by: LuminaRS on September 08, 2006, 01:07:26 AM
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...  ???
Title: Re: Regbar warning
Post by: LuminaRS on September 10, 2006, 12:06:20 PM
...Anyone? How do I get this to work on the Cerberus theme for 1.0.8?
Title: Re: Regbar warning
Post by: vbgamer45 on September 10, 2006, 12:16:18 PM
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" />';
Title: Re: Regbar warning
Post by: LuminaRS on September 10, 2006, 12:19:30 PM
I'm looking for this in the cerberus index.template.php file, correct?
Title: Re: Regbar warning
Post by: vbgamer45 on September 10, 2006, 12:31:54 PM
yeah
Title: Re: Regbar warning
Post by: LuminaRS on September 10, 2006, 09:54:51 PM
That gave me a template parse error  :-[
Title: Re: Regbar warning
Post by: vbgamer45 on September 10, 2006, 10:05:05 PM
I would in the help wanted section and see if you can get someone to help.
Title: Re: Regbar warning
Post by: marinelife on September 16, 2006, 04:51:39 PM
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
Title: Re: Regbar warning
Post by: vbgamer45 on September 16, 2006, 05:33:28 PM
Don't worry about those errors, not really important just it yelling at me for not using the full path.
Title: Re: Regbar warning
Post by: marinelife on September 16, 2006, 06:08:39 PM
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
Title: Re: Regbar warning
Post by: fiver 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?

:)
Title: Re: Regbar warning
Post by: MoreBloodWine on October 11, 2006, 06:37:23 PM
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...
Title: Re: Regbar warning
Post by: 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.
Title: Re: Regbar warning
Post by: MoreBloodWine on October 11, 2006, 07:51:29 PM
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...
Title: Re: Regbar warning
Post by: MoreBloodWine on October 31, 2006, 01:31:09 PM
bump...
Title: Re: Regbar warning
Post by: MoreBloodWine on November 04, 2006, 09:19:07 PM
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...
Title: Re: Regbar warning
Post by: vbgamer45 on November 04, 2006, 11:04:38 PM
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.
Title: Re: Regbar warning
Post by: 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
Title: Re: Regbar warning
Post by: MoreBloodWine on November 27, 2006, 12:58:37 AM
bump...
Title: Re: Regbar warning
Post by: sager on December 07, 2006, 01:27:03 PM
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)
Title: Re: Regbar warning
Post by: Flying Drupalist on January 08, 2007, 07:57:33 PM
Quote from: MoreBloodWine on November 27, 2006, 12:58:37 AM
bump...

Yes, I would like the same thing please, :D
Title: Re: Regbar warning
Post by: 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.
Title: Re: Regbar warning
Post by: MoreBloodWine on February 03, 2007, 09:01:00 PM
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
Title: Re: Regbar warning
Post by: Oriental Sniper on March 05, 2007, 10:18:37 PM
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.
Title: Re: Regbar warning
Post by: Oriental Sniper on March 06, 2007, 12:01:29 PM
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.
Title: Re: Regbar warning
Post by: yonimh on March 21, 2007, 02:42:20 PM
   
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  
Title: Re: Regbar warning
Post by: linexp on April 16, 2007, 09:11:25 PM
i want to use this mod with Aero 79 theme. what do i need to do?
Title: Re: Regbar warning
Post by: vbgamer45 on April 16, 2007, 09:31:57 PM
Edit your mods index.template.php theme and include the mod code.
Title: Re: Regbar warning
Post by: linexp on April 17, 2007, 09:09:28 PM
i edited the index.template.php but i don't know what code to add and where to add it.
Title: Re: Regbar warning
Post by: linexp on April 17, 2007, 10:25:28 PM
i get an error here

119:     <link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/regbar.css" />';
Title: Re: Regbar warning
Post by: dDOTr2 on April 19, 2007, 04:45:05 PM
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
Title: Re: Regbar warning
Post by: Coldfx on April 19, 2007, 09:28:40 PM
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.
Title: Re: Regbar warning
Post by: RoarinRow on April 30, 2007, 07:06:08 PM
very cool i just made the manual updates instead of using the package for my custom theme and it worked!   8)
Title: Re: Regbar warning
Post by: dxyy on June 07, 2007, 01:58:29 AM
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. :)
Title: Re: Regbar warning
Post by: EBK on June 07, 2007, 05:40:09 PM
Nice mod vbgamer..Working fine with my SMF 1.1.2

Thanks :)
Title: Re: Regbar warning
Post by: ShadowStriker on June 14, 2007, 12:12:41 AM
It shows the yellow thing, but theres not text in it
Title: Re: Regbar warning
Post by: rubenix on October 22, 2007, 06:56:45 AM
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!
Title: Re: Regbar warning
Post by: 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.
Title: Re: Regbar warning
Post by: vbgamer45 on November 16, 2007, 12:58:48 AM
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.
Title: Re: Regbar warning
Post by: dxyy on November 16, 2007, 08:44:38 AM
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)
Title: Re: Regbar warning
Post by: Aileen on November 28, 2007, 05:25:36 AM
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
Title: Re: Regbar warning
Post by: TrueSatan on November 28, 2007, 05:43:09 AM
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)
Title: Re: Regbar warning
Post by: dxyy on December 15, 2007, 12:09:47 PM
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. ;)
Title: Re: Regbar warning
Post by: gemigene on December 28, 2007, 03:52:10 PM
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
Title: Re: Regbar warning
Post by: 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.
Title: Re: Regbar warning
Post by: ne.miguelito on December 29, 2007, 01:39:58 PM
cannot fasten the warning, same pulling the page down, to continue there
Title: Re: Regbar warning
Post by: vbgamer45 on December 29, 2007, 02:39:57 PM
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.
Title: Re: Regbar warning
Post by: ne.miguelito on December 29, 2007, 03:04:17 PM
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

Title: Re: Regbar warning
Post by: gemigene on December 29, 2007, 08:22:43 PM
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
Title: Re: Regbar warning
Post by: 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.
Title: Re: Regbar warning
Post by: gemigene on December 29, 2007, 11:21:24 PM
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
Title: Re: Regbar warning
Post by: rucanunes on January 07, 2008, 08:42:42 AM
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
Title: Re: Regbar warning
Post by: rucanunes on January 07, 2008, 04:16:43 PM
Pleaeeeeeese? Sorry for the bump!
Title: Re: Regbar warning
Post by: gemigene on January 07, 2008, 07:00:04 PM
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
Title: Re: Regbar warning
Post by: Smith Online on January 08, 2008, 01:01:06 PM
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
Title: Re: Regbar warning
Post by: 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
Title: Re: Regbar warning
Post by: gemigene on January 08, 2008, 01:49:13 PM
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
Title: Re: Regbar warning
Post by: rucanunes on January 08, 2008, 01:56:28 PM
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?
Title: Re: Regbar warning
Post by: rucanunes on January 09, 2008, 03:58:50 AM
Strange!! Now I went to my girlfriend's home and there I can't see the image shield. Go figure...  :-\
Title: Re: Regbar warning
Post by: TrueSatan on January 09, 2008, 04:25:51 AM
Look at the browser security settings you are using on each machine.
Title: Re: Regbar warning
Post by: Smith Online on January 09, 2008, 07:06:46 AM
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:
Title: Re: Regbar warning
Post by: Aileen on January 10, 2008, 05:22:15 AM
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
Title: Re: Regbar warning
Post by: TrueSatan on January 10, 2008, 06:17:02 AM
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.
Title: Re: Regbar warning
Post by: Goad on January 16, 2008, 03:02:59 PM
cool mod...everythying seems to work, but its hiding behind my header image.

Title: Re: Regbar warning
Post by: FerociousSM on January 19, 2008, 06:45:12 PM
can't get mod to work with "Musiconica" theme, what am I doing worng? Installs fine.
Title: Re: Regbar warning
Post by: vbgamer45 on January 30, 2008, 08:54:27 PM
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
Title: Re: Regbar warning
Post by: Miyagi on February 03, 2008, 05:46:15 AM
great little mod, i tweaked mine a little on here...

http://www.hsvvxr.com/forums/index.php

Thanks,
Miyagi
Title: Re: Regbar warning
Post by: Hoodie on February 06, 2008, 03:43:21 PM
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>").
Title: Re: Regbar warning
Post by: Informatics 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?
Title: Re: Regbar warning
Post by: Kenny01 on February 12, 2008, 08:37:33 AM
Work fine for me.
Title: Re: Regbar warning
Post by: perro88 on February 12, 2008, 02:58:50 PM
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
Title: Re: Regbar warning
Post by: goaskanna on February 12, 2008, 03:26:21 PM
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
Title: Re: Regbar warning
Post by: TrueSatan on February 12, 2008, 07:52:31 PM
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.
Title: Re: Regbar warning
Post by: goaskanna on February 12, 2008, 08:59:50 PM
Ok, thanks for that info :)

Anna
Title: Re: Regbar warning
Post by: Mr Blah Man on February 13, 2008, 04:08:45 PM
Where in the Admin Panel do you Enable it?
Title: Re: Regbar warning
Post by: vbgamer45 on February 13, 2008, 09:00:01 PM
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.
Title: Re: Regbar warning
Post by: Kenny01 on February 14, 2008, 01:31:38 AM
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.
Title: Re: Regbar warning
Post by: Manu.G on March 17, 2008, 03:59:12 PM
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?
Title: Re: Regbar warning
Post by: vbgamer45 on March 17, 2008, 08:47:56 PM
Not sure what causes that tried to fix it myself have not been able to.
Title: Re: Regbar warning
Post by: 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.
Title: Re: Regbar warning
Post by: NEO-BAHAMUT- on March 20, 2008, 06:24:11 AM
anyone?
Title: Re: Regbar warning
Post by: perplexed on March 20, 2008, 08:13:57 AM
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
Title: Re: Regbar warning
Post by: NEO-BAHAMUT- on March 20, 2008, 09:50:59 AM
Cheers mate for that, thats fixed the problem now :)
Title: Re: Regbar warning
Post by: perplexed on March 20, 2008, 12:35:59 PM
no probs, you are welcome
Title: Re: Regbar warning
Post by: Basie on March 20, 2008, 12:44:05 PM
So does this only work if people are using windows with SP2/3 installed?
Title: Re: Regbar warning
Post by: Gary on March 20, 2008, 02:51:06 PM
Hell no. It just looks like it. It's not OS specific in any way.
Title: Re: Regbar warning
Post by: 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
Title: Re: Regbar warning
Post by: 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
Title: Re: Regbar warning
Post by: Mystiquo on March 25, 2008, 04:30:48 PM
but it's ok with xhtml
Title: Re: Regbar warning
Post by: perplexed on March 25, 2008, 04:32:49 PM
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
Title: Re: Regbar warning
Post by: Mystiquo on April 30, 2008, 05:37:52 AM
NEWSSSSSSSSSSSSSSSSSSS????????????????????????????????????
Title: Re: Regbar warning
Post by: perplexed on April 30, 2008, 07:14:55 AM
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 :)
Title: Re: Regbar warning
Post by: Mystiquo on May 01, 2008, 10:55:53 AM
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
Title: Re: Regbar warning
Post by: vbgamer45 on May 01, 2008, 07:39:02 PM
I have no idea at this time. I do not know how to fix it yet.
Title: Re: Regbar warning
Post by: 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.
Title: Re: Regbar warning
Post by: vbgamer45 on May 01, 2008, 09:02:16 PM
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.
Title: Re: Regbar warning
Post by: karlbenson on May 01, 2008, 09:04:16 PM
Glad to help ;)
Title: Re: Regbar warning
Post by: SgtMic on May 02, 2008, 12:04:59 AM
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.
Title: Re: Regbar warning
Post by: Mystiquo on May 03, 2008, 08:28:26 AM
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?
Title: Re: Regbar warning
Post by: vbgamer45 on May 03, 2008, 08:49:51 AM
Do you have the latest version?
Title: Re: Regbar warning
Post by: Mystiquo on May 03, 2008, 11:03:55 AM
ok thanks now ok
Title: Re: Regbar warning
Post by: Aleksi "Lex" Kilpinen on May 03, 2008, 05:35:59 PM
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. :)
Title: Re: Regbar warning
Post by: karlbenson on May 03, 2008, 05:54:13 PM
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 />
Title: Re: Regbar warning
Post by: Aleksi "Lex" Kilpinen on May 03, 2008, 05:54:57 PM
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?
Title: Re: Regbar warning
Post by: Aleksi "Lex" Kilpinen on May 03, 2008, 06:58:08 PM
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..
Title: Re: Regbar warning
Post by: Inside Sin on May 03, 2008, 11:01:45 PM
This is cool!

I'm going to install as soon as i get my forum's up and running again.

Thanks a lot!
Title: Re: Regbar warning
Post by: madman71 on May 04, 2008, 06:32:38 PM
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.


Title: Re: Regbar warning
Post by: icon on May 24, 2008, 09:32:52 PM
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*
Title: Re: Regbar warning
Post by: Inside Sin on May 25, 2008, 07:26:35 AM
It makes it lag a fair bit on my board.

I had to remove.
Title: Re: Regbar warning
Post by: vbgamer45 on May 25, 2008, 09:10:39 AM
Shouldn't lag it is just some extra css added to the board.
Title: Re: Regbar warning
Post by: Inside Sin on May 26, 2008, 02:47:35 AM
Yeah i know. :/
Title: Re: Regbar warning
Post by: 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?
Title: Re: Regbar warning
Post by: Mo786 on June 01, 2008, 12:43:33 AM
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!
Title: Re: Regbar warning
Post by: Mo786 on June 10, 2008, 12:05:19 PM
anyone???????
Title: Re: Regbar warning
Post by: SgtMic on June 10, 2008, 02:18:47 PM
Those specific files with errors mean you will need to manually install the code.
Title: Re: Regbar warning
Post by: DareDevil1990 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
Title: Re: Regbar warning
Post by: Mo786 on July 25, 2008, 12:00:30 PM
let me see your website
Title: Re: Regbar warning
Post by: Apllicmz on July 25, 2008, 10:39:18 PM
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&ecirc; n&atilde;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&ecirc; n&atilde;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&ecirc; n&atilde;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&ecirc; n&atilde;o esta registado na nossa comunidade. Para fazer o registo, clique aqui ...';
//END Regbar Text Strings
]]></add>
</operation>
</file>
Title: Re: Regbar warning
Post by: 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.
Title: Re: Regbar warning
Post by: Furqon on July 28, 2008, 10:41:11 PM
any version of 2.x ?
Title: Re: Regbar warning
Post by: vbgamer45 on July 28, 2008, 11:11:33 PM
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.
Title: Re: Regbar warning
Post by: 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 ;-/
Title: Re: Regbar warning
Post by: vbgamer45 on July 31, 2008, 11:19:07 PM
Added it to the modtracker currently do not have enough free time to work on special requests.
Title: Re: Regbar warning
Post by: MoreBloodWine on August 01, 2008, 12:06:19 AM
Modtracker ?
Title: Re: Regbar warning
Post by: DareDevil1990 on August 03, 2008, 07:53:26 AM
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
Title: Re: Regbar warning
Post by: vbgamer45 on August 03, 2008, 08:56:32 AM
Custom themes require a code addition to that theme in order for it to work.
Title: Re: Regbar warning
Post by: vbgamer45 on August 08, 2008, 09:51:20 PM
Click on regbar.zip   in the download page.
Title: Re: Regbar warning
Post by: Bec on August 09, 2008, 09:40:06 PM
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??
Title: Re: Regbar warning
Post by: Mskina on August 17, 2008, 04:03:34 PM
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&iacute;a no te has registrado en nuestra comunidad. Para hacerlo, pincha aqu&iacute;...';
//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&iacute;a no te has registrado en nuestra comunidad. Para hacerlo, pincha aqu&ia;cute...';
//END Regbar Text Strings
]]></add>
</operation>
</file>
Title: Re: Regbar warning
Post by: globat on August 25, 2008, 01:19:56 AM
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
Title: Re: Regbar warning
Post by: vbgamer45 on August 25, 2008, 08:23:54 AM
You have to modify that theme's index.template.php and add the code.
Title: Re: Regbar warning
Post by: globat on August 26, 2008, 03:25:43 AM
ok
give me the code please
Title: Re: Regbar warning
Post by: vbgamer45 on August 26, 2008, 08:06:04 AM
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
Title: Re: Regbar warning
Post by: globat on August 27, 2008, 12:43:27 AM
can i contact you with email and give my template to you for edit !
thanks
Title: Re: Regbar warning
Post by: holly.celeb.fan on August 27, 2008, 03:43:44 AM
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 ?
Title: Re: Regbar warning
Post by: Gary on August 27, 2008, 06:19:16 AM
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 ?>
Title: Re: Regbar warning
Post by: holly.celeb.fan on August 27, 2008, 07:44:23 AM
Thanks Gazmanafc ;D

This work  :D
Title: Re: Regbar warning
Post by: globat on August 27, 2008, 08:16:08 AM
any body can not help me !?!
please help me
i want to install this mod in outline template
:((
Title: Re: Regbar warning
Post by: Mystiquo on September 13, 2008, 11:05:34 AM
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>
Title: Re: Regbar warning
Post by: vbgamer45 on September 13, 2008, 01:34:27 PM
Whats the error say?
Title: Re: Regbar warning
Post by: Mystiquo on September 13, 2008, 10:05:35 PM
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?
Title: Re: Regbar warning
Post by: vbgamer45 on September 14, 2008, 02:12:01 PM
Updated for SMF 2.0 Beta4
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Mystiquo on September 14, 2008, 07:08:06 PM
for my problem??
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on September 14, 2008, 11:20:32 PM
Tried about for an hour was not able to come up with a solution.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: 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???
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: gamgam on September 15, 2008, 07:08:39 AM
can this be done for clanwars theme???
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on September 15, 2008, 08:33:30 AM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Mystiquo on September 15, 2008, 02:11:44 PM
   
you should enter the specifications of color and image in css understand?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Mystiquo on September 15, 2008, 08:54:47 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: AlphaHot1 on September 18, 2008, 08:50:32 AM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Ron Jeremy on October 21, 2008, 10:26:56 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Fat_Man on October 27, 2008, 06:27:07 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: 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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Fat_Man on October 27, 2008, 08:50:36 PM
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?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: 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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Fat_Man on October 28, 2008, 04:45:08 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: JimM on October 28, 2008, 04:54:50 PM
I'm assuming that english-utf8 is your forum language?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Fat_Man on October 29, 2008, 05:01:52 AM
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.



Title: How to uninstall?
Post by: 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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Phat^Trance on January 06, 2009, 01:38:56 PM
anyone?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Bec on February 20, 2009, 07:02:39 PM
do a manual uninstall and check all the files to make sure the parts that should have been removed have been
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: dzinerfusion on May 31, 2009, 02:42:16 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on May 31, 2009, 02:45:18 PM
Looks like a theme issue a lot of things don't look right attached a screenshot
Title: Re: How to uninstall?
Post by: Phat^Trance on May 31, 2009, 03:14:16 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: dzinerfusion on May 31, 2009, 03:22:43 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Kat9119 on June 01, 2009, 03:05:36 PM
Followed directions to a T on 1.1.8, didn't work, uninstalled.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: dzinerfusion on June 02, 2009, 06:20:53 PM
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??
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on June 04, 2009, 01:32:47 PM
Not sure. It is probably an issue with the CSS the theme's css is overriding the css of the regbar
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: dzinerfusion on June 06, 2009, 10:10:19 AM
Well can you help me,what do I do then??
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on June 06, 2009, 10:26:24 AM
That i really do not know a lot about maybe a theme designer can help but I do not much about css.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: dgf on August 02, 2009, 12:27:00 PM
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                                      
                        
                              
[/t][/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=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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: 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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: dgf on August 06, 2009, 07:54:28 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: 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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: 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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Amendoim on December 17, 2009, 11:11:16 AM
Plz make one actualization to the version SMF 2.0RC2

It is really importante

Tks
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: MoreBloodWine on December 19, 2009, 01:06:19 AM
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 ?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Amendoim on December 22, 2009, 01:20:47 PM
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  :-\
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on December 22, 2009, 01:39:37 PM
Try now installed in on My RC2 forum
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Amendoim on December 22, 2009, 01:52:51 PM
worked on your forum RC2?

A min just says that has nothing to install, and even lets you install the MOD: s
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on December 22, 2009, 01:55:45 PM
Yeah redownload the package and try again
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Amendoim on December 22, 2009, 02:24:34 PM
Worked .. thank you for the fast response:)
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on December 22, 2009, 02:40:28 PM
Glad you got it working
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Furqon on December 25, 2009, 05:05:34 PM
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

Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on December 25, 2009, 05:11:50 PM
Change

<body>

To

<body>';
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Gitominoti on January 03, 2010, 11:27:27 AM
I'm trying to add this to my forum, but it does not have <body>'; in /index.templates

Any help?
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: vbgamer45 on March 08, 2010, 07:57:37 PM
Updated for SMF 2.0 RC3!
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: Mabangis on April 01, 2010, 05:24:21 AM
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
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: luuuciano on April 02, 2010, 06:42:57 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: vbgamer45 on April 02, 2010, 06:47:15 PM
Thanks for translation. I am not very good with css/styles
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: erorcun on April 03, 2010, 04:11:48 AM
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
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: vbgamer45 on April 03, 2010, 11:11:36 AM
Thankyou very much for Turkish translation
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: Clickout on April 15, 2010, 05:06:14 AM
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..

Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: vbgamer45 on April 17, 2010, 10:44:45 AM
For custom themes it needs to be installed manually.
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: Clickout on April 18, 2010, 05:04:58 AM
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.
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: lrodri7418 on August 13, 2010, 07:06:01 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: vbgamer45 on August 13, 2010, 07:09:27 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: lrodri7418 on August 13, 2010, 07:15:23 PM
Really appreciate it..we are going to check  ;)
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: lrodri7418 on August 16, 2010, 09:37:27 AM
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

Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: MsAdvantageous on November 23, 2010, 01:13:12 AM
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.
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: 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.
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: MsAdvantageous on November 23, 2010, 11:21:27 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: abraamz on December 09, 2010, 04:23:00 PM
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?
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: eric1234 on June 12, 2011, 01:30:22 PM
Can you upgrade this to the latest 2.0 version? Thank you.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on June 12, 2011, 02:43:10 PM
Updated for 2.0
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: eric1234 on June 12, 2011, 03:19:56 PM
Thank you. :)
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Siirist on June 29, 2011, 01:23:29 AM
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)
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Siirist on June 30, 2011, 08:06:47 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Siirist on August 27, 2011, 04:13:47 PM
Bump
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on August 27, 2011, 04:27:05 PM
It would be done in regbar.css
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Siirist on August 27, 2011, 04:31:11 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Siirist on August 27, 2011, 04:36:14 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on August 27, 2011, 04:46:23 PM
2.0 in themes/default or themes/default/css
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Siirist on August 27, 2011, 05:15:49 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Siirist 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/)

I hope there is an easy fix for this.

Thanks for your help.

Take Care,
Cloud  8)
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on August 28, 2011, 08:38:36 PM
CSS is not something I do well sorry :(
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Siirist on August 28, 2011, 08:48:34 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on August 28, 2011, 09:00:39 PM
Only works on default theme. I don't use the mod myself.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Siirist on August 28, 2011, 10:20:49 PM
Okay.

Thanks.

Take Care,
Cloud  8)
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: luuuciano on August 28, 2011, 11:42:00 PM
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?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Siirist on August 29, 2011, 06:51:51 AM
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)
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: 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
Maybe you like that way
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Siirist on August 30, 2011, 08:42:09 AM
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)
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Shadow Queen on September 01, 2011, 04:32:58 AM
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?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on September 01, 2011, 09:49:30 AM
You would need to copy the theme edits that were made to index.template.php to your themes index.template.php
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Shadow Queen on September 01, 2011, 02:40:19 PM
It's ok, I understand the mod. I found a better mod then this one.

Thank's again!
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: 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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: 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?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: MrMike on May 10, 2012, 04:36:38 PM
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?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: MrMike on May 10, 2012, 04:39:16 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on May 10, 2012, 04:48:27 PM
I will have one of my helpers check out this mod as well.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on May 10, 2012, 05:05:35 PM
I'll look into this shortly, if anything is broken I will release a patch asap :)
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on May 11, 2012, 04:46:56 PM
Preview of the new version attached :)
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on May 14, 2012, 07:09:42 PM
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!
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: PersianDeveloper on July 24, 2012, 04:24:30 PM
how to edit the showing text in the bar?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on July 24, 2012, 04:37:50 PM
Modify themes/default/languages/modifications.english.php
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: PersianDeveloper on July 24, 2012, 05:28:42 PM
thanks
and could this modification make any problems while uninstalling the package?

it is SMF 2.0.2
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Arantor on July 24, 2012, 05:52:10 PM
Yup, it won't let you uninstall it properly and you'll have to manually edit it to be able to uninstall it later.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on August 01, 2012, 02:39:45 AM
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.
Title: Re: Regbar warning (Updated for SMF 2.0 RC3)
Post by: cswatt67uk1 on October 22, 2012, 05:44:44 AM
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

;)
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on October 22, 2012, 10:16:57 AM
Just replace
' . $scripturl . '?action=register

With the link you want it to go to.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: humbleworld on October 29, 2012, 10:53:46 AM
Can anyone post a forum url where this MOD is actively used? Thanks.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: DMR123 on November 15, 2012, 10:16:23 AM
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?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on November 15, 2012, 10:18:06 AM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: DMR123 on November 15, 2012, 10:22:22 AM
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)
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: DMR123 on November 15, 2012, 10:24:37 AM
I am using a theme designed by Pixel Mansion.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. 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:
Code (Find) Select
<img src="' . $settings['images_url'] . '/smfhacks_images/regbar-warning.png" alt="" />
Code (Replace) Select
<img src="' . $settings['default_images_url'] . '/smfhacks_images/regbar-warning.png" alt="" />
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: DMR123 on November 15, 2012, 11:45:15 AM
Thanks..

That works now
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on November 15, 2012, 12:11:56 PM
Not a problem, just a slight issue with the path not being fully accurate for other themes.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on November 15, 2012, 08:34:09 PM
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:
Code (Find) Select
<img src="' . $settings['images_url'] . '/smfhacks_images/regbar-warning.png" alt="" />
Code (Replace) Select
<img src="' . $settings['default_images_url'] . '/smfhacks_images/regbar-warning.png" alt="" />

Thanks for the bug fix!
Have applied the change.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on November 16, 2012, 12:58:15 AM
No problem.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: novill on November 16, 2012, 03:47:24 AM
Thanks for this mod.
Hungarian translation attached.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on November 28, 2012, 04:54:16 PM
Quote from: novill on November 16, 2012, 03:47:24 AM
Thanks for this mod.
Hungarian translation attached.
Thanks for translation!
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: 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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. 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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: IMSassafras on January 15, 2013, 09:35:42 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on January 15, 2013, 11:59:05 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. 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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: IMSassafras on January 16, 2013, 09:21:00 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: error_2 on January 21, 2013, 08:14:48 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: SMFHacks.com Team on January 21, 2013, 09:04:05 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Arantor on January 21, 2013, 09:07:17 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on January 21, 2013, 09:08:35 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: 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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Arantor on January 21, 2013, 09:21:17 PM
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...
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on January 21, 2013, 09:28:42 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Arantor on January 21, 2013, 09:32:42 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on January 21, 2013, 09:41:09 PM
Yeah, that should probably be added.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: IMSassafras on January 26, 2013, 02:17:30 AM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: 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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: IMSassafras on January 26, 2013, 05:16:53 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on January 27, 2013, 02:23:59 PM
Have you reinstalled this modification, using the latest version?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: IMSassafras on January 27, 2013, 07:53:02 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on January 27, 2013, 08:29:29 PM
Could be something with the package, but you may have to manual too.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: error_2 on February 09, 2013, 08:09:17 PM
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?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on February 09, 2013, 08:44:23 PM
The latest version had bug fixes, you should uninstall the last version and install the latest.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: error_2 on February 10, 2013, 07:36:09 PM
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!
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on February 11, 2013, 01:15:20 AM
Not a problem! :)
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: hawkman on February 28, 2013, 10:28:41 PM
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?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Arantor on February 28, 2013, 10:38:16 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: hawkman on February 28, 2013, 11:17:04 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Arantor on February 28, 2013, 11:19:55 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: hawkman on February 28, 2013, 11:36:19 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Arantor on February 28, 2013, 11:39:05 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: hawkman on February 28, 2013, 11:49:51 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Paffman on March 24, 2014, 06:58:14 AM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on March 24, 2014, 09:29:59 AM
There are no settings for this mod.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Paffman on March 24, 2014, 09:37:37 AM
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?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on March 24, 2014, 09:48:44 AM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on March 24, 2014, 11:40:20 AM
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?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: SaltedWeb on June 14, 2014, 10:12:50 AM
I installed, for me just does not show up in theme.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Ninja ZX-10RR on September 12, 2014, 04:25:55 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on September 12, 2014, 05:37:07 PM
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.');
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Ninja ZX-10RR on September 12, 2014, 06:20:48 PM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on September 12, 2014, 06:32:20 PM
Any reason why you were uninstalling a mod not as an admin? Don't packages have to be installed/uninstalled as an admin.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Ninja ZX-10RR on September 12, 2014, 06:49:37 PM
Wonder why there is a permission to administrate the package manager? :)

An admin may not want to always use his "administrator" account. ;)
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: vbgamer45 on September 13, 2014, 12:52:28 AM
It is done for security otherwise anyone could access the script if it is left on the forum....
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Ninja ZX-10RR on September 13, 2014, 08:02:31 AM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Arantor on September 13, 2014, 08:06:17 AM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Ninja ZX-10RR on September 13, 2014, 08:12:24 AM
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?
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Arantor on September 13, 2014, 08:13:58 AM
Me? I'm fine with it as it is honestly.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Ninja ZX-10RR on September 13, 2014, 08:17:39 AM
Ok then if you say so I definitely trust you :D
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on September 16, 2014, 10:45:08 AM
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.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Ninja ZX-10RR on September 16, 2014, 11:50:50 AM
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... :|
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on September 18, 2014, 05:44:19 PM
There are a lot more than a 110 mods on the mod site.
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Ninja ZX-10RR on September 18, 2014, 05:45:55 PM
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
Title: Re: Regbar warning (Updated for SMF 2.0)
Post by: Matthew K. on September 23, 2014, 10:49:20 AM
As a customizer, I saw a lot.
Title: Re: Regbar Warning
Post by: petewadey on July 24, 2016, 03:29:44 AM
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
Title: Re: Regbar Warning
Post by: vbgamer45 on July 24, 2016, 09:17:29 AM
Hmm I had one in the past doesn't seem like it is there any more.
It adds a yellow bar across the top.
Title: Re: Regbar Warning
Post by: jsx on April 14, 2019, 10:58:59 AM
@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. :)