Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
vB News CMS Details »»
vB News CMS
Version: 3.8.004, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 07-21-2009 Last Update: 08-07-2009 Installs: 38
Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

Please click Mark as Installed if you are using this hack.


What Does This Hack Do?[hr]hr[/hr]
This is a major update to the vB News CMS hack v1.3 by davidw. Permission for me to release this hack is shown here.

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 version fixes several problems with two fixes preventing database errors. Refactoring of the base-code and added functionality (adds pagination) has reduced the base-code size by more than two-thirds. The hack is now fully phrased.


Frequently Asked Questions

Question:
What if I don't like the archive name for the forum? e.g. .../archives.php?&do=forum1
Answer:
You can now change the forum1 part to whatever you want in the AdminCP options via the Forum X Archive Name. Just remember that each Forum X Archive Name need to be different from the other eight.

Question:
What if I get a blank vbnews page when I view the page?
Answer:
Did you actually select a forum for at least forum1 from the vBulletin options for this hack? If not, then you need to select one (none are selected as default).

Question:
What if BBCode on the vbnews and archive pages breaks and shows ugly markup when I view the page?
Answer:
It is probably the BBCode being truncated because of the preview word count (i.e. [SIZE=4] is shown, but [/SIZE] was lopped off because of the word count). But, don't lose hope, as there are now AdminCP Options to control if HTML, Smilies, BBCode and IMG BBCode are displayed in the previews or not.

Question:
My custom BBCode tags do not display on the vbnews and archive pages, what do I do?
Answer:
Actually the solution is very simple. I have found that if custom BBCode tags are created in the BB Code Manager with capitals, then they will not parse, but if they are in lower case they will parse fine.

So, in your Custom BB Codes -> BB Code Manager in the AdminCP, change the BB Code Tag Name field of each of your custom BBCodes to lower case, and that will allow your custom BBCode to display. It does not seem to matter if the custom BBCode tags are in capitals or not within the posts themselves, so they do not need to be changed.


vBulletin Version Compatibility[hr]hr[/hr]
This hack can be used with vBulletin versions 3.6.0 - 3.8.7.

NOTE: I will not be upgrading this hack to vBulletin v4.0.x, as vBulletin now has the Publishing Suite.



Hack Support/Feature Requests[hr]hr[/hr]
IMPORTANT: This hack is no longer supported.


Branding[hr]hr[/hr]
There is a small unobtrusive block of copyright branding text at the bottom of each page generated by this hack, which is there to promote my work and allow you to use this hack for free.

You are NOT allowed to remove my copyright branding from this hack.


Install/Uninstall Instructions[hr]hr[/hr]
The readme.txt instructions file is included in attached .zip file.


Screenshots[hr]hr[/hr]
Shown in this order:
  • vB News CMS main page
  • vB News CMS archive page
  • vB News CMS archive page with pagination
  • AdminCP Options

Version History[hr]hr[/hr]
v3.8.004 - Saturday 8th August 2009
-- Added: AdminCP option: Allow HTML
-- Added: AdminCP option: Allow Smilies
-- Added: AdminCP option: Allow BBCode
-- Added: AdminCP option: Allow [IMG] BBCode
-- Updated: "vbnews.php" and "archives.php" to allow for the above AdminCP Options
-- Updated: Screenshots

v3.8.003 - Tuesday 4th August 2009
-- Fixed: If archive turned off, then archive link does not appear in "vbnews.php"

v3.8.002 - Monday 27th July 2009
-- Fixed: Pagination in the archive

v3.8.001 - Wednesday 22nd July 2009
-- Initial v3.8.x Release
-- Updated: Refactoring of the base-code and added functionality has reduced the base-code size by more than two-thirds.
-- Added: 11 AdminCP options
-- Added: AdminCP options: input validation for all non-selectable items
-- Added: AdminCP options: change name of the archive url - eg "forum1" in the url ".../archives.php?&do=forum1" (no more file edits)
-- Added: AdminCP options: for pagination (how many news items per page)
-- Added: 26 phrases - hack now fully phrased (no more hard coded words - easy to translate)
-- Added: 2 plugins
-- Added: Pagination on the archives page
-- Added: Implemented unused permission to turn archive on/off (was unused in davidw's versions)
-- Fixed: AdminCP options: can not enter incorrect usergroups, as now selected by checkboxes (prevents database errors)
-- Fixed: AdminCP options: can not enter incorrect forums, as now forums selectable by dropdown list (prevents database errors)
-- Fixed: Link to archived page removed if actually in the archive (would give a page with no content)
-- Fixed: Who's online link if in the archive


Thanks[hr]hr[/hr]
A big thanks goes out to davidw, whose original hack and permission to re-use his code enabled me to release this hack. Thanks also go out to Paul M who gave me permission to use some of his install code.


Show Your Appreciation [hr]hr[/hr]
Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Download Now

File Type: zip ms_vbnews_38.zip (13.1 KB, 171 views)

Screenshots

File Type: jpg screenshot2.jpg (100.0 KB, 0 views)
File Type: jpg screenshot3.jpg (93.4 KB, 0 views)
File Type: jpg screenshot4.jpg (61.8 KB, 0 views)
File Type: jpg screenshot1.jpg (113.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 08-12-2009, 03:57 PM
Freddyos Freddyos is offline
 
Join Date: Aug 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,

first: nice hack
second: If I post a Thread with Pictures (with html-code) they aren't shown at vbnews.php

solutions?

Edit: Can I add this BBCode [imgleft]PIC[/imgleft] to your Addon? But the vbnews.php show only the code, not the picture
Reply With Quote
  #33  
Old 08-13-2009, 03:00 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Freddyos View Post
Hey,

first: nice hack
second: If I post a Thread with Pictures (with html-code) they aren't shown at vbnews.php

solutions?
Can you post the url to your installation so I can have a look.

Quote:
Originally Posted by Freddyos View Post
Edit: Can I add this BBCode [imgleft]PIC[/imgleft] to your Addon? But the vbnews.php show only the code, not the picture
This hack should automatically uses custom BBCode (as long as Allow BBCode is set to Yes).

So again, can you post the url to your installation so I can have a look.
Reply With Quote
  #34  
Old 08-13-2009, 12:19 PM
Freddyos Freddyos is offline
 
Join Date: Aug 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://boyce-avenue.de" target="_blank">http://boyce-avenue.de</a>

Allow BBCode is set to Yes - RIGHT
Reply With Quote
  #35  
Old 08-14-2009, 03:16 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Freddyos View Post
http://boyce-avenue.de

Allow BBCode is set to Yes - RIGHT
Mmmm....yes, I see the problem.

OK, lets see if I can fix it.

I will get back to you in the next day or so, hopefully with a solution.
Reply With Quote
  #36  
Old 08-14-2009, 12:38 PM
Freddyos Freddyos is offline
 
Join Date: Aug 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, thanks for support
Reply With Quote
  #37  
Old 08-15-2009, 06:23 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Freddyos View Post
Hey,

first: nice hack
second: If I post a Thread with Pictures (with html-code) they aren't shown at vbnews.php

solutions?
In the vBulletin options for this hack, set Allow HTML? to Yes for the embedded Youtube video to show, as you are pasting native html into the page (and have html enabled in that forum), it does not look like you have a BBCode for that video (unless you are using a hack such as AME to embed the video).

Quote:
Originally Posted by Freddyos View Post
Edit: Can I add this BBCode [imgleft]PIC[/imgleft] to your Addon? But the vbnews.php show only the code, not the picture
Edit both archives.php and vbnews.php, find:
PHP Code:
    $parser =& new vB_BbCodeParser($vbulletinfetch_tag_list()); 
Change it to:
PHP Code:
    $parser =& new vB_BbCodeParser($vbulletinfetch_tag_list(''true)); 
Tell me if that enables you to use your [imgleft] and [imgright] tags.

If it does work, then I will add an option to allow for use of custom tags in the options and release a new version.
Reply With Quote
  #38  
Old 08-15-2009, 11:51 AM
Freddyos Freddyos is offline
 
Join Date: Aug 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have changed both archives.php and vbnews.php but no picture.

Yeah, i used the Code from YouTube to embemd this video. I dont care about it.

The IMG is more important for me.
Reply With Quote
  #39  
Old 08-15-2009, 09:01 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Freddyos View Post
I have changed both archives.php and vbnews.php but no picture.

Yeah, i used the Code from YouTube to embemd this video. I dont care about it.

The IMG is more important for me.
You are going to need to tell me what code you actually use for your [imgleft] and [imgright] BBCode tags, and a url to a thread that uses the tags, so I can have a play around with/see the custom BBCodes causing the issue.
Reply With Quote
  #40  
Old 08-17-2009, 02:44 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Freddyos View Post
I have changed both archives.php and vbnews.php but no picture.

Yeah, i used the Code from YouTube to embemd this video. I dont care about it.

The IMG is more important for me.
Actually the solution is very simple but took me so long to figure out

I have found that if custom BBCode tags are created in the BB Code Manager with capitals, then they will not parse, but if they are in lower case they will parse fine (the screenshot attached will show that it is working, I recreated your [imgleft] tag and copied your post text to my test forum to test out the solution).

So, in your Custom BB Codes -> BB Code Manager, in the BB Code Tag Name field rename your [IMGLEFT] and [IMGRIGHT] tags to [imgleft] and [imgright] respectively, and that will allow your images to show up.

You can remove the file changes that I asked you to do earlier
Attached Images
File Type: png screenshot0037.png (102.9 KB, 0 views)
Reply With Quote
  #41  
Old 08-17-2009, 02:15 PM
Freddyos Freddyos is offline
 
Join Date: Aug 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GREAT!! Thank you very much for supporting

It works
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:31 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.06258 seconds
  • Memory Usage 2,345KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete