Joomla.it Forum
Joomla! 1.0.x (versione con supporto terminato) => Le voci di Joomla.it (solo per versione Joomla 1.0.x) => : .Andrea S. 21 Sep 2007, 12:39:25
-
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 (http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,3106/Itemid,35/)
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
-
ma quante ne sai.... :D
-
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' ???
-
Non ho mai provato il componente, ma guardando gli esempi direi di provare a levare "authtype=http".