Author Topic: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)  (Read 104498 times)

0 Members and 1 Guest are viewing this topic.

Offline Maweryk

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
4images - [MOD] Flash Based, Streaming MP3 Player
« Reply #45 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

TheOracle

  • Guest
Re: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)
« Reply #46 on: September 19, 2005, 03:50:07 PM »
@Maweryk :

Your suggestion can also be used with :

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

;)

Offline Maweryk

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)
« Reply #47 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
 

TheOracle

  • Guest
Re: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)
« Reply #48 on: September 19, 2005, 04:02:47 PM »
Quote

- image details on/off in categories


Was this one already done ?  8O

If so, I will stop seeking in my codes.  :mrgreen:

As for your archive, you should install this MOD :

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

to present what you have on a more graphical presentation with an easier way to handle your MOD database. ;)

Offline Maweryk

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
MOD: Image Details on/off in cateogories.php
« Reply #49 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







 

TheOracle

  • Guest
Re: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)
« Reply #50 on: September 19, 2005, 04:26:48 PM »
Outstanding. :D

This has saved me a huge time of codings. In the mean time, I will combine this with my ' site maintenance MOD ' I created. ;)

However, I do have a statement to add :

Quote

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


replace with :

Code: [Select]

<form method="post" action="{self}">
  <table border="0" cellspacing="3" cellpadding="3">
    <tr>
      <td nowrap=nowrap>{lang_info_buttons}</td>
      <td>{set_details_dropdown}</td>
<td>        <input type="submit" value="{lang_go}" class="button" name="submit" /></td>
    </tr>
  </table>
</form>


Then, in your includes/page_header.php file,

find :

Quote

"lang_charset" => $lang['charset'],


add above :

Code: [Select]

"lang_info_buttons" => $lang['info_buttons'],


Then, in your lang/english/main.php file,

add above the ?> tag :

Code: [Select]

$lang['info_buttons'] = "Infos & Buttons:&nbsp;";


Again, excellent idea. ;)

Offline ch€ri{Bi}²

  • Sr. Member
  • ****
  • Posts: 315
  • A PRoBLeM wIthOUt SoLuTioN Is NoT rEAllY a PRoBLeM
    • View Profile
    • Pat's Gallery
Re: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)
« Reply #51 on: September 20, 2005, 12:13:26 AM »
Was this one already done ?  8O

Yes it had already been published here in this post some months ago but it was not moved as it had been asked  :roll:

I hope that somebody will make it... one day...  :wink:
ch€ri{Bi}²


TheOracle

  • Guest
Re: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)
« Reply #52 on: September 20, 2005, 12:21:27 AM »
Ohhh ! I see what happened. It was posted in the middle on another topic. Who would of though ? !  :mrgreen:

Thanks for mentionning this. This MOD should even be on it's own topic as a sticky position under the MODs section of the forum. ;)

Offline CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)
« Reply #53 on: September 28, 2005, 11:40:57 PM »
Did you try going to http://web.archive.org/ ??

I looked and I see they have many things from the forum archived back to June 2002.

Here is the quick link back to the history of the forum: http://web.archive.org/web/*/http://www.4homepages.de/forum/


Hope this helps out!

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: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)
« Reply #54 on: September 28, 2005, 11:57:38 PM »
Unfortunetly all they have is home page of this forum, all links open current pages.
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 CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)
« Reply #55 on: September 29, 2005, 12:23:08 AM »
Unfortunetly all they have is home page of this forum, all links open current pages.

Sorry about that. Didn't look that far into it.
I will keep an eye out for things like this.

Offline dosensteck

  • Full Member
  • ***
  • Posts: 160
    • View Profile

Offline dosensteck

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)
« Reply #57 on: October 30, 2005, 11:54:53 PM »
noch einen gefunden

[MOD] Panoramen + Java-Applet: Zusammenfassung
http://www.4homepages.de/forum/index.php?topic=10250.new#new

Offline Matthias70

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • Bildergalerie
Re: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)
« Reply #58 on: August 24, 2006, 12:39:28 AM »
Kann es sein, dass unter folgendem Link
http://www.4homepages.de/forum/index.php?topic=9996.msg52137#msg52137

zumindest ein Teil vom
[MOD] Featured Images (by sigma / rproctor)

zu finden ist?

Ich glaueb om6acw hat das Mod etwas abgändert, aber die Änderungen müsste man doch rückgängig machen können, oder  :wink:

Gruß
Matthias

Offline om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: Missing MODs/FIXes/FAQs (Updated 19-07-2005 21:10 EST)
« Reply #59 on: August 24, 2006, 02:27:34 AM »
Kann es sein, dass unter folgendem Link
http://www.4homepages.de/forum/index.php?topic=9996.msg52137#msg52137

zumindest ein Teil vom
[MOD] Featured Images (by sigma / rproctor)

zu finden ist?

Ich glaueb om6acw hat das Mod etwas abgändert, aber die Änderungen müsste man doch rückgängig machen können, oder  :wink:

Gruß
Matthias


Hi Matthias70,
I have instaled this mod on 1.7.1 but when I switch to 1.7.2 I lost that mod.
But I want instal him again. If is somebody here who want dig that mod out
from my old (1.7.1) instalation I can send him all scripts.