![]() |
vB News CMS
1 Attachment(s)
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=forum1Answer: 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. 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:
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. |
very nice hack! thx
|
Looks good. Will wait for a live demo first though.
|
Cool !!
|
cool hack installed
|
there is problem in viewing of the threades bb code shown with the posts
any solution for this http://www.saad6.com/vbnews.php |
Quote:
But secondly you have altered the files and removed my branding (you have not purchased a branding-free license from me), and added your own instead. You are not allowed to do that, as you are breaching copyright, and that is NOT on. I looked at the souce of the page: HTML Code:
<center><div class="smallfont">تعريب <a href="http://www.saad6.com">نظام ادارة محتوى الاخبار</a> v3.8.001 © <a href="http://www.saad6.com">المواهب المتجددة</a> 2009</div></center> I will not be providing support to you until you upload the un-altered files and if you want to remove my branding read the first post or the readme.txt file that came with the hack, so you can enquire about a branding-free license, or leave the original one intact. Even if you restore your files back to the original files, I may still not be able to help you as I do not read arabic, and can not tell what is happening on your page, as I support English only, but I will try my best. |
t's possible to divie this news on 2 columms
like: PHP Code:
|
checkin it out now
Thanks |
Quote:
Quote:
If you do not replace the branding with the original unaltered branding (by uploading the unaltered original files), pay for a branding-free license or remove the files (i.e. uninstall this hack) from your server within the next 48 hours (from time I amended this post), I will be forced to contact your webhost (The Planet) with a notice of Copyright Infringement under Title 17 of The United States Code (i.e. the Digital Millennium Copyright Act). This will ask them to forcibly remove my work from your site. Edit: Also sent you a PM pointing to this request. |
Quote:
|
english demo?
|
Quote:
But you retain the rights of the programming I apologize again And I promise you to re-install the original |
Quote:
But that is not what I had the issue with, the issue was with branding being altered in the files, which I stipulated was to be left untouched, i.e. links in this hack thread and my vbulletin.org profile (along with my name in English) left as they are. As long as you comply with that, I do not mind you change every other phrase to Arabic. |
Quote:
|
Downloaded and installed without problems (even if i'm still working on it) so if someone needs an Online Demo go to: http://www.onlinewebmarket.net/vbnews.php
|
Update: v3.8.002 - Monday 27th July 2009
-- Fixed: Pagination in the archive Spotted this pagination issue viewing masterweb's demo. Thanks for the demo, added to first post :) |
Hi Mosh, thanks for the update (i downloaded and re-installed the hack) but to be honest i'm not sure about the "Pagination issue in the archive", i mean; i don't see anything new from the last product i installed so pls explain a bit what's this issue it's about. Thanks in advance and really thanks for this hack :p
|
Quote:
|
Hmmmm now i see what you mean, in fact following the previous URL you posted for a second page in archives i get:
Quote:
|
Quote:
You now get http://www.onlinewebmarket.net/archi...=forum1&page=2 (notice the do=forum1 now?) That is what the update fixed. |
Another great mod by Mosh ;)
Marked as installed but it will be tomorrow, I will be modifying to suit a Online Gaming Tournament forum so when done I'll provide a link as a demo :D. Thanks again! S-MAN |
Now i fully understand, thanks once again for this hack dude :D
Quote:
|
Update: v3.8.003 - Tuesday 4th August 2009
-- Fixed: If archive turned off, then archive link does not appear in "vbnews.php" I noticed this on another installation that had the archive disabled. It is not a fault, but if the archive is not active, then why display the link? |
How can one make the news page use a particular style instead of the user selected style ?
|
Installed. It works quite well. Thank you.
|
Quote:
for eg.If you put [ SIZE=4]and the [/SIZE] comes after the "Read More" then [SIZE=4] will be seen and the text wont change to size 4. the BB code must start and end before the "Read more". This is very inconvenient and reduces formatting options. |
Quote:
So, in the next few minutes I will be releasing a new version that has four additional AdminCP options to control various factors when viewing a news preview on the main vB News or Archive pages. These options are to allow or not:
So, in your case you would not allow HTML, BBCode or IMG either, and it will not break the post, as it is not parsed. But, when viewing the full post, by clicking [View More] you will see the correct markup. |
Update: 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 |
Thanks for your last release Mosh, i updated it on my board today .
|
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 |
Quote:
Quote:
So again, can you post the url to your installation so I can have a look. |
<a href="http://boyce-avenue.de" target="_blank">http://boyce-avenue.de</a>
Allow BBCode is set to Yes - RIGHT |
Quote:
OK, lets see if I can fix it. I will get back to you in the next day or so, hopefully with a solution. |
Okay, thanks for support :)
|
Quote:
Quote:
PHP Code:
PHP Code:
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. |
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. |
Quote:
|
1 Attachment(s)
Quote:
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 :) |
GREAT!! Thank you very much for supporting :)
It works :) |
All times are GMT. The time now is 06:42 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|