Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   I have activated invite system but doesn't work (http://www.bvlist.com/showthread.php?t=9444)

pedrodarcos 26th August 2013 20:22

I have activated invite system but doesn't work
 
I have activated invite system in admin panel.
As user I can't see how to change these invites into codes to deliver to persons.
What am I doing wrong?
Thanks

joeroberts 27th August 2013 04:52

demonoid.com.co/invite.php

pedrodarcos 27th August 2013 14:40

I am afraid I don't know what to do...
Do I need to make any changes on invite.php in order the system could show to user with invites the option to send those invites to someone?
what do I need to change, then?

Sorry for so much noob questions.

Thank you for your time

joeroberts 28th August 2013 03:49

in your theme main.php
put this where you want the link to show
PHP Code:

if ($user->user AND $INVITEONLY)
{
    
        
        
OpenTable(_btinvites);
        echo 
"<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n";
        echo 
"<tr><td align=\"center\">"._btinfituh."</td></tr>\n";
        if (
$user->invites ){
        echo 
"<tr><td align=\"center\"><a href=invite.php>"._btsendiv."</a></td></tr>\n";
        }
        echo 
"</table>";
        
        
CloseTable(); 


pedrodarcos 28th August 2013 13:03

Thank You very much:drink:

Bump: I am afraid appears this warning when I try to put the code inside the main.php

"There is a syntax error on line 619. Code hinting may not work until you fix this error."

joeroberts 28th August 2013 13:36

PHP Code:

if ($user->user AND $INVITEONLY)
{
    
        
        
OpenTable(_btinvites);
        echo 
"<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n";
        echo 
"<tr><td align=\"center\">"._btinfituh."</td></tr>\n";
        if (
$user->invites ){
        echo 
"<tr><td align=\"center\"><a  href=invite.php>"._btsendiv."</a></td></tr>\n";
        }
        echo 
"</table>";
        
        
CloseTable();



pedrodarcos 28th August 2013 13:40

Ok, now works but when I send an invite I get this error:

You have 9 Invites

Send An Invite
http://demonoid.com.co/themes/NBdemon/pics/blank.gif http://demonoid.com.co/themes/NBdemon/pics/blank.gif http://demonoid.com.co/themes/NBdemon/pics/blank.gif http://demonoid.com.co/themes/NBdemon/pics/blank.gif
HTTP 500 Error - Internal Server ErrorA 500 HTTP Error Occurred while Processing Your Request.
An error Occurred while Processing Your Data.
Detailed info can be found in the Server Logs.
Please send a detailed report about this to

This is log file:

[Wed Aug 28 06:43:42 2013] [error] [client 181.54.122.91] File does not exist: /home/demonoid/public_html/images/p.gif, referer: http://demonoid.com.co/invite.php
[Wed Aug 28 06:43:42 2013] [error] [client 181.54.122.91] File does not exist: /home/demonoid/public_html/themes/NBdemon/pics/p.gif, referer: http://demonoid.com.co/invite.php
[Wed Aug 28 06:43:27 2013] [error] [client 181.54.122.91] File does not exist: /home/demonoid/public_html/themes/NBdemon/pics/p.gif, referer: http://demonoid.com.co/user.php?op=profile&id=2
[Wed Aug 28 06:43:27 2013] [error] [client 181.54.122.91] File does not exist: /home/demonoid/public_html/images/p.gif, referer: http://demonoid.com.co/user.php?op=profile&id=2

joeroberts 28th August 2013 14:02

when did you get the error accessing the page or after sendig?

pedrodarcos 28th August 2013 15:17

1 Attachment(s)
I get the error when I want to send an invite to someone.

After click send invite I get this error,
inside http://demonoid.com.co/takeinvite.php

See attachment please.

Thanks

joeroberts 28th August 2013 17:56

Is your mail server working?


All times are GMT +2. The time now is 23:30.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.