Joined: May 02, 2003 Posts: 1396 Location: Puerto Rico
Posted:
Thu Jul 08, 2004 7:19 pm
Unless it was coded for an older version of php the only other thing making it fail would be one of the other modules or protection scripts like Protector, ive seen cases where even a block would make a module fail because of variables with the same name on both clashing.
Joined: May 02, 2003 Posts: 1396 Location: Puerto Rico
Posted:
Thu Jul 08, 2004 8:03 pm
We already knew Sentinel was not the cause, like i told you i installed the module on a Sentinel protected website and it works there as for Protector one would have to check the blocker file to see what in it is messing the module's main page, i'll have a look if ftp is still active for me'.
Joined: May 02, 2003 Posts: 1396 Location: Puerto Rico
Posted:
Thu Jul 08, 2004 8:18 pm
At quick glance variables like $count which is used in the module's pagination and file total math is also used in the blocker file, this could be part of the problem, i did not find any other repeats but that doesn't mean they don't exist, finding one is enough to guess conflicts could arise.
Joined: Mar 15, 2004 Posts: 638 Location: West Branch, MI
Posted:
Thu Jul 15, 2004 1:28 pm
BobMarion wrote:
In Friend Finder's modules/FriendFinder/index.php file find lines 699-702:
Code:
getusrinfo($user);
$result1 = sql_query("select ffusername,sex, birth, degree,oicq,selfintro,stapro,city,postcode,location, object, method, other, photo, keyword,time, click, song,film, marriage,tel,country,user_occ,havechild,wantchild,drink,smoke,race from ".$user_prefix."_user_profile1 where ffusername='$userinfo[username]'",$dbi);
$row = sql_fetch_array($result1, $dbi);
if (($userinfo[username] != $cookie[1]) AND ($userinfo[user_password] != $cookie[2])) {
and change to:
Code:
cookiedecode($user);
getusrinfo($user);
$result1 = sql_query("select ffusername,sex, birth, degree,oicq,selfintro,stapro,city,postcode,location, object, method, other, photo, keyword,time, click, song,film, marriage,tel,country,user_occ,havechild,wantchild,drink,smoke,race from ".$user_prefix."_user_profile1 where ffusername='$userinfo[username]'",$dbi);
$row = sql_fetch_array($result1, $dbi);
if ((is_user($user)) AND ($userinfo[username] == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) {
They copied the lines directly from YA so it's the exact same issue as YA.
Update: I found the following must be changed as well to allow users to edit their personals profile as well as modify their location:
FIND:
Code:
function edituser1(){
global $user_prefix,$currentlang,$user,$module_name, $cookie, $sitename, $userinfo,$dbi;
getusrinfo($user);
$result = sql_query("select ffusername,uid,height,weight,langspeaks,dislike,myfbooks,myfcolor,mymostlikeman,mymostlikeplace,haircolor,hairstyle,facialhair,eyecolor,eyewear,bodytype,favoriteitem,disabilities,healthstatus profile from ".$user_prefix."_user_profile2 where ffusername='$userinfo[username]'", $dbi);
if (($userinfo[username] != $cookie[1]) AND ($userinfo[user_password] != $cookie[2])) {
REPLACE WITH:
Code:
function edituser1(){
global $user_prefix,$currentlang,$user,$module_name, $cookie, $sitename, $userinfo,$dbi;
cookiedecode($user);
getusrinfo($user);
if ((is_user($user)) AND ($userinfo[username] == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) {
$result = sql_query("select ffusername,uid,height,weight,langspeaks,dislike,myfbooks,myfcolor,mymostlikeman,mymostlikeplace,haircolor,hairstyle,facialhair,eyecolor,eyewear,bodytype,favoriteitem,disabilities,healthstatus profile from ".$user_prefix."_user_profile2 where ffusername='$userinfo[username]'", $dbi);
Joined: Jul 02, 2004 Posts: 4 Location: Lost Vegas
Posted:
Tue Jul 20, 2004 1:22 am
Raven wrote:
Got it. Will take a look later as everyone else will too - Thanks
chatserv wrote:
I see nothing in the module's code that would make it fail so my first guess would be variables might be clashing, i'll check in the am, kinda late right now.
With the popularity of hot or not with visitors and as much as not wanting to, felt compelled to remove sentinel replacing it with Protector, Admin Secure and Fortress. Hoping all together they can provide the high level of security Sentinel seemed to provide my php nuke 6.8 site..
Guess no one was able to figure out the hot or not conflict with sentinel.. or perhaps too busy working on a sentinel update.. ???
Joined: Mar 15, 2004 Posts: 638 Location: West Branch, MI
Posted:
Sat Jul 31, 2004 4:11 pm
Yes, it seems that it has fallen through the cracks. I am sure it is because they are busy with projects of much higher priority. I am sure they will help us with it when they have the time.
Joined: Jul 02, 2004 Posts: 4 Location: Lost Vegas
Posted:
Sun Aug 01, 2004 11:22 am
Got an email notification of your post Curtis and checked it out thinking perhaps a solution... But the MSN IP I was on had been banned (got a 'forbidden' so logged on to another of many DNS;-) ????? Did I do something 'wrong' (ie offended someone w/reality)??? Or is sentinel set to ban some MSN IPs???
Joined: Mar 15, 2004 Posts: 638 Location: West Branch, MI
Posted:
Wed Aug 18, 2004 2:51 pm
I was just curious if anyone has figured out how to restore functionality to the Hot or Not module when using Sentinel? I know you are all busy so please don't think I am being impatient, I have tried over and over to fix it myself so as not to bug you, but just have not suceeded.
I guess I am just trying to find out if you have abandoned efforts to find a work around or fix for this module that is affected by Sentinel. If so I will quit asking.
Joined: Mar 15, 2004 Posts: 638 Location: West Branch, MI
Posted:
Wed Aug 18, 2004 3:12 pm
I imagined that must have been the issue. Once again I apologize for seeming impatient and needy. I just wanted to discern whether or not it had been abandoned as it is not a major issue like other members requests for help.
I would like to add Site Messenger as a mod that Sentinel doesnt like, as well as perhaps the forums center block since that seemed to stop working when I installed sentinel. The fact that Site Messenger logs the IMs into the private messages module and that has stopped working or allowing folks to open any PMs gets me wondering if Sentinel might be the key to that issue.
I have one site that FlashChat stopped working with when I added Sentinel - not sure what is different since the others work.
Thanks for any advice. I can send the module zips if need be.
Sorry to open up such an old topic but the problem curtishwas having with the hot or not mod i am having now and i was wondering if anybody found a fix for this? My hot or not mod pagination isnt working. Thanks
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum