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)

MaryTheG(r)eek 05-20-2007 02:53 PM

Quote:

Originally Posted by Adam21 (Post 1251435)
I'm getting a Javascript object error in the vbnews.php page.any idea what went wrong?

Please give me more details. What this error message is saying?

Adam21 05-20-2007 09:52 PM

Quote:

Originally Posted by MicroHellas (Post 1251449)
Please give me more details. What this error message is saying?

Line:50
Char:1
'errror.document.forms.author' is not null or object
Code:0
Url:www.xxxxxxxx.com/vbnews.php

*Forgot to add that this happens when i edit the options under the Articles Features and click set.Then the Javascript error comes out.Hope this helps.

And 1 more thing i'm unsure of is what is the function of that select usergroup option under the Edit Categories in my Admincp?

Thanks for your attention,Maria. :)

pipin 05-23-2007 06:16 AM

Installling it according to the instructions (at least three times to chek) i'm still getting that error:

Code:

Warnung: require_once(/includes/functions.php) [function.require-once]: failed to open stream: No such file or directory in /apache/subs/test/htdocs/vbnews/vbnews.php (Zeile 84)

Fatal error:  require_once() [function.require]: Failed opening required '/includes/functions.php' (include_path='.:/usr/share/php5:/usr/share/php') in /apache/subs/test/htdocs/vbnews/vbnews.php on line 84

Using PHP 5.2

wattieuk 05-23-2007 12:01 PM

This shows a lot of promise but when I tried it on my forum the graphics were all out of sync so I uninstalled. Hope others have more luck as it is an excellent idea.

donatas 05-25-2007 12:51 PM

can via vbnews somehow replace forumhome ? (now forum home my root dir on forums)

Highendfreak 05-26-2007 06:44 AM

Hi,

at first I have to say: Nice mod...^^

But I have one problem. I can´t post important or editor´s choice news. I can only post video news, how can I fix it? Thx

pcoskat 05-28-2007 05:53 PM

WOW, I'm loving this, and if it works the way I hope it does, I plan on purchasing 2 instances of the commercial version for my upcoming sites.

Questions:

- How is vBNews different from vB Articles?

- I would be interested in using vbNews as my index page, as you have it here: http://www.madebymary.com/vbnews.php , would it be possible to also display information from the forums on the index page (ie: recent posts)

- I'm unclear about how the navigation in the upper left corner works. Is it auto-generated by the categories, or is the navigation manually designated?

- Can an article be posted (automatically) in more than one category?

- I see a search box for 'key words'. Are these added by the author at the time they write the article? Do they appear anywhere at the end or beginning of the article? Are they 'clickable' (in other words, assuming the keywords appear within an article, can a user click on the key word and then see a list of articles with that keyword?)

- Will the DIGG mod work with vBNews?

- How specific are the author permissions?
Ideally, I would like to restrict posting of articles to one user group. Within that group, authors would only be able to edit their own articles. Is that possible?

- When, oh when, will your "club" mod be completed?? It sounds awesome!

But in the meantime, I cannot tell you how happy I am to find vBNews. Simply Brilliant!

redskins_43 06-15-2007 11:48 AM

I am curious on the same question. I am going to be running a site where users submit their news/articles and need just one interface.

Also, I have an area that is completely separate mod that asks the member whether to submit an Request for Proposal or a Job. Can either of these modules be used for that?

So in essence, can I use either vbNews or vbArticles to do the following:

Post News or Articles
Post a Job
Post a Request for Proposal

I would really appreciate your advice since I am about to finalize my site and this is for a very big industry.

Thank you for your hard work. Your mods look great!

I look forward to hearing from you.

Joe

Here is my website: www.fiduciaryforums.org, please see this section:

http://www.fiduciaryforums.org/forums/listings.php

MaryTheG(r)eek 06-15-2007 02:54 PM

Quote:

Originally Posted by pcoskat (Post 1256344)
- How is vBNews different from vB Articles?

There are lot differencies between them. vbArticles is more specific for Reviews (maybe I need to change the name to vbReviews), while vbNews is specific to news publishing. To make it more clear. Even if vbNews also supports Rating this rating is goes to Article while in vbArticles is goes to Article AND Author. So a Member who has posts more artilces get rating the average rating of all his articles.

Except this point that vbArticles comes better, vbNews has much more other features like (maybe I'm forgetting some):
  • Supports subcategories
  • Supports chapters ideal for long articles, books, tutorials
  • Supports attachments (pdf, zip)
Quote:

Originally Posted by pcoskat (Post 1256344)
- I would be interested in using vbNews as my index page, as you have it here: http://www.madebymary.com/vbnews.php , would it be possible to also display information from the forums on the index page (ie: recent posts)

Only with custom work, but believe me if you're a bit familiar with PHP and Templates you can display anything you like there.


Quote:

Originally Posted by pcoskat (Post 1256344)
- I'm unclear about how the navigation in the upper left corner works. Is it auto-generated by the categories, or is the navigation manually designated?

It's auto generating

Quote:

Originally Posted by pcoskat (Post 1256344)
- Can an article be posted (automatically) in more than one category?

Never thought of it, but really its a valuable suggestion, so I marked it for the next upgrade. Thank you.

Quote:

Originally Posted by pcoskat (Post 1256344)
- I see a search box for 'key words'. Are these added by the author at the time they write the article? Do they appear anywhere at the end or beginning of the article? Are they 'clickable' (in other words, assuming the keywords appear within an article, can a user click on the key word and then see a list of articles with that keyword?)

It's auto search in Title and Text body.

Quote:

Originally Posted by pcoskat (Post 1256344)
- Will the DIGG mod work with vBNews?

Sorry, dont know it. Can you point me somewhere?

Quote:

Originally Posted by pcoskat (Post 1256344)
- How specific are the author permissions?
Ideally, I would like to restrict posting of articles to one user group. Within that group, authors would only be able to edit their own articles. Is that possible?

It's more than "ideally", as you can restrict posting to a usergroupd even by category. eg Politics: Usergroup xxx ... Sports: Usergroup zzz etc etc

Quote:

Originally Posted by pcoskat (Post 1256344)
- When, oh when, will your "club" mod be completed?? It sounds awesome!

At the end of this month (June)

Quote:

Originally Posted by pcoskat (Post 1256344)
But in the meantime, I cannot tell you how happy I am to find vBNews. Simply Brilliant!

Thank you :)

MaryTheG(r)eek 06-15-2007 03:32 PM

Hello my Friends,

Many users have asked me to help them to add some additional info in vbNews. Here is an example on how to include simple HTML code (even if it can be anything). This tutorial will show you how to incule a YouTUBE block

Step 1:
With a text editor create a file with the following code:
Code:

<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%" class="tborder">
  <tr>
    <td class="thead" align="left">YouTUBE Demo</td>
  </tr>
  <tr>
    <td class="alt2" align="left" valign="top" width="100%">
........... Here you must place your object code, or anything else HTML code...........
    </td>
  </tr>
</table>

- Save this file as mytube.inc.php
- Upload the file at vbnews/includes/

Step 2:
Modify vbnews.php file :
Find:
Code:

if ($_REQUEST['do'] == 'main'){
Just below add:
Code:

// Create YouTUBE Block
ob_start();
include('vbnews/includes/mytube.inc.php');
$mytube = ob_get_contents();
ob_end_clean();

- Save and upload the file

Step 3:
Edit the template vbnews_main. In any place you want to show this block add this code:
Code:

<br />
$mytube

$mytube is a variable name just for refference here. You can use any name you like. Just dont forget the sign $ before the name and of course to use the same name in the template.

That's all. Now in your vbNews main page will appear the YouTUBE video.

Cheers
Maria


All times are GMT. The time now is 01:09 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.01310 seconds
  • Memory Usage 1,766KB
  • 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
  • (5)bbcode_code_printable
  • (11)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