vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - vbNews by Mary (https://vborg.vbsupport.ru/showthread.php?t=144166)

Rican 04-25-2007 05:21 PM

Yes its my registered domain where the forum is. The url and paths are correct in the vbnews.php. Its a long domain name so I'm wondering if it might be cutting it off somehow, only thing i can think of...

MaryTheG(r)eek 04-25-2007 05:26 PM

Quote:

Originally Posted by Rican (Post 1235347)
Yes its my registered domain where the forum is. The url and paths are correct in the vbnews.php. Its a long domain name so I'm wondering if it might be cutting it off somehow, only thing i can think of...

I'll check it with clear mind tomorrow morning as I'm already 16h online. Please PM any useful information (URL, testing account).

Maria

Rican 04-27-2007 01:46 AM

Any word on this? :)

hyony 04-28-2007 06:47 AM

Are there any ways to display more articles under the important news , editor's choice & video news , and also under the breaking features.... The default would show only three under each one on the main page !!!!

Someone help me please

MaryTheG(r)eek 04-28-2007 07:19 AM

Quote:

Originally Posted by hyony (Post 1236881)
Are there any ways to display more articles under the important news , editor's choice & video news , and also under the breaking features.... The default would show only three under each one on the main page !!!!

Someone help me please

With a text editor (like notepad) open file: vbnews/includes/functions.php

For Breaking News:
At line 193: Change: LIMIT 1 to LIMIT 2 or LIMIT 3 depending on how many articles you want to show.

For Editors' Choice:
At line 261: On the same way as above change the number after LIMIT

For Video Articles:
At line 331: Same action as above

For Important News: Sorry you can't. It's a combination of code and template modifications.

bazzup 04-28-2007 07:27 AM

I cant get this working at all the templates are there but when i try making an article i just get an error

Fatal error: Class 'rich_lang' not found in /home/********/public_html/forum/vbnews/editor/class.rich.php on line 1181

MaryTheG(r)eek 04-28-2007 07:38 AM

Quote:

Originally Posted by bazzup (Post 1236888)
I cant get this working at all the templates are there but when i try making an article i just get an error

Fatal error: Class 'rich_lang' not found in /home/********/public_html/forum/vbnews/editor/class.rich.php on line 1181

Check if in directory:
vbnews/editor/rich_files/lang/
there are the files: class.rich_lang.php and rich_lang_en.inc.php

bazzup 04-28-2007 08:49 AM

Quote:

Originally Posted by MicroHellas (Post 1236891)
Check if in directory:
vbnews/editor/rich_files/lang/
there are the files: class.rich_lang.php and rich_lang_en.inc.php

Checked it was there but class.rich_lang.php was 0kb over written that but now i get a db error

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT userid FROM user
WHERE userid=1 AND (usergroupid= OR FIND_IN_SET('', membergroupids));

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 'OR FIND_IN_SET('', membergroupids))' at line 2
Error Number : 1064
Date : Saturday, April 28th 2007 @ 09:46:24 AM

Ultimative 04-28-2007 02:58 PM

Anyway to display the latest news on a different page other than the news pages. Such as a custom page or forumhome?

MaryTheG(r)eek 04-29-2007 08:03 AM

Quote:

Originally Posted by bazzup (Post 1236910)
Checked it was there but class.rich_lang.php was 0kb over written that but now i get a db error

Seems that your server has a slow-down during uploading the files. My advice is to uninstall vbNews and make a fresh installation. Most probably you'll not meet the database error again.


All times are GMT. The time now is 12:22 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.01329 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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