Add "Actor Links" to your Lists!

View previous topic View next topic Go down

Add "Actor Links" to your Lists!

Post  nardak on Sun Dec 30, 2007 11:40 pm

Hihi All,

A friend of mine has modified the functions.php file to generate links out of the actor names upon OUTPUT (i.e. your data isn't modified in the database). The generated links when clicked on will search the current list for that actor.

You can try out the search on my list page http://media.nardak.net/nardak

You can download the script from http://www.nardak.net/pmlupdates/

When you install it, make sure you have a backup of your original.

You will need to Search the file (Before uploading!) for "http://yoursite.com" (No quotes) and REPLACE IT WITH THE BASE URL FOR YOUR SITE

Code:


i.e...

$output.='<a href="http://yoursite.com/list.php?Active='.$_GET["Active"].'&Search='.ereg_replace(" ", "+", $actor_list[$i]).'">'.$actor_list[$i].'</a>';

Would become

$output.='<a href="http://www.mymovielist.com/list.php?Active='.$_GET["Active"].'&Search='.ereg_replace(" ", "+", $actor_list[$i]).'">'.$actor_list[$i].'</a>';

Assuming your site was mymovielist.com


--
Nardak.

nardak

Posts: 3
Join date: 2007-12-31

View user profile

Back to top Go down

Re: Add "Actor Links" to your Lists!

Post  pml2048 on Thu Jan 24, 2008 3:40 pm

Thanks, this works great!

I saw on your download page you also have a fetch-imdb.php dated Dez. 07 - is the bug (here) still there?

pml2048

Posts: 12
Join date: 2007-11-27

View user profile

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum