Increased security for private areas - no sharing

You have a suggestion for a future version of phpMyFAQ? Then post it here!

Moderator: Thorsten

Post Reply
microbe
Posts: 7
Joined: Sun Jun 10, 2012 12:30 am

Increased security for private areas - no sharing

Post by microbe »

Hey there,

A good feature for the future would to be able to turn off sharing via facebook etc for individual categories.

I have an install with some public categories and some private. Specific people have access to the private categories and of course it is impossible to stop people copying or whatever but why make it easier to share private posts (even unintentionally) in a public place by having social network buttons?
All the best,

Steve
Sorry...what was the question?
DaveV
Posts: 15
Joined: Fri Aug 31, 2012 6:50 pm

Re: Increased security for private areas - no sharing

Post by DaveV »

It would be nice to be able to disable any or all of the social media icons in that box. In the mean time, I've been forced to comment out the "aside" area in my template which turns off not only that, but two other boxes as well. Not a perfect fix, but like you I can't have users sharing pages meant only for them.

There is a Social Media settings area but it doesn't turn them all off, only on certain pages.
microbe
Posts: 7
Joined: Sun Jun 10, 2012 12:30 am

Re: Increased security for private areas - no sharing

Post by microbe »

How about posting the changes you made
All the best,

Steve
Sorry...what was the question?
DaveV
Posts: 15
Joined: Fri Aug 31, 2012 6:50 pm

Re: Increased security for private areas - no sharing

Post by DaveV »

All I did was comment out the {rightBox} in the "aside" section in index.tpl in my template folder

Trouble with this is that it also removed "Most Popular" and "Top FAQs" but I didn't need those two anyway.

Code: Select all

<aside>
       <!-- {rightBox} -->
        <section>
            <header>
                <h3>{stickyRecordsHeader}</h3>
            </header>
            <ul>
                [stickyRecordsList]
                <li><a href="{stickyRecordsUrl}">{stickyRecordsTitle}</a></li>
                [/stickyRecordsList]
            </ul>
        </section>
    </aside>
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Increased security for private areas - no sharing

Post by Thorsten »

Hi,

you could change it in catandtag.tpl and artikel.tpl

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
DaveV
Posts: 15
Joined: Fri Aug 31, 2012 6:50 pm

Re: Increased security for private areas - no sharing

Post by DaveV »

That works better, but it still allows social media links when I click on an article. I can't find where in artikel.tpl to turn it off.
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Increased security for private areas - no sharing

Post by Thorsten »

Hi,

did you checked catandtag.tpl?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
DaveV
Posts: 15
Joined: Fri Aug 31, 2012 6:50 pm

Re: Increased security for private areas - no sharing

Post by DaveV »

Yes, that one was easy to find. I can't find what to edit in artikel.tpl
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Increased security for private areas - no sharing

Post by Thorsten »

Hi,

sorry, I was wrong.

It's catandtag.tpl and startpage.tpl

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
DaveV
Posts: 15
Joined: Fri Aug 31, 2012 6:50 pm

Re: Increased security for private areas - no sharing

Post by DaveV »

That did it. Thank you again!
xxxmicrobexxx
Posts: 12
Joined: Tue Jul 30, 2013 5:03 am

Re: Increased security for private areas - no sharing

Post by xxxmicrobexxx »

csluyuan wrote:I can't find what to edit in artikel.tpl

Read back through the entire thread. Thorsten corrected himself, it isn't artikel.tpl, it is startpage.tpl
Post Reply