Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbArticles v0.4 -- For your repository of Articles/Tutorials/FAQs etc. Details »»
vbArticles v0.4 -- For your repository of Articles/Tutorials/FAQs etc.
Version: 1.00, by cinq cinq is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 06-13-2003 Last Update: Never Installs: 48
Is in Beta Stage  
No support by the author.

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


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

Show Your Support

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

Comments
  #192  
Old 08-02-2003, 10:53 PM
FastAttack FastAttack is offline
 
Join Date: Feb 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

one more request can you make it so that certain mods can access this and add faq and articles to the system? because so far its only restricted to admins.. and I don't want to give my mods access to it.
Reply With Quote
  #193  
Old 08-03-2003, 03:26 AM
dontpanic dontpanic is offline
 
Join Date: Jun 2003
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
08-01-03 at 03:11 AM cinq said this in Post #184
UPDATES
version 0.4 is out

- Now allows for basic VBCODE input in article submission and addition.
- Fixed all reported bugs up to post 183
Hiya cing...what's really new over the v0.3 plus the changes we discussed? Any new Admin functionality I need to be aware of...just wondering 'cause I've already taken your great hack and hacked it even more to customize it. I've got the HTML editor integrated now in the submission page as well as a search function...of course, those were both commerical add-ons that I had to buy...but ah well, it works nicely.

Thanks again!
:chinese:
Reply With Quote
  #194  
Old 08-03-2003, 04:19 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Other than the fixes for the bugs reported previously, no other changes.

Check the changelog, main changes are inclusion of the bug fixes and VBcode integration.

I just found a HTML editor thats free , may try to integrate that at a later date too !
Reply With Quote
  #195  
Old 08-04-2003, 08:05 PM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1st page 200 / 2003 is the best free html editor, it's great for editing templates with ultra edit

http://www.ultraedit.com
http://www.evrsoft.com
Reply With Quote
  #196  
Old 08-04-2003, 11:05 PM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep , i use those 2 utilities myself actually.
However i was refering to a WYSIWYG tool for inputting of articles.


anyways the next version will not be too soon, totally bogged down by work ... argh
Reply With Quote
  #197  
Old 08-07-2003, 03:06 AM
supreemball supreemball is offline
 
Join Date: Nov 2001
Location: houston, tx
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome hack, cinq. i installed v0.4 with minimal trouble (except for the html issue in the content field which i fixed by reading the fixes in this thread).

my suggestions for the next release are a ratings system for each article (as well as a 'sort by top ratings' routine).. also get rid of the 'date' option when submitting articles and just autofill it in with php's date() routine (or whatever its called).
Reply With Quote
  #198  
Old 08-07-2003, 04:07 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you point out which html bits you faced errors with ?
I had assumed i had included all fixes prior to that 0.4 release into the download.

Yes, a ratings system is planned but not so soon.
kars10 is working on that, have yet to hear from him.

As for the date function, yes, i intend to make it a timestamp instead of having to manually fill in the date. Should make sorting easier too.
Reply With Quote
  #199  
Old 08-07-2003, 05:32 PM
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Location: Van Nuys, CA
Posts: 713
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cinq, this is simply awesome. It installed flawlessly.

Some suggestions I would have are already on your todo list (like sub-categories).

Other suggestions I have are as follows.

1. Don't ask for the date, just take it from the system date.

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 (like on vBulletin.org).

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.

5. Have a "Posted By" field show up when displaying an article and have it put in the username of the person who posted it. Even show the "Posted By" when listing articles. This is useful for when the article author is not the same as the person of posted it.

6. An ACP option to choose who is allowed to post/edit/view articles in each category. This is good if you want users to just post articles to a particular category and then you move them to the appropriate spot later. It is also good if you have a series of articles that you want to be available only to your moderators or admins.

7. An option in the ACP to change the Display Order when viewing the list of articles/categories without having to edit each individual article/category. The same way that the forum listing allows you to change the display order without having to edit each individual forum.

8. And lastly (probably not), Add a "Search" feature or tie the articles into the existing vBulletin search routine.

I want to replace my existing FAQ section (which is currently housed in a forum so it can be searched) with this one because it has so much potential.

Overall, good work tho.
Reply With Quote
  #200  
Old 08-07-2003, 07:11 PM
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Location: Van Nuys, CA
Posts: 713
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just noticed that when an article is posted, the font is very small. If anybody else is having this problem, just do the following.

Edit the "vbArticles_articleview" template.

Look for:

PHP Code:
<smallfont>$content</smallfont
and replace it with:

PHP Code:
$content 
That's it. If you want to add a font tag to it, you can. this way your users can just type in the article and it will display int he font of your choice. Something like this:

PHP Code:
<font face="Arial" size="3">$content</font
Reply With Quote
  #201  
Old 08-07-2003, 07:48 PM
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Location: Van Nuys, CA
Posts: 713
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those of you who cannot leave well enuf alone, here is something I changed. I wanted the "Recently Added Articles" section to be listed at the top. Here is how you do that.

Edit the "vbArticles_main" template and look for
PHP Code:
<table cellpadding="4" cellspacing="1" border="0"  width="100%">
<
tr id="cat">
    <
td align="left" background="https://vborg.vbsupport.ru/images/catbg_ukc.gif" bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="2"><normalfont color="#000000"><b>$top5catname</b></normalfont></td>
</
tr>
<
tr align="center">
          <
td bgcolor="#1D6AA0" align="left"><smallfont color="#EEEEFF"><b>Title</b></smallfont></td><td width="50" bgcolor="#1D6AA0" align="center"><smallfont color="#EEEEFF"><b>Views</b></smallfont></td>

</
tr>
$top5listbit
</table
Remove it. Now look for
PHP Code:
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E"  width="95%" align="center"><tr><td
Just below that, add
PHP Code:
<table cellpadding="4" cellspacing="1" border="0"  width="100%"><tr id="cat"><td align="left" bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="2"><normalfont color="#000000"><b>$top5catname</b></normalfont></td></tr><tr align="center"><td bgcolor="#1D6AA0" align="left"><smallfont color="#EEEEFF"><b>Title</b></smallfont></td><td width="50" bgcolor="#1D6AA0" align="center"><smallfont color="#EEEEFF"><b>Views</b></smallfont></td></tr>$top5listbit</table
Reply With Quote
Reply


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 05:58 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05161 seconds
  • Memory Usage 2,350KB
  • Queries Executed 25 (?)
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
  • (6)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete