Customizing SMF > Modifications and Packages

Regbar warning (Updated for SMF 2.0)

<< < (5/63) > >>

LuminaRS:

--- Quote from: vbgamer45 on August 28, 2006, 06:42:48 PM ---Open up the regbarrc3.xml and follow the instructions for your theme.

--- End quote ---

There are no instructions at all...  ???

LuminaRS:
...Anyone? How do I get this to work on the Cerberus theme for 1.0.8?

vbgamer45:
Just do the following
Find

--- Code: ---<body>';

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

LuminaRS:
I'm looking for this in the cerberus index.template.php file, correct?

vbgamer45:
yeah

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version