Back to top

Autore Topic: Segnalazione mambot: Core Design Content protect New  (Letto 2179 volte)

Offline .Andrea S.

  • Instancabile
  • ******
  • Post: 4404
  • Sesso: Maschio
    • Mostra profilo
Molte persone chiedono come rendere i contentui (articoli/file/immagini) visibili solo a determinate persone e magari accessibili via password.

Vi segnalo questo mambot che dovrebbe aiutare a risolvere il problema:  Core Design Content protect New

Citazione
Instructions

Note: Please you must keep the order parameters.

Notation:

{contentprotect} Lorem ipsum... {/contentprotect}

Is some like following notation (defaul settings):

{contentprotect authtype=http, title=Protected Content, user=admin, password=password} Lorem ipsum... {/contentprotect}

Explication:

   1. authtype: Type of autentification. Default is HTTP Autentification.
          * HTTP Autentification - http
          * Cookie Autentefication - cookie
   2. title: Enter the name (title) for your protected content. Default is "Protected Content".
   3. username: Username for your content. If you are using the Session autentification, you don't have to enter username. Default is "admin".
   4. password: Password for your content. Default is "password".

Example (HTTP autentification)

Content 1: {contentprotect title=Title 1, user=user, password=password} Lorem ipsum... {/contentprotect}
Content 2: {contentprotect title=Title 2, user=user2, password=password2} Lorem ipsum... {/contentprotect}
Content 3: {contentprotect title=Title 3, user=user, password=password} Lorem ipsum... {/contentprotect}

When user has access to Content 1, has access to Content 3 too - some "user" and "password".
Example (Cookie autentification)

Content 1: {contentprotect title=Title 1, password=password} Lorem ipsum... {/contentprotect}
Content 2: {contentprotect title=Title 1, password=password2} Lorem ipsum... {/contentprotect}
Content 3: {contentprotect title=Title 3, user=user, password=password} Lorem ipsum... {/contentprotect}

When user has access to Content 1, has access to Content 2 too - some "title".

In pratica potete creare link per il donwload con la password, contenuti accessibili solo a utenti, immaggini visibili solo al cliente.... insomma potete sbizzarrirvi.

Se vi piace e vi è utile ricordatevi di offrire una birra (piccola donazione) a chi lo ha sviluppato.
Ciao
Andrea | www.joomlovers.net | Il sito per gli amanti di Joomla!

Offline Maorinz

  • Instancabile
  • ******
  • Post: 2641
  • Sesso: Maschio
  • ©il brillar per se stessi non porta emozioni
    • Mostra profilo
Re: Segnalazione mambot: Core Design Content protect New
« Risposta #1 il: 21 Set 2007, 12:46:35 »
ma quante ne sai.... :D

Offline carli55

  • Nuovo arrivato
  • *
  • Post: 1
    • Mostra profilo
Re: Segnalazione mambot: Core Design Content protect New
« Risposta #2 il: 29 Gen 2008, 20:27:25 »
ho installato questo Mambot su Joomla1.0 e lo ho pubblicato.
ho creato una pagina statica e ci ho inserito questo codice
{contentprotect authtype=http, title=Protected Content, user=admin, password=password} Lorem ipsum... {/contentprotect}

quando clicco sul link alla pagina mi viene chiesto user e password, inserisco 'admin' e 'password' ma il browser mi ripresenta nuovamente la finestra di inserimento user e password, come se non avessi inserito i dati.
Hai idea di cosa sbaglio? Scusa ma sono una user 'novella'  ???


Offline .Andrea S.

  • Instancabile
  • ******
  • Post: 4404
  • Sesso: Maschio
    • Mostra profilo
Re: Segnalazione mambot: Core Design Content protect New
« Risposta #3 il: 30 Gen 2008, 09:50:43 »
Non ho mai provato il componente, ma guardando gli esempi direi di provare a levare "authtype=http".
Andrea | www.joomlovers.net | Il sito per gli amanti di Joomla!

 



Web Design Bolzano Kreatif