FAQ (Frequently Asked Questions) mod

Started by Suki, June 20, 2011, 08:19:18 PM

Previous topic - Next topic

Jessica.

I don't desperately need categories, but I wouldn't mind that feature :)
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Matthew K.

MAS - Consider adding 'class="button_submit"' to your buttons so they fit in with SMF Styling. Looks nice though, congratulations on getting it finished :)

Suki

@GlitchPC, WasdMan and Jessica., fair enough ;)  I will add categories for the next version.

@Labradoodle-360  thanks, I'm going to use the button from the SMF editor and that, I believe, already has that class :)
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Cal O'Shaw

Fantastic!  Looking forward to seeing the next update!

You've written a really great MOD and are making it even better!

Cal

Matthew K.

It does utilize the proper class, good luck :) You know where to find me if you have any questions.

onepiece

For WYSIWYG support:

Sources/Faq.php

Code (Find) Select
        isAllowedTo('faqperview');

Code (Replace) Select
        if (!empty($_REQUEST['body_mode']) && isset($_REQUEST['body']))
        {
            $_REQUEST['body'] = html_to_bbc($_REQUEST['body']);
            $_REQUEST['body'] = un_htmlspecialchars($_REQUEST['body']);
            $_POST['body'] = $_REQUEST['body'];
        }

        isAllowedTo('faqperview');


Themes/default/Faq.template.php

Code (Find) Select
id="postmodify" class="flow_hidden"

Code (Replace) Select
id="postmodify" class="flow_hidden" onsubmit="submitonce(this);smc_saveEntities(\'postmodify\', [\'title\', \'body\']);"

Apllicmz

Thank you good work
Nice Mod
when Update dont forget portuguese and brazilian




Apllicmz

Thank you good work
Nice Mod
when Update dont forget portuguese and brazilian




Sabre™

Very nice mod. :)
Just passing through because I had to give you props for
',FaqCare(),'
To have the option shows class imo. 8)
Cheers :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Suki

Thank you Sabre.


Ok, a Small update:


Change Log

-1.0.1
   -Revamp of language strings.
   -Use of javascript:void(0) instead of # on Faq.template.php.
   -Fixed an issue with the WYSIWYG editor, thanks to Tenma.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Bugo


Jessica.

Quote from: Miss All Sunday on June 29, 2011, 08:01:44 PM
Thank you Sabre.


Ok, a Small update:


Change Log

-1.0.1
   -Revamp of language strings.
   -Use of javascript:void(0) instead of # on Faq.template.php.
   -Fixed an issue with the WYSIWYG editor, thanks to Tenma.

dang, not used to updating mods. do I have to uninstall the old verison and install the new version, or is there a way to upgrade...? I already have like 6 FAQs and it's a pain to redo them all over again...
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Spoogs

You can uninstall and re-install, just do NOT check the box to remove all data, your FAQ's will still be there when you re-install

Eclipse16V

Thanks for the Update.

Here the new German Lang
I worked with:
SMF 2 in German

Shop:
SID Giessen

Jessica.

Quote from: Spoogs on June 29, 2011, 10:36:40 PM
You can uninstall and re-install, just do NOT check the box to remove all data, your FAQ's will still be there when you re-install

okay doke, thanks ^_^
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Suki

or you can actually just upload the new version files to their respective folders, since this mod does not made any files edits, you can just upload those files and you will have you mod updated.


Note that this is only valid when there's no database changes.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Sudhakar Arjunan

Excellent mod, waiting for it long time back.

Will try soon.

As said, categories would be so useful too.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Suki

Yeah, I'm almost done with the categories and also added some other minor features,  should be available soon if nothing mayor occurs.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

lamminium

Hi Miss All Sunday,

Thank you for the wonderful mod.

I just have a problem: guests can't see the FAQs at all. How do I fix this?

Thanks. :)

EDIT: Oops, I found it. Should have tried the Permissions section before posting here. :P

Suki

Yes, you must set up the permissions for all your user groups ;)   by default only the admin can see the faq page.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Advertisement: