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

phill2003 06-15-2007 05:54 PM

do you know how to fix this.

PHP Code:

Database error in vBulletin 3.6.5:

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

MySQL Error  You have an error in your SQL syntaxcheck 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         
FridayJune 15th 2007 02:53:12 PM
Script       
http://www.nzbheaven.com/vbnews.php
Referrer     http://www.nzbheaven.com/vbnews.php?do=edit 


Guest201202001 06-16-2007 09:22 AM

Before to install it I want to ask if I can I use it because my forum is located at root so: www.mysite.com not in www.mysite.com/forums..

MaryTheG(r)eek 06-16-2007 03:59 PM

Quote:

Originally Posted by L'ingegnere (Post 1269619)
Before to install it I want to ask if I can I use it because my forum is located at root so: www.mysite.com not in www.mysite.com/forums..

Yes you can. Just read carefully the readme.txt file as you need to modify 2 lines for HTML editor to work fine in root directory.

Ninth Dimension 06-16-2007 05:41 PM

This is a great news portal which I've just installed. Good work.

I do have a question however, how do we make it use the vBulletin headers and footers? I think it's using the correct header, but the footer is lacking a lot of customisation that I've made to the template, and I would like to be able to use it.

Thank you :)

Fungsten 06-16-2007 11:21 PM

Is this the correct way to put in the paths?


In the vbnews.php:

Where is the testvb and forum entered? Are they entered before or after the public_html?

Quote:


// Path to your vB installation with slash at the end
$vbpath = '/home/testvb/public_html/forum/';

Not clear on what/where to put in here either.

Quote:

// Path to $vbnewsname file with slash at the end
$vbnewspath = '/home/testvb/forum/public_html/';
Since this in on a test server what do I enter a testvb after the site URL?

Quote:

// URL to $vbnewsname file with slash at the end
$vbnewsurl = 'http://www.blahblahXXXXX/testvb/';
I don't think I changed the filename.

Quote:

// vbNews file name in case that you changed it
$vbnewsname = 'vbnews.php';
Thank you.

raphaelcp 06-18-2007 02:37 PM

Seems zip file is corrupted...

MaryTheG(r)eek 06-18-2007 03:04 PM

Quote:

Originally Posted by Ninth Dimension (Post 1269865)
This is a great news portal which I've just installed. Good work.

I do have a question however, how do we make it use the vBulletin headers and footers? I think it's using the correct header, but the footer is lacking a lot of customisation that I've made to the template, and I would like to be able to use it.

Thank you :)

If you don't add any code in vbNews->Options for Heade and Footer, the mod will use vB's default Header and Footer. But found in some installations that this dosen't works for footer, so you need to make a modification to templates.

Find:
Code:

<if condition="!empty($myfooter)">
  $myfooter
<else />
  $footer
</if>

Replace with:
Code:

$footer

phill2003 06-18-2007 03:06 PM

Quote:

Originally Posted by MicroHellas (Post 1269826)
Yes you can. Just read carefully the readme.txt file as you need to modify 2 lines for HTML editor to work fine in root directory.

Awesome support as usual mary :down: You seem to ignore the questions that require a little more help than 're-upload the files'

And that is the reason I wont be using any more of your hacks paid or otherwise. You are seemingly more interested in changing your own website with the wind than supporting anything you make even when people have paid for that support I myself stopped using vbphotovote because it was impossible to get an answer out of you and promised upgrades never arrived.

MaryTheG(r)eek 06-18-2007 03:46 PM

Quote:

Originally Posted by phill2003 (Post 1271024)
Awesome support as usual mary :down: You seem to ignore the questions that require a little more help than 're-upload the files'

And that is the reason I wont be using any more of your hacks paid or otherwise. You are seemingly more interested in changing your own website with the wind than supporting anything you make even when people have paid for that support I myself stopped using vbphotovote because it was impossible to get an answer out of you and promised upgrades never arrived.

I'm so happy for it. Actually I don't like rude people to use my free mods. I'm working for free but for people with understanding, something missing of you. Good luck.

raphaelcp 06-19-2007 03:38 AM

Is there another link I can download the vbNews zip file?

This link gives me a currupted file =/

MaryTheG(r)eek 06-19-2007 04:00 AM

Quote:

Originally Posted by raphaelcp (Post 1271451)
Is there another link I can download the vbNews zip file?

This link gives me a currupted file =/

I just uploaded a new file, but I don't think that the old one was corrupted as I downloaded and checked the old one.

Fungsten 06-19-2007 05:19 PM

Or only some?

MaryTheG(r)eek 06-20-2007 07:19 AM

Quote:

Originally Posted by Fungsten (Post 1271885)
Or only some?

Sorry, I didn't got your meaning.

Fungsten 06-20-2007 06:44 PM

since it is an update, does everyone have to reinstall the hack or can you just reimport the product xml file?

Quote:

Originally Posted by MicroHellas (Post 1272308)
Sorry, I didn't got your meaning.


Jay-MOB 06-21-2007 01:31 PM

does it work with 3.6.7?

Fungsten 06-21-2007 07:01 PM

Quote:

Originally Posted by Jay-MOB (Post 1273229)
does it work with 3.6.7?

Worked with mine. I'm on 3.6.7 +1

MaryTheG(r)eek 06-22-2007 03:06 AM

Quote:

Originally Posted by Fungsten (Post 1272651)
since it is an update, does everyone have to reinstall the hack or can you just reimport the product xml file?

Yes, you can re-imports xml file and upload the files.

karlm 06-22-2007 02:34 PM

Hi MicroHellas, I've ran this on my test site and it seems to work ok so far. I'm a little lost though as to what to do with 'purchasing'.
It says on your site that it is $54... the branding free is $25... but I have managed to download it anyway, without paying the $54.

So, do I have to pay $54 to use it or not? If not (which seems to be the case) is it $25 to remove branding so I can put it live on my site?

MaryTheG(r)eek 06-22-2007 02:42 PM

Quote:

Originally Posted by karlm (Post 1273955)
Hi MicroHellas, I've ran this on my test site and it seems to work ok so far. I'm a little lost though as to what to do with 'purchasing'.
It says on your site that it is $54... the branding free is $25... but I have managed to download it anyway, without paying the $54.

So, do I have to pay $54 to use it or not? If not (which seems to be the case) is it $25 to remove branding so I can put it live on my site?

If you managed to download it without paying, what other to say, than "Use it for free":erm:. But are you sure that you downloaded vbNews? Brand Free has also a file for download which is an instruction file on how to remove the copyright.

Maria

karlm 06-22-2007 02:45 PM

Greetings again,

I mean, I downloaded it from this very thread - which of course, hasn't charged... so am I to assume it is ok to use? If it is a free product (which, as it's downloadable from this site, I'm assuming it is now?) then I'm happy to send $25 for branding free ...
So, as long as things are good so far, could you advise where I go to for branding free - somewhere on your site, I assume?

Thanks :)

Karl

raphaelcp 06-23-2007 12:52 AM

Quote:

Originally Posted by MicroHellas (Post 1271465)
I just uploaded a new file, but I don't think that the old one was corrupted as I downloaded and checked the old one.

=/

When I download, I have a ~150kb file, that winrar says is corrupted...

on this page, I saw that this file is ~300kb...

raphaelcp 06-23-2007 12:57 AM

sorry!

this problem occurs only using IE. I get Firefox and this ok =)

leoncatracho 06-23-2007 02:32 AM

I have the Vbnews.php in my forum directory

I get this
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /www/65gb.com/l/e/o/leoncatracho/htdocs/foro/vbnews.php on line 81


Unable to add cookies, header already sent.
File: /www/65gb.com/l/e/o/leoncatracho/htdocs/foro/vbnews.php
Line: 81

MaryTheG(r)eek 06-23-2007 03:08 AM

Quote:

Originally Posted by leoncatracho (Post 1274351)
I have the Vbnews.php in my forum directory

I get this
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /www/65gb.com/l/e/o/leoncatracho/htdocs/foro/vbnews.php on line 81




Unable to add cookies, header already sent.
File: /www/65gb.com/l/e/o/leoncatracho/htdocs/foro/vbnews.php
Line: 81

Be sure that you've setup correctly paths and URLs in vbnews.php

MaryTheG(r)eek 06-23-2007 03:09 AM

Quote:

Originally Posted by karlm (Post 1273965)
Greetings again,

I mean, I downloaded it from this very thread - which of course, hasn't charged... so am I to assume it is ok to use? If it is a free product (which, as it's downloadable from this site, I'm assuming it is now?) then I'm happy to send $25 for branding free ...
So, as long as things are good so far, could you advise where I go to for branding free - somewhere on your site, I assume?

Thanks :)

Karl

Hello Karl,

Yes, downloading vbNews from this site is Free. You can pay for copyright removal at:
http://www.madebymary.com/index/vbdi...ct&productid=2

Maria

karlm 06-23-2007 08:07 PM

Quote:

Originally Posted by MicroHellas (Post 1274380)
Hello Karl,

Yes, downloading vbNews from this site is Free. You can pay for copyright removal at:
http://www.madebymary.com/index/vbdi...ct&productid=2

Maria

Thanks for clarifying - I just wanted to be 100% sure I was on the right track and not going to find myself in trouble.

I've left a message via your "contact us" form regarding the issue, and look forward to a resolve. :)

Thanks again for the response.

XtremeCrash 06-24-2007 03:49 AM

Is there a way to use an INCLUDE PHP to a php page?Say ive already got a site an want to use the news system insted of the one I have an just use an include php into the page.

MaryTheG(r)eek 06-24-2007 04:19 AM

Quote:

Originally Posted by XtremeCrash (Post 1275089)
Is there a way to use an INCLUDE PHP to a php page?Say ive already got a site an want to use the news system insted of the one I have an just use an include php into the page.

Do you have vBulletin installed and working in your site? vbNews needs vB to work.

XtremeCrash 06-24-2007 06:02 AM

Yes VB is installed. I just want to include it in my main sites news.Use it insted of the news system Im useing.

MaryTheG(r)eek 06-24-2007 01:17 PM

Quote:

Originally Posted by XtremeCrash (Post 1275164)
Yes VB is installed. I just want to include it in my main sites news.Use it insted of the news system Im useing.

You don't need to use the "include" function as vbnews.php can be rename to anything you like (eg index.php) and use it as your site's main page.


All times are GMT. The time now is 09:54 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.01647 seconds
  • Memory Usage 1,870KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (31)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