Regbar Warning

Started by SMFHacks.com Team, August 22, 2006, 06:14:09 PM

Previous topic - Next topic

SMFHacks.com Team

Link to Mod

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



Compatibility:


  • SMF 1.1.x
  • SMF 2.0.x



Changelog:


v1.0.4:

  • Complete rewrite for both SMF 1.1.x and SMF 2.0.x.
  • New Icon.
  • Larger ?action support (doesn't load on login, register, xml, etc).
  • Improved MVC - Making it easier to use on other themes.



SMFHacks.com:



  • SMF Trader System
  • SMF Gallery
  • SMF Store
  • Downloads System
  • Newsletter Pro
  • SMF Classifieds
  • Ad Seller Pro
  • ...and more!

Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Alan S

Nice  , i like it , doesnt work with rc3 though.
Quote from: Eliana Tamerin on August 23, 2008, 04:10:10 PM
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

vbgamer45

#2
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.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Skipdawg

Yes indeed, nice it is.  ;D
Skipdawg's Community

Powered by SMF 1.1.3

Gary

Installed. Works like a charm.

-AwwLilMaggie
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

mickyd2006

Running 1.1 RC2 - Mod Installed Fine.. Works Great..

Nice Mod! I love it. THANKS!

:D
High Quality Low Cost CMS Installations - Just-Installs.com

SOHK: School Of Hard Knox - Hard Hitting Lessons In Life


I Wonder:

What Exactly Did The Man Who Invented The Drawing Board Go Back To?
Why Are Disasters Always Described As Great?
What Platform Was Windows Designed On?

janditoOo

help!!!!!! its doesnt show the image of warning why???

http://www.jandito.com/foro/index.php

TGB

Is there somewhere that i need to turn it on,  doesnt show up for me.
www.dreamcasthaven.com <----- Running SMF 1.1.16 & heavily modified
www.psxhaven.com <----- Running SMF 1.1.16 & heavily modified
www.romhaven.info <----- Running SMF 1.1.16 & heavily modified
www.bthaven.com <----- Running TT 2.06

vbgamer45

Logout of your forum as a guest.
It will be on the default theme.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

TGB

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?
www.dreamcasthaven.com <----- Running SMF 1.1.16 & heavily modified
www.psxhaven.com <----- Running SMF 1.1.16 & heavily modified
www.romhaven.info <----- Running SMF 1.1.16 & heavily modified
www.bthaven.com <----- Running TT 2.06

vbgamer45

Open up the regbarrc3.xml and follow the instructions for your theme.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

janditoOo

help!!!!!! its doesnt show the image of warning... why???

http://www.jandito.com/foro/index.php

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

TGB

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 '
www.dreamcasthaven.com <----- Running SMF 1.1.16 & heavily modified
www.psxhaven.com <----- Running SMF 1.1.16 & heavily modified
www.romhaven.info <----- Running SMF 1.1.16 & heavily modified
www.bthaven.com <----- Running TT 2.06

vbgamer45

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" />';

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

TGB

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>';
www.dreamcasthaven.com <----- Running SMF 1.1.16 & heavily modified
www.psxhaven.com <----- Running SMF 1.1.16 & heavily modified
www.romhaven.info <----- Running SMF 1.1.16 & heavily modified
www.bthaven.com <----- Running TT 2.06

vbgamer45

Need to see more code above and below
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

TGB

#17
here is the entire file,  the error appears on line 124

http://www.dreamcasthaven.com/pix/index.template.php.edit.zip
www.dreamcasthaven.com <----- Running SMF 1.1.16 & heavily modified
www.psxhaven.com <----- Running SMF 1.1.16 & heavily modified
www.romhaven.info <----- Running SMF 1.1.16 & heavily modified
www.bthaven.com <----- Running TT 2.06

vbgamer45

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>';
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

TGB

#19
perfect.  thank you very much



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
www.dreamcasthaven.com <----- Running SMF 1.1.16 & heavily modified
www.psxhaven.com <----- Running SMF 1.1.16 & heavily modified
www.romhaven.info <----- Running SMF 1.1.16 & heavily modified
www.bthaven.com <----- Running TT 2.06

Advertisement: