vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - News Management & Portal System Lite (https://vborg.vbsupport.ru/showthread.php?t=172867)

ade5675 07-26-2008 06:00 PM

I figured it out and want to share the solution to all. I worked for me and I hope to does for others. They are all typo issues as discussed. Once corrected, you're good to go assuming you are using the nmaps file in the link below.
https://vborg.vbsupport.ru/showpost....&postcount=378

Hope it helps.


- Edit the nmaps file in the admincp
- look at line 161 (in the section - EDIT CATEGORIES INDEX )
- Change the last word from eval($?ook) to eval($hook)
- Go to line 245 (in the section - DISPLAYS INACTIVE MODULES IF THERE ARE ANY)
- take out the '?' at the beginning of the line.
- Save
- Back up your database
- Uninstall and reinstall nmaps.
- Upload your backup database (if you have articles/news before)


Line 161
Look for this
PHP Code:

 ($hook vBulletinHook::fetch_hook('nmaps_admin_edit_cat_start')) ? eval($?ook) : false

Change to this
PHP Code:

 ($hook vBulletinHook::fetch_hook('nmaps_admin_edit_cat_start')) ? eval($hook) : false



Line 245
Look for this
PHP Code:

?                        $cell[0] = $modtitle

Take out the ?
PHP Code:

 $cell[0] = $modtitle


oz_girl 07-27-2008 12:46 AM

reserved for when all bugs are fixed :)

paulvev 07-27-2008 06:43 PM

Me too. Reserved for when its actually ready.
Too many bugs in this thread for me to commit. However, when its ready to go...this is going to be one awesome popular mod! VBulletin needs something like this!

Mythotical 07-28-2008 07:09 PM

For future reference, its not too many bugs, its a fact I left my laptop in the middle of typing and my youngest daughter typed on it and I didn't realize it. So that was my fault. Other than those typos this mod works 100%. But right now I'm swamped with work, getting ready for a promotion at work so my time online is limited. I am taking a vacation from work Aug. 8th so I expect to have released a new version by then.

Mythotical 07-28-2008 07:12 PM

Ok I have updated the faq from the original post to reflect those that have provided fixes or uploaded files. I do apologize heavily for the delay in releasing the new version but getting a promotion at work is something I have been working towards for the past year.

Thanks for your patience.

ade5675 07-28-2008 10:42 PM

Quote:

Originally Posted by Steve M (Post 1586171)
For future reference, its not too many bugs, its a fact I left my laptop in the middle of typing and my youngest daughter typed on it and I didn't realize it. So that was my fault. Other than those typos this mod works 100%. But right now I'm swamped with work, getting ready for a promotion at work so my time online is limited. I am taking a vacation from work Aug. 8th so I expect to have released a new version by then.


You are doing an excellent job here. This mod is great and we all appreciate the good job you are doing. Keep it up :up:

MartynL 07-29-2008 05:50 AM

I get this error

Warning: main() [function.main]: open_basedir restriction in effect. File(/includes/adminfunctions_template.php) is not within the allowed path(s): (/home/diablo:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in [path]/admincp/nmaps.php on line 22

Warning: main(/includes/adminfunctions_template.php) [function.main]: failed to open stream: Operation not permitted in [path]/admincp/nmaps.php on line 22

Fatal error: main() [function.require]: Failed opening required '/includes/adminfunctions_template.php' (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/diablo/public_html/premiershipchat.net/admincp/nmaps.php on line 22

Mythotical 07-29-2008 02:52 PM

MartynL: You have open_basedir restriction, if you are on a VPS or Dedicated Server, you need to open your php.ini file and turn that off otherwise you need to contact your host regarding turning off open_basedir restriction.

ade: Thanks, hopefully with this new release everyone will be excited.

dbigras 07-30-2008 03:13 AM

Man, this is a complicated mod to install..

When I try to go in Manage Modules, I get this error:

Warning: mysql_query() [function.mysql-query]: Access denied for user 'user'@'localhost' (using password: NO) in [path]/admincp/nmaps.php on line 229

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/admincp/nmaps.php on line 229

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/admincp/nmaps.php on line 230

The installation went well. The tables are created. I can modify settings and categories, but not modules.

Also, when I try to launch nmaps.php from a browser, I get a permission denied from Vbulletin. Maybe it's because I didn't modify any modules?

Also, are there any options in VBulletin Options or just in the NMAPS menu?

Thanks for helping.

Virulent1 07-30-2008 07:39 PM

I uninstalled it, and its still showing up in the AdminCP, and I am getting sql errors when trying to switch a user from a moderator to banned? How do I fix this/remove the script completely?


All times are GMT. The time now is 01:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01629 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete