MyXoops Forum

Forum - myXOOPS German Support

6 + 8 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Aw:: WF Download / Downloads anzeigen ohne login - nur mit login Downloaden

Betreff: Aw:: WF Download / Downloads anzeigen ohne login - nur mit login Downloaden
von Bleekk am 24.04.2009 00:16:36

da hätte ich vielleicht eine idee, du müsstest sie aber testen. öffne mal im templates ordner wfdownload_download.html ab zeile 84 bis 95 steht so etwas drin:
<a href="<{$xoops_url}>/modules/wfdownloads/visit.php?cid=<{$down.cid}>&amp;lid=<{$down.id}>">
  <
img src="<{$xoops_url}>/modules/wfdownloads/images/icon/downloads.gif" alt="<{$smarty.const._MD_WFD_DOWNLOADNOW}>" title="<{$smarty.const._MD_WFD_DOWNLOADNOW}>" align="middle" />
      <{
$smarty.const._MD_WFD_DOWNLOADNOW}></a>&nbsp;&nbsp;
     <{if 
$down.use_mirrors == && $down.mirrors_num >= 1}>
       <
a href="<{$xoops_url}>/modules/wfdownloads/mirror.php?op=list&amp;cid=<{$down.cid}>&amp;lid=<{$down.id}>">
       <
img src="<{$xoops_url}>/modules/wfdownloads/images/icon/downloads02.gif" alt="<{$smarty.const._MD_WFD_DOWNLOADMIRRORS}>" title="<{$smarty.const._MD_WFD_DOWNLOADMIRRORS}>" align="middle" /> <{$smarty.const._MD_WFD_DOWNLOADMIRRORS}></a>
     <{/if}>
     <{if 
$down.use_mirrors !== && $down.mirror != ''}>
        <
img src="<{$xoops_url}>/modules/wfdownloads/images/icon/downloads02.gif" alt="<{$smarty.const._MD_WFD_DOWNLOADMIRRORS}>" title="<{$smarty.const._MD_WFD_DOWNLOADMIRRORS}>" align="middle" /> <{$down.mirror}>
      <{/if}>
vor diesem codeblock dazuschreiben:
<{if $xoops_isuser}>
darunter dann ein <{else}> dann diesen block nochmal kopieren, die links zum download mit dem link zu deiner seite ersetzen und dann drunter noch ein <{/if}> also dann schaut es ca so aus:
<{if $xoops_isuser}>
      <
a href="<{$xoops_url}>/modules/wfdownloads/visit.php?cid=<{$down.cid}>&amp;lid=<{$down.id}>">
      <
img src="<{$xoops_url}>/modules/wfdownloads/images/icon/downloads.gif" alt="<{$smarty.const._MD_WFD_DOWNLOADNOW}>" title="<{$smarty.const._MD_WFD_DOWNLOADNOW}>" align="middle" />
     <{
$smarty.const._MD_WFD_DOWNLOADNOW}></a>&nbsp;&nbsp;
     <{if 
$down.use_mirrors == && $down.mirrors_num >= 1}>
       <
a href="<{$xoops_url}>/modules/wfdownloads/mirror.php?op=list&amp;cid=<{$down.cid}>&amp;lid=<{$down.id}>">
       <
img src="<{$xoops_url}>/modules/wfdownloads/images/icon/downloads02.gif" alt="<{$smarty.const._MD_WFD_DOWNLOADMIRRORS}>" title="<{$smarty.const._MD_WFD_DOWNLOADMIRRORS}>" align="middle" /> <{$smarty.const._MD_WFD_DOWNLOADMIRRORS}></a>
     <{/if}>
     <{if 
$down.use_mirrors !== && $down.mirror != ''}>
        <
img src="<{$xoops_url}>/modules/wfdownloads/images/icon/downloads02.gif" alt="<{$smarty.const._MD_WFD_DOWNLOADMIRRORS}>" title="<{$smarty.const._MD_WFD_DOWNLOADMIRRORS}>" align="middle" /> <{$down.mirror}>
      <{/if}>
         <{else}>
            <
a href="deine seite mit der info sich zu registrieren">
      <
img src="<{$xoops_url}>/modules/wfdownloads/images/icon/downloads.gif" alt="<{$smarty.const._MD_WFD_DOWNLOADNOW}>" title="<{$smarty.const._MD_WFD_DOWNLOADNOW}>" align="middle" />
     <{
$smarty.const._MD_WFD_DOWNLOADNOW}></a>&nbsp;&nbsp;
     <{if 
$down.use_mirrors == && $down.mirrors_num >= 1}>
       <
a href="deine seite mit der info sich zu registrieren">
        <
img src="<{$xoops_url}>/modules/wfdownloads/images/icon/downloads02.gif" alt="<{$smarty.const._MD_WFD_DOWNLOADMIRRORS}>" title="<{$smarty.const._MD_WFD_DOWNLOADMIRRORS}>" align="middle" /> <{$smarty.const._MD_WFD_DOWNLOADMIRRORS}></a>
     <{/if}>
     <{if 
$down.use_mirrors !== && $down.mirror != ''}>
        <
img src="<{$xoops_url}>/modules/wfdownloads/images/icon/downloads02.gif" alt="<{$smarty.const._MD_WFD_DOWNLOADMIRRORS}>" title="<{$smarty.const._MD_WFD_DOWNLOADMIRRORS}>" align="middle" /> <{$down.mirror}>
      <{/if}>
         <{/if}>

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5319 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1811 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag