Advertisement:

Author Topic: Design Drop Down Menu for Smf 1.1.5  (Read 15337 times)

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,226
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Design Drop Down Menu for Smf 1.1.5
« on: August 01, 2008, 07:38:23 PM »
Hi Team.

Help me to design a Drop Down Menu for my DilberMc Smf 1.1.5

I have lots of options to select.

so anyone help me to create a Drop Down Menus instead of the normal Menus.

Thanks in Advance.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,226
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #1 on: August 02, 2008, 04:59:49 AM »
Anyone could help me . Just try to give me some idea's .
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

kat

  • Guest

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,226
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #3 on: August 02, 2008, 08:46:50 AM »
Hi Kat , thanks for your help. But am looking to patch it with our SMF.

So hope it should be only in PHP. Is that right or not.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

kat

  • Guest
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #4 on: August 02, 2008, 09:07:37 AM »
Well, the instructions are pretty good. So much so, that even I managed to get it working. You can edit your index.template, to get it going.

I can't remember how you incorporate html into php, though. I don't use it, now, coz something else does the job, for me, now.

I'm sure someone with more php knowledge will tell us, if we wait a while. ;)

As the essentials are in javascript, I'd guess that it could be modified to run with just php.

If I can see how, I might even ask on that page. They'll know, I'd imagine.

If I get a reply, I'll let you know as soon as I get it.  :)

Thinking about it, there's a mod for a dropdown, for choosing a theme. I wonder if that could be modified, to suit you?

http://custom.simplemachines.org/mods/index.php?mod=746
« Last Edit: August 02, 2008, 09:10:57 AM by Kat »

Offline Hoochie Coochie Man

  • SMF Hero
  • ******
  • Posts: 5,135
  • Gender: Male
    • İstanblues.org
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #5 on: August 02, 2008, 11:12:57 AM »
But am looking to patch it with our SMF.

So hope it should be only in PHP. Is that right or not.

Find a drop down menu, and I show you, that how you gonna patch it.

I advise you to take a look at here too..

http://www.dynamicdrive.com/style/
İnadına SMF 1.1.X

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,226
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #6 on: August 02, 2008, 11:42:44 AM »
Hey Kat, thanks for your reply.

I was already using this mod what you are talking about.

Thanks a lot for your time to explain me kat.

And Hoochie Coochie man - Thanks for your interest on helping me.

Would like this particular menu - http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm - example 4.

In the mean while i will search some menu based template under smfthemes.org so that i could get the things dont easily for me.

Thanks you in Advance.

Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Offline Hoochie Coochie Man

  • SMF Hero
  • ******
  • Posts: 5,135
  • Gender: Male
    • İstanblues.org
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #7 on: August 02, 2008, 12:12:06 PM »
Would like this particular menu - http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm - example 4.

First of all, download the "ddtabmenu.zip"

I opened the ddtabdemos.html with frontpage. and saw the menu.

And let's see, which files this menu using..

ddcolortabs.css
color_tabs_left.gif
color_tabs_right.gif
ddtabmenu.js


Everythings ok for now?
İnadına SMF 1.1.X

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,226
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #8 on: August 02, 2008, 12:14:28 PM »
Hi Thanks for it, have good knowledge in it.

Now am moving for lunch. Will come back and cont with you.

Thanks for it.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Offline Hoochie Coochie Man

  • SMF Hero
  • ******
  • Posts: 5,135
  • Gender: Male
    • İstanblues.org
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #9 on: August 02, 2008, 12:16:03 PM »
Ok

while you are eating, I will prepare the codes.
have a good lunch ;)
İnadına SMF 1.1.X

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,226
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #10 on: August 02, 2008, 02:52:48 PM »
Thank you for the kindly advice and help HCM.

Am using DilberMC theme.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Offline Hoochie Coochie Man

  • SMF Hero
  • ******
  • Posts: 5,135
  • Gender: Male
    • İstanblues.org
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #11 on: August 02, 2008, 03:36:55 PM »
ok let's continue..

First of all, you should upload color_tabs_left.gif and color_tabs_right.gif to your images folder.

Then copy the ddcolortabs.css codes to your style.css. But don't forget to change "media" to "images"

Quote
background: #678b3f url('media/color_tabs_left.gif') no-repeat left top;

and

background: url('media/color_tabs_right.gif') no-repeat right top;

Quote
background: #678b3f url('images/color_tabs_left.gif') no-repeat left top;

and

background: url('images/color_tabs_right.gif') no-repeat right top;

Now, we have to change our index.template.php
We don't need to Dilber's menu anymore
I look up "ddtabdemos.html" and our new menu's codes like this:

Quote
<ul>
<li><a href="MENU LINK" ><span>MENU NAME</span></a></li>
</ul>

So. open your theme's index.template.php
Find:
Code: [Select]
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;

// Work out where we currently are.
$current_action = 'home';
if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
$current_action = 'admin';
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action = 'search';
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

// Dummy place holder, to set the height
echo'
<td align="center" class="menubg" height="30" width="20">
</td>';

// Show the [home] button.
echo'
<td align="center" class="menubg' , $current_action == 'home' ? '2' : '' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>';
// Show the [help] button.
echo'
<td align="center" class="menubg' , $current_action == 'help' ? '2' : '' , '">
<a href="', $scripturl, '?action=help">' , $txt[119] , '</a>
</td>';
// How about the [search] button?
if ($context['allow_search'])
echo'
<td align="center" class="menubg' , $current_action == 'search' ? '2' : '' , '">
<a href="', $scripturl, '?action=search">' , $txt[182] , '</a>
</td>';
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo'
<td align="center" class="menubg' , $current_action == 'admin' ? '2' : '' , '">
<a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>
</td>';
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo'
<td align="center" class="menubg' , $current_action == 'profile' ? '2' : '' , '">
<a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>
</td>';
// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo'
<td align="center" class="menubg' , $current_action == 'pm' ? '2' : '' , '">
<a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
</td>';
// The [calendar]!
if ($context['allow_calendar'])
echo'
<td align="center" class="menubg' , $current_action == 'calendar' ? '2' : '' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>';
// the [member] list button
if ($context['allow_memberlist'])
echo'
<td align="center" class="menubg' , $current_action == 'mlist' ? '2' : '' , '">
<a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
</td>';

// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo'
<td align="center" class="menubg' , $current_action == 'login' ? '2' : '' , '">
<a href="', $scripturl, '?action=login">' , $txt[34] , '</a>
</td>';
// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo'
<td align="center" class="menubg' , $current_action == 'register' ? '2' : '' , '">
<a href="', $scripturl, '?action=register">' , $txt[97] , '</a>
</td>';
// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo'
<td align="center" class="menubg' , $current_action == 'logout' ? '2' : '' , '">
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
</td>';


// Dummy place holder, to end things
echo'
<td align="center" class="menubg" width="20">
</td>';

}

Replace:
Code: [Select]
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;

// Work out where we currently are.
$current_action = 'home';
if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
$current_action = 'admin';
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action = 'search';
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

// Are we using right-to-left orientation?
if ($context['right_to_left'])
{
$first = 'last';
$last = 'first';
}
else
{
$first = 'first';
$last = 'last';
}

echo '<ul>';

// Show the [home] button.
echo '<li><a href="', $scripturl, '"><span>' , $txt[103] , '</span></a></li>';

// Show the [help] button.
echo '<li><a href="', $scripturl, '?action=help"><span>' , $txt[119] , '</span></a></li>';

// How about the [search] button?
if ($context['allow_search'])
echo '<li><a href="', $scripturl, '?action=search"><span>' , $txt[182] , '</span></a></li>';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '<li><a href="', $scripturl, '?action=admin"><span>' , $txt[2] , '</span></a></li>';

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '<li><a href="', $scripturl, '?action=profile"><span>' , $txt[79] , '</span></a></li>';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo '<li><a href="', $scripturl, '?action=pm"><span>' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</span></a></li>';

// The [calendar]!
if ($context['allow_calendar'])
echo '<li><a href="', $scripturl, '?action=calendar"><span>' , $txt['calendar24'] , '</a></li>';

// the [member] list button
if ($context['allow_memberlist'])
echo '<li><a href="', $scripturl, '?action=mlist"><span>' , $txt[331] , '</span></a></li>';

// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo '<li><a href="', $scripturl, '?action=login"><span>' , $txt[34] , '</span></a></li>';


// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo '<li><a href="', $scripturl, '?action=register"><span>' , $txt[97] , '</span></a></li>';


// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo '<li><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '"><span>' , $txt[108] , '</span></a></li>';


echo '</ul> ';

}

Now You saw me how I change the codes..

Now lets enable the menu
index.template.php
find:
Code: [Select]
// Show the menu here, according to the menu sub template.
template_menu();

replace:
Code: [Select]
echo '<div id="ddtabs4" class="ddcolortabs">';
// Show the menu here, according to the menu sub template.
template_menu();
echo '</div>
<div class="ddcolortabsline">&nbsp;</div>';

Finally.. we mustn't forget to add the script
index.template.php
find:
Code: [Select]
</head>
Add after:
Code: [Select]
<script language="JavaScript" type="text/javascript" src="', $settings['theme_url'], '/ddtabmenu.js">

/***********************************************
* DD Tab Menu script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>

<script type="text/javascript">
//SYNTAX: ddtabmenu.definemenu("tab_menu_id", integer OR "auto")
ddtabmenu.definemenu("ddtabs4", 2) //initialize Tab Menu #4 with 3rd tab selected
</script>

and upload ddtabmenu.js to your dilbermc folder

here is a demo
http://smfthemes.890m.com/forum/index.php

NEXT STEP: adding drop dawn part.
« Last Edit: August 02, 2008, 03:39:06 PM by Hoochie Coochie Man »
İnadına SMF 1.1.X

Offline tatore

  • Sophist Member
  • *****
  • Posts: 1,259
  • Gender: Male
    • salvo.franchina on Facebook
    • @tatore on Twitter
    • SalvoFranchina.it
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #12 on: August 02, 2008, 03:56:54 PM »
Hoochie Coochie Man, you're a genious!!!
I'm following the thread and I'm anxious to go back home and apply your modifications, since I love DilberMc.
*Salvo*




Quote from: Rumbaar
I wont jump to conclusion, but you might be hacked?

Offline Hoochie Coochie Man

  • SMF Hero
  • ******
  • Posts: 5,135
  • Gender: Male
    • İstanblues.org
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #13 on: August 02, 2008, 04:02:02 PM »
Thanks mate :)

Let's wait @asudhakar too..

Then we make the dropdown part.

Best Regards.

İnadına SMF 1.1.X

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,226
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #14 on: August 03, 2008, 11:15:58 AM »
HI Hoochie coochie man , i was on small leave till now. Will install the code now and give you a feedback soon.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,226
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #15 on: August 03, 2008, 12:27:26 PM »
Thanks mate :)

Let's wait @asudhakar too..

Then we make the dropdown part.

Best Regards.


Hi Hoochie Coochie Man,

Thanks for it , first uploaded the images.
Changed the themes Style.css - Exactly changed media to images.
Backup my index template inside dilbermc folder.
Modified as you have given expect one " } ".

Code: [Select]
// Dummy place holder, to end things
echo'
<td align="center" class="menubg" width="20">
</td>';

}

That close brackets showed error in runtime, so i have remove it and its working fine.

Then checked the site, its working perfectly.

Now Replaced the existing file with the index.template file. And forum is working great.

In the meanwhile i went to error log and found these errors in it.

Code: [Select]
Guest    Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined offset: 97
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
959

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: current_action
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
958

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined offset: 34
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
953

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: current_action
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
952

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: current_action
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
947

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: current_action
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
945

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: current_action
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
944

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined index: allow_memberlist
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
938

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined index: allow_calendar
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
932

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined index: allow_edit_profile
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
920

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined index: allow_edit_profile
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
914

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined index: allow_admin
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
907

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: current_action
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
888

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: current_action
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
886

Apply Filter: Only show the error messages of this member Guest Today at 21:46:32
Apply Filter: Only show the error messages of this IP address 74.6.29.98    Apply Filter: Only show the error messages of this session 7dd7674cabec5eb057b49e589e8f156c
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?topic=5033.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: current_action
/home/itacumen/public_html/forum/Sources/Load.php(1919) : eval()'d code
885

I suggest you one simple thing,

Instead of using someother different menu, i would like to use the same dilbermc with the drop down effort.

Example i like to see the same menu with the drop down effect in it.

You could see the attached images which is the final output when i insert HCM Menu in fourm.

And visit our forum and see, we have around 50 links in it , has to be shown to users.

So thanks a lot for your Help Hoochie Coochie Man.

Thanks a lot for your help , even i understand the codes properly.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Offline Hoochie Coochie Man

  • SMF Hero
  • ******
  • Posts: 5,135
  • Gender: Male
    • İstanblues.org
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #16 on: August 03, 2008, 12:42:03 PM »
In the meanwhile i went to error log and found these errors in it.

Try to delete these codes :-\
Code: [Select]
   // Work out where we currently are.
   $current_action = 'home';
   if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';
   if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
      $current_action = $context['current_action'];
   if ($context['current_action'] == 'search2')
      $current_action = 'search';
   if ($context['current_action'] == 'theme')
      $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

   // Are we using right-to-left orientation?
   if ($context['right_to_left'])
   {
      $first = 'last';
      $last = 'first';
   }
   else
   {
      $first = 'first';
      $last = 'last';
   }


Instead of using someother different menu, i would like to use the same dilbermc with the drop down effort.

Ok. I will try something about that point in my free time.
İnadına SMF 1.1.X

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,226
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #17 on: August 03, 2008, 11:14:53 PM »

Ok. I will try something about that point in my free time.


Thanks for the kind help, i like the smf site menu .
Go to this same page on top, see the menu in it. That is good and in it we have to match the dilbermc theme.

Will Let you know one more thing, i like menu and the top banner allignment in one of my friend website.

[ Page link Removed ] I like the menu's in it and center logo says our Site name will be good. Could we do this menu and center logo match to our DilberMC theme.

Thanks for helping me in modifying Our SMF Forum Hoochie Coochie Man.
« Last Edit: August 06, 2008, 03:09:50 AM by asudhakar »
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Offline Hoochie Coochie Man

  • SMF Hero
  • ******
  • Posts: 5,135
  • Gender: Male
    • İstanblues.org
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #18 on: August 04, 2008, 06:16:13 AM »
Check this page out. I like the menu's in it and center logo says our Site name will be good. Could we do this menu and center logo match to our DilberMC theme.

I can't change the theme's header area before Author's permission, Then we can break the DilberMC's orginality. Let's keep it's default desing. ;) Let's make only a dropdown menu, for alternative..

I made a drop down menu for DilberMC. Only some images left to finish it. (Besides, Didn't you want a dropdown menu? But it hasn't got dropdown feautre which you gave me the site link.)

A little patient please. Thanks..

Edit: it's finished
There you go..
http://www.simplemachines.org/community/index.php?topic=253599.0
İnadına SMF 1.1.X

Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,226
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: Design Drop Down Menu for Smf 1.1.5
« Reply #19 on: August 04, 2008, 07:07:25 AM »
Thank you and will wait no problem, Anyhow thanks for helping me in your time Hoochie Coochie Man.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum