Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hummel

Pages: [1] 2 3
1
danke für die rasche Antwort.

habe es jetzt so verstanden das mein template nicht zu meiner jetzigen 4images installation passt.

ich nach der genauen anzahl von {if ..} {endif ..} etc. in allen html dateien schauen muss.

bestimmte Dateien?

angenommen ich nehme mal die Categorie.html:


{header}
<
table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <
tr
    <
td
      <
table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablehead">
        <
tr
          <
td colspan="4">&nbsp;</td>
        </
tr>
        <
tr
          <
td width="6">&nbsp;</td>
          <
td width="100%"
            <
div align="left"><img src="{template_url}/images/header_logo_left.gif" width="450" height="168" alt="" /></div>
          </
td>
	
	
  
	
	
  <
td width="260" align="right"
	
	
  <
div align="right"><img src="{template_url}/images/header_logo_right.gif" width="260" height="168" alt="" /></div>
          </
td>
	
	
  
          <
td width="225" align="right"
            <
form method="post" action="{url_search}">
              <
table border="0" cellspacing="0" cellpadding="1">
                <
tr
                  <
td
                    <
input type="text" name="search_keywords" size="15" class="searchinput" />
                  </
td>
                  <
td
                    <
input type="submit" value="{lang_search}" class="button" name="submit" />
                  </
td>
                </
tr>
                <
tr valign="top"
                  <
td colspan="2"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td>
                </
tr>
              </
table>
            </
form>
          </
td>
          <
td align="right" width="6">&nbsp;</td>
        </
tr>
      </
table>
    </
td>
  </
tr>
  
  <
tr
    <
td class="bordercolor"
      <
table width="100%" border="0" cellspacing="1" cellpadding="0">
        <
tr
          <
td class="tablebgcolor"
            <
table width="100%" border="0" cellspacing="1" cellpadding="0">
              <
tr
                <
td class="navbar" height="23"
                  <
table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <
tr
                      <
td><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />{clickstream}</td>
                      <
td align="right">
	
	
	
	
	
	
<
a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp;
	
	
	
	
	
	
<
a href="{url_new_images}"><b>{lang_new_images}</b></a>&nbsp;
                                            </
td>
                    </
tr>
                  </
table>
                </
td>
              </
tr>
            </
table>
            <
table width="100%" border="0" cellspacing="0" cellpadding="0">
              <
tr
                <
td width="200" class="row2" valign="top">
                  <
table width="200" border="0" cellspacing="0" cellpadding="0">
                    <
tr
                      <
td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
                    </
tr>
                    <
tr
                      <
td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </
tr>
                    <
tr
                      <
td align="center" class="row1">{user_box}</td>
                    </
tr>
                    <
tr
                      <
td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </
tr>
                  </
table>
	
	
	
	
  {if 
random_image}
                  <
table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <
tr
                      <
td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>
                    </
tr>
                    <
tr
                      <
td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </
tr>
                    <
tr
                      <
td align="center" class="row1">
	
	
	
	
	
    <
br />
                        {
random_image}
	
	
	
	
	
	
<
br />
                        <
br />
                      </
td>
                    </
tr>
                    <
tr
                      <
td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </
tr>
                  </
table>

                  {endif 
random_cat_image}
<
font color="#FF0000">Kategorien:</font>
<?
php
include"link.php";
?>

           </div></div></td>
                <td width="1" class="bordercolor" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                <td width="18" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="18" height="18" /></td>
                <td width="100%" valign="top"><br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><b class="title">{cat_name}</b></td>
                      <td align="right" valign="bottom">{upload_button}</td>
                    </tr>
                  </table>
                  <br />{cat_description} (Hits: {cat_hits}) 
                  <hr size="1" />


<p>&nbsp;

                    

<p>&nbsp;


               
   {if categories} 
                  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr> 
                      <td class="head1"> 
                        <table width="100%" border="0" cellspacing="0" cellpadding="3">
                          <tr> 
                            <td class="head1" valign="top">{lang_sub_categories}</td>
                          </tr>
                          <tr> 
                            <td class="row2" valign="top">{categories}</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                  <br />
	
	
	
	
  {endif categories}
	
	
	
	
  <br />


	
	
	
	
  {paging_stats}
	
	
	
	
  <br />
	
	
	
	
  <br />
                  {if msg}<b>{msg}</b><br /><br />{endif msg} 



                  {if thumbnails}
	
	
	
	
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td class="head1">{thumbnails}</td>
                    </tr>
                  </table>


<p>&nbsp;

                    
<p>&nbsp;



	
	
	
	
  {endif thumbnails}
                  <br />
	
	
	
	
  {paging}
	
	
	
	
  <br />
	
	
	
	
  <br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td>{category_dropdown_form}</td>
                      <td align="right">{setperpage_dropdown_form}</td>
                    </tr>
                  </table>
                  <p>&nbsp;</p>
	
	
	
	
</div></div></td>
                <td width="19" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="19" height="19" /></td>
          <!-- Start rigth box -->               
</td>
<td width="150" class="row2" valign="top">  
<table width="150" border="0" cellspacing="0" cellpadding="0"> 
         
<tr> 
</td>
</tr>
                    
<tr> 

</tr>
                
<tr> 

</tr>
 <br>
<tr> 

</tr>
 
<tr> 

</tr>
                 
</table>
</td>
  <!-- END rigth box -->    </tr>
            </table>
          </td>
        </tr>
	
	

	
	

  
  
      </table>
    </td>
  </tr>
  <tr> 
    <td> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablebottom">
        <tr> 
          <td width="6"><img src="{template_url}/images/footer_left.gif" width="6" height="23" alt="" /></td>
          <td width="100%">
            <div align="right">Design: <a href="http://art4heart.info/" target="_blank">Art4Heart</a></div>
          </td>
          <td width="225">&nbsp;</td>
          <td width="6"><img src="{template_url}/images/footer_right.gif" width="6" height="23" alt="" /></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
{footer}




ich habe dort je passende if und endif anzahl.

oder bin ich auf dem Holzweg?


lg
Sabine

2
Hallo zusammen.

habe am wochenende ein neues Template hochgeladen nun habe ich bei 2-3 Kategorien das riesen Problem , wenn ich auf der home seite auf deren link klicke komme ich auf folgende fehlermeldung und nicht auf die Kategorieseite.

Parse error: syntax error, unexpected $end in /var/www/#######/httpdocs/includes/template.php(101) : eval()'d code on line 280


auf dieser seite include/template.php zeile 101 steht.

101:eval("?>".$template."<?php return 1;"); 

und bei eval()'d code on line 280

}// end of class 



wer weiß bescheid?
würde mich sehr freuen  über hilfe

lg

3
Mods & Plugins (Releases & Support) / Re: [MOD] Category Image v1.0.2
« on: July 12, 2011, 09:12:41 PM »
Hallöchen

habe leider wieder mal ein Problem.

wollte das auf der home seite, anstelle Kategorien z.b Text: Rosen, halt ein Bild zu sehen ist welches in dieser drin ist.(im Ordner)

hatte dieses mod benutzt.
alles schritt für schritt.
http://www.4homepages.de/forum/index.php?topic=6922.0

wenn ich als letztes unter Kategorien bearbeiten gehe steht auch Category image wo man die ID einstellt.

Aber wenn ich zu den Bildbearbeitung gehe sollte dort stehen welches ich als Vorschau nehmen möchte aber leider fehlt das bei mir!

da dieses mod , ja doch etwas älter ist, könnte es sein das es daran liegt?

oder aber das es so eingebunden werden sollte

{if cat_image}<img src="{cat_image}">{endif cat_image}






aber meine category_bit.html sieht so aus:
<div class="cat"><a href="{cat_url}">{cat_name}</a><span>({num_images})</span>{if cat_is_new} <span class="new">{lang_new}</span>{endif cat_is_new}</div>
{if 
cat_description}<span class="smalltext">{cat_description}</span><br />{endif cat_description}
{if 
sub_cats}{sub_cats}{endif sub_cats}




wäre toll wenn jemand helfen könnte oder aber ein bessere Idee hätte


so habe es geschafft das ich im Control panel-Haupkategoriebearbeitung die bild id eingeben konnte, sehe auch dort das tumb. aber wie bekomme ich es auf die Hauptseite?

ich denke mir es liegt an dem einbinden aber wie kann ich es bei meinem

 category_bit.html  einbinden?:
<div class="cat"><a href="{cat_url}">{cat_name}</a><span>({num_images})</span>{if cat_is_new} <span class="new">{lang_new}</span>{endif cat_is_new}</div>
{if 
cat_description}<span class="smalltext">{cat_description}</span><br />{endif cat_description}
{if 
sub_cats}{sub_cats}{endif sub_cats}





4
super. danke
hatte ich gleich ausprobiert und klappt genial.


Danke schön :D

5
Entschuldige bitte.
ja darauf beziehe ich mich :roll:

hatte jetzt den neuen Code auf meine Seite, aber wie bekomme ich den custom_text in diesen Code rein?
[center][URL=http://#######/][IMG]http://#######{media_src}[/img][/URL][/center]
[center][url=http://#######/][color=#ff0000][b]Text[/b][/color][/url][/center]


hatte viele varianten ausprobiert
unter anderem:
http://#######{custom_text}- klappt nicht!
http://#######{$custom_text}- klappt nicht
custom_text -auch nicht

/var/www/#####/httpdocs/lang/deutsch/main{custom_text} -nein geht auch nicht.

6
Hallöchen

Ich glaube ich sehe den Wald vor lauter Bäumen nicht.
also.ich benutze folgenden code für die Detailseite um Links herrauszugeben..soweit so gut

<table width="640" height="65" border="" align="center" bgcolor="#999999" cellspacing="2" cellpadding="2">
                      <
tr>
                        <
th width="180" height="50" scope="col"><span style="font-size: 11px;">Code f&uuml;r<strong> </span></th>
                        <
th width="460" scope="col"><p>
                          <
textarea name="textarea" readonly="readonly" style="border: 1px solid ; overflow: hidden; background-color: rgb(255, 255, 255); width: 440px; height: 50px; font-size: 9px; color: rgb(77, 121, 168); font-family: Verdana,Arial,Helvetica,sans-serif;" onclick="focus();select();copy(this.value); document.getElementById('box1').style.visibility = 'visible'; document.getElementById('box2').style.visibility = 'hidden'; document.getElementById('box3').style.visibility = 'hidden'; document.getElementById('box4').style.visibility = 'hidden';">
[
center][URL=http://#######/][IMG]http://#######{media_src}[/img][/URL][/center]
[center][url=http://#######/][color=#ff0000][b]Text[/b][/color][/url][/center]</textarea>
                        
</p></th>
                      </
tr>
                    </
table>


wie gesagt klappt gut , aber ich hatte damals mal gefragt wegen unterschiedliche Links per catergorie.

raus kam: $custom_text

ABER mein Problem wie liest der jetzige neue Code...den $custom_text text aus? hatte alles auprobiert aber nichts klappt.

7
super,
 danke schön...klappt toll :lol:

8
genau...das wollte ich..
das dieser Text dann im Input Feld ist und man diesen mit kopiert

zb.so:
[URL=http://".$script_url."][IMG]http://".$uploaded_image_path."[/img]Kategorie-Blume[/URL]



hatte jetzt gestöbert und eine seite gefunden die dies hat
also wenn man es kopiert:bekommt man dies.
[url=http://www.#####.com][img]http://img1.#####.com/gb/26/024.jpg[/img][/url]
[url=http://www.#######.com/mittwoch.html]Mittwoch GB Pics[/url]


also das zusätzliche:
[url=http://www.#######.com/mittwoch.html]Mittwoch GB Pics[/url]

9
Uups
hatte mich falsch ausgedrückt.
Quote
je nach Kategorie einen anderen text im link einpacken zu können.
weiß jemand wo ichsuchen kann? oder hat jemand eine Idee?

das suche ich doch

also ich versuche es mal zu erklären.
wenn sich bild unter der Katergorie Blume befindet...
dann soll in dem

Kategorie-Blume stehen.
also:
Kategorie-Blume







10
ich wollte das der zusätzliche link
$uploaded_image_bbcode "[URL=http://".$script_url."][IMG]http://".$uploaded_image_path."[/img][/URL]"

hier rein kommt.
meinst du das geht nicht? :roll:
normaler link geht ja aber ich wollte je nach Category einen anderen einfügen




11
nochmal ich.. 8O
mir war eingefallen wie ich einen zufälligen Link ausgeben kann:
link.php
<?php
$avar 
= @file("Pfad-zum-link.txt");
//Angabe des Pfades zur TXT Datei und einlesen der Datei

$anz = @count($avar);

srand((double)microtime()*1000000); //zufällige Ausgabe eines Wertes der Datei
$random rand(1,$anz);
echo 
$avar[$random-1];
?>


link.txt:
<a href="http://www.######">HALLO</a>
<
a href="http://www.######">Klicken</a>




soweit so gut.
ABER eingebunden wird´s ja so...
<?php
include("link.php");
?>



mein PROBLEMCHEN.....
$uploaded_image_bbcode "[URL=http://".$script_url."][IMG]http://".$uploaded_image_path."[/img][/URL]"

wie kann ich es hier auslesen?

Lieben Dank im vorraus

12

deutsch
Hallo
ich habe auf meiner detail seite:Hot link for websites http://www.4homepages.de/forum/index.php?topic=17912.0
möchte aber verschiedene Link ausgaben haben,
 je nach Kategorie einen anderen text im link einpacken zu können.
weiß jemand wo ichsuchen kann? oder hat jemand eine Idee?

english
Hello
I've been on my detail: Hot link for websites, but would like to have different editions, depending on the text can wrap in a different category link.
Thanks

13
Plugins / Re: [Plugin] Valid file extensions manager v1.1 (2010-07-04)
« on: February 10, 2011, 10:44:41 AM »

Hallo

ich habe mir gerade
http://www.4homepages.de/forum/index.php?topic=23909.0
runtergeladen...
ich möchte gerne php bilder erlauben,(nur für Admin)

was muss ich denn beim "Valid file extensions manager" einstellen?




Hello

I have just
http://www.4homepages.de/forum/index.php?topic=23909.0
Loading
but
I would like to allow php pictures, (only for admin)
what do I need for the "Valid file extensions manager" stall?

Thanks



14
Mods & Plugins (Releases & Support) / Re: [MOD] Birthday Mod v1.0
« on: February 06, 2011, 02:26:34 PM »
English

Hello
I have birthday mods installed, but it seems ....


DB ErrorBad SQL QuerySELECT user_iduser_namebirthday FROM 4images_users WHERE birthday LIKE '%-02-06' ORDER BY user_name
Unknown column 
'birthday' in 'field list'


what is wrong?

German

Hallo
habe das Geburtstags-mods, installiert aber jetzt  erscheint

DB ErrorBad SQL QuerySELECT user_iduser_namebirthday FROM 4images_users WHERE birthday LIKE '%-02-06' ORDER BY user_name
Unknown column 
'birthday' in 'field list'


wo liegt der Fehler?



Auf der Index seite erscheint folgender Fehler
An unexpected error occured. Please try again later.


15
oh. I have ...
can it be ... because I
DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.01 Transitional / / EN">
<html>
<head>

out had it about?
warning is gone!
thank you thank you

Pages: [1] 2 3