vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Advanced FAQ (https://vborg.vbsupport.ru/showthread.php?t=149102)

harmor19 06-06-2007 10:00 PM

Advanced FAQ
 
Some members are asking for a better FAQ system and I hope this is it.

You do not need to access the Administrator Control Panel to add, edit, or delete any FAQ items.
You can use vBulletin's own HTML conditionals and variables when writing your FAQ.
Advanced FAQ uses the WYSIWYG editor (Thanks to MicroHellas for the tutorial).
It parses BBCode, images, HTML, and smilies. It does not automatically add line breaks. You will need to use the break tag (br />).

/* ############### LOG ############### */
--------------------------------------------
1.0.0 - First Release
--------------------------------------------

--------------------------------------------
1.0.1
In "Advanced FAQ" you can now search the FAQ items.
Please read the "install.txt" to add the Adv. FAQ menu to the navigation bar (navbar).
Click on the newly created menu to find a input box to type your search string.
---------------------------------------------

/* ################################## */

harmor19 06-07-2007 03:30 AM

This add-on does not come with predefined FAQ items.

iogames 06-07-2007 04:01 AM

Yeah I think this practice it's kind of...

Nice Hack!

harmor19 06-07-2007 04:34 AM

Quote:

Originally Posted by iogames (Post 1262926)
Yeah I think this practice it's kind of...

Nice Hack!

I'm sorry but I don't understand " I think this practice it's kind of".

DJ XtAzY 06-07-2007 04:46 AM

Nice hack! Now i can have mods to add FAQs

Hornstar 06-07-2007 05:02 AM

Okay nice work, but would be good to have the option of using just normal bb code instead of just html

apart from that, nice work.

JD45 06-07-2007 06:01 AM

Nice mod, thank you :up:

ssandgirls 06-07-2007 06:44 AM

Hello, I would like to just be able to allow mods to maintain the existing FAQ, not Admin, will this hack do that also?

or if not, do you know how I can change FAQ to also allow moderators to edit?

Sofia 06-07-2007 07:59 AM

Thanks Harmor :) Installed !

harmor19 06-07-2007 08:16 AM

Quote:

Originally Posted by ssandgirls (Post 1263025)
Hello, I would like to just be able to allow mods to maintain the existing FAQ, not Admin, will this hack do that also?

or if not, do you know how I can change FAQ to also allow moderators to edit?

Right now only admins can manage the FAQ's

COBRAws 06-07-2007 05:19 PM

It would be great so i could still keep using the default faq.php, it has a search engine, plus its the default file for the faqs.

Any way on hacking this around so we can do the same, thru the default faq page? this way its useless IMO

itsblack 06-07-2007 06:00 PM

Sorry, but why not use the vb default faq system? It will be nice, use the default faq system, and plus WYSIWYG editor.

EnIgMa1234 06-07-2007 06:12 PM

Quote:

Originally Posted by hornstar1337 (Post 1262956)
Okay nice work, but would be good to have the option of using just normal bb code instead of just html

apart from that, nice work.

you can use BB code, thats the whole point of the WYSIWYG editor. you can use if conditions too.


oh and great hack ---- installed*

harmor19 06-07-2007 06:21 PM

Quote:

Originally Posted by itsblack (Post 1263449)
Sorry, but why not use the vb default faq system? It will be nice, use the default faq system, and plus WYSIWYG editor.

It was easier for me to code it from scratch.

talenak 06-07-2007 10:19 PM

*Jumps on the Harmor groupie bandwagon* Installed! *edits sig to remove in search of faq mod*

AzzidReign 06-08-2007 02:00 AM

Nice hack! I've been needing a good FAQ system for my site.

Lionel 06-08-2007 03:36 AM

Very nice. This is much more than just a faq. It can be used to categorize anything. It would be nice if we could also subcategorize.

projectego 06-08-2007 08:42 AM

Very, very nice hack! I could definitely use something like this on one of my boards. Cheers! ;)

Sofia 06-08-2007 09:41 AM

This hack works perfectly and it's very practical. Good & great work, harmor :)

Just two problem : when i add a category and a FAQ, title is "Uncategorized" but it's not important.
And when you add a FAQ, you must use "<br />" to cross a line.

harmor19 06-08-2007 11:05 AM

Quote:

Originally Posted by Sofia (Post 1263977)
This hack works perfectly and it's very practical. Good & great work, harmor :)

Just two problem : when i add a category and a FAQ, title is "Uncategorized" but it's not important.
And when you add a FAQ, you must use "<br />" to cross a line.

The only items under the "Uncategorized" title should be FAQ items that were in a category you've deleted. Walk me through your process so I can recreate the problem.

The reason you must use "<br />" instead of having it automatically add line breaks is presentation.

PHP Code:

<if condition="!$bbuserinfo[userid]">
Guests
</if> 

If line breaks were created automatically you'd have a break before "Guests" because of the conditional.


On a side note... Do you like how it automatically redirects to the form to add a FAQ item after adding a new category?

harmor19 06-08-2007 12:06 PM

In "Advanced FAQ" you can now search the FAQ items.
Please read the "install.txt" to add the Adv. FAQ menu to the navigation bar (navbar).
Click on the newly created menu to find a input box to type your search string.

You must overwrite all the files

nexialys 06-08-2007 12:09 PM

in your screenshot, the $bbuseruserinfo variable is wrong... >> $bbuserinfo is ok

harmor19 06-08-2007 12:13 PM

Quote:

Originally Posted by nexialys (Post 1264083)
in your screenshot, the $bbuseruserinfo variable is wrong... >> $bbuserinfo is ok

Thanks.

talenak 06-09-2007 01:03 AM

I haven't installed it yet, waiting a bit while snags are worked out. Does this replace the faq item on the navbar? I don't want both of them there.

harmor19 06-09-2007 02:14 AM

Quote:

Originally Posted by talenak (Post 1264501)
I haven't installed it yet, waiting a bit while snags are worked out. Does this replace the faq item on the navbar? I don't want both of them there.

You'll have to remove the other one yourself. I guess I should write instructions on how to do so.

RedGTiVR6 06-09-2007 02:18 PM

so only admins have access to add faqs with this mod?

harmor19 06-09-2007 05:19 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1264810)
so only admins have access to add faqs with this mod?

Yes.

RedGTiVR6 06-09-2007 08:48 PM

typo:

after adding a category and you're taken to where you would type up the FAQ:

Quote:

Would you like to activate this etnry?
Should be:

Quote:

Would you like to activate this entry?
Also, I thought I read where this is a WYSIWYG editor? I just copied and pasted over some information from a FAQ post on our forum and it's all garbeled. No formatting what-so-ever. Is this supposed to be the case? Do I have to also enter in HTML to get it to format correctly?

harmor19 06-09-2007 09:33 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1265027)
typo:

after adding a category and you're taken to where you would type up the FAQ:



Should be:



Also, I thought I read where this is a WYSIWYG editor? I just copied and pasted over some information from a FAQ post on our forum and it's all garbeled. No formatting what-so-ever. Is this supposed to be the case? Do I have to also enter in HTML to get it to format correctly?

You need to add the break tag (<br />). I explained why a few posts back.

RedGTiVR6 06-10-2007 12:28 PM

If I wanted to make the editor box larger, how would I go about doing this?

Our site is a very technical site, so large FAQ articles are a given. Trying to edit these articles in the little bitty editor box is a bit difficult.

Also, I've put two articles under the same category. Instead of showing it like this:

Power Supplies
Power Supplies Explained
How to Pick a Power Supply

It shows up like this:

Power Supplies
Power Supplies Explained

Power Supplies
How to Pick a Power Supply

Is this by design? Is there any way I can change this? Can I change the order in which the articles are shown somehow?

RedGTiVR6 06-10-2007 01:14 PM

Quote:

Originally Posted by Mike-D (Post 1265451)
I thought I can use it, but the complete hack won't work. The PHP itself does not work and I get continuously DB Errors. Never mind. Maybe another release will work :)

This release works fine for me.

Have you tried uninstalling and reinstalling?

Without any information about the errors you're getting, I don't think the developer can help out.

harmor19 06-10-2007 05:52 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1265472)
If I wanted to make the editor box larger, how would I go about doing this?

Our site is a very technical site, so large FAQ articles are a given. Trying to edit these articles in the little bitty editor box is a bit difficult.

Also, I've put two articles under the same category. Instead of showing it like this:

Power Supplies
Power Supplies Explained
How to Pick a Power Supply

It shows up like this:

Power Supplies
Power Supplies Explained

Power Supplies
How to Pick a Power Supply

Is this by design? Is there any way I can change this? Can I change the order in which the articles are shown somehow?

There are to images https://vborg.vbsupport.ru/external/2010/09/6.gif and https://vborg.vbsupport.ru/external/2010/09/5.gif. Click on the arrow pointing downwards to make the text area larger.

It should group all the items together.

RedGTiVR6 06-10-2007 06:15 PM

Quote:

Originally Posted by harmor19 (Post 1265636)
There are to images https://vborg.vbsupport.ru/external/2010/09/6.gif and https://vborg.vbsupport.ru/external/2010/09/5.gif. Click on the arrow pointing downwards to make the text area larger.

Ahh!

Thanks for that...didn't realize that's what those were for.

Quote:

It should group all the items together.
It appears as if there are now two "Power Supplies" categories.

Is there a way I can delete the one that shouldn't be there? I'm not sure how it got there in the first place...

RedGTiVR6 06-10-2007 07:15 PM

one more noteable -

When i go back to edit a FAQ that's already there, the WYSIWYG aspect of the editor is no more.

It's back to the BB/HTML tags.

Is there a reason for this that I can fix on my end perchange or is this an issue with the mod?

RedGTiVR6 06-11-2007 06:07 PM

bump!

Any way to delete categories?

harmor19 06-11-2007 09:14 PM

Click on the category's title.

RedGTiVR6 06-11-2007 09:20 PM

but if I don't have a FAQ in the category, I can't delete it...

so this means I have to create a meaningless FAQ just so I can delete the category.

What would it take to be able to see a list of categories under the "Add Category" link...where you can edit or delete the current categories?

johnstires 06-21-2007 08:15 PM

Does this mod have permissions tied to it? I only want certain usergroups to be able to view the FAQs.

CMGU 06-21-2007 08:36 PM

cheking

harmor19 06-23-2007 09:10 AM

Quote:

Originally Posted by johnstires (Post 1273505)
Does this mod have permissions tied to it? I only want certain usergroups to be able to view the FAQs.

All usergroups are allowed to view the FAQ.


All times are GMT. The time now is 05:17 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.01310 seconds
  • Memory Usage 1,827KB
  • 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
  • (1)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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