Author Topic: [MOD] Sitemap v1.0  (Read 152101 times)

0 Members and 1 Guest are viewing this topic.

Offline nemonic-berg

  • Newbie
  • *
  • Posts: 15
  • wallpapers
    • View Profile
    • free wallpaper - avatar download
Re: [MOD] Sitemap v1.0
« Reply #90 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


Offline cr34t1v3

  • Pre-Newbie
  • Posts: 1
    • View Profile
    • Avatars and Animated GIFs @ Avatarest.com
Re: [MOD] Sitemap v1.0
« Reply #91 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
Need Avatar or Animated GIF? Visit: http://www.avatarest.com

Offline Omsky

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: [MOD] Sitemap v1.0
« Reply #92 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

Offline mladja04

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] Sitemap v1.0
« Reply #93 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.

Offline kandr

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: [MOD] Sitemap v1.0
« Reply #94 on: December 01, 2008, 05:01:33 PM »
привет, а как сделать, чтобы еще названия картинки было показано?
hi, how make to show image name in site map too?

Offline kandr

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: [MOD] Sitemap v1.0
« Reply #95 on: December 06, 2008, 09:56:45 PM »
Its so hard to do this? somebody can help me??  :?

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: [MOD] Sitemap v1.0
« Reply #96 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,

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: [MOD] Sitemap v1.0
« Reply #97 on: December 28, 2008, 11:23:03 PM »
Hi,

Does someone know how to do that please?

Thanks in advance,

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Sitemap v1.0
« Reply #98 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.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: [MOD] Sitemap v1.0
« Reply #99 on: December 29, 2008, 02:39:54 AM »
Thanks V@no.

It did not work, but I fixed it. :)

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: [MOD] Sitemap v1.0
« Reply #100 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:

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [MOD] Sitemap v1.0
« Reply #101 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...

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: [MOD] Sitemap v1.0
« Reply #102 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

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Sitemap v1.0
« Reply #103 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=\"\">";
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline 4ella

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://www.dancersrecruit.com/pictures/
Re: [MOD] Sitemap v1.0
« Reply #104 on: April 27, 2009, 11:45:02 AM »
You are the best , yes it works -:) Thank you very much V@no

http://www.dancersrecruit.com/pictures/
4IMAGES 1.7.6 version/default theme
Apache version   2.2.11 (Unix)
PHP version   5.2.9
MySQL version   5.0.75-community-log
Architecture   x86_64
Operating system   Linux