View Single Post
  #3 (permalink)  
Old 10-15-2006, 11:35 AM
kbeeveer46's Avatar
kbeeveer46 kbeeveer46 is offline
Pligg Developer/Admin
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
I haven't tested this but the second "after" box can be fixed by using a variable instead of hardcoding your subdirectory.

PHP Code:
function get_permalink($id) {
    return 
"http://".get_server_name() $my_pligg_base ."/story/$id/";

__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote