Author Topic: Mp3 songs playlist mode  (Read 8264 times)

0 Members and 1 Guest are viewing this topic.

Offline suleman

  • Pre-Newbie
  • Posts: 7
    • View Profile
Mp3 songs playlist mode
« on: February 07, 2009, 10:43:20 PM »
Dear i want to ask that how i can add mode that in all cats show the mp3 songs in play list in text url form not in image mode? have any mode?

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Mp3 songs playlist mode
« Reply #1 on: February 08, 2009, 07:41:11 AM »
Hi,

i never saw a mode like your request...
And why you post your request a second time :?: :?: :?:

Kurt

Offline suleman

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Mp3 songs playlist mode
« Reply #2 on: February 08, 2009, 12:32:30 PM »
Sir 1st Sorry for second time post and check this url i have url for proof http://www.chamkani.net/tones check it and please help me...

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Mp3 songs playlist mode
« Reply #3 on: February 08, 2009, 04:13:42 PM »
and where is the playlist in the cats.  :?:
There are only links to download and to details  :!:

Kurt

Offline suleman

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Mp3 songs playlist mode
« Reply #4 on: February 08, 2009, 04:25:16 PM »
http://www.chamkani.net/tones/categories.php?cat_id=3 SIR here u can see that they show only text mean title and play and download button no thumb i want like this its possible can u help me?

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Mp3 songs playlist mode
« Reply #5 on: February 08, 2009, 05:26:18 PM »
in includes/functions.php
search:
Code: [Select]
      $thumb = "<img src=\"".$file_src."\" border=\"0\"".$width_height." alt=\"".$image_name."\" />";replace with.
Code: [Select]
//      $thumb = "<img src=\"".$file_src."\" border=\"0\"".$width_height." alt=\"".$image_name."\" />";search:
Code: [Select]
      $thumb = "<img src=\"".$file_src."\" border=\"".$config['image_border']."\"".$width_height." alt=\"".$image_name."\" />";replace with:
Code: [Select]
//      $thumb = "<img src=\"".$file_src."\" border=\"".$config['image_border']."\"".$width_height." alt=\"".$image_name."\" />";search:
Code: [Select]
  if ($show_link) {
    if ($open_window) {
      $thumb = "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode : ""))."\" onclick=\"opendetailwindow()\" target=\"detailwindow\">".$thumb."</a>";
    } else {
      $thumb = "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode : ""))."\">".$thumb."</a>";
    }
  }
  return $thumb;
replace with:
Code: [Select]
  if ($show_link) {
    if ($open_window) {
      $thumb = "<a href=\"".$site_sess->url(ROOT_PATH."download.php?".URL_IMAGE_ID."=".$image_id)."\"><img src=\"".get_gallery_image("download.gif")."\" border=\"0\" alt=\"\" /></a>";
      $thumb .= "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode : ""))."\" onclick=\"opendetailwindow()\" target=\"detailwindow\">Play</a>";
 } else {
      $thumb = "<a href=\"".$site_sess->url(ROOT_PATH."download.php?".URL_IMAGE_ID."=".$image_id)."\"><img src=\"".get_gallery_image("download.gif")."\" border=\"0\" alt=\"\" /></a>";
      $thumb .= "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode : ""))."\">Play</a>";
    }
  }
  return $thumb;
i have no play button, so replace the text "Play" with your button code, like the download button code.



in templates/default/thumbnail_bit.html
replace all code with:
Code: [Select]
  <table border="0" cellspacing="0" cellpadding="2">
    <tr>
      <td width="50%">{image_name}
      <td width="50%">{thumbnail}
     </td>
    </tr>
   </table>

In 4images settings (ACP) you need for image setting: 1 cell


Kurt

Offline chamkani.net

  • Jr. Member
  • **
  • Posts: 91
  • Moxet Khan
    • View Profile
    • Pukhtoogle
Re: Mp3 songs playlist mode
« Reply #6 on: February 08, 2009, 05:48:36 PM »
dear suleman there is no change in PhP scripting it is just change in theme (template), you must mention target of Play button to detail...
thanks for pointing my site...
Digital Marketing Specialist

Offline suleman

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Mp3 songs playlist mode
« Reply #7 on: February 08, 2009, 07:00:25 PM »
Thanks a lot its set Thanks again check it www.mp3owner.com

Offline GaYan

  • Sr. Member
  • ****
  • Posts: 301
  • ♫ | G2 | ♫
    • View Profile
    • Ziramagic
Re: Mp3 songs playlist mode
« Reply #8 on: September 27, 2009, 05:53:45 AM »
Hey..sir abdul..can u please explain the structure of the HTML ? it will be great..yes..i also think its done by the template :)
I'm Back :)