Results 1 to 3 of 3

Thread: invite friend + message reply

  1. #1
    Join Date
    Apr 2010
    Posts
    26

    Default invite friend + message reply

    Hi!

    I've put this code in invite_friends.php

    if ($_GET['UID'] == $_SESSION['UID'])
    {
    set_message($lang['invite_self'], 'success');
    $redirect_url = VSHARE_URL . '/friends/';
    redirect($redirect_url);
    }

    but it doesn't work and it still doesn't send the error message. Could i get a code which works?

    in the msg.tpl when i click on the reply message i have this code
    {$base_url}/compose.php?receiver={$msg_info.mail_sender}&subje ct={$reply_subject} can i have a more clean code insted of this for example like this:

    {$base_url}/compose/{$msg_info.mail_sender}/{$reply_subject}/

    i want to get this code but i don't know how to write it. So please help me, thank you.

  2. #2
    Join Date
    Sep 2007
    Posts
    906

    Default

    Why you put the code in invite friend ?

    The url is not seo friendly as no search engines going to see that url as it is privte to each users.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  3. #3
    Join Date
    Apr 2010
    Posts
    26

    Default

    1. I corrected the bug

    2. I made it, because it looks better :):D

    thanks
    Last edited by forg4t; 02-28-2011 at 06:51 PM.

Bookmarks

Posting Permissions

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