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

Mythotical 03-13-2008 05:42 PM

Eek, ok I'll have to completely redo the install code.

This has only been tested on 3.7 Beta 5, if anyone wish to install and test on other versions after the fixes then great.

Cornie 03-13-2008 06:02 PM

Database error in vBulletin 3.7.0 Beta 5 :confused:

CallieJo 03-13-2008 07:22 PM

Looks interesting. I see alot of potential here.
Thanks for sharing this. (I have not tried to install yet..hence not clicked installed)

I have a few q's:
  1. Can we see an actual working demo? (screenshots are never enough for me..lol.)
  2. Is there a pro version? (since this says lite..if so, what's the difference?)
  3. Can we move forum threads to this system? (you say the news is stored in it's own table)
  4. Can people search articles using vb's search functionality? Or is it a separate search?
  5. Is this similar to vbcover? (I ask because I like vbcover but will never buy since it's encrypted)

Phlex 03-13-2008 07:54 PM

great !
It would be great if the users were able to comment on news in the forum (a thread is automatically generated and on the button of the news page is a link to it )

Bree 03-14-2008 12:49 AM

Quote:

Originally Posted by CallieJo2 (Post 1464056)
Looks interesting. I see alot of potential here.
Thanks for sharing this. (I have not tried to install yet..hence not clicked installed)

I have a few q's:
  1. Can we see an actual working demo? (screenshots are never enough for me..lol.)
  2. Is there a pro version? (since this says lite..if so, what's the difference?)
  3. Can we move forum threads to this system? (you say the news is stored in it's own table)
  4. Can people search articles using vb's search functionality? Or is it a separate search?
  5. Is this similar to vbcover? (I ask because I like vbcover but will never buy since it's encrypted)

I will be opening up NMAPS on my live site very soon... will send the link once that is done... Me and Chief Reporter are still getting our thoughts together on how we want this to work on our site =0)

The Pro version is in the works... NMAPS Lite was built first and once it's outta Beta, the Pro version will be in heavy development... Pro offers many more features such as Commenting System.. Reporter Applications... Advanced Category Permissions, just to name a few...

No at this point, can't move forum threads into this system... Good idea tho! Will talk to Steve about adding this feature =0)

And I have no clue what vbcover is so I can't answer that question *blush*

Quote:

Originally Posted by Phlex (Post 1464082)
great !
It would be great if the users were able to comment on news in the forum (a thread is automatically generated and on the button of the news page is a link to it )

Commenting capabilities will be introduced with the Pro version *coming soon*


Now to go look at Steve's install code..........

madotds 03-14-2008 03:49 PM

Sorry to jump on the band wagon but I too get the same errors on install! :( But I look forward to trying it once sorted. :)

wicked80 03-14-2008 04:03 PM

Tested on 3.7 beta 5, same database errors as others :(

spitb19 03-14-2008 07:13 PM

Tested on 3.7 beta 6, same database errors as others :(:(:(

Mythotical 03-15-2008 12:47 AM

Hrm, not sure whats up, Bree called me last night and informed me she would have the new product xml done and posted so everyone could test. I will talk with her to see if she got it done, if not I will get that done tonight then we can get everyone squared away. This truly is not beta, just a mistake on my part but I think placing it in Beta for now will do justice to make sure we get kinks worked out.

Cheers
Steve

Mythotical 03-15-2008 04:04 AM

Removed the xml file from this post until an install script is created.

Ok here is the product file, I have also re-uploaded the zip file containing the new product file.

Live Site: http://www.thevbcoders.com/nmaps.php (Currently its showing fake inserts and such to give you a look at how it displays and such.)

News from threads to NMAPS: I am thinking of an import script to do just that. :D Thanks for the suggestion.

joeycano 03-15-2008 05:25 AM

Here is the error:

Database error in vBulletin 3.7.0 Beta 6:

Invalid SQL:

CREATE TABLE vb_nmaps_settings (
`varname` varchar(100) NOT NULL,
`set_value` varchar(25) NOT NULL,
PRIMARY KEY (`varname`)
);

MySQL Error : Table 'vb_nmaps_settings' already exists
Error Number : 1050
Date : Saturday, March 15th 2008 @ 01:24:06 AM

Also could not enter the demo page on your site. It indicates I do not have permission to access the page.

Cornie 03-15-2008 06:09 AM

I have Error by install the new xml

Quote:

Fatal error: Call to undefined function: query_write() in /srv/www/vhosts/xxxxxxxxxx.de/httpdocs/forum/admincp/plugin.php(1970) : eval()'d code on line 61

Mythotical 03-15-2008 07:02 AM

Joeycano: That error just states you already have the table installed, you need to manually remove any table that has nmaps_ in front of it from your database then reimport, that will work.

Cornie: That error is not from the install, that is an error from the plugin updating the user database. I've attached a product file to fix the issue.

Mythotical 03-15-2008 07:05 AM

Updated permissions for demo link, can now be viewed by guests.

Cybertims 03-15-2008 08:20 AM

Quote:

Originally Posted by Steve M (Post 1465187)
Joeycano: That error just states you already have the table installed, you need to manually remove any table that has nmaps_ in front of it from your database then reimport, that will work.

Cornie: That error is not from the install, that is an error from the plugin updating the user database. I've attached a product file to fix the issue.

Still errors, I am gonna wait a while on this as it's messing things up big time, adding a table here or there but never completing, then I have to keep going in and editing the database.

Sorry bud but maybe test it first before releasing as this could really screw up someone's board.

Cheers

Cornie 03-15-2008 09:17 AM

I give it up. Each time an error message comes

joeycano 03-15-2008 03:00 PM

Does not work for me

synn 03-15-2008 03:36 PM

Quote:

Originally Posted by Steve M (Post 1465188)
Updated permissions for demo link, can now be viewed by guests.

Noticed on demo that when clicking a headline under the category it goes to a blank page. However, clicking the headline on the right menu brings up the article.

Waiting to install.

Mythotical 03-15-2008 05:40 PM

Ok I am removing the zip file, gonna do an installation file instead of using install code through the product itself.

Mythotical 03-15-2008 05:45 PM

Also, the mod will be re-released for 3.6.x as 3.7 install is causing too many problems, until 3.7 goes gold or at least RC, I am suspending development of NMAPS for 3.7 till after that.

Mythotical 03-15-2008 06:25 PM

Demo site has been updated, please try the demo again. Not sure where the problem was but links work for me perfectly after updating.

Mythotical 03-17-2008 04:25 AM

I have just did the uninstall file. Please use this if you have installed v2.0 Lite. I have also added these same instructions and zip file to original post.

UNINSTALLATION INSTRUCTIONS:
These instructions are for those who installed v2.0 Lite, when we bring NMAPS back it will be 2.1.

1. Extract contents of NMAPS v2.0 Uninstall.zip to your local harddrive
2. Upload contents to appropriate folders
3. Browse to http://www.yourdomain.com/admincp/nmaps_uninstall.php
4. Follow instructions
5. Done you have removed all aspects of NMAPS v2.0 Lite

therogueforums 03-20-2008 05:04 AM

I eagerly await the new release! I've been drooling over this since I saw it a week or so ago.

Mythotical 03-20-2008 05:06 PM

TRF: LOL, thanks, I expect to be releasing again tomorrow evening.

HaYLaZ 03-20-2008 06:04 PM

It seems very useful with my style lol:D

Mythotical 03-22-2008 04:38 AM

LOL, yes I love your style Haylaz, it goes perfect on 2 of my sites I have.

madotds 03-22-2008 02:02 PM

Madotds waits with great anticipation!!!! :) Any update on when we may see this?

snunhuck 03-22-2008 02:55 PM

Where do I download it? The only download files I can see is the uninstall...

EDIT: Just saw this:
Quote:

NOTE: Removed zip file to add an install file. Will re-release for 3.6.8 only that way there is a guarantee it will work on 3.6.x as well as 3.7
:D

Mythotical 03-22-2008 06:14 PM

UPDATE: Install file is created, I sent it off to be tested, I should know something by tonight whether its a green light to put up the zip or more work is needed. Other than that, I'm expecting it to be released tonight, early tomorrow.

snunhuck 03-22-2008 06:31 PM

Thanks, you are a star, you saved me a lot of hassle by this mod.


All times are GMT. The time now is 06:16 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.01661 seconds
  • Memory Usage 1,835KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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