Jump to content

Replace "Download" and "Watch Online" with Server Name in post links


moviesdir
 Share

Recommended Posts

Open /wp-content/themes/dooplay/inc/doo_links.php

Find:

$fico = DOO_GICO.$doma;


Add After:

$domn = ($type == __d('Torrent')) ? 'Torrent' : doo_compose_domainname($murl);

 

 

Find:

$out .= "<td><img src='{$fico}'> <a href='{$link}' target='_blank'>{$ltxt}</a></td>";

Replace with:

$out .= "<td><img src='{$fico}'> <a href='{$link}' target='_blank'>{$domn}</a></td>";

 

Your post links will look like this:

NK5Q5SI.png

 

lHJZlz6.png

Edited by moviesdir
updated to 2.2.3
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 7 months later...
  • 5 months later...
On 11/14/2017 at 4:44 PM, moviesdir said:

Open /wp-content/themes/dooplay/inc/doo_init.php

Find:


$permalink	= get_permalink( $p->ID );


Add After:


$domain = str_ireplace('www.', '', parse_url(dt_post_meta( $p->ID, 'links_url' ), PHP_URL_HOST));

 

 

Find:


echo '<td><img src="'. DOO_GICO. saca_dominio($url). '"> <a href="'. $permalink. '" target="_blank">'. $type. '</a></td>';

Replace with:


echo '<td><img src="'. DOO_GICO. saca_dominio($url). '"> <a href="'. $permalink. '" target="_blank">'. $domain. '</a></td>';

 

Your post links will look like this:

NK5Q5SI.png

 

lHJZlz6.png

Still work with dooplay 2.2.3 ??

Edited by Akai
Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...
On 11/14/2017 at 4:44 PM, moviesdir said:

Open /wp-content/themes/dooplay/inc/doo_links.php

Find:


$fico = DOO_GICO.$doma;


Add After:


$domn = ($type == __d('Torrent')) ? 'Torrent' : doo_compose_domainname($murl);

 

 

Find:


$out .= "<td><img src='{$fico}'> <a href='{$link}' target='_blank'>{$ltxt}</a></td>";

Replace with:


$out .= "<td><img src='{$fico}'> <a href='{$link}' target='_blank'>{$domn}</a></td>";

 

Your post links will look like this:

NK5Q5SI.png

 

lHJZlz6.png

work like carm

can we change text tab download torrent watch online ?

i like to change High quality, medium quality, low quality 

Edited by Akai
Link to comment
Share on other sites

  • 4 years later...
 Share

  • Who's Online   0 Members, 0 Anonymous, 9 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...