Results 1 to 5 of 5

Thread: How to add image link codes in index.php?&showlinks

  1. #1

    Default How to add image link codes in index.php?&showlinks

    Hello Yab, little the same as in show.php page.

    but now, i want to construct my own links (with tabs and categories)

    I have added in getcode.php this:

    Code:
    $template->assign_vars($row);
    $template->assign_vars(array(
        'filesize'=>convertsize($row[size]),
        'imagecode'=>buildShowLinksCode($row),
        'showstatus'=>((in_array($type,$VideoFile)||$type=='swf')?'visible':'hidden'),
        'showurl'=>$showurl,
        'imageurl'=>$imageurl.$hotlink_code,
        ));
    after this

    Code:
    $template->set_filenames(array(
    	'body' => 'getcode.html')
    	);
    i'd like to construct links {showcode} but it's not working. How to do that, or maybe other solution.

    I have also tried to put {mode3.row.showurl} - but not working

  2. #2

    Default

    ok, i've found this {mode3.showurl} and {mode3.thumburl} - are working
    but {mode3.imageurl} - is not

  3. #3

    Default

    solved

    there was a mistake in function.php - not all imageurl variables have been written

    huh!

  4. #4

    Default

    Well, as a result, i have this (image animated):


  5. #5
    Join Date
    May 2005
    Location
    China & France
    Posts
    6,492

    Default

    It looks nice.

Similar Threads

  1. File Link Codes From a Folder ? !
    By mrmy in forum MFHS v1.3
    Replies: 3
    Last Post: 05-23-2010, 11:09 PM
  2. [AIH v2.2] line break in image codes
    By limer in forum Troubleshooting And Problems
    Replies: 3
    Last Post: 08-14-2009, 03:08 PM
  3. Direct Image Linking In Linking Codes
    By discuss4u in forum Suggestions & Feature Request
    Replies: 0
    Last Post: 09-19-2008, 10:24 AM
  4. How to add image link codes in show.php
    By brandon in forum General
    Replies: 2
    Last Post: 08-26-2008, 07:37 PM
  5. Trial Offer Link Status Image
    By kindaaron in forum Mods/Skin/Hosting Request&Offers
    Replies: 2
    Last Post: 12-27-2007, 05:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •