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 - Maweryk

Pages: 1 2 [3] 4 5 6 7 ... 10
31
Mods & Plugins (Releases & Support) / Re: [MOD] Bildpartner Interface
« on: October 25, 2005, 04:06:18 PM »
Bei mir funzt es leider auch nicht.  :cry:
Siehe auch hier: http://www.4homepages.de/forum/index.php?topic=10155.15

Gruß

Markus

32
Mods & Plugins (Releases & Support) / Re: [MOD] Pixaco Interface
« on: October 25, 2005, 03:05:06 PM »
Den Big-Ordner etc. habe ich natürlich schon angelegt.
Bei mir liegt es an den Platzhaltern {cat_id} und {image_file_name}. Leider werden sie ignoriert und der Link erscheint nicht.
Gebe ich einen Ordner und den genauen Bildnamen im Adminbereich vor, dann funzt es.
Hast Du eine Ahnung, warum das mit den Platzhaltern bei mir nicht funktioniert?

Danke & Gruß

Markus
 


33
Mods & Plugins (Releases & Support) / Re: [MOD] Pixaco Interface
« on: October 25, 2005, 11:41:29 AM »
Idee für einen neuen Mod: Bilder-Planet.de Interface nur hab ich von denen noch keine genehmigung zum veröffentlichen

Angeschrieben hast Du sie aber schon?

Musste aus der ...print.php den SQL-Block rausnehmen, da er bei mir immer auf einen Fehler gelaufen ist.

Code: [Select]
$CreateCode = "CREATE TABLE IF NOT EXISTS `".$table_prefix."Pixaco` (
  `ID` int(11) NOT NULL auto_increment,
  `affiliLink` text NOT NULL,
  `LinkText` text NOT NULL,
  `Popupheigh` int(4) NOT NULL default '0',
  `Popupwidth` int(4) NOT NULL default '0',
  `PicdirfullRemote` text NOT NULL,
  `PicdirfullLocal` text NOT NULL,
  UNIQUE KEY `ID` (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
";

Problem bei mir war die letzte Zeile: DEFAULT CHARSET=latin1 AUTO_INCREMENT=2

Ich habe dann die Tabelle selber angelegt und nun scheint es zu klappen.

Desweiteren sehe ich noch keinen Bestelllink unter dem Foto. Liegt wohl daran, dass er bei mir {cat_id} verschluckt und immer im Ordner media\\big anstatt media\20\big sucht. :(

Gruß

Markus
 

34
Mods & Plugins (Releases & Support) / Re: [MOD] Pixaco Interface
« on: October 25, 2005, 02:49:06 AM »
Gelungener Mod. Bei mir funzt der zwar noch nicht so, wie er soll, aber das wird schon.  :wink:
Idee für einen neuen Mod: Bilder-Planet.de Interface

Gruß

Markus


35
Hi, i would like to add the image name in the URL like this : www.mydomain.com/img,IMAGE-NAME,id.html

i can do it if i add an argument in the url function like this
Code: [Select]
function url($url, $amp = "&", $name ) {
...
$url   = str_replace('details.php', 'img,'.$name.','.$matches[1].'.html', $url);

}


then in details.php, i put this code for previous image link :
Code: [Select]
$prev_image_url = $site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$prev_image_id.((!empty($mode)) ? "&mode=".$mode : ""),0,$prev_image_name);

but, honnestly, its very boring to change every "$site_sess->url()" to add the third argument, so does anyone have an idea please ?
i would like to do the same for categories and search

thanks for help



Nice idea :!:
Can you also post the code for categories?

Thanks a lot!

Cheers,

Markus

36
Thanks, vano!!!
It is possible to add the name of the category?

Home/Test

category1_test_english.htm

Thanks!

Markus

37
I try it out, but without success.  :cry:

@v@no: Can you help us?  :roll:

Thanks!

Markus


Great idea!
How can we do that?

My idea:

Category: mysite.com/ID-category_name.htm
Details: mysite.com/ID-category_name-imgID.htm

Thanks for helping!

Cheers,

Markus



Hello,

as my post may be overread, and i think it is important for us all, here again:

Hello,

I know it has been asked seveal times in this topic before, and also it has been given an answer, but I want to give a suggestion for this...

Question is: Can I change the URL: mysite.com/img123.htm to mysite.com/image_name.htm ?

The answer was: NO, because when 2 images have same name, it won´t work, the 4images is based on unique ID-Numbers.

Ok, here comes my suggestion:

Could we generate URLs like this instead, so we have still the ID, but we´re using the image or cat name in the URL, which helps a lot in SEO :

mysite.com/image_name-ID.htm or
mysite.com/image_name/ID.htm

Regards,
Daniel


38
Mods & Plugins (Releases & Support) / Re: [MOD] Sitemap v1.0
« 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

39
Mods & Plugins (Requests & Discussions) / Re: Suche Size Funktion in PHP
« on: September 20, 2005, 02:47:19 AM »
Toll wäre es, wenn man die Ausgabegröße mit der verwendeten Bildschirmgröße koppeln könnte.
Ist das irgendwie möglich?

Danke & Gruß

Markus

40
Mods & Plugins (Releases & Support) / Re: [MOD] Sitemap v1.0
« on: September 20, 2005, 02:09:42 AM »
Works great!

Thanks v@no!

Cheers,

Markus

41
Please, can somebody help us?

Thanks!

Markus

42
Chit Chat / MOD: Image Details on/off in cateogories.php
« on: September 19, 2005, 04:13:58 PM »
Yes!  :wink:

Find in includes/page_header.php

Code: [Select]
//-----------------------------------------------------
//--- Set Perpage Dropdown ----------------------------
//-----------------------------------------------------

ADD BEFORE

Code: [Select]
//-----------------------------------------------------
//--- Set Details Dropdown ----------------------------
//-----------------------------------------------------


if (isset($HTTP_POST_VARS['set_details'])) {
//   if ($set_details) {
    $site_sess->set_session_var("set_details", $set_details);
    $session_info['set_details'] = $set_details;
//   }
}

$set_details_dropdown = "\n<select name=\"set_details\" class=\"setperpageselect\">\n";

if ( $session_info['set_details'] == 'an' )
{
  $set_details_dropdown .= "<option value=\"aus\">aus</option>\n";
  $set_details_dropdown .= "<option value=\"an\" selected=\"selected\">an</option>\n";
}
else
{
  $set_details_dropdown .= "<option value=\"aus\" selected=\"selected\">aus</option>\n";
  $set_details_dropdown .= "<option value=\"an\" >an</option>\n";
}

$set_details_dropdown .= "</select>";


if ($cat_id != 0) {
  $set_details_dropdown .= "<input type=\"hidden\" name=\"cat_id\" value=\"".$cat_id."\" />\n";
}
if (isset($show_result) && $show_result == 1) {
  $set_details_dropdown .= "<input type=\"hidden\" name=\"show_result\" value=\"1\" />\n";
}
$site_template->register_vars("set_details_dropdown", $set_details_dropdown);
$set_details_dropdown_form = $site_template->parse_template("set_details_dropdown_form");
$site_template->register_vars("set_details_dropdown_form", $set_details_dropdown_form);

$site_template->un_register_vars("set_details_dropdown");
unset($set_details_dropdown);
unset($set_details_dropdown_form);

Find in categories.php:

Code: [Select]
$templates_used = 'categories,category_bit,thumbnail_bit';
REPLACE WITH

Code: [Select]
if ( $session_info['set_details'] == 'an' )
{ $templates_used = 'categories,category_bit,thumbnail_bit_more'; }
else
{ $templates_used = 'categories,category_bit,thumbnail_bit'; }

Find in categories.php:

Code: [Select]
$thumbnails = "<table class=forumline width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=1 cellspacing=1>\n";
  $count = 0;
  $bgcounter = 0;
  while ($image_row = $site_db->fetch_array($result)){
    if ($count == 0) {
      $row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
      $thumbnails .= "<tr class=\"imagerow".$row_bg_number."\">\n";
    }
    $thumbnails .= "<td align=center valign=middle>\n";

    show_image($image_row);
    $thumbnails .= $site_template->parse_template("thumbnail_bit");
    $thumbnails .= "\n</td>\n";

    $count++;

REPLACE WITH

Code: [Select]
$thumbnails = "<table class=forumline width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=1 cellspacing=1>\n";
  $count = 0;
  $bgcounter = 0;
  while ($image_row = $site_db->fetch_array($result)){
    if ($count == 0) {
      $row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
      $thumbnails .= "<tr class=\"imagerow".$row_bg_number."\">\n";
    }
    $thumbnails .= "<td align=center valign=middle>\n";

    show_image($image_row);
if ( $session_info['set_details'] == 'an' )
   {    $thumbnails .= $site_template->parse_template("thumbnail_bit_more"); }
 else
   {    $thumbnails .= $site_template->parse_template("thumbnail_bit"); }
    $thumbnails .= "\n</td>\n";

    $count++;

create file - set_details_dropdown_form.html :

Code: [Select]
<form method="post" action="{self}">
  <table border="0" cellspacing="3" cellpadding="3">
    <tr>
      <td nowrap=nowrap>Infos & Buttons:&nbsp;</td>
      <td>{set_details_dropdown}</td>
<td>        <input type="submit" value="{lang_go}" class="button" name="submit" /></td>
    </tr>
  </table>
</form>

upload in templates/default

Make a copy of thumbnail_bit.html
save as thumbnail_bit_more.html

adjust thumbnail_bit.html
e.g. just

Code: [Select]
{thumbnail}
insert the TAG {set_details_dropdown_form} in categories.html to insert the Select Form.

FINISHED

Demo:

http://www.party-cam.org/cam/categories.php?cat_id=255

Cheers,

Markus







 

43
Chit Chat / Re: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)
« on: September 19, 2005, 03:57:34 PM »
Mods in my archive:

- calender
- universal paging class
- image details on/off in categories
- cat name in clickstream
- Slideshow v2.2 for lightbox/album
- random more pics
- random new images
- exif
- catimage
- Slideshow

Do you need some of this mods?

Cheers,

Markus
 

44
Chit Chat / 4images - [MOD] Flash Based, Streaming MP3 Player
« on: September 19, 2005, 03:47:22 PM »
From my archive:

Installtion is simple:

1. Download the flash file
2. Create a new directory in your templates directory called, "flash" and place the flash file (mp3.swf) inside that folder. (./templates/flash/mp3.swf)
3. Either append or replace the code in your templates/media/mp3.html template with the following code.

Code: [Select]
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="300" height="80">
  <param name="movie" value="./templates/flash/mp3.swf?id={image_id}">
  <param name=quality value=high>
  <embed src="./templates/flash/mp3.swf?id={image_id}" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="300" height="80"></embed>
</object>

Thats pretty much it, enjoy!

Ibis Fernandez
http://cinestarfilmworks.com

P.S. The mp3 is being called via the download.php script rather than directly from the {images_src}, Im hoping that this will cause every time the mp3 is accessed to be counted as a download

Cheers,

Markus

45
Great idea!
How can we do that?

My idea:

Category: mysite.com/ID-category_name.htm
Details: mysite.com/ID-category_name-imgID.htm

Thanks for helping!

Cheers,

Markus



Hello,

as my post may be overread, and i think it is important for us all, here again:

Hello,

I know it has been asked seveal times in this topic before, and also it has been given an answer, but I want to give a suggestion for this...

Question is: Can I change the URL: mysite.com/img123.htm to mysite.com/image_name.htm ?

The answer was: NO, because when 2 images have same name, it won´t work, the 4images is based on unique ID-Numbers.

Ok, here comes my suggestion:

Could we generate URLs like this instead, so we have still the ID, but we´re using the image or cat name in the URL, which helps a lot in SEO :

mysite.com/image_name-ID.htm or
mysite.com/image_name/ID.htm

Regards,
Daniel


Pages: 1 2 [3] 4 5 6 7 ... 10