Footer Menu v.1

Started by Mick., March 29, 2011, 11:14:19 PM

Previous topic - Next topic

Mick.

Another thought came to mind...

I will add title tags to the links too and color all 5 headings.

Will update tonight ;)

waruna

Hi bluedevil.. Can RC2 use this mod? Coz I can't upgradeg my SMF to RC5 :(
Trust of Lust

Mick.

Quote from: waruna on March 31, 2011, 12:05:30 PM
Hi bluedevil.. Can RC2 use this mod? Coz I can't upgradeg my SMF to RC5 :(
I believe so.
Upload the mod, don't install it yet.  Go to the mod list and at the very bottom to the right, click 'advanced'.  Emulate RC5.

Then install the mod.  If it doesn't work for ya, I'll update the mod tonight for all SMF 2.0 RC's.

waruna

Quote from: bluedevil on March 31, 2011, 12:08:55 PM
Quote from: waruna on March 31, 2011, 12:05:30 PM
Hi bluedevil.. Can RC2 use this mod? Coz I can't upgradeg my SMF to RC5 :(
I believe so.
Upload the mod, don't install it yet.  Go to the mod list and at the very bottom to the right, click 'advanced'.  Emulate RC5.

Then install the mod.  If it doesn't work for ya, I'll update the mod tonight for all SMF 2.0 RC's.

Okay, I'll try and let you know ASAP. Many thanks!
Trust of Lust

waruna

Mr. Bluedevil. I've emulate RC5. Try to install and got error in package installation:

Quote
1.    Execute Modification    ./Themes/default/index.template.php    Test successful
*    2.    Execute Modification    ./Sources/Admin.php    Test failed
      1.    Add Before    ./Sources/Admin.php    Test failed

*    3.    Execute Modification    ./Sources/ManageSettings.php    Test successful
*    4.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
   5.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Skipping file

It says:

Find :
Quote// Mod Authors for a "ADD AFTER" on this line. Ensure you end your change with a comma. For example:

Add Before:
Quote'footermenu' =>array($txt['footer_admin_menu']),

Please advice me. Thanks
Trust of Lust

Mick.

Ill update the package to rc2, rc3 and rc4 tonight ;)

Im not behind my puter at the moment. it should go after and not before. My mistake.

waruna

Quote from: bluedevil on March 31, 2011, 01:17:23 PM
Ill update the package to rc2, rc3 and rc4 tonight ;)

Im not behind my puter at the moment. it should go after and not before. My mistake.

Ok Sir, thank you.. Thank you so much for your help. Really appreciate it.
Trust of Lust

mariusfv

Quote from: bluedevil on March 31, 2011, 10:25:50 AM
Another thought came to mind...

I will add title tags to the links too and color all 5 headings.

Will update tonight ;)

I hope colors will be optional this time, otherwise I will remain to old version, to many different colors is just for a specific color forum in my opinion....
great job btw ....

Mick.

Quote from: mariusfv on March 31, 2011, 01:23:00 PM
Quote from: bluedevil on March 31, 2011, 10:25:50 AM
Another thought came to mind...

I will add title tags to the links too and color all 5 headings.

Will update tonight ;)

I hope colors will be optional this time, otherwise I will remain to old version, to many different colors is just for a specific color forum in my opinion....
great job btw ....
Not optional.  It will have the same color as the boards by default.  Want to change the color? Simple, change the color code in the CSS file.  No big deal. ;)

mariusfv

I'm sorry I misunderstood, is my fault ...I was understand that every heading will have a different color ....so to much colors is to much for me  ;)

Mick.

Oh no not like that. Hehehe.

It will have the same color as your name above your avatar here in this thread.
That way it blends nicely with the default theme ;)

I'm at work now. Not much longer. Should be updated in 3 hrs or so ;)

mariusfv

I like that, if will use the default theme color is OK...so I will wait you post when is done....btw I must uninstall or will work with update ?

Mick.

Yes. Alaways uninstall and delete mod from admin. Unless otherwise noted.

Then upload new mod and clear the file cache in admin. ;)

Mick.

Mod updated.  ;)

It now has colored headings to match the boards and also added title tags.


Uninstall old mod, delete and upload new mod.

Now with rc2 ,rc3, rc4 support.  ;)

See the pic attached.

Have fun ;)

waruna

Ok .. Got it works perfecly! Thanks Bluedevil. You're rocks!
Trust of Lust

Mick.

Quote from: waruna on April 01, 2011, 12:01:34 AM
Ok .. Got it works perfecly! Thanks Bluedevil. You're rocks!
Glad it worked out fo ya! ;)

tectonny

#36
First congratulations on your mod, very good ...

But I would like to create new HTML email?

I tried putting in HTML code, but generates the email showing the code.

---
http://www.tectonny.com/forum/
http://buscashare.in/

Mick.

Quote from: tectonny on April 06, 2011, 10:19:21 AM
First congratulations on your mod, very good ...

But I would like to create new HTML email?

I tried putting in HTML code, but generates the email showing the code.

---
http://www.tectonny.com/forum/
http://buscashare.in/


Because you cannot put PHP inside HTML.  It wont work.

-=[Vyorel]=-

I have an error in index.template.php file

Find:
echo '
</div>
</div></div>';

// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere


Add Before:
//Footer Menu v.1 by: bluedevilcustoms.com
       if (!empty($modSettings['fmenu_enabled']))
{
echo'
<br />
   <span class="clear upperframe"><span></span></span>
<div class="roundframe"><div class="innerframe">
    <table border="0" cellspacing="2" cellpadding="2" width="100%">
      <tbody>
        <tr>
<td><strong><font size="2" color="#d97b33">' . $modSettings['fmenu_heading1'] . '</font></strong></td>
<td><strong><font size="2" color="#d97b33">' . $modSettings['fmenu_heading2'] . '</font></strong></td>
<td><strong><font size="2" color="#d97b33">' . $modSettings['fmenu_heading3'] . '</font></strong></td>
<td><strong><font size="2" color="#d97b33">' . $modSettings['fmenu_heading4'] . '</font></strong></td>
<td><strong><font size="2" color="#d97b33">' . $modSettings['fmenu_heading5'] . '</font></strong></td>
        </tr>
        <tr>
<td>', !empty($modSettings['fmenu_title1']) && !empty($modSettings['fmenu_url1']) ? '<a title="' . $modSettings['fmenu_title1'] . '" href="' . $modSettings['fmenu_url1'] . '">' . $modSettings['fmenu_title1'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title2']) && !empty($modSettings['fmenu_url2']) ? '<a title="' . $modSettings['fmenu_title2'] . '" href="' . $modSettings['fmenu_url2'] . '">' . $modSettings['fmenu_title2'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title3']) && !empty($modSettings['fmenu_url3']) ? '<a title="' . $modSettings['fmenu_title3'] . '" href="' . $modSettings['fmenu_url3'] . '">' . $modSettings['fmenu_title3'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title4']) && !empty($modSettings['fmenu_url4']) ? '<a title="' . $modSettings['fmenu_title4'] . '" href="' . $modSettings['fmenu_url4'] . '">' . $modSettings['fmenu_title4'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title5']) && !empty($modSettings['fmenu_url5']) ? '<a title="' . $modSettings['fmenu_title5'] . '" href="' . $modSettings['fmenu_url5'] . '">' . $modSettings['fmenu_title5'] . '</a>' : '', '</td>
        </tr>
        <tr>
<td>', !empty($modSettings['fmenu_title6']) && !empty($modSettings['fmenu_url6']) ? '<a title="' . $modSettings['fmenu_title6'] . '" href="' . $modSettings['fmenu_url6'] . '">' . $modSettings['fmenu_title6'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title7']) && !empty($modSettings['fmenu_url7']) ? '<a title="' . $modSettings['fmenu_title7'] . '" href="' . $modSettings['fmenu_url7'] . '">' . $modSettings['fmenu_title7'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title8']) && !empty($modSettings['fmenu_url8']) ? '<a title="' . $modSettings['fmenu_title8'] . '" href="' . $modSettings['fmenu_url8'] . '">' . $modSettings['fmenu_title8'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title9']) && !empty($modSettings['fmenu_url9']) ? '<a title="' . $modSettings['fmenu_title9'] . '" href="' . $modSettings['fmenu_url9'] . '">' . $modSettings['fmenu_title9'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title10']) && !empty($modSettings['fmenu_url10']) ? '<a title="' . $modSettings['fmenu_title10'] . '" href="' . $modSettings['fmenu_url10'] . '">' . $modSettings['fmenu_title10'] . '</a>' : '', '</td>
        </tr>
        <tr>
<td>', !empty($modSettings['fmenu_title11']) && !empty($modSettings['fmenu_url11']) ? '<a title="' . $modSettings['fmenu_title11'] . '" href="' . $modSettings['fmenu_url11'] . '">' . $modSettings['fmenu_title11'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title12']) && !empty($modSettings['fmenu_url12']) ? '<a title="' . $modSettings['fmenu_title12'] . '" href="' . $modSettings['fmenu_url12'] . '">' . $modSettings['fmenu_title12'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title13']) && !empty($modSettings['fmenu_url13']) ? '<a title="' . $modSettings['fmenu_title13'] . '" href="' . $modSettings['fmenu_url13'] . '">' . $modSettings['fmenu_title13'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title14']) && !empty($modSettings['fmenu_url14']) ? '<a title="' . $modSettings['fmenu_title14'] . '" href="' . $modSettings['fmenu_url14'] . '">' . $modSettings['fmenu_title14'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title15']) && !empty($modSettings['fmenu_url15']) ? '<a title="' . $modSettings['fmenu_title15'] . '" href="' . $modSettings['fmenu_url15'] . '">' . $modSettings['fmenu_title15'] . '</a>' : '', '</td>
        </tr>
        <tr>
<td>', !empty($modSettings['fmenu_title16']) && !empty($modSettings['fmenu_url16']) ? '<a title="' . $modSettings['fmenu_title16'] . '" href="' . $modSettings['fmenu_url16'] . '">' . $modSettings['fmenu_title16'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title17']) && !empty($modSettings['fmenu_url17']) ? '<a title="' . $modSettings['fmenu_title17'] . '" href="' . $modSettings['fmenu_url17'] . '">' . $modSettings['fmenu_title17'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title18']) && !empty($modSettings['fmenu_url18']) ? '<a title="' . $modSettings['fmenu_title18'] . '" href="' . $modSettings['fmenu_url18'] . '">' . $modSettings['fmenu_title18'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title19']) && !empty($modSettings['fmenu_url19']) ? '<a title="' . $modSettings['fmenu_title19'] . '" href="' . $modSettings['fmenu_url19'] . '">' . $modSettings['fmenu_title19'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title20']) && !empty($modSettings['fmenu_url20']) ? '<a title="' . $modSettings['fmenu_title20'] . '" href="' . $modSettings['fmenu_url20'] . '">' . $modSettings['fmenu_title20'] . '</a>' : '', '</td>
        </tr>
        <tr>
<td>', !empty($modSettings['fmenu_title21']) && !empty($modSettings['fmenu_url21']) ? '<a title="' . $modSettings['fmenu_title21'] . '" href="' . $modSettings['fmenu_url21'] . '">' . $modSettings['fmenu_title21'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title22']) && !empty($modSettings['fmenu_url22']) ? '<a title="' . $modSettings['fmenu_title22'] . '" href="' . $modSettings['fmenu_url22'] . '">' . $modSettings['fmenu_title22'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title23']) && !empty($modSettings['fmenu_url23']) ? '<a title="' . $modSettings['fmenu_title23'] . '" href="' . $modSettings['fmenu_url23'] . '">' . $modSettings['fmenu_title23'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title24']) && !empty($modSettings['fmenu_url24']) ? '<a title="' . $modSettings['fmenu_title24'] . '" href="' . $modSettings['fmenu_url24'] . '">' . $modSettings['fmenu_title24'] . '</a>' : '', '</td>
<td>', !empty($modSettings['fmenu_title25']) && !empty($modSettings['fmenu_url25']) ? '<a title="' . $modSettings['fmenu_title25'] . '" href="' . $modSettings['fmenu_url25'] . '">' . $modSettings['fmenu_title25'] . '</a>' : '', '</td>
        </tr>
      </tbody>
    </table>
  </div>
      </div>
<span class="lowerframe"><span></span></span>';
}
//End of Footer Menu v.1



Using DSv4 theme and SMF 2.0 RC5.

How do I fix?


Thanks!
My mods for SMF - [6].

Mick.

@Vyorel

I'm at work now and not behind a computer.  I also use dsv4 and will post the solution tonight for ya ;)

Advertisement: