Buying I want this WCDDL module to buy

Status
Not open for further replies.

kitty

Active Member
76
2009
0
0
Hello. I would like to buy this module for WCDDL v2.1 (i think is a paid module) available in zunox.com and twilight.ws

How much ? ($ paypal) and if has any installation instructions will be better.

Waiting for reply or PM from the maker or any reseller or anyone can point me to the selling/making thread ?

I did not find anything, looked already. Thanks.

 
10 comments
It's more of a template edit than a module.
basically you add the something like following:
PHP:
<td><?php if($site['type'] == 'movie') { 
echo '<a href="http://www.imdb.com/find?s=all&q='.$site['title'].'" target="_blank"><img scr="/images/imdb-logo.png" alt="'.$site['title'].'" title="View '.$site['title'].' Info"/></a>'; } 
elseif($site['type'] == 'tv') { 
echo '<a href="http://tvdb.com/search/'.$site['title'].'"><img src="/imges/tv-logo.png" alt="'.$site['title'].'" title="View '.$site['title'].' info" /><a/>'; 
} ?></td>
 
somehow is still not working to me... :(

original:

Code:
<div class="entry">
            <table class="postmetadata" width="100%">
            <tr><td width="8%" style="text-align:center;background-color:#F5F5F5;">Type</td><td>Download Name</td><td width="4%" style="background-color:#F5F5F5;">Ex</td><td width="10%" style="text-align:center;">Date</td><td width="15%" style="text-align:center;">Provided by</td></tr>
            <?php
                foreach($downloads as $dl) {
            ?>
            <tr><td style="text-align:center;background-color:#F5F5F5;"><?=$dl['type']?></td><td><a href="download.php?id=<?=$dl['id']?>"><?=$dl['title']?></a></a></td><td style="background-color:#F5F5F5;"><img src="http://cdn1.iconfinder.com/data/icons/socialmediaicons_v120/16/google.png" /></td><td style="text-align:center;"><?=(date("d/m/y") == date("d/m/y", $dl['dat'])) ? 'Today' : (date('d/m/y', mktime(0, 0, 0, date("m") , date("d") - 1, date("Y"))) == date("d/m/y", $dl['dat']) ? 'Yesterday' : date("d/m/y", $dl['dat']))?></td><td style="text-align:center;"><a href="http://<?=($dl['surl'])?>" target="_blank"><?=$dl['sname']?></a></td></tr>
            <?php
                }
            ?>
            </table>
            </div>
            </div>
after adding code :

Code:
<div class="entry">
            <table class="postmetadata" width="100%">
            <tr><td width="8%" style="text-align:center;background-color:#F5F5F5;">Type</td><td>Download Name</td><td width="4%" style="background-color:#F5F5F5;">Ex</td><td width="10%" style="text-align:center;">Date</td><td width="15%" style="text-align:center;">Provided by</td></tr>
            <?php
                foreach($downloads as $dl) {
            ?>
            <tr><td style="text-align:center;background-color:#F5F5F5;"><?=$dl['type']?></td><td>
            <a href="download.php?id=<?=$dl['id']?>"><?=$dl['title']?></a></a></td>
            
            <td style="background-color:#F5F5F5;"><?php if($site['type'] == 'App') { 
echo '<a href="http://www.imdb.com/find?s=all&q='.$site['title'].'" target="_blank"><img scr="/images/imdb-logo.png" alt="'.$site['title'].'" title="View '.$site['title'].' Info"/></a>'; } 
elseif($site['type'] == 'TV') { 
echo '<a href="http://tvdb.com/search/'.$site['title'].'"><img src="/images/tv-logo.png" alt="'.$site['title'].'" title="View '.$site['title'].' Info"/></a>'; 
} ?></td>

            <td style="text-align:center;"><?=(date("d/m/y") == date("d/m/y", $dl['dat'])) ? 'Today' : (date('d/m/y', mktime(0, 0, 0, date("m") , date("d") - 1, date("Y"))) == date("d/m/y", $dl['dat']) ? 'Yesterday' : date("d/m/y", $dl['dat']))?></td>
            <td style="text-align:center;"><a href="http://<?=($dl['surl'])?>" target="_blank"><?=$dl['sname']?></a></td></tr>
            <?php
                }
            ?>
            </table>
            </div>
            </div>
added 2 16x16 images in /images folder with respective names.

my wcfg.php has :

Code:
// General Config
$this->allowed_types = array( // These types are accepted from submitters, any other type will be "thrown away"
    "App",
    "Game",
    "Movie",
    "Music",
    "TV",
    "eBook"
);
$this->admin_pass
but still not working. what am I missing ? :facepalm:
 
On my mobile so can't really see exactly. Initially you have $dl while I though you had $site so I've changed all the $site to $dl. Give that a go and I'll have a better look when I get home if it doesn't work.
PHP:
<div class="entry">
            <table class="postmetadata" width="100%">
            <tr><td width="8%" style="text-align:center;background-color:#F5F5F5;">Type</td><td>Download Name</td><td width="4%" style="background-color:#F5F5F5;">Ex</td><td width="10%" style="text-align:center;">Date</td><td width="15%" style="text-align:center;">Provided by</td></tr>
            <?php
                foreach($downloads as $dl) {
            ?>
            <tr><td style="text-align:center;background-color:#F5F5F5;"><?=$dl['type']?></td><td>
            <a href="download.php?id=<?=$dl['id']?>"><?=$dl['title']?></a></a></td>
            
            <td style="background-color:#F5F5F5;"><?php if($dl['type'] == 'App') { 
echo '<a href="http://www.imdb.com/find?s=all&q='.$dl['title'].'" target="_blank"><img scr="/images/imdb-logo.png" alt="'.$dl['title'].'" title="View '.$dl['title'].' Info"/></a>'; } 
elseif($dl['type'] == 'TV') { 
echo '<a href="http://tvdb.com/search/'.$dl['title'].'"><img src="/images/tv-logo.png" alt="'.$dl['title'].'" title="View '.$dl['title'].' Info"/></a>'; 
} ?></td>
            <td style="text-align:center;"><?=(date("d/m/y") == date("d/m/y", $dl['dat'])) ? 'Today' : (date('d/m/y', mktime(0, 0, 0, date("m") , date("d") - 1, date("Y"))) == date("d/m/y", $dl['dat']) ? 'Yesterday' : date("d/m/y", $dl['dat']))?></td>
            <td style="text-align:center;"><a href="http://<?=($dl['surl'])?>" target="_blank"><?=$dl['sname']?></a></td></tr>
            <?php
                }
            ?>
            </table>
            </div>
            </div>
 
doing so in EX i have the Download Name as text... so is type, download name and again download name, no images., then date and provider :(
 
Ah that's good. That means it can't find the images so it's showing you the download name. What's the url to your site so I can see it? I need to find where you've the images/icons saved so I can get the correct path as that's what seams to be wrong now.

I'll be home in two hours so won't be able to help more until then but don't go paying for this. Your 95% there.
 
My images path is :

http://www.domain.com/images/tv-logo.png
http://www.domain.com/images/imdb-logo.png

I opened them in browser, to see that is there. They are there.

I added the full path in index.php in your code

<img scr="http://www.domain.com/images/imdb-logo.png" alt="'.$dl['title'].'"

instead the original <img scr="/images/imdb-logo.png" ...

I wish I can send you a PM with the domain name, but you can't receive PMs. I would like the domain name to keep it private yet, since is in project stade... would look bad for future visitor when they see it now... <_<

Thank you very much for helping me, I wait from you.

--- update: TV category is showing ... image is there. i renamed tv-logo.png to imdb-logo.png but is not working this way... there is something wrong now only App code.

so all categories from elseif($dl['type'] == works but is not working the first category <?php if($dl['type'] == :facepalm:
 
Last edited:
TRY This it will be work tested:
PHP:
<div class="entry">
            <table class="postmetadata" width="100%">
            <tr><td width="8%" style="text-align:center;background-color:#F5F5F5;">Type</td><td>Download Name</td><td width="4%" style="background-color:#F5F5F5;">Ex</td><td width="10%" style="text-align:center;">Date</td><td width="15%" style="text-align:center;">Provided by</td></tr>
            <?php
                foreach($downloads as $dl) {
            ?>
            <tr><td style="text-align:center;background-color:#F5F5F5;"><?=$dl['type']?></td><td>
            <a href="download.php?id=<?=$dl['id']?>"><?=$dl['title']?></a></a></td>
            
            <td style="background-color:#F5F5F5;"><?php if($dl['type'] == 'Movie') { 
echo '<a href="http://www.imdb.com/find?s=all&q='.$dl['title'].'" target="_blank"><img src="/images/imdb-logo.png" alt="'.$dl['title'].'" title="View '.$dl['title'].' Info"/></a>'; } 
elseif($dl['type'] == 'TV') { 
echo '<a href="http://tvdb.com/search/'.$dl['title'].'"><img src="/images/tv-logo.png" alt="'.$dl['title'].'" title="View '.$dl['title'].' Info"/></a>'; 
} ?></td>
            <td style="text-align:center;"><?=(date("d/m/y") == date("d/m/y", $dl['dat'])) ? 'Today' : (date('d/m/y', mktime(0, 0, 0, date("m") , date("d") - 1, date("Y"))) == date("d/m/y", $dl['dat']) ? 'Yesterday' : date("d/m/y", $dl['dat']))?></td>
            <td style="text-align:center;"><a href="http://<?=($dl['surl'])?>" target="_blank"><?=$dl['sname']?></a></td></tr>
            <?php
                }
            ?>
            </table>
            </div>
            </div>
 
Status
Not open for further replies.
Back
Top