![]() |
vbArticles v0.4 -- For your repository of Articles/Tutorials/FAQs etc.
UPDATES
version 0.4 is out - Now allows for basic VBCODE input. - Fixed somemore bugs. Background Required a section on my site to display articles/tutorials No such hack in the Hacks Database Decided to try my hand at it ACKNOWLEDGEMENTS This hack uses a lot of code from Arunan Sridharan's vB Links Directory v2.0 I use that hack too and was inspired to code something around that A big thank-you must go out to him for coding the Links Directory in the first place (I merely modified much of the code to suit my needs for this hack) Appreciation also goes out to Kars10 for aiding me in this hack He coded the portion in version 0.3 on number of articles count as well as article hits count He also suggested several template changes which have been incoporated into version 0.3 A great big special shout out to TheComputerGuy, 97cobracpe, dontpanic for stamping out the bugs with your fixes. Thanks guys :D WHATS IT DO ? This hack allows you to have a database of articles/tutorials etc on your site/forums. FEATURES AdminCP Installer script Admin options View Categories Edit Categories Add Categories ( category name, category icon, category order, category description ) Delete Categories Add new article ( title, description, author, date, content ) Edit article Delete article View ALL articles in database Option in vB options to turn validation of articles on/off Fully template based as to how you wish to display the articles,categories and main article home page. Addition of articles accepts basic VBcodes Member options View Categories Browse Categories View articles Submit new article Submission of articles accepts basic VBcodes INSTALLATION & UPGRADING This Hack should work on ALL 2.2.x versions and v2.3.0 Please read the install_readme.txt file in the package for fresh installation instructions IMPT: If you installed a previous version pls read the upgrade_readme.txt file carefully for upgrade instructions HACK DOWNLOAD Version 0.4 of this hack can be downloaded here ADD-ONS i) Add-on for vbHome ii) Add-on for ForumHome iii) Add-on to enable only registered members to be able to view the article section DEMO SITES http://www.runaked.com/forums/articles.php ( running v0.4 ) - TheComputerGuy's site http://www.mcseworld.com/forums/infocenter.php ( running v0.3 ) - dontpanic's site Feel free to submit your sites if u installed this hack so it can be listed as another live demo site SUPPORT I cannot promise any support on this as i am pretty new to this but I will try my best. If you are using this hack , pls click the INSTALL button to be kept in the loop of any bug reports, add-ons and hack version updates. Thanks everyone :) |
Progress update : 27/10/2003
For next version : 0.5 Accommodated Features and Bug Fixes Bugs Fixed Post 202 ( bug fix ) Post 215 ( bug fix ) Post 226 ( bug fix ) Post 230 ( bug fix ) Posts 214-225 , 233-237 ( bug fix ) Feature Requests and other Additional Features that have been implemented ( completed ) - Category Icon upload - Much easier navigation, less redundant navigation - Posted By field for articles where the original author is different from the person who uploaded it - In adding of article, no longer need to enter date of article, it is automatically added as a timestamp - Adding of article in AdminCP easier - Editing of article allows moving into another category if wrongly placed - Easier management of View All Categories ( edit, delete, view articles in category, update order ) - Update order of categories now similar to vbulletin?s method - Easier management of View All Articles ( edit, delete, view article ) - Author name automatically entered in AdminCP when adding article - Cleaner code - Print article , printer friendly. - Email article to a friend link - Ability to search articles by title, author and content - Pagination of article ( pagebreak string set by admin ) - Pagination of articles under each category ( number of articles shown per page set by admin ) Features yet to be implemented Post 229 I am trying to figure out how to put thumbnail images in front of the reviews. Like the categories currently have. Post 213 Image lead-in to article Ratings per article Comments per article 1 level Subcategories User group options Category and article icon resizing Feature requests that will be turned down and NOT implemented Post 198 2. Make the "Content" field look more like the posting field in vBulletin. 3. In addition to allowing for vbCode, also have the vbcode buttons above the "Content" box 4. An option in the ACP to allow/disallow vbCode and HTML and have the suggestion #3 above show or don't show based on this setting. Cinq : I will try to implement something else that is similar but not exactly like this. Hopefully WYSIWYG though. Post 209 xHTML ? Cinq : Not proficient enough, sorry. Post 213 6) Copy an entire article or category (this is very helpful for using articles or cats as templates for future articles, or perhaps archiving old ones 10) XML RSS Feed output Cinq : 10 - not proficient enough, sorry. 6 ? nah, don? be lazy :p Post 213 7) Is it possible to select that a lead-in will link to an off-site article directly (by URL) Cinq : think I'll skip this as well, may have copyright issues plus I'm lazy :p |
Download hack here
Latest dated 01/08/2003. All bugs and fixes in ALL posts before post 183 taken care of :) |
I know that I'm admitting to myself how lazy I am if I install/utilize this hack... but I have no problem with that. :) Thanks, cing! Nice modifications.
|
Big thanks, this was what I was looking for a long time, great!
|
is it possible to add html codes ?
|
This shoudl come in handy. I'll try it out on my test board later this afternoon
|
Good job!
*clicks install* |
Very nice job
|
Very very nice, good idea too... good job!
|
Do ya think their would be anyway to take like the 5 newest ones and put those on a like the front page of vB Home?
But thank you so much for this hack, this rocks!!! |
Exactly what ive been looking for, for a very very long time!!!! :)
Thanks so much buddy. Kars [high]* Kars10 licks the install button for 10 min. ;)[/high] |
Quote:
But a great idea ... :p |
<a href="http://www.runaked.com/forums/articles.php" target="_blank">www.runaked.com/forums/articles.php</a>
Beta Testing right now...Tried to edit the articles I get this Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/runaked/public_html/forums/admin/vbArticlesadmin.php on line 182 Also someone should point out that if you have the Links hack installed that you do not have to mod the adminfunctions file. gmaik...Sorry had some personal stuff come up, should be finished soon! |
Quote:
Me too |
Works like a charm here. :)
But one thing, can you make it that people can post there articles there (like in the linkscrpt)? Would make more sense i think. I have not the time to add every article by myself. Thanks in advance Kars |
I think you could make this work in the supermod or mod folder and just add a link yes?
|
Quote:
1. Use an include, and include the top5new full url using something like Code:
include("http://domain.com/links.php?action=whatever4top5new"); 2. Check how it is taken in the top5new action and copy the code put it into a new file, and make sure you can access global.php and functions.php and include it to your site, but I am guessing if you want to put it into your site you will have to do code modifications because i am sure you do not want the Links Directory Layout showing up on your front page :) If you do want the links dir page then use the 1st way. |
Public Submissions/Validation Process would make this hack even perfecter! :p
|
Quote:
|
Sweet. Updated already. I'm glad I was too lazy to install it the first time. :p
|
UPDATES
version 0.2 is out - Added category icon support - Articles submission by registered members - admin option of validation of submitted articles Re-download the attached zip package and read the upgrade txt file carefully if upgrading from v0.1 For fresh installation , pls read the readme txt file contained in the zip package |
ADD-ON 1
Was reading up at teckwizards.com with regards to integration this hack w vbHome as requested. Came upon this thread. If going by Arunan's instructions, the following instructions should give you similiar result for having articles display on your vbHome portal page. This add-on assumes you have vbHome installed. Installation STEP 1 Open the index.php from the vBhome hack, and find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
STEP 2 Create a new Template, and call it home_articlemain, put the following code in : PHP Code:
PHP Code:
Now open the home template from the vBhome template group, and find: PHP Code:
PHP Code:
Not tested on my end - If you have this working on your vbHome site , pls let me know your site URL so i can add it as a demo for this add-on. |
Very nice hack :)
|
There is a small bug in it. In the recent articles section the date and author are not displaying.
search for: PHP Code:
PHP Code:
Kars |
Thanks for the report Kars, updated the zip file with the neccesary changes. :)
|
No Problem cinq. :)
|
Maybe someone is interessted in displaying a Articles count on Forumhome...
Just search for: // get newest member above it place: PHP Code:
|
ive installed version 0.2 but when i try and add an article the submit button doesnt work.
You can click it and thats about it, doesnt do anything |
Any ideas on how else to improve it ?
If now will push it to v1.0 status and move it to Full Release section and call it a day LOL :D |
@ cinq, i have made a article counter for each category and also a Hitcounter that displays in the article and the recent articles. If you want i can share this code. :)
Kars |
Screenshot:
|
Quote:
Better still overwrite it with this one ( same one taken from the template folder in the zip file ) |
Kars , that would be great :D
Either post here ( or attach the files ) or drop me a Private message , whichever is more convenient for you. Thanks once again :) |
great it works now :D
|
@ cinq, n/p. I?ll write it - zip it and send it to you. Just pm me your Email-Adress. :)
Kars |
cinq, you could just make a .zip of that add-on, it would be great, ok?!
|
Quote:
|
gmarik , will try to get it out as soon as Kars emails me :)
Really appreciate all the help and encouragement I am getting on this hack , this being my first hack and all. You folks are a great bunch :) |
Oh, I'll make some template changes and will post them as an add-on, it was a hack everybody has been waiting for a long time.
|
All times are GMT. The time now is 04:49 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|