Back to top

Visualizza post

Questa sezione ti permette di visualizzare tutti i post inviati da questo utente. N.B: puoi vedere solo i post relativi alle aree dove hai l'accesso.


Post - BeNdErR

Pagine: [1]
1
Joomla! 1.6/1.7/2.5 / Re:Modulo gk4 weather
« il: 28 Mag 2011, 18:44:38 »
http://www.wunderground.com/

google dovrebbe prendere le informazioni da li, prova a usare il cap e vedi se lo trova, altrimenti boh :\

2
Joomla! 1.6/1.7/2.5 / Re:Modulo gk4 weather
« il: 28 Mag 2011, 14:52:35 »
Problema risolto, hanno rilasciato un aggiornamento. anche se attualmente manca l'icona per "leggera pioggia", ma siamo riusciti a sistemare questa lacuna.

3
novità sulla data di uscita dell'aggiornamento?

4
Joomla! 1.6/1.7/2.5 / Modulo gk4 weather
« il: 27 Mag 2011, 11:41:08 »
Salve a tutti,
ho installato il modulo Weather GK4 versione 1.1. Fino a qualche giorno fa funzionava tutto a meraviglia, da oggi invece le icone relative al meteo non vengono più caricate. Le informazioni come temperatura vento o umidità le carica, le immagini invece no. Analizzando con firebug la schermata, il tag <img src=""> in cui c'è l'immagine viene costruito, ma l'immagine non viene caricata perchè pare non trovare l'url (failed to load given url).

Non ho fatto modifiche al codice, quindi non vedo perchè non dovrebbe andare.. che ci sia stato qualche cambiamento da parte di google che ha incriccato il modulo?

grazie in anticipo

5
Fantastico, grazie mille!

7
Ciao, ho lo stesso identico problema dei due utenti qui sopra.. ho provatoa  seguire tutte le guide possibili per disinstallare/reinstallare flash, il sito di esempio di oziogallery con cooliris funziona, però sul mio no. Mannaggia a IE! (ho l'8 installato)

avete scoperto qualcosa?

Codice: [Seleziona]
var swfobject=function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7")}catch(t){try{y=new ActiveXObject(p+".6");AC=[6,0,21];y.AllowScriptAccess="always"}catch(t){if(AC[0]==6){AB=true}}if(!AB){try{y=new ActiveXObject(p)}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)]}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var L=function(){if(!h.w3cdom){return }f(H);if(h.ie&&h.win){try{K.write("<script id=__ie_ondomload defer=true src=//:><\/script>");J=C("__ie_ondomload");if(J){I(J,"onreadystatechange",S)}}catch(q){}}if(h.webkit&&typeof K.readyState!=b){Z=setInterval(function(){if(/loaded|complete/.test(K.readyState)){E()}},10)}if(typeof K.addEventListener!=b){K.addEventListener("DOMContentLoaded",E,null)}R(E)}();function S(){if(J.readyState=="complete"){J.parentNode.removeChild(J);E()}}function E(){if(e){return }if(h.ie&&h.win){var v=a("span");try{var u=K.getElementsByTagName("body")[0].appendChild(v);u.parentNode.removeChild(u)}catch(w){return }}e=true;if(Z){clearInterval(Z);Z=null}var q=o.length;for(var r=0;r<q;r++){o[r]()}}function f(q){if(e){q()}else{o[o.length]=q}}function R(r){if(typeof j.addEventListener!=b){j.addEventListener("load",r,false)}else{if(typeof K.addEventListener!=b){K.addEventListener("load",r,false)}else{if(typeof j.attachEvent!=b){I(j,"onload",r)}else{if(typeof j.onload=="function"){var q=j.onload;j.onload=function(){q();r()}}else{j.onload=r}}}}}function H(){var t=N.length;for(var q=0;q<t;q++){var u=N[q].id;if(h.pv[0]>0){var r=C(u);if(r){N[q].width=r.getAttribute("width")?r.getAttribute("width"):"0";N[q].height=r.getAttribute("height")?r.getAttribute("height"):"0";if(c(N[q].swfVersion)){if(h.webkit&&h.webkit<312){Y(r)}W(u,true)}else{if(N[q].expressInstall&&!A&&c("6.0.65")&&(h.win||h.mac)){k(N[q])}else{O(r)}}}}else{W(u,true)}}}function Y(t){var q=t.getElementsByTagName(Q)[0];if(q){var w=a("embed"),y=q.attributes;if(y){var v=y.length;for(var u=0;u<v;u++){if(y[u].nodeName=="DATA"){w.setAttribute("src",y[u].nodeValue)}else{w.setAttribute(y[u].nodeName,y[u].nodeValue)}}}var x=q.childNodes;if(x){var z=x.length;for(var r=0;r<z;r++){if(x[r].nodeType==1&&x[r].nodeName=="PARAM"){w.setAttribute(x[r].getAttribute("name"),x[r].getAttribute("value"))}}}t.parentNode.replaceChild(w,t)}}function k(w){A=true;var u=C(w.id);if(u){if(w.altContentId){var y=C(w.altContentId);if(y){M=y;l=w.altContentId}}else{M=G(u)}if(!(/%$/.test(w.width))&&parseInt(w.width,10)<310){w.width="310"}if(!(/%$/.test(w.height))&&parseInt(w.height,10)<137){w.height="137"}K.title=K.title.slice(0,47)+" - Flash Player Installation";var z=h.ie&&h.win?"ActiveX":"PlugIn",q=K.title,r="MMredirectURL="+j.location+"&MMplayerType="+z+"&MMdoctitle="+q,x=w.id;if(h.ie&&h.win&&u.readyState!=4){var t=a("div");x+="SWFObjectNew";t.setAttribute("id",x);u.parentNode.insertBefore(t,u);u.style.display="none";var v=function(){u.parentNode.removeChild(u)};I(j,"onload",v)}U({data:w.expressInstall,id:m,width:w.width,height:w.height},{flashvars:r},x)}}function O(t){if(h.ie&&h.win&&t.readyState!=4){var r=a("div");t.parentNode.insertBefore(r,t);r.parentNode.replaceChild(G(t),r);t.style.display="none";var q=function(){t.parentNode.removeChild(t)};I(j,"onload",q)}else{t.parentNode.replaceChild(G(t),t)}}function G(v){var u=a("div");if(h.win&&h.ie){u.innerHTML=v.innerHTML}else{var r=v.getElementsByTagName(Q)[0];if(r){var w=r.childNodes;if(w){var q=w.length;for(var t=0;t<q;t++){if(!(w[t].nodeType==1&&w[t].nodeName=="PARAM")&&!(w[t].nodeType==8)){u.appendChild(w[t].cloneNode(true))}}}}}return u}function U(AG,AE,t){var q,v=C(t);if(v){if(typeof AG.id==b){AG.id=t}if(h.ie&&h.win){var AF="";for(var AB in AG){if(AG[AB]!=Object.prototype[AB]){if(AB.toLowerCase()=="data"){AE.movie=AG[AB]}else{if(AB.toLowerCase()=="styleclass"){AF+=' class="'+AG[AB]+'"'}else{if(AB.toLowerCase()!="classid"){AF+=" "+AB+'="'+AG[AB]+'"'}}}}}var AD="";for(var AA in AE){if(AE[AA]!=Object.prototype[AA]){AD+='<param name="'+AA+'" value="'+AE[AA]+'" />'}}v.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AF+">"+AD+"</object>";i[i.length]=AG.id;q=C(AG.id)}else{if(h.webkit&&h.webkit<312){var AC=a("embed");AC.setAttribute("type",P);for(var z in AG){if(AG[z]!=Object.prototype[z]){if(z.toLowerCase()=="data"){AC.setAttribute("src",AG[z])}else{if(z.toLowerCase()=="styleclass"){AC.setAttribute("class",AG[z])}else{if(z.toLowerCase()!="classid"){AC.setAttribute(z,AG[z])}}}}}for(var y in AE){if(AE[y]!=Object.prototype[y]){if(y.toLowerCase()!="movie"){AC.setAttribute(y,AE[y])}}}v.parentNode.replaceChild(AC,v);q=AC}else{var u=a(Q);u.setAttribute("type",P);for(var x in AG){if(AG[x]!=Object.prototype[x]){if(x.toLowerCase()=="styleclass"){u.setAttribute("class",AG[x])}else{if(x.toLowerCase()!="classid"){u.setAttribute(x,AG[x])}}}}for(var w in AE){if(AE[w]!=Object.prototype[w]&&w.toLowerCase()!="movie"){F(u,w,AE[w])}}v.parentNode.replaceChild(u,v);q=u}}}return q}function F(t,q,r){var u=a("param");u.setAttribute("name",q);u.setAttribute("value",r);t.appendChild(u)}function X(r){var q=C(r);if(q&&(q.nodeName=="OBJECT"||q.nodeName=="EMBED")){if(h.ie&&h.win){if(q.readyState==4){B(r)}else{j.attachEvent("onload",function(){B(r)})}}else{q.parentNode.removeChild(q)}}}function B(t){var r=C(t);if(r){for(var q in r){if(typeof r[q]=="function"){r[q]=null}}r.parentNode.removeChild(r)}}function C(t){var q=null;try{q=K.getElementById(t)}catch(r){}return q}function a(q){return K.createElement(q)}function I(t,q,r){t.attachEvent(q,r);d[d.length]=[t,q,r]}function c(t){var r=h.pv,q=t.split(".");q[0]=parseInt(q[0],10);q[1]=parseInt(q[1],10)||0;q[2]=parseInt(q[2],10)||0;return(r[0]>q[0]||(r[0]==q[0]&&r[1]>q[1])||(r[0]==q[0]&&r[1]==q[1]&&r[2]>=q[2]))?true:false}function V(v,r){if(h.ie&&h.mac){return }var u=K.getElementsByTagName("head")[0],t=a("style");t.setAttribute("type","text/css");t.setAttribute("media","screen");if(!(h.ie&&h.win)&&typeof K.createTextNode!=b){t.appendChild(K.createTextNode(v+" {"+r+"}"))}u.appendChild(t);if(h.ie&&h.win&&typeof K.styleSheets!=b&&K.styleSheets.length>0){var q=K.styleSheets[K.styleSheets.length-1];if(typeof q.addRule==Q){[color=red]q.addRule(v,r)[/color]}}}function W(t,q){var r=q?"visible":"hidden";if(e&&C(t)){C(t).style.visibility=r}else{V("#"+t,"visibility:"+r)}}function g(s){var r=/[\\\"<>\.;]/;var q=r.exec(s)!=null;return q?encodeURIComponent(s):s}var D=function(){if(h.ie&&h.win){window.attachEvent("onunload",function(){var w=d.length;for(var v=0;v<w;v++){d[v][0].detachEvent(d[v][1],d[v][2])}var t=i.length;for(var u=0;u<t;u++){X(i[u])}for(var r in h){h[r]=null}h=null;for(var q in swfobject){swfobject[q]=null}swfobject=null})}}();return{registerObject:function(u,q,t){if(!h.w3cdom||!u||!q){return }var r={};r.id=u;r.swfVersion=q;r.expressInstall=t?t:false;N[N.length]=r;W(u,false)},getObjectById:function(v){var q=null;if(h.w3cdom){var t=C(v);if(t){var u=t.getElementsByTagName(Q)[0];if(!u||(u&&typeof t.SetVariable!=b)){q=t}else{if(typeof u.SetVariable!=b){q=u}}}}return q},embedSWF:function(x,AE,AB,AD,q,w,r,z,AC){if(!h.w3cdom||!x||!AE||!AB||!AD||!q){return }AB+="";AD+="";if(c(q)){W(AE,false);var AA={};if(AC&&typeof AC===Q){for(var v in AC){if(AC[v]!=Object.prototype[v]){AA[v]=AC[v]}}}AA.data=x;AA.width=AB;AA.height=AD;var y={};if(z&&typeof z===Q){for(var u in z){if(z[u]!=Object.prototype[u]){y[u]=z[u]}}}if(r&&typeof r===Q){for(var t in r){if(r[t]!=Object.prototype[t]){if(typeof y.flashvars!=b){y.flashvars+="&"+t+"="+r[t]}else{y.flashvars=t+"="+r[t]}}}}f(function(){U(AA,y,AE);if(AA.id==AE){W(AE,true)}})}else{if(w&&!A&&c("6.0.65")&&(h.win||h.mac)){A=true;W(AE,false);f(function(){var AF={};AF.id=AF.altContentId=AE;AF.width=AB;AF.height=AD;AF.expressInstall=w;k(AF)})}}},getFlashPlayerVersion:function(){return{major:h.pv[0],minor:h.pv[1],release:h.pv[2]}},hasFlashPlayerVersion:c,createSWF:function(t,r,q){if(h.w3cdom){return U(t,r,q)}else{return undefined}},removeSWF:function(q){if(h.w3cdom){X(q)}},createCSS:function(r,q){if(h.w3cdom){V(r,q)}},addDomLoadEvent:f,addLoadEvent:R,getQueryParamValue:function(v){var u=K.location.search||K.location.hash;if(v==null){return g(u)}if(u){var t=u.substring(1).split("&");for(var r=0;r<t.length;r++){if(t[r].substring(0,t[r].indexOf("="))==v){return g(t[r].substring((t[r].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(A&&M){var q=C(m);if(q){q.parentNode.replaceChild(M,q);if(l){W(l,true);if(h.ie&&h.win){M.style.display="block"}}M=null;l=null;A=false}}}}}();
ho provato a fare il debug in IE8, e mi da errore su q.addRule(v,r) (colorato in rosso all'interno del codice) dicendo "argomento non valido"..

**edit**
il tag [color] pare non funzionare all'interno dei tag {code}.. per trovare in che punto sta quella funzione q.addRule(v,r) cercate "{color=red}q.addRule(v,r)" -con le [] al posto di {}- per trovarlo al volo :D

8
Gallerie di immagini / Photogallery con paginazione settabile
« il: 13 Mag 2011, 19:36:48 »
Salve a tutti,
è da due giorni che giro in internet alla ricerca di un plugin/modulo che funga da photogallery, però non riesco a trovarne nessuna che mi consenta di settare la paginazione delle foto..
Ad esempio, se ho da visualizzare 100 foto, vorrei che venissero visualizzate 20 alla volta (quindi diciamo 5 "pagine"), e per scorrere queste 5 pagine vorrei cliccare un bottone o anche muovere il mouse, qualsiasi cosa va bene, senza però che venga ricaricata la pagina. Cliccando poi sulla foto vorrei venisse ingrandita in qualsiasi modo.
Non riesco a trovare nulla che ci assomigli in rete, alcune consentono solo di impostare quante foto voglio visualizzare, ad esempio 10, ma poi dalla 11esima alla 100esima devo scorrerle tramite "l'ingrandimento" del prewiew, non posso scegliere direttamente dall'elenco la foto che voglio vedere.

Voi avete qualche idea/consiglio/dritta da darmi?

Ogni aiuto o suggerimento è ben accetto, grazie mille :-*

9
Joomla! 1.5 / Re:IE il solito bastardo....
« il: 18 Ott 2010, 16:10:40 »
Ho avuto un problema simile con IE qualche giorno fa, controlla che non sia il CSS... A quanto pare IE non ama molto i position:relative.

10
Uhm non saprei dirti qual'è.. Dovrebbe essere quello di base, non ne ho installati/aggiunti altri.. Come faccio a sapere che editor è? Così riesco a darti informazioni più accurate.

Grazie

12

Salve a tutti, spero che il titolo del thread rappresenti al meglio questo problema..

NB: con editor disattivato intendo che non si vedono i tag html, attivato invece li mostra.

Dunque, ho un articolo, al suo interno ho inserito del testo tramite editor, così da poter inserire anche dei tag html: per farvi un esempio, ho inserito questo:
Codice: [Seleziona]
<div id="gino" class="pino">
testo a caso, testo a caso, testo a caso caso caso testo a caso testo.</br>
A caso testo a caso testo a caso testo a caso.
</div>
Se esco dalla modalità editor, visualizzo il testo in questo modo:
Codice: [Seleziona]
testo a caso, testo a caso, testo a caso caso caso testo a caso testo.
A caso testo a caso testo a caso testo a caso.

Fino a qui non ci sono problemi, salvo tranquillamente e tutto funziona alla perfezione.
Se però vado a modificare il testo (con EDITOR DISATTIVATO) modificandolo, ad esempio, in questo modo:
Codice: [Seleziona]
testo a caso, testo a caso, testo a caso caso caso testo a caso testo.
[color=red]TESTOINSERITO:HOFATTOINVIOEPOIHOSCRITTO.[/color]
A caso testo a caso testo a caso testo a caso.
joomla automaticamente mi "rompe" il div gino in due, creando un altro div, e sballandomi la visualizzazione per colpa di questo nuovo div.. così è come appare, dopo l'inserimento, il codice con EDITOR ATTIVATO:
Codice: [Seleziona]
<div id="gino" class="pino">testo a caso, testo a caso, testo a caso caso caso testo a caso testo.</div>
<div class="pino">TESTOINSERITO:HOFATTOINVIOEPOIHOSCRITTO.<br />A caso testo a caso testo a caso testo a caso.</div>

Come potete notare, sulla secodna riga, c'è un nuovo div, con la classe "pino". Perchè succede questo? c'è modo di disattivarlo? io vorrei semplicemente poter scrivere del testo aggiuntivo, senza la creazione automatica da parte del gestore deglia articoli di div che non mi servono o che mi complicano la vita.

Grazie per l'attenzione, attendo vostre notizie.

13
SEO / Re:Nome sito in goolge
« il: 29 Apr 2010, 21:46:35 »
Porta pazienza, non me ne intendo troppo..

cercando ho trovato questo: http://www.joomla.it/download-della-community/item/67-meta-tags-e-verifica-spider.html

in basso alla pagina ci sono alcune parole che penso saranno quelle che potrò settare per descrivere il mio sito, però non ho idea di cosa indichino..

un'altra cosa: nel mio sito ho una shoutbox, e quando cerco il nome del sito su google nell'elenco mi compaiono gli ultimi 2 o 3 messaggi lasciati nella shoutbox, su una pagina bianca. può essere dovuta al sitemap che ho creato?

14
SEO / Re:Nome sito in goolge
« il: 28 Apr 2010, 23:27:56 »
Nessuno che mi aiuta? :-\

15
SEO / Nome sito in goolge
« il: 27 Apr 2010, 23:08:33 »
Salve a tutti, ho notato che il mio sito in google appare si tra i primi (grazie a sitemap!), però come link da cliccare viene fuori "Menu" anzichè, ad esempio, il nome del sito o Homepage piuttosto che qualcos'altro.

Come posso risolvere questo problema? Forse google prende la prima parola che incontra nel sito e la mette come link?

Grazie per l'attenzione

16
Sviluppo / Re:Captcha
« il: 25 Apr 2010, 15:25:28 »
dici nella shoutbox o nel captcha?

la shoutbox da quanto ho letto nella descrizione ha il captcha, ma penso riguardi solo la zona "login" relativa agli utenti. io sul mio sito non ho la registrazione perchè non mi serve al momento..

per quanto riguarda il plugin del captcha sempre nella descrizione ho letto che funziona su qualsiasi form, basta inserire quel pezzo di codice php.

però magari sbagliavo io a inserirlo, ho girato su altri forum e leggevo di altri utenti che lo mettevano nel form (l'ho fatto anche io) ma forse c'è qualche cosa da fare per collegarlo all'<input> del bottone INVIA, ma non so come.

17
Sviluppo / Re:Captcha
« il: 25 Apr 2010, 12:55:08 »
qualcuno ha idee?

18
Sviluppo / Captcha
« il: 25 Apr 2010, 00:26:58 »
Salve a tutti,

vorrei inserire un captcha nel form della shoutbox che ho installato sul mio sito (un componente che si chiama AjaxShoutbox).

Ho provato un'infinità di captcha, però non riesco a farne funzionare nemmeno uno.. Alcuni dicevano di inserire un tag nel file, altri un blocco di codice php.

Il massimo che sono riuscito ad ottenere è stato visualizzare il captcha, ma non riuscendo a far "dialogare" tra loro l'inserimento del codice e il bottone SEND della shoutbox..

Se non ho capito male, il codice andrebbe inserito nel file default.php contenuto in /modules/mod_shoutbox/tmpl/, vi allego il codice cosi se potete mi spiegate anche esattamente DOVE e COME va inserito:

Citazione
<?php
JHTML::_('behavior.mootools');
$module_base     = JURI::base() . 'modules/mod_shoutbox/';
$document =& JFactory::getDocument();
$document->addScript($module_base . 'js/fatAjax.js');
if(JPluginHelper::isEnabled('system', 'yvsmiley')) {
   if($params->get('post_guest') || $loggedin != 'guest') {
      $document->addScript($module_base . 'js/sbsmile.js');
   }
}
$document->addStyleSheet($module_base . 'css/mod_shoutbox.css');
?>

<script type="text/javascript">
   var jal_org_timeout = <?php echo intval($params->get( 'refresh', 4 )) * 1000; ?>;
   var jal_timeout = jal_org_timeout;
   var fadefrom = '<?php echo $params->get("fadefrom"); ?>';
   var fadeto = '<?php echo $params->get("fadeto"); ?>';
   var GetChaturl = "<?php echo $getshouts ?>";
   var SendChaturl = "<?php echo $addshout ?>";
</script>

<div id="shoutbox">

   <div id="chatoutput">

      <?php $first_time = true; ?>
      <?php foreach ($list as $item) : ?>
         <?php if ($first_time == true):
         $lastID = $item->id; ?>
            <div id="lastMessage"><span><?php echo JText::_( 'LAST_MESSAGE'); ?>:</span> <em id="responseTime"><?php echo modShoutboxHelper::time_since($item->time); ?> <?php echo JText::_( 'AGO'); ?></div><ul id="outputList">
         <?php endif; ?>
         <?php if ($maydelete): ?>
         <li><span title="<?php echo $item->ip; ?>"><?php echo $item->url; ?> : </span><?php echo $item->text; ?> <a href="<?php echo $delshout; ?>&amp;shoutid=<?php echo $item->id; ?>" title="Delete">x[/url]</li>
         <?php else : ?>
         <li><span title="<?php echo modShoutboxHelper::time_since($item->time); ?>"><?php echo $item->url; ?> : </span><?php echo $item->text; ?></li>
         <?php endif; ?>
         <?php $first_time = false; ?>
      <?php endforeach; ?>
      </ul>
   </div>

   <?php if ($params->get('tag')) : ?>
   <p><?php echo JText::_( 'GUESTTAG');?></p>
   <?php endif; ?>
   <?php if ($params->get('post_guest') || $loggedin != 'guest') : ?>
   <form id="chatForm" name="chatForm" method="post" action="index.php">
            
      <p>
         <?php $name = ($params->get("name")) ? $user->get('name') : $user->get('username'); ?>
         <?php if($loggedin != 'guest') :  /* If they are logged in, then print their nickname */ ?>
         <label><?php echo JText::_( 'NAME'); ?> <?php echo $name; ?></label>
         <input type="hidden" name="shoutboxname" id="shoutboxname" class="inputbox" value="<?php echo $name; ?>" />
         <?php else:  /* Otherwise allow the user to pick their own name */ ?>
         <label for="shoutboxname"><?php echo JText::_( 'NAME'); ?></label>
         <input type="text" name="shoutboxname" id="shoutboxname" class="inputbox" value="<?php if (isset($_COOKIE['jalUserName'])) { echo $_COOKIE['jalUserName']; } ?>" />
         <?php endif; ?>
         <?php if (!$params->get('url')) : ?>
         <span style="display: none">
         <?php endif; ?>
         <label for="shoutboxurl">Url:</label>
         <input type="text" name="shoutboxurl" id="shoutboxurl" class="inputbox" value="<?php if (isset($_COOKIE['jalUrl'])) { echo $_COOKIE['jalUrl']; } else { echo 'http://'; } ?>" />
         <?php if (!$params->get('url')) : ?>
         </span>
         <?php endif; ?>
         
         <label for="chatbarText"><?php echo JText::_( 'MESSAGE'); ?></label>
         <?php if ($params->get('textarea')) : ?>
         <?php
         $Form = '';
         $mainframe->triggerEvent('onBBCode_RenderForm', array('document.forms.chatForm.chatbarText', &$Form) );
         echo $Form;
         ?>
         <textarea rows="4" cols="16" name="chatbarText" id="chatbarText" class="inputbox" onkeypress="return pressedEnter(this,event);"></textarea>
         <?php else: ?>
         <input type="text" name="chatbarText" id="chatbarText" class="inputbox" onkeypress="return pressedEnter(this,event);"/>
         <?php endif; ?>
         <input type="text" name="website" id="website" class="website" />
         
      </p>
      <?php if(JPluginHelper::isEnabled('system', 'yvsmiley')): ?>
      <a id="toggle" href="#" name="toggle"><?php echo JText::_( 'SMILEYS'); ?>[/url]
      <?php
      $smilies = '';
      $mainframe->triggerEvent('onSmiley_RenderForm', array('document.forms.chatForm.chatbarText', &$smilies, 'sbsmile') );
      echo $smilies;
      ?>
      <?php endif; ?>
      <input type="hidden" id="jal_lastID" value="<?php echo $lastID + 1; ?>" name="jal_lastID" />
      <input type="hidden" name="shout_no_js" value="true" />
      <input type="submit" id="submitchat" name="submit" class="button" value="<?php echo JText::_( 'Invia'); ?>" />
            
   </form>

   <?php else: ?>
   <p><?php echo JText::_( 'REGISTER_ONLY'); ?></p>
   <?php endif; ?>
</div>

Il nome del plugin che sto cercando di far funzionare è osolcaptcha, il codice da inserire è (con allegata piccola descrizione copiata dal sito del plugin)

Citazione
In addtion to the above forms for which the captcha is added automatically upon publishing this plugin,it also enables you to add captcha functionality to any other joomla forms by just putting the following PHP block in the HTML of the form where you want the captcha to show.Usually just before the submit button of the form.


<?php
global $mainframe;
//set the argument below to true if you need to show vertically( 3 cells one below the other)
$mainframe->triggerEvent('onShowOSOLCaptcha', array(false));
?>

Non riesco proprio a capire come settarlo per farlo andare, sono ben accetti anche consigli su captcha migliori e più facili da utilizzare per il mio scopo.

Grazie per l'attenzione, attendo vostre risposte.

Pagine: [1]


Web Design Bolzano Kreatif