![]() |
|
#1
|
|||
|
|||
|
Navigation module for vBulletin 3.5.x and CMPS 2.0
I have found this module always nicely and skilful, and have decided to modify and rewrite it for vB 3.5 and vBa 2.0. Many thank to Deviant ++ for giving me the permissions to modify and rewrite its module. Features: 1. Search box ( with advanced search). 2. Drop Down Menus ( add as many drop down links and sublinks you want). 3. Mouse Roll overs ( color changes on both main menu and submenu). 4. Unique Button feel to highlight dull areas such as archive as vB Lite mode. 5. Button to profile image (You can refer him to your gallery or download hack) . 6. Complete IE and FF support. 7. Easy to edit code parsing. 8. Rename the module from edit module page instead of html coding. 9. Conditional AdminCP link for admins. Install notes: Go to your Admincp -> open vBa CMPS -> Download / Upload Module - Please select a module from your computer to upload (select the navigationmenu.module). - Column (left is the best location). - Display Order (0 or what you want). - Active (yes). - Update All Pages (what you want). - Style to install templates to (what you want). - Usergroups (what you want). - Submit Upload upnew.gif & navbits_dash.gif to your skins ( 'misc' ) folder. all done ! Note: Dont forget that you can save server resources by disabling the search module from the edit cmps module page. You can also look for support here, but I am not a real coder, thus help each other please. Module updated on 20 October 2005: Avalon111 found a bug in the search of the module, the [/form] tag was missing, thnx Avalon111 Thnx all, and have fun with the new navigation module. Optional: You can adds 9 more search engines to your module. Thanks to Judge Ruckus & 58sniper Replace in your adv_portal_navmenu template this: Code:
<!-- Search -->
<hr size="1"/>
<form action="{$vbulletin->options[bburl]}/search.php" method="post" name="search"> <input name="s" type="hidden" value="" /> <input name="do" type="hidden" value="process" /> <input name="sortby" type="hidden" value="lastpost" /> <input name="forumchoice" type="hidden" value="0" />
<input class="bginput" name="query" size="16" type="text" /> $gobutton
<div class="smallfont">» <a href="$vboptions[bburl]/search.php?">$vbphrase[advanced_search]</a></div>
</form>
<!-- / Search -->
Code:
<!-- Search -->
<hr size="1"/>
<script type="text/javascript" language="JavaScript">
function startSearch(){
searchString = document.searchForm.searchText.value;
switch (document.searchForm.whichEngine.value) {
case "altavista":
finalSearchString = "http://www.altavista.com/web/results?q=" + searchString;
break
case "yahoo":
finalSearchString = "http://search.yahoo.com/search?p=" + searchString;
break
case "excite":
finalSearchString = "http://msxml.excite.com/info.xcite/search/web/" + searchString;
break
case "hotbot":
finalSearchString = "http://www.hotbot.com/?MT=" + searchString;
break
case "infoseek":
finalSearchString = "http://www.infoseek.com/Titles?qt=" + searchString;
break
case "lycos":
finalSearchString = "http://www.lycos.com/cgi-bin/pursuit?query=" + searchString;
break
case "aolnetfind":
finalSearchString = "http://netfind.aol.com/aolcom/search?query=" + searchString;
break
case "google":
finalSearchString = "http://www.google.com/search?q=" + searchString;
break
case "mysearch":
finalSearchString = "http://mysearch.myway.com/jsp/GGmain.jsp?searchfor=" + searchString;
break
case "netscape":
finalSearchString = "http://search.netscape.com/ns/search?query=" + searchString;
break
case "vb":
finalSearchString = "";
document.searchForm.action = "$vboptions[bburl]/search.php";
document.searchForm.method = "post";
document.searchForm.query.value = document.searchForm.searchText.value;
document.searchForm.submit();
return true;
break
default:
finalSearchString = "";
}
document.location = finalSearchString;
return true;
}
</script>
<form name="searchForm" method="post" action="">
Search for: <input name="searchText" type="text" size="17"/> <b>@</b>
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="query" />
<select name="whichEngine">
<option value="vb">$vboptions[bbtitle]</option>
<option value="altavista">Altavista</option>
<option value="yahoo">Yahoo!</option>
<option value="excite">Excite</option>
<option value="hotbot">Hotbot</option>
<option value="infoseek">Infoseek</option>
<option value="lycos">Lycos</option>
<option value="aolnetfind">AOL Netfind</option>
<option value="google">Google</option>
<option value="mysearch">MySearch</option>
</select>
<center><input type="button" value="Search" onclick="startSearch();" /></center>
</form>
<!-- / Search -->
Last edited by drl2005; 10-23-2005 at 07:20 PM. |
|
#2
|
|||
|
|||
|
Deviant ++ thank once again
|
|
#3
|
||||
|
||||
|
I have said it so many times, just one more.
Thank you both very much, this is a great addition! |
|
#4
|
|||
|
|||
|
great i love it!!!!
|
|
#5
|
|||
|
|||
|
i followed your instructions but it doesnt show up at the portal page?
|
|
#6
|
||||
|
||||
|
Quote:
( Admin CP > Edit Modules > Navigation Menu ) (Admin CP > Edit pages > Homepage) 2. Double check the style you added it to. First things I would look at. Last edited by Judge Ruckus; 10-18-2005 at 05:01 PM. |
|
#7
|
|||
|
|||
|
Great !
Thank you |
|
#8
|
||||
|
||||
|
Looks great!
I'm sure a lot of vBa community members will find it useful.
|
|
#9
|
|||
|
|||
|
Quote:
next time i wont install anything after 11:30pm
|
|
#10
|
|||
|
|||
|
Quote:
|
|
#11
|
|||
|
|||
|
Thank you all! It works great! Love it!!!!!
__________________
Curt
|
|
#12
|
|||
|
|||
|
works perfect
__________________
www.synergyforums.com A Revolution in chat |
|
#13
|
|||
|
|||
|
Brian has found a problem in your module.
i have asked him to have a look at my site because the vote button of the current poll module opened the search website. the [/form] tag was missing. i have added it to the following part of the template. now everything is working again. Code:
<!-- Search -->
<hr size="1"/>
<form action="{$vbulletin->options[bburl]}/search.php" method="post" name="search"> <input name="s" type="hidden" value="" /> <input name="do" type="hidden" value="process" /> <input name="sortby" type="hidden" value="lastpost" /> <input name="forumchoice" type="hidden" value="0" />
<input class="bginput" name="query" size="16" type="text" /> $gobutton
<div class="smallfont">» <a href="$vboptions[bburl]/search.php?">$vbphrase[advanced_search]</a></div>
</form>
<!-- / Search -->
|
|
#14
|
|||
|
|||
|
Quote:
Thnx mate, I have updated the module
|
|
#15
|
|||
|
|||
|
It's asking me to :
Your modules directory is not writable. Please chmod your modules directory to 777 and try again. What do I have to do to make this work? Go it working with : cpanel: go to the folder: click on permissions: put check mark in all cats; made it 777. Went back to Admin cp: Follow the instructions: Work like a charm. after the hack: went back to change settings back. Last edited by Perkyd; 10-21-2005 at 05:43 PM. |
|
#16
|
|||
|
|||
|
Quote:
-select the modul folder -chmod 777 finished! now its working |
|
#17
|
|||
|
|||
|
Quote:
(Right click on your module folder, and you will see something of chmod.) |
|
#18
|
||||
|
||||
|
I added the Super Search 2 to mine, asked the orginal coder if I could put it out as an add on for this but no reply.
|
|
#19
|
||||
|
||||
|
looking good as usual... Thanks bro. Might us it
|
|
#20
|
||||
|
||||
|
Oooh lol, this module has definitely gotta be the most..umm shall we say.. 'combined' effort module for vba ? :P seriously. Never thought it'd take on so much when I combined the initial codes into one full thing.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New posts on Advanced CMPS | Basscat | Troubleshooting & Problems | 2 | 09-01-2005 05:46 PM |
| If you update from CMPS 1 and had a template/module called Navigation | Morwyn | Troubleshooting & Problems | 3 | 06-11-2005 02:22 PM |
| vBa CMPS: VBulletin Radio Module | brianstevz | Add-On Modules & Modifications | 3 | 05-09-2005 02:07 PM |
| Request: More advanced arcade module... | himerus | Add-On Modules & Modifications | 2 | 06-19-2004 07:45 PM |
| More Advanced News Module | bfoot045 | Feedback & Suggestions | 0 | 06-15-2004 12:31 AM |