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)

fragumz.com 04-15-2008 12:00 AM

Quote:

Originally Posted by joeycano (Post 1463501)
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


Try this:


PHP Code:

CREATE TABLE `vb_nmaps_settings` (
`
varnamevarchar(100NOT NULL,
`
set_valuevarchar(25NOT NULL,
PRIMARY KEY (`varname`)
); 

This should fix the sql problem. If not, PM me and I will recheck.:D

Mythotical 04-15-2008 12:49 AM

Oops, forgot about ENGINE=MyISAM DEFAULT, I try to get rid of it before releasing code. My bad. Thanks fragumz.com

dcw 04-16-2008 06:31 AM

So how do I add an artical? I have it installed but I can't post nothing in it...

Mythotical 04-16-2008 05:07 PM

You have to set yourself as a reporter through the user section of your admincp.

trigon 04-16-2008 06:02 PM

In the nmaps Setting we can change if the Chief Avatar is shown or not.
But where is the avatar? Cause my isnt shown there.
Quote:

Image preferences->
Display the cheif's avatar?
Yes No

dcw 04-16-2008 06:17 PM

Oh thanks, that would help right lol...

What is the links in the navigation do? Can we use them for what we want? if so how do we change them?

Mythotical 04-16-2008 09:14 PM

dcw: The navigation links are controlled via a template.

trigon: You must make sure the avatar is actually selected from your gallery and not a custom uploaded avatar, that feature is not working fully, only gallery avatars will work.

gbcompro 04-19-2008 10:45 AM

which folder on your sever do you upload the files ?

trigon 04-19-2008 12:12 PM

Quote:

Originally Posted by Steve M (Post 1492493)
dcw: The navigation links are controlled via a template.

trigon: You must make sure the avatar is actually selected from your gallery and not a custom uploaded avatar, that feature is not working fully, only gallery avatars will work.

Ok, works. Another Quest: How can i modifiy/delete News?

Mythotical 04-19-2008 11:17 PM

gbcompro: What files? NMAPS files goes to your root directory, avatars are housed however your options are setup via admincp.

Trigon: As a reporter you have a specific section you can manage news or you can manage it through the admincp.


All times are GMT. The time now is 04:27 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.01399 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (3)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