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)

Mythotical 03-12-2008 10:00 PM

News Management & Portal System Lite
 
Description: News Management & Portal System Lite (NMAPS) is a portal system that is completely based on news without the use of forums. Instead each news story/review story is stored in the database under its own tables. I have seen many requests for news management system and I decided to create NMAPS, then Bree took it to the next stage with v2 with all the changes and features.

The system will act as a portal or a second frontend for your site. It has many features that I'm sure everyone will enjoy.

Features:
* Portal
* Modules
* Chief Reporter Option
* Cover Story
* Top Story
* Categories
* Reporter CP for managing stories
* Phrased
* Admin Settings without using vBulletin's Options page
* Usergroup Permissions
* User Perms
* Phrased

History:
v2.0.7-2 (HOTFIX) -
* Fixed nmaps_config.php requirement in nmaps_install.php and nmaps_upgrade.php

v2.0.7-1 (HOTFIX) -
* Fixed nmaps_config.php error in ACP nmaps.php file

v2.0.7 -
* Add nmaps_config.php so NMAPS can be ran outside of forum directory
* Edited 1 phrase

v2.0.6 -
* Fixed 'Title' setting bug

v2.0.5 -
* Fixed bug with editor on edit entry page

v2.0.4 -
* Fixed WYSIWYG editor when editing an entry
* Added Arabic phrase pack
* Removed unnecessary loop

v2.0.3 -
* Allow BBCode in entries
* Added missing phrases
* Altered nmaps_pg_news_add and nmaps_pg_news_edit templates to remove hard coded file name
* Fixed left/right column display when no modules are present
* Added new phrases to replace nmaps title from being hard coded to navbits as well added new phrases for editing story, moving story, etc.
* Moderation of entries fixed
* Added missing footer template

v2.0.2 -
* Fixed security vulnerabilities
* Combined install and uninstall files into 1 file
* Fixed return value error

v2.0.1 -
* Fixed various display errors
* Added install file
* Fixed 3 database errors

v2.0 -
* Fixed database errors
* Phrased
* Added more features
* Redid code and alters modules
* Own settings page
* Category code rewrote

v1.0 -
* Initial Release

Demo: www.mfgz.co.uk/forum/nmaps.php - Thanks to dodgeuk19
http://www.mlkclan.net/forums/nmaps.php - Thanks to mmerced

Review: Meet the Geeks review of NMAPS

Installation:
Plugins: 4
File Uploads: 16
Files to Import: 1
Directories to Upload: 7

REQUIREMENTS: At least 3.7.1 or later
PHP 5 or later

Support will be given in this thread.

Enjoy and I hope to get suggestions for 2.1

NOTE: If you like this mod, please click INSTALL, it goes a long way with me.

FAQ:
  1. How do I edit the navigation links?
    • Go to your AdminCP > Styles & Templates > Style Manager > Edit Templates > Find NMAPS Templates in the list of templates > Edit nmaps_mod_nav
  2. What version of PHP/MySQL is required to use this mod?
    • Unfortunately this mod requires PHP5 or later as well as MySQL5 or later.
  3. What does Pro version have that Lite doesn't?
    • Pro has many features that Lite doesn't, right now there is no full demo of Pro and if you wish to be notified when a demo is available please PM me.
  4. When is the next version of NMAPS due to be released?
    • I try not to give an exact date as errors, sql fixes, etc could cause dates to be changed therefore I try to give more of a week or 2 weeks as I usually give an exceptional amount of time to allow for fixes and such.
  5. My editor isn't showing up when I try to add a new article, what is wrong?
    • Go to AdminCP > vBulletin Options > Message Posting Interface Options then Enable Standard & WYSIWYG Controls under Full Editor. Once done, you must reimport the product with overwrite set to 'Yes' once complete the editor will show up when adding a new article.
  6. I receive this error when accessing /admincp/ "Warning: require_once(/includes/adminfunctions_template.php) [function.require-once]: failed to open stream: No such file or directory in [path]/admincp/nmaps.php on line 22

    Fatal error: require_once() [function.require]: Failed opening required '/includes/adminfunctions_template.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')"
    • Download the file from Post #378, upload to your /admincp/ directory overwriting the existing file.
  7. Admincp and index still showing incorrectly or not at all.

Extra Notes: If you wish to translate NMAPS then I ask you translate and email me the language xml file so that I can properly get it added to the mod pack.

Languages Being Translated to:
* Chinese
* German

NOTE: I have removed the nmaps zip file until I have released the new version. Countdown till new version is at 3 days 12 hours.

News Management and Portal System ?2008 The vBCoders
Please do not redistribute or distribute modified code without my explicit permission.

Hasann 03-13-2008 01:17 AM

why it is lite? :D

Mythotical 03-13-2008 01:18 AM

Pro has even more features and you grabbed my first post spot. lmao

Hasann 03-13-2008 01:23 AM

I am getting this error it is seems to be you didn't create "nmaps_settings" table on install code

Database error in vBulletin 3.7.0 Beta 3:

Invalid SQL:
CREATE TABLE `nmaps_settings` (
`varname` varchar(100) NOT NULL,
`set_value` varchar(25) NOT NULL,
PRIMARY KEY (`varname`)
) ENGINE=MyISAM DEFAULT;;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5
Error Number : 1064
Date : Thursday, March 13th 2008 @ 03:22:23 AM
Script : http://localhost/forum/admincp/apm_p...=productimport
Referrer : http://localhost/forum/admincp/apm_p...?do=productadd
IP Address : 127.0.0.1
Username : Hasann
Classname : vB_Database
MySQL Version : 5.0.27-community-log

Mythotical 03-13-2008 01:29 AM

This should fix the issue, this is untested but I'm sure it will fix the issue.

BTW, that is not a missing table error, that is a syntax error on install. :D

kevinfx 03-13-2008 02:58 AM

only works with beta 5? not 3.7x?
any demo link available?

thanks

joeycano 03-13-2008 03:37 AM

Also got error:

Invalid SQL:
CREATE TABLE `vb_nmaps_settings` (
`varname` varchar(100) NOT NULL,
`set_value` varchar(25) NOT NULL,
PRIMARY KEY (`varname`)
) ENGINE=MyISAM DEFAULT;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5
Error Number : 1064

:(

Also, I tried installing the fix above

Cybertims 03-13-2008 07:57 AM

Still the same error after the fix......

katilkuzu 03-13-2008 08:32 AM

the erros is still going on? if everything will be in order i wll install

codershark 03-13-2008 08:54 AM

I get also Database Error !

Quote:

Database error in vBulletin 3.7.0 Beta 6:

Invalid SQL:
CREATE TABLE `nmaps_settings` (
`varname` varchar(100) NOT NULL,
`set_value` varchar(25) NOT NULL,
PRIMARY KEY (`varname`)
) ENGINE=MyISAM DEFAULT;

MySQL Error : Fehler in der SQL-Syntax. Bitte die korrekte Syntax im Handbuch nachschlagen bei '' in Zeile 5
Error Number : 1064


All times are GMT. The time now is 06:17 AM.

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.03591 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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