Bravo List
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Old 18th June 2010, 21:37
cladt's Avatar
cladt cladt is offline
Join Date: May 2010
Posts: 14
Default Problems PM
My site forcing users to read new messages before can use the site! How do I stop it?

i have phpMyBitTorrent 2.0.4.
Reply With Quote
Old 19th June 2010, 03:13
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
Join Date: Jan 2008
United States
Posts: 2,063
it well need to be changed in each theme just remove
PHP Code:
$has_newpm false;
$sql "SELECT id FROM ".$db_prefix."_private_messages WHERE recipient = '".$user->id."' AND is_read = 'false' LIMIT 1;";
$res $db->sql_query($sql) or btsqlerror($sql);
$pmcount $db->sql_numrows($res);
$has_newpm = ($pmcount 0) ? true false;
if (
"<script type=\"text/javascript\" language=\"JavaScript\">";
"sPath = window.location.pathname;";
"sPage = sPath.substring(sPath.lastIndexOf('/') + 1);";
"if (sPage != \"pm.php\"){ var answer = confirm (\""._jscriptconfirmtext."\");";
"if (answer) window.location=\"pm.php?op=inbox\";";

from theme main.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
Reply With Quote

pm , problems

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
TS SE 5.6 PROBLEMS AJ1804 Template Shares 10 25th January 2011 22:42
Some problems... Shurubel TBDev 2 24th July 2009 11:13
problems plz help (TS 5.1) x517530 Template Shares 0 29th November 2008 10:31
2 problems poila YSE 1 26th September 2008 10:26
Some Problems WraiTh TBDev 9 25th July 2008 13:08

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