Nav Block addon for IMPortal

Support for the IM Portal Project

Moderator: Integra Moderator

Nav Block addon for IMPortal

PostAuthor: spode » Tue Jul 04, 2006 12:31 am

I like to use the Navigation Block featured in Integramod installs on some of the sites I create that run IMPortal mostly so I can easily control who sees the links in the Navigation Menu. I managed to get it to work some time ago but every time I have to add it to a site I have to go through the whole process of digging through the Integramod files to complete it. I decided to write a mod to make things easier for me the next time and I thought that people might find it useful. I haven't seen any other postings regarding this so I hope I am not stepping on anyones toes. <img>
Code: Select all
################################################################ MOD Title]http://spodesites.net#[/url]# MOD De.scription: This mod adds the "qnav" definition and the "Nav" block to##                  sites with both IMPortal ([url=http://integramod.com/forum/dload.php?action=category&cat_id=7]http://integramod.com/forum/dload.php?a ... y&cat_id=7[/url])##                  and Mod_Qbars ([url=http://rpgnet.clanmckeen.com/]http://rpgnet.clanmckeen.com/[/url]) installed. Both mods must be installed prior##                  to installing this mod. Navigation Menu editable from ACP under "General Admin> QBARS"#### MOD Version: 1.0.1#### Installation Level: (Easy)## Installation Time: 12 Minutes## Files To Edit:   adminadmin_qbar.php##                  includesdef_qbars.php##                  includesfunctions_qbar.php##                  includespage_header.php##                  languagelang_englishlang_extend_qbar.php##                  templatessubSilversubSilver.cfg#### Included Files: blocksblocks_imp_menu.php##                 blockslanguagelang_englishlang_menu_block.php##                 templatessuSilverqbar_qnavs.tpl##                 templatessuSilverblocksmenu_block.tpl##                 templatessuSilverimagespip.gif#### License: [url=http://opensource.org/licenses/gpl-license.php]http://opensource.org/licenses/gpl-license.php[/url] GNU General Public License v2################################################################ For security purposes, please check: [url=http://www.phpbb.com/mods/#]http://www.phpbb.com/mods/#[/url]# for the latest version of this MOD. Although MODs are checked## before being allowed in the MODs Database there is no guarantee## that there are no security problems within the MOD. No support## will be given for MODs not found within the MODs Database which## can be found at [url=http://www.phpbb.com/mods/#]http://www.phpbb.com/mods/#[/url]############################################################### Author Notes: VERY IMPORTANT!!!#### The order in which the edits to "includespage_header.php" are done when installing the mods## IMPortal and Mod_Qbars is very important to the success of this mod. You must follow the instructions## below for editing the file "includespage_header.php" carefully. Basically we are moving the edits for## Mod_Qbars above the edits for IMPortal. The data gathered by the section for Qbars must fall first so## it can be passed on to IMPortal. If not your Nav Menu block will be displayed blank.#### This mod assumes that IMPortal and Mod_Qbars were installed properly and are fully functional prior to## installing this mod.#### Post Install:#### Enter the ACP as Admin and navigate to "IM Portal> Blocks Management". Select your Home or Portal page## to edit. Add a new block with the Block position as "header" and select the block file "menu" then click## "Submit" to comit your changes. Your Navigation Block should now be present. If you do not see anything## in the block double check the edits to "includespage_header.php" and def_qbars.php. You can edit the ## contents of this block by navigating to "General Admin> Qbar" in the ACP. Click on "Board Navigation" ## to add, remove or edit the links. You may find further assistance with Qbars at [url=http://rpgnet.clanmckeen.com/]http://rpgnet.clanmckeen.com/[/url] .#### I would also like to note that I really can't take allot of credit for this mod other then writing it## down. I pulled all of the data from Integramod and compared to a fresh IMPortal installation. Credit ## goes to the fine people at [url=http://integrmod.com/]http://integrmod.com/[/url]. I am no coder, I can only install others work and## occasionaly pass it on. I hope this helps some people.#### Rob...################################################################## MOD History:####   2006-07-05 - Version 1.0.1##      - Removed unecessary code from edits to def_qbar.php to avoid linking to non-existant pages on some sites.##      Only common pages are now included.####   2006-07-04 - Version 1.0.0##      - Corrected edits to functions_qbars.php. Added edit for object count##      - Added lang_menu_block.php file to included files. Not sure needed but included with Integramod install##      - Added edits to subSilver.cfg to define pip.gif as nav_menu. Also added pip.gif to included files####   2006-07-01 - Version 0.9.0##      - Initial writing drawn from code on existing site using Winmerge to compare to fresh install################################################################## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD##############################################################


Download from [url=http]spodefiles.com[/url]

Support at [url=http]spodesites.net[/url]

Rob...

Mod update to version 1.0.1
A minor update to the mod to remove some information added by the edits to includes/def_qbar.php. The original added information created links in the navigation menu that may not exist on a given site depending on the other mods that may have also been installed. The install will now only create links that would be found in a standard install of phpBB2 and IMPortal. This should hopefully aviod any unnecessary confusion.

Rob...


Changed support site address due to a stolen domain. Support site now located at [url=http]spodesites.net[/url]. No changes to mod.

Rob...
Last edited by spode on Sun Mar 25, 2007 7:20 am, edited 1 time in total.
[img=left]http://spodesites.net/pub/images/spodelgbannera.gif[/img]

spode
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Joined: Mon Jul 03, 2006 5:59 am
Cash on hand: 0.00

PostAuthor: Adrian Rea » Tue Jul 04, 2006 12:45 am

Far from stepping on anyone's toes you are giving opening a positive way forward. Well done [flash=,:15d6m42y]http://integramod.com/forum/images/icon/icon14.gif[/flash:15d6m42y]

I am sure this will be useful to many.

A
Last edited by Adrian Rea on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 11:59 pm
Cash on hand: 0.00

Re: Nav Block addon for IMPortal

PostAuthor: spode » Tue Jul 04, 2006 7:16 am

Well it seems like it would be useful, I know it will be to me. :oops:

Oh, and Thanks Adrian.

Rob...
Last edited by spode on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[img=left]http://spodesites.net/pub/images/spodelgbannera.gif[/img]

spode
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Joined: Mon Jul 03, 2006 5:59 am
Cash on hand: 0.00

Re: Nav Block addon for IMPortal

PostAuthor: found it » Wed Jul 05, 2006 1:41 am

hi

I wished you had found the answer 6 months ago...lol

A real nice job it has stumped alot of us for a long time to get this to work right....


:mrgreen:
Last edited by found it on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:29 am
Cash on hand: 0.00

Re: Nav Block addon for IMPortal

PostAuthor: spode » Wed Jul 05, 2006 6:43 pm

Thanks found. :roll:

I did make a small update to the mod. As written it created some links that may not exist on some sites depending on the mods that they had already installed. I removed all of these links so only common pages remain. I hope I avoided some confusion there. <img>

Rob...
Last edited by spode on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[img=left]http://spodesites.net/pub/images/spodelgbannera.gif[/img]

spode
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Joined: Mon Jul 03, 2006 5:59 am
Cash on hand: 0.00

Re: Nav Block addon for IMPortal

PostAuthor: ALTUN » Sat Mar 24, 2007 4:28 am

Hi :xo:
Last edited by ALTUN on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

ALTUN
Newbie
Newbie
 
Posts: 11
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 2:23 am
Cash on hand: 0.00

Re: Nav Block addon for IMPortal

PostAuthor: spode » Sun Mar 25, 2007 7:25 am

No problem. Thanks for bringing this back to my attention.

Please note that I have changed the address to my support site on the first post of this topic. Support can be found at [url=http]spodesites.net[/url].

Nice to be helpful every now and again,
Rob...
Last edited by spode on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[img=left]http://spodesites.net/pub/images/spodelgbannera.gif[/img]

spode
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Joined: Mon Jul 03, 2006 5:59 am
Cash on hand: 0.00


Return to IM Portal Support Forum

Who is online

Registered users: Majestic-12 [Bot]