4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Topic started by: V@no on August 14, 2005, 06:38:46 PM

Title: [MOD] Sitemap v1.0
Post by: V@no on August 14, 2005, 06:38:46 PM
----------- [ Description ] ---------------

This mod will allow you to show list of all categories on one page aka sitemap.
(http://img363.imageshack.us/img363/8551/sitemap8yo.png)

This mod was started in [REQ] List links for all Categories and Subcategories in one page. (http://www.4homepages.de/forum/index.php?topic=8682.0) topic.


----------- [ Changed/new files ] ---------------

Changed files

includes/page_header.php
lang/
<your language> /main.php
templates/
<your template> /user_logininfo.html
templates/
<your template> /user_loginform.html
templates/
<your template> /style.css


New files

sitemap.php
templates/
<your template> /sitemap.html
templates/
<your template> /images/folder1.gif
templates/
<your template> /images/folder2.gif
templates/
<your template> /images/folder3.gif
templates/
<your template> /images/folder4.gif
templates/
<your template> /images/folder_path.gif


----------- [ Installation ] ---------------

Step 1

Download attached package below.
Unzip it and upload files to your 4images site, restoring the following file-tree:
sitemap.php
templates/
<your template> /sitemap.html
templates/
<your template> /images/folder1.gif
templates/
<your template> /images/folder2.gif
templates/
<your template> /images/folder3.gif
templates/
<your template> /images/folder4.gif
templates/
<your template> /images/folder_path.gif


Step 2
Open includes/page_header.php
Find:
Code: [Select]
  "media_url" => MEDIA_PATH,Insert below:
Code: [Select]
  "url_sitemap" => $site_sess->url(ROOT_PATH."sitemap.php"),
  "lang_sitemap" => $lang['sitemap'],


Step 3
Open lang/<your language> /main.php
At the end, just above closing ?> insert:
Code: [Select]
/*
  MOD SITEMAP
  START INSERT
*/
$lang['sitemap'] = "Sitemap";
$lang['sitemap_legend'] = "Legend";
$lang['sitemap_viewimages_yes'] = "Allowed view images";
$lang['sitemap_viewimages_no'] = "Not allowed view images";
$lang['sitemap_viewimages_new_yes'] = "With new images and you are allowed view images";
$lang['sitemap_viewimages_new_no'] = "With new images but you are not allowed view images";
$lang['sitemap_cat_info'] = "<span class=\"sitemapinfo\">{lang_images}{lang_new_images}{lang_hits}{lang_description}</span>";
$lang['sitemap_images'] = "Images: {images}";
$lang['sitemap_new_images'] = " (New: {new_images})";
$lang['sitemap_hits'] = " Hits: {hits}";
$lang['sitemap_description'] = " Description: {description}";
$lang['sitemap_hidden'] = "&lt; hidden &gt;";
/*
  MOD SITEMAP
  END INSERT
*/


Step 4
Open
templates/<your template> /user_logininfo.html
and
templates/<your template> /user_loginform.html
In the place where you want the link to sitemap be showed add the following html code:
Code: [Select]
&raquo; <a href="{url_sitemap}">{lang_sitemap}</a>

Step 5
Open templates/<your template> /style.css
Add:
Code: [Select]
/*
 MOD SITEMAP
 START INSERT
*/
.sitemapinfo
{
  font-size: 9px;
padding: 2px 2px 2px 2px;
margin: 2px 2px 2px 2px;
color: #8794A7;
}
.sitemaprow1
{
  background-color: #e1e1e1;
  color: #004c75;
}

.sitemaprow2
{
  background-color: #efefef;
  color: #004c75;
}
/*
 MOD SITEMAP
 END INSERT
*/
Title: Re: [MOD] Sitemap v1.0
Post by: Vincent on August 14, 2005, 07:33:53 PM
yes Mawenzi have done a nice MOD (it is the same i belive)  :wink:

http://www.foto-kocher.com/sitemap.php
and works well

sincerly
vincent
Title: Re: [MOD] Sitemap v1.0
Post by: ID25 on August 14, 2005, 09:32:26 PM
Simple and clear MOD,
thank's for V@no

Maybe i can this do with "register.html" template?

what i must change.
  "categories" => sitemap_bits(),
to
  "content" => sitemap_bits(),

or what? :)
NO NEED LEGEND in left side
Title: Re: [MOD] Sitemap v1.0
Post by: ch€ri{Bi}² on August 15, 2005, 03:14:44 PM
@V@no : thanks a lot for this MOD.
But there is something that I do not understand (maybe you can answer...)

 :?: As guest, why can I see hidden categories in sitemap  8O  while during the normal consultation of the site, the hidden categories are invisible?
How can i modify this?

[EDITED]
I found the solution : edit in sitemap.php line 49
Code: [Select]
  $hidden = true; //true or false. when set to true, all categories will be showed, the not accessible categories will be showed as "<hidden>";
and change it to false  :wink:

best regards.
Title: Re: [MOD] Sitemap v1.0
Post by: Matthias70 on August 15, 2005, 03:35:46 PM
Hi V@no,
I have 11 new pictures in one category, but it shows only 1 new picture in sitemap.

http://www.gpaed.de/bildergalerie/sitemap.php

Seems like the script can not count more than 10 in the category "Makroaufnahmen"  :wink:

Do you have a solution
Anyway its a very nice mod.

Matthias
Title: Re: [MOD] Sitemap v1.0
Post by: V@no on August 16, 2005, 12:11:41 AM
:?: As guest, why can I see hidden categories in sitemap  8O  while during the normal consultation of the site, the hidden categories are invisible?
How can i modify this?

[EDITED]
I found the solution : edit in sitemap.php line 49
Code: [Select]
  $hidden = true; //true or false. when set to true, all categories will be showed, the not accessible categories will be showed as "<hidden>";
and change it to false  :wink:

best regards.
yes, that's the one ;) I've updated the file, now its "false" by default :)

Hi V@no,
I have 11 new pictures in one category, but it shows only 1 new picture in sitemap.

http://www.gpaed.de/bildergalerie/sitemap.php

Seems like the script can not count more than 10 in the category "Makroaufnahmen"  :wink:

Do you have a solution
Anyway its a very nice mod.

Matthias
fixed it. redownload the package and replace sitemap.php
Title: Re: [MOD] Sitemap v1.0
Post by: Matthias70 on August 16, 2005, 12:19:21 AM
Works fine now
thanks a lot
Matthias
Title: Re: [MOD] Sitemap v1.0
Post by: kief24 on August 21, 2005, 04:24:19 PM
works great
thx !!!

http://www.edupics.com/sitemap.php
Title: Re: [MOD] Sitemap v1.0
Post by: Bear on August 22, 2005, 08:25:34 PM
nice mod works well  8)
thank you
Title: Re: [MOD] Sitemap v1.0
Post by: hyde101 on August 23, 2005, 05:18:32 PM
It must be out there, but I have been trying to remove description form the map. :(
I have been looking for something like %print $cat_name,& $cat_imagenumber,& $cat_hits , & $cat_description to just simply remove $cat_description, but couldn't find it.. And I don't want to mess sitemap.php.


--edit--

of course, remove "cat_info"

Thanks for this great simple and clean yet useful mod.
Title: Re: [MOD] Sitemap v1.0
Post by: Xyu BAM on August 24, 2005, 05:21:44 AM
it seems that all info is constructed in this line in main.php:
Code: [Select]
$lang['sitemap_cat_info'] = "<span class=\"sitemapinfo\">{lang_images}{lang_new_images}{lang_hits}{lang_description}</span>";in your case simply remove {lang_description}
Title: Re: [MOD] Sitemap v1.0
Post by: hyde101 on August 24, 2005, 06:08:59 AM
You're right.. I removed the whole thing, looks pretty clean this way, but _images is also good to have to show how many is under the cat.
Title: Re: [MOD] Sitemap v1.0
Post by: arindra on August 31, 2005, 12:07:22 AM
hi V@no
this sitemap mod works pretty nicely in a way to show the latest images in any category ... which truly serves a good purpose for me .

however , befre the catastrophe here , there was another sitemap mod which actually made a sitemap of each and every image page , not just the main categories . how can we get / do that ?
Title: Re: [MOD] Sitemap v1.0
Post by: eshpro on September 19, 2005, 12:50:40 AM
works great!!
http://www.eshpro.com
Title: Re: [MOD] Sitemap v1.0
Post by: Maweryk on September 20, 2005, 02:09:42 AM
Works great!

Thanks v@no!

Cheers,

Markus
Title: Re: [MOD] Sitemap v1.0
Post by: Jan-Lukas on September 20, 2005, 04:51:18 PM
Hallo,
Bin mir sicher alles richtig eingegeben, und auch hochgeladen zu haben.
Trotzdem findet er die sitemap.php nicht, obwohl sie im Root von 4images liegt.
ist das schon mal vorgekommen ?
http://www.mr-marker.de/4images/

gruss Harald
Title: Re: [MOD] Sitemap v1.0
Post by: Matthias70 on September 20, 2005, 05:19:37 PM
Hallo,
Bin mir sicher alles richtig eingegeben, und auch hochgeladen zu haben.
Trotzdem findet er die sitemap.php nicht, obwohl sie im Root von 4images liegt.
ist das schon mal vorgekommen ?
http://www.mr-marker.de/4images/

gruss Harald


Hallo Harald,
schaut dein root-path in der sitemap.php so aus?
Code: [Select]
define('ROOT_PATH', './');
Gruß
Matthias
Title: Re: [MOD] Sitemap v1.0
Post by: Jan-Lukas on September 20, 2005, 05:51:03 PM
Hi Matthias,
Ja, genauso
Code: [Select]
$main_template = 'sitemap';

define('GET_CACHES', 1);
define('ROOT_PATH', './');
include(ROOT_PATH.'global.php');
require(ROOT_PATH.'includes/sessions.php');
$user_access = get_permission();
$site_template->register_vars(array(
  "url_sitemap" => $site_sess->url(ROOT_PATH."sitemap.php"),
  "lang_sitemap" => $lang['sitemap']
));
include(ROOT_PATH.'includes/page_header.php');

if (!function_exists("multilang"))

gruss Harald
Title: Re: [MOD] Sitemap v1.0
Post by: Matthias70 on September 20, 2005, 05:55:28 PM
Hm, dann fällt mir als Lösungsvorschlag nur ein, dass du bei
Code: [Select]
define('ROOT_PATH', './');das ./ löscht und deinen tatsächlichen root-path einträgst.

vielleicht klappt das
Matthias
Title: Re: [MOD] Sitemap v1.0
Post by: Jan-Lukas on September 20, 2005, 06:36:50 PM
leider auch nicht
Kann mir vorstellen, weil ich auch Probleme mit dem bearbeiten von Katerogien hatte, die ich denn mit einem MOD von Jan (Einteilung) wieder hinbekommen habe.
Das heisst es sind einfach zu viele Katerogien für diesen Mod, der Stamm würde zu groß werden.
Mit einer + und - Einteilung würde es dann wieder klappen nehme ich an.
10372 Bilder in 3243 Kategorien
Title: Re: [MOD] Sitemap v1.0
Post by: Maweryk on September 20, 2005, 06:48:22 PM
Das Problem werden die 3243 Kategorien sein.
Schau mal bitte welcher Wert bei Dir unter post_max_size steht.

Gruß

Markus
Title: Re: [MOD] Sitemap v1.0
Post by: Jan-Lukas on September 20, 2005, 07:09:26 PM
liegt auch daran, hab es gerade in einer anderen Galerie probiert und funz Super
Kann man den Baumstamm nicht klappbar machen, wie in dem Mod Katerogien bearbeiten ?
dann sollte es wieder klappen
den Wert werde ich mir gleich mal raussuchen
Danke Harald
(http://www.ue-ei-portal.de/bilder/aufklappen.jpg)
Title: Re: [MOD] Sitemap v1.0
Post by: Lunique on October 10, 2005, 10:25:42 PM
Hallo, mal ne Frage.
In dem Beispiel ist es ja so das sich zwei Farben abwechseln (find ich auch schön) aber die unterordner haben immer die gleiche Farbe wie ihr Überordner. Ist es auch möglich das die Farben sich Zeile für Zeile abwechseln egal ob es sich um Unterordner einer Kategorie handelt oder um neue Hauptkategorien?

vielen dank schonmal für eine antwort!

lg Luna
Title: Re: [MOD] Sitemap v1.0
Post by: TIMT on October 14, 2005, 08:11:21 PM
Hi

Is there a way to extend and reduce categories (directories) with sub-categories?

Thanks!
Title: Re: [MOD] Sitemap v1.0
Post by: V@no on October 14, 2005, 10:58:28 PM
Hi

Is there a way to extend and reduce categories (directories) with sub-categories?

Thanks!
what do you mean?
Title: Re: [MOD] Sitemap v1.0
Post by: TIMT on October 15, 2005, 12:20:06 AM
I have a lot of categories with sub-categories.
Now I'd like to open a category by clicking on the folder to see all the sub-categories. with an other klick, the folder get closed and only the main-categories are shown. Like it is in a file-explorer. Jan-Lukas wrote about the same need and he uploaded a picture as an example. I hope, it is more clear, what I'm looking for.
Title: Re: [MOD] Sitemap v1.0
Post by: artpics on October 22, 2005, 11:15:47 AM
 :D Thankyou V@no nice work

RT
Title: Re: [MOD] Sitemap v1.0
Post by: marod0er on October 24, 2005, 03:48:19 PM
hi V@no
this sitemap mod works pretty nicely in a way to show the latest images in any category ... which truly serves a good purpose for me .

however , befre the catastrophe here , there was another sitemap mod which actually made a sitemap of each and every image page , not just the main categories . how can we get / do that ?

YES! Please, how do we do this? Nevermind showing just the categories, we want google to be able to spider every content page fast and easy!
Title: Re: [MOD] Sitemap v1.0
Post by: mawenzi on October 24, 2005, 06:03:15 PM
... I hope, it is more clear, what I'm looking for.

... it is clear ... use a toggle-java-script for your file-explorer ...  :wink:
Title: Re: [MOD] Sitemap v1.0
Post by: marod0er on October 24, 2005, 07:40:55 PM
mawenzi -> You seem to know what you're talking about... Maybe you could help with displaying the actualy image/content pages as well as the categories?
Title: Re: [MOD] Sitemap v1.0
Post by: marod0er on October 26, 2005, 11:52:37 AM
Anyone? Seems like something we could all use...
Title: Re: [MOD] Sitemap v1.0
Post by: Lunique on October 26, 2005, 01:58:33 PM
... I hope, it is more clear, what I'm looking for.

... it is clear ... use a toggle-java-script for your file-explorer ...  :wink:

I need the same thing as TIMT can you explain how to do this?
Title: Re: [MOD] Sitemap v1.0
Post by: Nasser on October 27, 2005, 11:27:46 AM
thanks for this MOD  .. its working
Title: Re: [MOD] Sitemap v1.0
Post by: marod0er on November 03, 2005, 03:58:35 PM
Any news on this?
Title: Re: [MOD] Sitemap v1.0
Post by: V@no on November 04, 2005, 12:09:21 AM
Any news on this?
I will not include that feature in this mod, so you'd better go ahead and start a new topic in mod request forum ;)
Title: Re: [MOD] Sitemap v1.0
Post by: djith on November 05, 2005, 05:47:05 PM
 :Dnice :D
Title: Re: [MOD] Sitemap v1.0
Post by: kief24 on January 17, 2006, 07:08:06 PM
Hello,

i have a problem with links i inserted in category description.
You see the html in the sitemap.
See http://www.schoolplaten.com/sitemap.php ( scroll down )

i don't need that link-info in the sitemap.
Any ideas how to remove it ?

thx
Title: Re: [MOD] Sitemap v1.0
Post by: Matthias70 on January 17, 2006, 07:13:36 PM
Hi kief24
look here
http://www.4homepages.de/forum/index.php?topic=9299.msg44807#msg44807

Matthias
Title: Re: [MOD] Sitemap v1.0
Post by: kief24 on January 17, 2006, 08:02:08 PM
ok, that fixed it, thx
Title: Re: [MOD] Sitemap v1.0
Post by: insane on January 28, 2006, 12:43:37 PM
hi everyone need ur help :)

the sitemap.php works fine but the linking in user_logininfo & user_loginform doesn't work fine:
when i put this code anywhere in the .html it shows like this (near by the loginbox): __(space)__»
so theres no link :( what do i have to fix?

/edit - pic: (http://img95.imageshack.us/img95/5610/unbenannt24re.th.jpg) (http://img95.imageshack.us/my.php?image=unbenannt24re.jpg)
Title: Re: [MOD] Sitemap v1.0
Post by: TheOracle on January 28, 2006, 03:43:16 PM
According to your screenshot, there's a missing field from your 4images_encuestas table named : orden. Perhaps you skipped a step by installing one of the MODs in this section. ;)

I'd first add the field and see if the error is still there.
Title: Re: [MOD] Sitemap v1.0
Post by: insane on January 29, 2006, 01:13:04 AM
hm the encuentas.php is downloaded and original uploaded on /4images - so there should not be an fault?!

Quote
$sql = "SELECT *
           FROM ".ENCUESTAS_TABLE." 
          ORDER  BY orden";
$result = $site_db->query($sql);
$encuesta_cache = array();

in this thread i mean an other problem by the way ;) i hope i descriped it acceptably (does this word excist?)
anyway hope for more solutions.
Title: Re: [MOD] Sitemap v1.0
Post by: TheOracle on January 29, 2006, 05:31:22 AM
@insane:

You might be interested in my new discovery :

http://www.4homepages.de/forum/index.php?topic=6859.msg59193#msg59193

;)
Title: Re: [MOD] Sitemap v1.0
Post by: MEXX on January 29, 2006, 01:52:07 PM
Не подскажете, что нужно изменить в этом моде, чтобы поле Description: не отображалось?
Просто если в пояснениям к альбому вставить ссылку, то ее видно на крте полностью, со всеми тегами. :(
Title: Re: [MOD] Sitemap v1.0
Post by: TheOracle on January 29, 2006, 02:25:53 PM
Здесь справка :

http://www.4homepages.de/forum/index.php?topic=11069.0

;)

(Note: First time I try to type russian  :mrgreen:).
Title: Re: [MOD] Sitemap v1.0
Post by: MEXX on January 29, 2006, 03:00:37 PM
Здесь справка :

http://www.4homepages.de/forum/index.php?topic=11069.0

;)

(Note: First time I try to type russian  :mrgreen:).
thanks  :D
Title: Re: [MOD] Sitemap v1.0
Post by: djith on March 04, 2006, 04:50:00 PM
Hello,

i don't know if this mod places a sitemap in your website with the same layout, colors etc .... seems to me that there is something wrong .... it's white and quiet virgin !!

or is it the purpose that you have to work on the lay out??
Title: Re: [MOD] Sitemap v1.0
Post by: V@no on March 04, 2006, 04:52:57 PM
or is it the purpose that you have to work on the lay out??
correct. The mod was made for default 4images template.
Title: Re: [MOD] Sitemap v1.0
Post by: IWS_steffen on April 18, 2006, 06:48:17 PM
Thank you! It works fine!

der MOD ist cool und läuft perfekt.

Danke gruß Steffen
Title: Re: [MOD] Sitemap v1.0
Post by: kief24 on May 07, 2006, 10:10:28 AM
hello,

the categories in the sitemap are written in a bold font.
How can i get them "not-bold" ?
Can't find it in html file, and not in css file ...
Title: Re: [MOD] Sitemap v1.0
Post by: V@no on May 07, 2006, 01:06:03 PM
sitemap.php:[qcode]      $cat_list .= "<b><a href=\"".$site_sess->url(ROOT_PATH."categories.php?cat_id=".$category_id)."\">".multilang($cat_cache[$category_id]['cat_name'])."</a></b> ".$cat_info."<br />";
[/qcode]
Title: Re: [MOD] Sitemap v1.0
Post by: kief24 on May 07, 2006, 01:47:58 PM
ok, thx a lot !
Title: Re: [MOD] Sitemap v1.0
Post by: Lunique on June 01, 2006, 11:30:56 AM
liegt auch daran, hab es gerade in einer anderen Galerie probiert und funz Super
Kann man den Baumstamm nicht klappbar machen, wie in dem Mod Katerogien bearbeiten ?
dann sollte es wieder klappen
den Wert werde ich mir gleich mal raussuchen
Danke Harald
(http://www.ue-ei-portal.de/bilder/aufklappen.jpg)

Since the new version 1.7.2 with the changes in admin/categories.php I'm asking myself if it's possible now to make the sitemap-tree like this?
Seit der neuen Version 1.7.2 frag ich mich ob es mittlerweile möglich ist den sitemap-baum ausklappbar zu machen?

hugs, Luna
Title: Re: [MOD] Sitemap v1.0
Post by: Lunique on June 13, 2006, 07:23:20 PM
no answer?
Title: Re: [MOD] Sitemap v1.0
Post by: mawenzi on June 13, 2006, 08:14:26 PM
only short answer ...  :wink:
Google : 4images sitemap version 2.0
Title: Re: [MOD] Sitemap v1.0
Post by: aletapety on July 20, 2006, 08:41:35 AM
Hello i have 2100 category and my sitemap dead http://aletapety.pl/sitemap.php  :? it's possible to repair and cache sitemap file ?
Title: Re: [MOD] Sitemap v1.0
Post by: lemurek on August 09, 2006, 03:10:56 AM
Hallo Everybody,
I`m new user. I would like to use this mod on my site (4images), but J have a problem with associates with custom template (not default template).
please help me.
thx!

lemurek
www.lemurek.win.pl (http://www.lemurek.win.pl)

PS: I have used some mods from here and everything it`s ok:-)
Title: Re: [MOD] Sitemap v1.0
Post by: V@no on August 09, 2006, 03:36:36 AM
what is the problem?
Title: Re: [MOD] Sitemap v1.0
Post by: lemurek on August 09, 2006, 01:18:02 PM
Now, look at this http://www.lemurek.win.pl/sitemap.php?l=english.

lemurek
Title: Re: [MOD] Sitemap v1.0
Post by: V@no on August 09, 2006, 02:31:56 PM
Sorry, let me rephrase my question:

WHAT IS THE PROBLEM?
Please read forum rules. You obviously havent done it yet...
Title: Re: [MOD] Sitemap v1.0
Post by: lemurek on August 09, 2006, 05:01:33 PM
It`s ok  :wink:
great mod!


http://www.lemurek.win.pl/sitemap.php

regards
Alexandra(lemurek)
Title: Re: [MOD] Sitemap v1.0
Post by: sajwal on August 13, 2006, 05:51:07 PM
hello,
       I have installed this mod and it works perfect with 1.7.3

A small Que yet: What if pages like FAQ, About us, Contact etc should be used to mention in this site map?

may be it will help in spidering the pages better :P

Thankyou
Title: Re: [MOD] Sitemap v1.0
Post by: V@no on August 13, 2006, 07:29:55 PM
I guess, you could add needed links directly in the sitemap.html template...for example you could use the same tags for the links as in user_loginform.html template...
Title: Re: [MOD] Sitemap v1.0
Post by: floriaro on August 14, 2006, 09:47:33 AM
Hallo,

Erstmals dickes Lob für diesen MOD, läuft perfekt - vielen Dank.

Hätte da aber noch eine Frage bezüglich farblicher Darstellung der einzelnen Reihen in der Sitemap. Jetzt ist es so, das die erste Ebene der Hirachie in jeder 2 Reihe eine andere Farbe hat. Ist es nun möglich diesen Farbwechsel auch auf einer andere Ebene (3 und/oder4) durchzuführen? Eine ähnliche Anfrage wurde in diesem Forum schon einmal gestellt, blieb aber bis dato ohne Antwort.
(http://www.members.aon.at/steiniges/images/sitemap_bg.jpg) Ich hätte gerne die 4 Ebene (die roten Markierungen im Bild) der Ergebnisse in einer anderen Farbe dargestellt, da sich hier die Fotos befinden und die anderen Ordner der Kategorie nur Beschreibungen beinhalten. Wäre für zweckdienliche Hinweise was, wo, wie geändert gehört sehr dankbar  :).

Vielen Dank im voraus

floriaro
Title: Re: [MOD] Sitemap v1.0
Post by: Lunique on August 26, 2006, 04:35:03 PM
only short answer ...  :wink:
Google : 4images sitemap version 2.0

ok and how would it help me ?
Now I know that it's used in the gallery that you have in your signature but I still don't know how to make this with my own gallery
Title: Re: [MOD] Sitemap v1.0
Post by: Cimmerio on September 16, 2006, 12:02:30 AM
I can't get the necesary files. Can anybody send me it?

Thanks.
Title: Re: [MOD] Sitemap v1.0
Post by: KimmyMarie on September 17, 2006, 03:02:14 PM
I installed this and it worked but now I'm getting this error message: "Parse error: syntax error, unexpected '}' in /home/xxxxxxx/public_html/includes/template.php(101) : eval()'d code on line 72"


Would anyone have an idea as to what could have happened?



Thanks,
Kimmy
Title: Re: [MOD] Sitemap v1.0
Post by: V@no on September 17, 2006, 06:11:05 PM
the number of {if ..} and {endif ..} tags in the templates is not equal
Title: Re: [MOD] Sitemap v1.0
Post by: e-trader_2002 on September 18, 2006, 12:47:20 AM
----------- [ Installation ] ---------------

Step 1

Download Sitemap package
Unzip it and upload files to your 4images site, restoring the following file-tree:
sitemap.php
templates/<your template> /sitemap.html
templates/<your template> /images/folder1.gif
templates/<your template> /images/folder2.gif
templates/<your template> /images/folder3.gif
templates/<your template> /images/folder4.gif
templates/<your template> /images/folder_path.gif

Hi,

I've been trying for 3 days to download this package via the link above, but I can't connect to the server because the allowed response time is exceeded. Can someone please post another link or send me an email with the package attached (PM me for my email address).

Thanks

e-trader_2002
Title: Re: [MOD] Sitemap v1.0
Post by: V@no on September 18, 2006, 07:21:17 AM
the file is attached to the post.
Title: Re: [MOD] Sitemap v1.0
Post by: e-trader_2002 on September 18, 2006, 09:15:07 AM
Hi V@no,

sorry, you are right. :oops: I just didn't look so far down because there is the link at the top.
 :lol: But - as always - the on one who can see has a clear advantage.  :lol:

Thanks

e-trader_2002
Title: Re: [MOD] Sitemap v1.0
Post by: KimmyMarie on September 18, 2006, 01:25:22 PM
Hello,

Problem solved. Thank you V@no!



Best wishes,
Kimmy
Title: Re: [MOD] Sitemap v1.0
Post by: djith on October 04, 2006, 12:39:43 AM
the sitemap works on a certain level only....the layout is just not cooperating...
class="tablehead" doesn't show the layout as in style.css
there seem to be a missing component to let understand that those style.css commands have to be executed in sitemaps too..
all files are uploaded and rechecked....all modifications are done exactly as discribed.

i found out that sitemap.php is version 1.7.2 i'm using version 1.7.1

maybe this is the cause, and if so, where can i find sitemap.php version 1.7.1?

thx a lot

get a look at www.avatarcorner.com/sitemap.php
Title: Re: [MOD] Sitemap v1.0
Post by: sekoras on October 15, 2006, 08:10:56 AM
can some on re upload sitemap.php cuz vanos link is dead
Title: Re: [MOD] Sitemap v1.0
Post by: e-trader_2002 on October 16, 2006, 08:45:47 AM
Hi sekoras,

the file is already attached to the first post of this thread (see the link at the bottom of the post just after Step 5):

Quote
* sitemap v1.0.zip (5.95 KB - downloaded 34 times.)
« Last Edit: September 17, 2006, 06:10:19 PM by V@no »

e-trader_2002
Title: Re: [MOD] Sitemap v1.0
Post by: sekoras on October 16, 2006, 10:22:09 AM
when u opend the rar i gonna see last modidied date its 8/15/2005 after dat they found many bugs ondat file i meant vonas orginal file whis is dis link

http://gallery.vano.org/file68dl
Title: Re: [MOD] Sitemap v1.0
Post by: sekoras on October 16, 2006, 10:29:46 AM
i meant dat anyways i think im wrong i ll try and see wats up
(http://gramarstonegallery.com/images/untitled.JPG)
Title: Re: [MOD] Sitemap v1.0
Post by: djith on October 19, 2006, 08:47:24 PM
the php of this mod is version 1.7.2
i have 1.7.1
wich means....

doesn't work at all in my site...

does anyone know what i have to change in this php to make it work whit 1.7.1 ???

seems to me that it will absolutly not cooperate whit style.css

http://www.avatarcorner.com/sitemap.php

would like the page to have the layout as the rest of the site but , i just can't make it work.... frustrating...can anybody help?
Title: Re: [MOD] Sitemap v1.0
Post by: nacho-lopez on October 23, 2006, 12:14:50 PM
I have installed this great mod...
I was looking now for a google sitemap, with links to each one of the images and compatible with google...
Can you help me with this please?  :roll:
Do you know where could I find a mod like this?  :roll:
Thank you very much and best regards from Spain  :D
Title: Re: [MOD] Sitemap v1.0
Post by: __G__ on November 08, 2006, 04:10:03 AM
wow i have installed this mod it works great only question i have i submited this sitemap to google would it work good with google ?
Title: Re: [MOD] Sitemap v1.0
Post by: Acidgod on November 08, 2006, 02:08:44 PM
No, Google Sitemap only support Sitemaps with XML Output...
Title: Re: [MOD] Sitemap v1.0
Post by: __G__ on November 08, 2006, 02:54:06 PM
aite and how can i get one of those ? or where can i
Title: Re: [MOD] Sitemap v1.0
Post by: yas3min on May 25, 2007, 12:27:48 PM
http://www.darkcrush.com/sitemap.php

it cant work  :roll:

when u tick the link , it says
Code: [Select]
Not Found
The requested URL /k-gotik-resimler-1.htm was not found on this server.
Title: Re: [MOD] Sitemap v1.0
Post by: Lunique on May 25, 2007, 02:11:49 PM
only short answer ...  :wink:
Google : 4images sitemap version 2.0

ok and how would it help me ?
Now I know that it's used in the gallery that you have in your signature but I still don't know how to make this with my own gallery

I try to get an answer since August 2006 I also write the author of the gallery in mawenzis signature Is there any reason why I get ignored?
Title: Re: [MOD] Sitemap v1.0
Post by: mawenzi on November 12, 2007, 03:44:48 PM
Hallo Ivan,

so ganz sicher bin ich mir noch nicht, was du da wünschst. Etwa die Sitemap der Kategorien, jedoch nicht als "Explorer-Baum", sondern in einer Tabelle mit begrenzter Anzahl von Kategorien/Seite und dann dazu das erforderliche Paging ? Die Sortierung der Kategorien incl. der Subkategorien soll aber beibehalten werden ?

Für die Bilder/Dateien der Website habe ich mal soetwas erstellt. Mit frei wählbarer Sortiermöglichkeit (Dropdownmenüs), mit Angabe der Bilder/Seite (Dropdownmenü) und natürlich dem Paging. Das Ganze sieht dann etwa so (http://klick.kl.funpic.de/detail_list.php) aus.

Wenn ich dich nun richtig verstanden habe, dann sollte die gesuchte Sitemap so ... nur eben mit den Kategorien ... aussehen ?

Wenn ja ... sonst natürlich auch ... melde dich via PM auf meiner Seite .

Title: Re: [MOD] Sitemap v1.0
Post by: COMmander on December 17, 2007, 12:47:23 PM


gerat MOD - simple and clean!
Thanx!


Question: Is there a possibility, to have the sitemap in a clean window (only the sitemap, without any other layout as header and loginboxes etc.)?
I want to open the sitemap window in a popup an there should not to bee seen any layout...

[GER]: Gibt es eine Möglichkeit, die sitemap in einem popup-Fenster zu öffnen, OHNE umgebendes layout (wie header und loginbox)?


Thx
COMmander
Title: Re: [MOD] Sitemap v1.0
Post by: Jasi on February 13, 2008, 10:16:10 PM
@ ALL
@ mawenzi
,

also ich habe die Sitemap 1.0 für die Kategorien bei mir seit einiger Zeit integriert, bemerke jedoch dass seither sobald ich mehr als 6 Besucher auf der Seite habe, jede Seite funktioniert nur nicht die

index.php
oder z.B. index.php?template=datenschutz
und
category_list.php

und ich erhalte nur noch eine leere weiße Webseite im Browser mit folgenden Inhalt:

Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>

Woran kann das liegen?

Meine 4images Version ist die V1.7 mit einigen MOD's
Title: Re: [MOD] Sitemap v1.0
Post by: mawenzi on February 14, 2008, 12:05:03 AM
Hallo Jasi,
... ist zunächst schwer zu beurteilen, da die Sitemap bei meinen Aufrufen bestens funktioniert ...
... und bei der index.php ist mir das auch noch nicht aufgefallen ...
... ich weis nicht, ob das was mit Serverlast zu tun hat, denn große Datenmengen werden bei dir ja nicht abgefragt ...
... müssen wir beobachten ...  :?
Title: Re: [MOD] Sitemap v1.0
Post by: Jasi on February 14, 2008, 12:29:05 AM
@ mawenzi

danke dir mal vorerst!

Also mir fällt es immer dann auf wenn mehr als 4 Bescher, i.d.Regel dann ab 5/6 Besuchern und aufwärst auf der Site sind.

Ich tippe grob dass es etwas mit dem Einbau der Sitemap V1.0 zu tun haben könnte, da die Kategorien ja nur dort und auf der Startseite (index.php) abgerufen (ausgelesen)werden und alle anderen Sites (php) aber funktionieren.

Also es funktioniert praktisch dann nichts mehr was irgendwie mit der index.php?template=xxx zu tun hat sowie die category_list.php, da bekomme ich dann wie gesagt egal ob mit IE6 / IE7 oder Morzilla FF 2.0.0.12 nur noch eine leere weiße Website !

An der Serverlast kann es eigentlich nicht liegen, da das gute Dez.-Serverlein von anderen Site wesentlich mehr gewohnt ist und auf der miss-online-2008.de noch nicht die Hölle los ist. Auf dem Dez.-Serverlein bin ohnehin nur ich drauf, also keine anderen.
Title: Re: [MOD] Sitemap v1.0
Post by: ProDez on March 19, 2008, 12:13:53 PM
@ v@ano. You've done it!  :D
Very simple and clear.

THANK YOU  :D

cheers,  :D
Title: Re: [MOD] Sitemap v1.0
Post by: nemonic-berg on March 23, 2008, 09:28:33 PM
thanks for the usefull mod :)

please anyone take a look my gallery if there something wrong..
is this sitemap can be able for submiting to google/webmasters sitemap ?

http://idwallpaper.com/sitemap.php

thanks

Title: Re: [MOD] Sitemap v1.0
Post by: cr34t1v3 on April 03, 2008, 11:55:31 AM
Hi,
I tried to follow your guidance, here is my site become: http://www.avatarest.com/sitemap.php

Do you have any solution?
Anyway its a very nice mod.

I'm using 1.7.6

Thanks before
Title: Re: [MOD] Sitemap v1.0
Post by: Omsky on July 22, 2008, 01:38:34 PM


New files

templates/[/b]<your template> /sitemap.html



sitemap.html file - works correct, only on default skin
Title: Re: [MOD] Sitemap v1.0
Post by: mladja04 on August 28, 2008, 02:26:10 PM
Great mod, I use it too, here:

http://www.soccerwallpapers.us/sitemap.php

I use modified three columns mod template and something is wrong, but nice is although have problem.
Title: Re: [MOD] Sitemap v1.0
Post by: kandr on December 01, 2008, 05:01:33 PM
привет, а как сделать, чтобы еще названия картинки было показано?
hi, how make to show image name in site map too?
Title: Re: [MOD] Sitemap v1.0
Post by: kandr on December 06, 2008, 09:56:45 PM
Its so hard to do this? somebody can help me??  :?
Title: Re: [MOD] Sitemap v1.0
Post by: Sun Zaza on December 26, 2008, 06:27:53 PM
Hi V@no,

Thanks for this mod.

I have a small problem. I tried to change the format of the category, but I could not. Maybe you or someone else can help.

Check the two pics ( cat_good and cat_not_good) in the attachments.


Thanks in advance,
Title: Re: [MOD] Sitemap v1.0
Post by: Sun Zaza on December 28, 2008, 11:23:03 PM
Hi,

Does someone know how to do that please?

Thanks in advance,
Title: Re: [MOD] Sitemap v1.0
Post by: V@no on December 29, 2008, 12:38:13 AM
Replace in sitemap.php
Code: [Select]
      $cat_list .= "<img src=\"".get_gallery_image("folder".$folder.".gif")."\" alt=\"\">";
with:
Code: [Select]
      $cat_list .= "<img src=\"".get_gallery_image("folder".$folder.".gif")."\" alt=\"\" align=\"left\">";

Or

Replace it with:
Code: [Select]
      $cat_list .= "<table><td>";
      $cat_list .= "<img src=\"".get_gallery_image("folder".$folder.".gif")."\" alt=\"\">";
      $cat_list .= "</td><td valign=\"middle\">";

Then, below
Code: [Select]
      $cat_list .= "<b><a href=\"".$site_sess->url(ROOT_PATH."categories.php?cat_id=".$category_id)."\">".multilang($cat_cache[$category_id]['cat_name'])."</a></b> ".$cat_info."<br />";
and
Code: [Select]
    $cat_list .= sitemap_bits($cat_id, $category_id, $depth + 1, $bg, 1);

Add:
Code: [Select]
      $cat_list .= "</td></table>";

P.S.
Not tested.
Title: Re: [MOD] Sitemap v1.0
Post by: Sun Zaza on December 29, 2008, 02:39:54 AM
Thanks V@no.

It did not work, but I fixed it. :)
Title: Re: [MOD] Sitemap v1.0
Post by: Sun Zaza on January 01, 2009, 01:10:31 PM
Hi V@no,

I have an idea about the version v2.0 of this mod.

What about to give to the users the opportunity to sort the categories by hits and images quantity?

It will be very useful :idea:
Title: Re: [MOD] Sitemap v1.0
Post by: bergblume on January 17, 2009, 07:24:24 PM
Hallo zusammen,

nachdem es ein ziemliches gepfriemel war die sitemap in ein alternatives Template einzubinden.... hier den code den man per copy & paste zum einbinden in die sitemap.html verwenden kann

also am besten die error.html seines verwendeten templates benutzen und nach
Code: [Select]
<div class="caption"><h3></h3><p>{lang_error}</p></div>

<div class="contentbox">
{error_msg}
</div>
<div class="contentbottom"><span><img src="{template_url}/images/contentbottom.right.gif" alt="" /></span><p><img src="{template_url}/images/contentbottom.left.gif" alt="" /></p></div>

<br />


suchen und durch folgenen code ersetzen
Code: [Select]
<div class="caption"><h3></h3><p>{lang_control_panel}</p></div>
<div class="contentbox">
    
          {if msg}<b>{msg}</b><br />
          <br />
          {endif msg}
          <table width="100%" border="0" cellspacing="0" cellpadding="3" style="border:1px solid #004C75;">
            {categories}
          </table>
 </div>
<div class="contentbottom"><span><img src="{template_url}/images/contentbottom.right.gif" alt="" /></span><p><img src="{template_url}/images/contentbottom.left.gif" alt="" /></p></div>
<br />

funktioniert optimal z.B. wenn du das Template Iceberg verwendest... ich hoffe es hilft euch...
Title: Re: [MOD] Sitemap v1.0
Post by: 4ella on April 27, 2009, 01:36:24 AM
Hello I have installed Static category icon mod  http://www.4homepages.de/forum/index.php?topic=3589.0 .
Was only wondering if it is hard to implement static icon for every category to use it in Sitemap v1.0 too.
Thanks Daniel

works perfect  I only had to cut off the lang_description   from lang/main.php

my sitemap :
http://www.dancersrecruit.com/pictures/sitemap.php
Title: Re: [MOD] Sitemap v1.0
Post by: V@no on April 27, 2009, 02:01:09 AM
See if this works:
in sitemap.php find two times:
Code: [Select]
      $cat_list .= "<img src=\"".get_gallery_image("folder".$folder.".gif")."\" alt=\"\">";

Replace both with:
Code: [Select]
      $cat_list .= "<img src=\"".get_gallery_image("category".$category_id.".gif")."\" alt=\"\">";
Title: Re: [MOD] Sitemap v1.0
Post by: 4ella on April 27, 2009, 11:45:02 AM
You are the best , yes it works -:) Thank you very much V@no
Title: Re: [MOD] Sitemap v1.0
Post by: Lunique on May 12, 2009, 09:57:36 PM
Is it possible to use this sitemap with reducing/expanding categories like at this page: http://klick.kl.funpic.de/sitemap_v2.php (http://klick.kl.funpic.de/sitemap_v2.php) ???
I don't need google or other adds I just have a lot of sub-categories and it would be really useful if they all could be closed by default in sitemap and only expand if you click on a little +
like in ACP
I already found some sites using this while searching google, but no explanation how to do it.

Ist es möglich bei der Sitemap sowas einzubauen wie hier http://klick.kl.funpic.de/sitemap_v2.php (http://klick.kl.funpic.de/sitemap_v2.php)  ???
Ich habe sehr viele Unter-Kategorien und es wäre wirklich hilfreich wenn sie standardmäßig geschlossen wären und sich nur durch klicken auf ein kleines + öffnen würden, so wie im ACP.
Ich hab beim suchen über google schon mehrere Seiten gefunden die es so benutzen aber noch nix wie ich das für meine Seite einbauen kann.


Vielen Dank im voraus, Lunique
Title: Re: [MOD] Sitemap v1.0
Post by: AntiNSA2 on June 01, 2009, 07:00:16 AM
Great mod ! 2 questions... Was it possible to allow the user to sort by hits/images/date?

And a stupid question...

When it says Hits:83  where can I add the style/class to change the css for only the number (83) part and not the hits style? Right now they have the same style and I am only trying to change the number part of the style.
Title: Re: [MOD] Sitemap v1.0
Post by: V@no on June 01, 2009, 07:17:46 AM
Was it possible to allow the user to sort by hits/images/date?
At the moment it's not posible, because this mod uses 4images build-in category cache feature.

When it says Hits:83  where can I add the style/class to change the css for only the number (83) part and not the hits style? Right now they have the same style and I am only trying to change the number part of the style.
The simpliest way would be add your style directly into the language files:
$lang['sitemap_hits'] = " Hits: <span class=\"yourstyleclass\">{hits}</span>";

(watch out for the quotes ;))
Title: Re: [MOD] Sitemap v1.0
Post by: thorstenp on June 24, 2009, 10:14:24 PM
Hallo,
ist es auch möglich diese Sitemap neben der Kategorientabelle anzuzeigen ?

Gruss
Thorsten
Title: Re: [MOD] Sitemap v1.0 details ?
Post by: bergblume on June 25, 2009, 10:25:45 AM
hello,
is it possible to show beside the categories also the details-pages in sitemap?
thank you, bergblume
Title: Re: [MOD] Sitemap v1.0
Post by: AKIN on October 11, 2009, 08:30:26 PM
How to add {paging} ?
Title: Re: [MOD] Sitemap v1.0
Post by: tk74 on October 22, 2009, 11:36:10 AM
Is it possible to use this sitemap with reducing/expanding categories like at this page: xxx: klick. kl. funpic. de/sitemap_v2. php ???
I don't need google or other adds I just have a lot of sub-categories and it would be really useful if they all could be closed by default in sitemap and only expand if you click on a little +
like in ACP
I already found some sites using this while searching google, but no explanation how to do it.

Ist es möglich bei der Sitemap sowas einzubauen wie hier xxx: klick. kl. funpic. de/sitemap_v2. php  ???
Ich habe sehr viele Unter-Kategorien und es wäre wirklich hilfreich wenn sie standardmäßig geschlossen wären und sich nur durch klicken auf ein kleines + öffnen würden, so wie im ACP.
Ich hab beim suchen über google schon mehrere Seiten gefunden die es so benutzen aber noch nix wie ich das für meine Seite einbauen kann.

Ich fand auch keine Anleitung oder einen Download. Weiß jemand wo es das gibt?
I also did not found an explanation or download-file for this. Is there anybody who knows it?
Thanks!
Title: Re: [MOD] Sitemap v1.0
Post by: mawenzi on October 22, 2009, 01:39:38 PM
@tk74 ...
... ich schon, zumindest auf der Seite die du zitiert hast ...
Title: Re: [MOD] Sitemap v1.0
Post by: tk74 on October 26, 2009, 03:15:48 PM

... ich schon, zumindest auf der Seite die du zitiert hast ...

Danke - damit sind alle Klarheiten beseitigt!!!
Muss ich mich anmelden? Ist es kostenpflichtig... ich find auch nach stundenlanger Suche nichts!
Title: Re: [MOD] Sitemap v1.0
Post by: Lunique on October 28, 2009, 05:48:16 PM

... ich schon, zumindest auf der Seite die du zitiert hast ...

Danke - damit sind alle Klarheiten beseitigt!!!
Muss ich mich anmelden? Ist es kostenpflichtig... ich find auch nach stundenlanger Suche nichts!
Ich habs endlich gefunden, ist in der Download-Area auf Seite 2, dann stehts da als "off" und wenn du das kleine Kästchen in der die Beschreibung steht zuende durchliest dann steht da auch das mans für 30€ kaufen kann und wie.
Damit ist es für mich leider gestorben, aber vll. nützt es dir ja was.
Title: Re: [MOD] Sitemap v1.0
Post by: tk74 on November 05, 2009, 12:38:59 PM
Ups 30 Euro.
Ich weiß, dass sowas ne Menge Arbeit macht und bin auch immer dankbar für jede Programmierung. Aber 30 Euro sind für mich auch bissel viel. 10 Euro würde ich gern locker machen...
Naja, trotzdem Danke!
Title: Re: [MOD] Sitemap v1.0
Post by: bigwave on March 03, 2021, 04:09:04 AM
YES, YES, YES!!!

This MOD works with version 1.8!!!

again...VERY impressed on the integrity of this software and the talents of the programmers, especially Mr. V@no!

Aloha,

Brian

*******************************

Hi,

I just updated to version 1.8 and my sitemap stopped working - the original link was {url_sitemap} and now nothing happens, sigh.  I really miss my sitemap, any suggestions will be greatly appreciated.

Thanks,

Brian