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.

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

Quote:

Originally Posted by Ultimative (Post 1237088)
Anyway to display the latest news on a different page other than the news pages. Such as a custom page or forumhome?

Only in vBadvanced pages for now and later in any PHP page. But both are commercial blocks.

bazzup 04-29-2007 12:20 PM

Quote:

Originally Posted by MicroHellas (Post 1237464)
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.


Thanks maria,

I uninstalled deleted and reuploaded all of it i am still getting the same db error so maybe this is just not for me



regards


bazz

tuslic 04-29-2007 04:00 PM

can i upload mp3, zip, rar, files to this and have them on the main page?

MaryTheG(r)eek 04-29-2007 04:14 PM

Quote:

Originally Posted by bazzup (Post 1237576)
Thanks maria,

I uninstalled deleted and reuploaded all of it i am still getting the same db error so maybe this is just not for me



regards


bazz

Could you please tell me your MySQL version?

MaryTheG(r)eek 04-29-2007 04:16 PM

Quote:

Originally Posted by tuslic (Post 1237657)
can i upload mp3, zip, rar, files to this and have them on the main page?

mp3 yes, zip,rar and pdf should be on next version (in around 2 weeks).
And yes, you can use it as index page if you want. Just rename vbnews.php to index.php and modify paths and URLs.

bazzup 04-29-2007 05:16 PM

Quote:

Originally Posted by MicroHellas (Post 1237664)
Could you please tell me your MySQL version?

MySQL Version 4.1.21

bazz

tuslic 04-29-2007 05:24 PM

Quote:

Originally Posted by MicroHellas (Post 1237667)
mp3 yes, zip,rar and pdf should be on next version (in around 2 weeks).
And yes, you can use it as index page if you want. Just rename vbnews.php to index.php and modify paths and URLs.

what I'm saying is can the mp3s and files could they be placed on the index page kinda like the in the deck section is at www.raptalk.net

hyony 04-30-2007 05:19 AM

Quote:

For Important News: Sorry you can't. It's a combination of code and template modifications.
It would be much appriciated for many people if you can modify the default code & make them to show at least 6 (i would recommend 9) for this option because 3 will show very little for the news page.

For people with the commercial version, will you going to help modify the code ?

A few suggestions for update:
- Show the date of the article posted in the article's viewing area and next to the article when listing in each category. (recommend under the short description.
- Always Listed newer articles first in the category so new posted article would show on the first page when listing.
- When clicking the category menu in the main page, it shows the sub-category under the main category instead of going to a new page & hide all the categories in the mainpage. And also, when you click to change the category on the mainpage, it would hide all other sub-categories and show only the current one. This category menu should show on every page. This would be very helpful for readers to keep tracks and changing between categories faster & easier.

MaryTheG(r)eek 04-30-2007 05:32 AM

Quote:

Originally Posted by hyony (Post 1238019)
It would be much appriciated for many people if you can modify the default code & make them to show at least 6 (i would recommend 9) for this option because 3 will show very little for the news page.

Next version (Free & Commercial, will have all these values configurable. Especially for important news, will be configurable on how many news per row, for those who have a wide central block.

Quote:

Originally Posted by hyony (Post 1238019)
For people with the commercial version, will you going to help modify the code ?

I'm not using "tricks" to get sales. As I wrote above this update will be available to both version.


A few suggestions for update:
Quote:

Originally Posted by hyony (Post 1238019)
- Show the date of the article posted in the article's viewing area and next to the article when listing in each category. (recommend under the short description.

Already exists in commercial update. Free update has a bit delay.

Quote:

Originally Posted by hyony (Post 1238019)
- Always Listed newer articles first in the category so new posted article would show on the first page when listing.

Same as above. ALready exists, and is configurable by admin. Dont forger that someone may wants to show them oldest first.


Quote:

Originally Posted by hyony (Post 1238019)
- When clicking the category menu in the main page, it shows the sub-category under the main category instead of going to a new page & hide all the categories in the mainpage.

Or I didn't got the meaning, or you didn't seen them well. When you click a category, the menu changed showing all subcategories and ALL content of the page are changing according to that category.

Quote:

Originally Posted by hyony (Post 1238019)
when you click to change the category on the mainpage, it would hide all other sub-categories and show only the current one. This category menu should show on every page. This would be very helpful for readers to keep tracks and changing between categories faster & easier.

I'm not sure if I got your meaning... sorry for it. But what for sure I know, is that headers are changing like: category... subcategory... article title.

hyony 04-30-2007 08:26 PM

Thank you so much for your replying

What i mean is that. On the left side menu where it lists categories:

Quote:

Left side Category Navigation

Main Category 1
Main Category 2
Main Category 3
Main Category 4
Main Category 5
Main Category 6

When you click on the Category 1 Link, it will show the sub-category like this:
Quote:

Left side Category Navigation

Main Category 1
Sub-category 1
Sub-category 2
Sub-category 3
Sub-category 4
Main Category 2
Main Category 3
Main Category 4
Main Category 5
Main Category 6

And it shows the articles' contained in that category & its sub-cat in the center & right blocks like the current version in stead of going to the new page which contain only the sub-categories & a link back to the mainpage.

Also When you click on Main Category 2, it will hide the sub-cat of Category 1 and show only Main Category 2's sub-categories like below
Quote:

Left side Category Navigation

Main Category 1
Main Category 2
Sub-category 1
Sub-category 2
Sub-category 3
Sub-category 4
Main Category 3
Main Category 4
Main Category 5
Main Category 6


This category menu should shows on every page to make readers selecting and going between category easier & faster.

I hope this would make you getting a little on what i'm trying to say !!

Nova99 04-30-2007 08:32 PM

Testing this one now, and so far it looks interesting.. :)
But I just wondered if it's possible to increase members post count when they post articles and comments on them??
(haven't read through all pages of this thread, so sorry if this has been answered before)...

bazzup 04-30-2007 08:38 PM

Quote:

Originally Posted by MicroHellas (Post 1237664)
Could you please tell me your MySQL version?

Quote:

Originally Posted by bazzup (Post 1237689)
MySQL Version 4.1.21

bazz


is this version ok for this addon?

TheJackal56 05-02-2007 08:42 PM

Testing using a fixed style and have a couple of issues:

I am using 3.6.5.

1. The box for:
a. member menu
b. Author
c. Features
d. options
does not really use the default theme format.

2. When adding an article the edit article box exceeds the limit of the forum, in other words it sticks out to the right.
3. When viewing an existing news post it exceeds way to the right, actually, almost the entire post is out of the theme area.
The author box and features box take up the entire theme area.

tuslic 05-03-2007 03:23 AM

can you set this mod where only a select group of people can post articles like a staff

Stilgar 05-03-2007 08:01 PM

Quote:

Originally Posted by tuslic (Post 1240325)
can you set this mod where only a select group of people can post articles like a staff


Yes you can. That's what I am doing and it works well.

tuslic 05-04-2007 01:50 AM

Quote:

Originally Posted by tuslic (Post 1237691)
what I'm saying is can the mp3s and files could they be placed on the index page kinda like the in the deck section is at www.raptalk.net

bump

Bacon Butty 05-08-2007 12:53 PM

Delighted to see it now supports RSS, going to try free version first though and if it looks good, will upgrade.

But first things first, I am getting this error;

Quote:

Warning: main(vbnews/includes/functions.php) [function.main]: failed to open stream: No such file or directory in /home/dannyabl/public_html/vbnews.php on line 84

Fatal error: main() [function.require]: Failed opening required 'vbnews/includes/functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dannyabl/public_html/vbnews.php on line 84
Can anyone tell me were I have went wrong?

MaryTheG(r)eek 05-08-2007 02:04 PM

Quote:

Originally Posted by Bacon Butty (Post 1243637)
Delighted to see it now supports RSS, going to try free version first though and if it looks good, will upgrade.

But first things first, I am getting this error;



Can anyone tell me were I have went wrong?

Are you sure that you've upload functions.php at vbnews/includes/ and not in your_forums/includes ???
Also have you kept the structure as it's on the zip file?.

Nimrod. 05-08-2007 02:14 PM

I really like this idea and can use it, but where does it get it's news source from? Can we pick and choose? The reason Im asking is because I run a gaming site and I would like the latest news coming from Microsoft, Sony, Nintendo and so on.

Bacon Butty 05-09-2007 12:23 PM

Quote:

Originally Posted by MicroHellas (Post 1243673)
Are you sure that you've upload functions.php at vbnews/includes/ and not in your_forums/includes ???
Also have you kept the structure as it's on the zip file?.

Thinking it was obvious, I was going to say yes without checking but I thought i'd be safe an check, and you were correct, that was the problem. I had the structure wrong.

Thanks for the swift help.

Any chance anyone could help me achieve what the following screenshot shows? Basically I just want to change the order the news is displayed.

http://img120.imageshack.us/img120/6...eenshoted3.jpg

Also, because of this and rather importantly, my breaking news block isnt updating when i add new breaking news. instead the old one stays there and the new one is archived which is because of the order which news is displayed when new articles are added.

Would be really appreciated if anyone could help, once I get this sorted I will then look to purchase the commericial version for RSS.

MaryTheG(r)eek 05-09-2007 01:57 PM

[quote=Bacon Butty;1244321]Any chance anyone could help me achieve what the following screenshot shows? Basically I just want to change the order the news is displayed.
Also, because of this and rather importantly, my breaking news block isnt updating when i add new breaking news. instead the old one stays there and the new one is archived which is because of the order which news is displayed when new articles are added.
[quote]

That's strange. I'm sure that I've update function.php in zipfile. Please open with a text editor functions.php (vbnews/includes).

For Breaking news goto line 193. Should say:
WHERE $where ORDER BY publisheddate DESC LIMIT 1");
If says "ASC" instead "DESC" please change it

For Important news goto line 224. If says ASC please change to DESC.

Do the same for Editor's choice (line 261) and video news (line 331).

If in all, you find (as I believe to) DESC, then check the post date of your articles. Something is going wrong there.

Maria

Bacon Butty 05-09-2007 02:12 PM

Thanks for the help again Maria.

As you said, they were all DESC and not ASC.

When I set older news to a day prior with the post date, it works... and the latest news is displayed at the top. However, news posted on the same day is still going backwards, maybe an idea to include a time as well as a date? Because at the moment, if theres 2 breaking news on the same day, I will have to set the first breaking news as a day earlier than it actually was in order to display the latest breaking news...

mccollin 05-10-2007 02:09 AM

I thought I'd give this a whirl and so far nothing. I installed it according to the instructions. I named vbnews.php to news.php and put it in the web root directory. When I call it, I get a plain white page with nothing on it. I did go into AdminCP and create a category, and assigned a forum, and I turned on all the functions in the admin usergroup for vbNews. Any ideas what I may have missed?

MaryTheG(r)eek 05-10-2007 02:46 AM

Quote:

Originally Posted by mccollin (Post 1244738)
I thought I'd give this a whirl and so far nothing. I installed it according to the instructions. I named vbnews.php to news.php and put it in the web root directory. When I call it, I get a plain white page with nothing on it. I did go into AdminCP and create a category, and assigned a forum, and I turned on all the functions in the admin usergroup for vbNews. Any ideas what I may have missed?

Have you setup all paths and URLs in news.php file?

Nimrod. 05-10-2007 07:36 PM

Quote:

Originally Posted by Nimrod. (Post 1243679)
I really like this idea and can use it, but where does it get it's news source from? Can we pick and choose? The reason Im asking is because I run a gaming site and I would like the latest news coming from Microsoft, Sony, Nintendo and so on.

My post may have been overlooked, but I was still wondering about this...

mccollin 05-10-2007 07:42 PM

Quote:

Originally Posted by MicroHellas (Post 1244746)
Have you setup all paths and URLs in news.php file?

Thanks for the reply. I did setup the paths/urls according to the instructions prior to my test. Subsequent to posting the problem, I took a search through your site and then through this thread and have since decided to remove vBnews. I found tons of problems navigating around your site and then with the reports here of problems, and your response to them... this one I'll pass on. Hopefully it will work out for others.

MaryTheG(r)eek 05-11-2007 03:01 AM

Quote:

Originally Posted by mccollin (Post 1245157)
Thanks for the reply. I did setup the paths/urls according to the instructions prior to my test. Subsequent to posting the problem, I took a search through your site and then through this thread and have since decided to remove vBnews. I found tons of problems navigating around your site and then with the reports here of problems, and your response to them... this one I'll pass on. Hopefully it will work out for others.

If you've seen in my index page, it says with big letters that my site is under reconstruction so many links don't works. And this has nothing to do with paths in vbnews which working fine in 99% of installations. Rest 1% is for those who have setup wrong paths.

Nova99 05-12-2007 11:15 AM

Quote:

Originally Posted by Nova99 (Post 1238474)
But I just wondered if it's possible to increase members post count when they post articles and comments on them??
(haven't read through all pages of this thread, so sorry if this has been answered before)...

Any comments on this suggestion MicroHellas? :)
Many members do really care about their post count, so this would be a nice addition..

MaryTheG(r)eek 05-12-2007 01:45 PM

Quote:

Originally Posted by Nova99 (Post 1246150)
Any comments on this suggestion MicroHellas? :)
Many members do really care about their post count, so this would be a nice addition..

Maybe after 1-2 months. Sorry, but I'm very busy right now. I already released a new commercial version, so I don't think that it can be done earlier than the end of June.

Adam21 05-20-2007 02:19 PM

I'm getting a Javascript object error in the vbnews.php page.any idea what went wrong?


All times are GMT. The time now is 10:03 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.03336 seconds
  • Memory Usage 1,865KB
  • 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
  • (35)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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