vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vbArticles v0.4 -- For your repository of Articles/Tutorials/FAQs etc. (https://vborg.vbsupport.ru/showthread.php?t=54331)

FastAttack 08-02-2003 10:53 PM

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.

dontpanic 08-03-2003 03:26 AM

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:

cinq 08-03-2003 04:19 AM

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 ! :D

PixelFx 08-04-2003 08:05 PM

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

cinq 08-04-2003 11:05 PM

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

supreemball 08-07-2003 03:06 AM

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).

cinq 08-07-2003 04:07 AM

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.

Holidazed 08-07-2003 05:32 PM

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.

Holidazed 08-07-2003 07:11 PM

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


Holidazed 08-07-2003 07:48 PM

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



All times are GMT. The time now is 10:50 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
  • Page Generation 0.01319 seconds
  • Memory Usage 1,773KB
  • 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
  • (6)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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