vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - vB News CMS (https://vborg.vbsupport.ru/showthread.php?t=133302)

davidw 12-04-2006 10:00 PM

vB News CMS
 
Very similar to vB News CMS for 3.5, but a some of the code was rewritten. This now works with BBCode - (This includes line breaks, URLs, smilies, etc.). I've removed several lines and taken out have removed the dual option for SQL 4.1 or higher as a lot of people are still on the lower MySQL

What does this do? It allows you to take your news from your news forums (up to 9 news forums) and display them in a category-style fashion with the ability to add new content, reply to the original story, send to a friend, and print.

This works only for vbulletin 3.6.0 or higher.

There is a 3.7.x version here

Install/Upgrade Instructions

Located in the zipped readme.txt file.

Frequently Asked Questions

What is the forumid?
The forumid is the id of the forum you have created. Each forum has its own unique number assigned to it. When you click on a forum link you can see a number that is assigned to it. This will show up in the URL of the page you are browsing. Another way of seeing the forumid is to go to your admin control panel => Forums & Moderators => Forum Manager => Click on [Expand All] and then move your mouse over (hover) any of the forums you've created. Your status bar (bottom of screen) should display your forumid (number at the end of the link/url).

Changes

V. 1.2a Added security for admins
V. 1.2 Added support for Who's Online

Things in consideration for future releases

1) Menu system that dynamically displays a menu based on forum choices.

Known Bugs/Issues:
1) - When you go to the page directly, the page acts as a normal page - however, if you click refresh on the page, the refresh stalls. I don't understand why this occurs.

Temporary demo location:
http://www.christianboards.org/vbnews.php

chick 12-05-2006 07:59 PM

Reserved

I will let you know. Look sweet.

peterska2 12-05-2006 08:00 PM

/me clicks install

asj 12-05-2006 08:11 PM

Thanks for man;)

SaN-DeeP 12-05-2006 08:37 PM

thanks for this release, trying now.

Mecho 12-05-2006 09:48 PM

Installed . Thanks

i think it shows Sticky posts instead of new post , isnt it ?

Shouzen 12-05-2006 09:54 PM

is it possible to put this as your site, instead of the forum?

peterska2 12-05-2006 09:55 PM

Yes, it can be done with some renaming of files and some changes to your settings. It will only work in the same directory as your forums though.

Eric 12-06-2006 12:28 AM

Nice.

/me clicks install

Genjuro-Sensei 12-06-2006 12:54 AM

Thx !!

Better include in the future releases a category (with images) system, no? ;)
Just like "Slashdot News MOD" for phpBB if you know it ;)

biandchip 12-06-2006 01:04 AM

:-* thanks

Smoothie 12-06-2006 01:19 AM

This looks very good, however, if this could be used as a "true"homepage I would install in a minute.

davidw 12-06-2006 01:25 AM

Oh I think there might be something you might like then... Kerry-Anne? :P

davidw 12-06-2006 01:26 AM

Quote:

Originally Posted by Genjuro-Sensei (Post 1132900)
Thx !!

Better include in the future releases a category (with images) system, no? ;)
Just like "Slashdot News MOD" for phpBB if you know it ;)

If you put images in your news to start with, they should display here as well. :)

peterska2 12-06-2006 09:01 AM

Quote:

Originally Posted by christianb (Post 1132915)
Oh I think there might be something you might like then... Kerry-Anne? :P


Can't have nothing to myself for 5 mins can I? It's not custom though if I share :(

Weekend sound like a plan David?

projectego 12-06-2006 09:06 AM

Thanks, christianb. ;)

[high]* projectego clicks install[/high]

davidw 12-06-2006 11:10 AM

Quote:

Originally Posted by peterska2 (Post 1133069)
Can't have nothing to myself for 5 mins can I? It's not custom though if I share :(

Weekend sound like a plan David?

hehe - I got excited :P

peterska2 12-06-2006 11:18 AM

Quote:

Originally Posted by christianb (Post 1133124)
hehe - I got excited :P

I noticed. I'll have yet another tidy up of the code (left myself notes all over the place) and check it on 3.6.4 and if it works then it should be released at weekend, but no promises that it will definately as I've got exams this week and the flu, so coding isn't high up the list of things to do atm.

davidw 12-06-2006 11:32 AM

I've been sick myself - very sick, and been waiting on trying to get my merger done. I just decided to go ahead and finish up some stuff before I work on my major projects (vbnl, vbb, vbb+mp3) merger comes first though. Which could be as soon as today. Hopefully I'll feel better by tomorrow. I've not had the flu, but had nasal and chest issues.

digital_sc4rz 12-08-2006 12:29 PM

Thankyou for this ;)

ChurchMedia 12-09-2006 02:27 AM

Very nice! Thanks!

davidw 12-11-2006 11:23 PM

Quote:

Originally Posted by Smoothie (Post 1132911)
This looks very good, however, if this could be used as a "true"homepage I would install in a minute.

https://vborg.vbsupport.ru/showthread.php?t=133757
There ya go... :P

anzo 01-03-2007 04:30 AM

very cool, thank you :) Installed here: http://latforums.lv/vbnews.php

davidw 01-03-2007 11:09 PM

Looks good :)

captainslater 01-11-2007 11:48 AM

You'll find the german version here.

StefanZwickl 01-17-2007 02:33 PM

well i installed this News CMS (looks awesome)
but i got one little Problem, the Page is on the left
i want it to get to middle (center)
what do i need to edit?

davidw 01-17-2007 02:35 PM

By default it is set to center on the page unless something is forcing it to the left. The templates tell it to center. However you can alter the template to a width of 100% rather than a fixed width and this should fix the issue.

Btw, don't forget to click install.

StefanZwickl 01-17-2007 02:42 PM

they weird problem is, my forum got a size of like 50%
the Forum is on the center
i just installed your mod, and now the vbnews.php is on the left

i dont get it

peterska2 01-17-2007 02:45 PM

This will be an issue with your style in general. Check your header and footer templates for anything that could affect it.

StefanZwickl 01-17-2007 03:59 PM

i just found out
the problem seems to be Internet Explorer 7
Working on IE6 and Firefox

why is that?

Code:

<!-- logo -->
<a name="top"></a>
<div class="side_borders">
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="tborder">
<tr>
        <td align="center" valign="top">

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr class="header_bg">
        <td align="$stylevar[left]" valign="middle" width="330" height="92"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
        <td align="$stylevar[left]" valign="top" width="246" height="92" ><img src="$stylevar[imgdir_misc]/xright.gif" width="246" height="92" alt="" /></td>
<td align="$stylevar[right]">
                &nbsp;
<!-- banners -->
</td>
               
       
</tr>
<tr>
<td height="33" colspan="3" style="background-image:url($stylevar[imgdir_misc]/xnav.gif);">

<!-- nav buttons bar -->
<div align="center">
        <table  cellpadding="0" cellspacing="0" border="0"  align="left">
        <tr align="center">
                <if condition="$show['member']">
                        <td width="78" height="33"  ><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/xusercp.gif" width="79" height="33" border="0" alt="" /></a></td>
                </if>
                <if condition="$show['registerbutton']">
                        <td width="78" height="33"  ><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/xreg.gif" width="79" height="33" border="0" alt="" /></a></td>
                </if>
                <td width="78" height="33"  ><a href="faq.php$session[sessionurl_q]" accesskey="5"><img src="$stylevar[imgdir_misc]/xfaq.gif" width="79" height="33" border="0" alt="" /></a></td>
                <td width="78" height="33"  ><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/xmembers.gif" width="79" height="33" border="0" alt="" /></a></td>
                <td width="78" height="33"  ><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/xcalendar.gif" width="79" height="33" border="0" alt="" /></a></td>
                <if condition="$show['popups']">               
                        <if condition="$show['searchbuttons']">
                                <if condition="$show['member']">
                                <td width="78" height="33"  ><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img src="$stylevar[imgdir_misc]/xnew.gif" width="79" height="33" border="0" alt="" /></a></td>
                                <else />
                                <td width="78" height="33"  ><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><img src="$stylevar[imgdir_misc]/xdaily.gif" width="79" height="33" border="0" alt="" /></a></td>
                                </if>
                                <td id="navbar_search" width="78" height="33" ><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><img src="$stylevar[imgdir_misc]/xsearch.gif" width="79" height="33" border="0" alt="" /></a><if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", 1); </script></if></td>
                        </if>
                        <if condition="$show['member']">
                                <td id="usercptools" width="78" height="33" ><a href="$show[nojs_link]#usercptools"><img src="$stylevar[imgdir_misc]/xlinks.gif" width="79" height="33" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("usercptools", 1); </script></td>               
                        </if>               
                               
                </if>
                <if condition="$show['member']">
                        <td width="78" height="33"  ><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><img src="$stylevar[imgdir_misc]/xlogout.gif" width="79" height="33" border="0" alt="" /></a></td>
                </if>
               
        </tr>
        </table>
</div>
<!-- / nav buttons bar -->
</td></tr>
</table>
<!-- /logo -->

<table border="0" width="100%" cellpadding="10" cellspacing="0" style="background-color:#1E2830;">
<tr>
  <td><table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#232D35;">
      <tr>
        <td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_top.gif" width="12" height="8" alt="" /></td>
        <td width="100%" align="left" valign="top"><img src="$stylevar[imgdir_misc]/expand_main_table.gif" width="100%" height="8" alt="" /></td>
        <td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_top.gif" width="12" height="8" alt="" /></td>
      </tr>
    </table>
    <!-- content table -->
    <table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:#232D35;">
    <tr>
      <td>
<!-- content table -->
$spacer_open

$_phpinclude_output

the problem must be somewhere in the header

when i revert it, the navbar is ++++ed, but the page is on the center

jags2ooo 03-18-2007 11:57 AM

Can this be also used on a non vb page? Pulling the info from a vb forum section then adding it in a new style format to a non vb page?

Masiello 03-19-2007 06:23 PM

Quote:

Originally Posted by anzo (Post 1149664)
very cool, thank you :) Installed here: http://latforums.lv/vbnews.php

very bad layout, same as IE and FF

davidw 03-20-2007 07:28 PM

Quote:

Originally Posted by jags2ooo (Post 1206304)
Can this be also used on a non vb page? Pulling the info from a vb forum section then adding it in a new style format to a non vb page?

I don't see why it can't be - its mainly queries and templates.

Aotw 03-22-2007 06:41 PM

Hey!
Trying to get this working on a page outside the forum folder, a non vb page. I have included the vbnews.php file into the page i want to show my news, but it somehow destroys the design of the page. It should be 3 colums with the news in the middle and the tables separated with a vertical dotted line.

Anyone have any ideas how to fix this issue?

davidw 03-22-2007 07:58 PM

Not offhand

anzo 04-16-2007 03:35 PM

Quote:

Originally Posted by Masiello (Post 1207513)
very bad layout, same as IE and FF

what is bad about it?

davidw 04-18-2007 02:46 PM

I've updated to include Who's online support.

Timan 05-21-2007 07:26 AM

I have a question about this, could I rename the news.php to say index.php and move it out of the forums folder?

Say I have
\index.php (renamed news.php)
\board\ (forums folder)

Will that work?

davidw 05-21-2007 11:00 AM

Most likely, but you will need to edit each instance of vbnews.php and vbnews to index.php and index (respectively) in the php page. I've not tried it, but don't see why not.

Timan 05-21-2007 04:17 PM

I've had no luck getting this to work, out side of the forum folder. I keep getting the following error(s)
Code:

Warning: main(/home/aquasoft/public_html/includes/init.php) [function.main]: failed to open stream: No such file or directory in /home/aquasoft/public_html/board/global.php on line 20

Fatal error: main() [function.require]: Failed opening required '/home/aquasoft/public_html/includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aquasoft/public_html/board/global.php on line 20



All times are GMT. The time now is 07:14 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.01384 seconds
  • Memory Usage 1,840KB
  • 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
  • (2)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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