Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #1  
Old 26th August 2013, 20:22
pedrodarcos pedrodarcos is offline
Senior Member
 
Join Date: May 2013
P2P
Posts: 21
Default 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
Reply With Quote
  #2  
Old 27th August 2013, 04:52
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
demonoid.com.co/invite.php
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
pedrodarcos (27th August 2013)
  #3  
Old 27th August 2013, 14:40
pedrodarcos pedrodarcos is offline
Senior Member
 
Join Date: May 2013
P2P
Posts: 21
Default
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
Reply With Quote
  #4  
Old 28th August 2013, 03:49
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
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."<br></td></tr>\n";
        if (
$user->invites ){
        echo 
"<tr><td align=\"center\"><a href=invite.php>"._btsendiv."</a><br></td></tr>\n";
        }
        echo 
"</table>";
        
        
CloseTable(); 
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
pedrodarcos (28th August 2013)
  #5  
Old 28th August 2013, 13:03
pedrodarcos pedrodarcos is offline
Senior Member
 
Join Date: May 2013
P2P
Posts: 21
Default
Thank You very much

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."
Reply With Quote
  #6  
Old 28th August 2013, 13:36
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
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."<br></td></tr>\n";
        if (
$user->invites ){
        echo 
"<tr><td align=\"center\"><a  href=invite.php>"._btsendiv."</a><br></td></tr>\n";
        }
        echo 
"</table>";
        
        
CloseTable();

__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
pedrodarcos (28th August 2013)
  #7  
Old 28th August 2013, 13:40
pedrodarcos pedrodarcos is offline
Senior Member
 
Join Date: May 2013
P2P
Posts: 21
Default
Ok, now works but when I send an invite I get this error:

You have 9 Invites

Send An Invite
Click the image to open in full size. Click the image to open in full size. Click the image to open in full size. Click the image to open in full size.
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

Last edited by pedrodarcos; 28th August 2013 at 13:55. Reason: add
Reply With Quote
  #8  
Old 28th August 2013, 14:02
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
when did you get the error accessing the page or after sendig?
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #9  
Old 28th August 2013, 15:17
pedrodarcos pedrodarcos is offline
Senior Member
 
Join Date: May 2013
P2P
Posts: 21
Default
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
Attached Thumbnails
FireShot Screen Capture #133 - 'Demonoid' - demonoid_com_co_takeinvite_php.png  
Reply With Quote
  #10  
Old 28th August 2013, 17:56
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Is your mail server working?
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
pedrodarcos (31st August 2013)
Reply

Tags
activated , invite , system , work

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 01:18. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.