Search found 56 matches

by Stefani
Sun Jul 16, 2006 7:50 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] Ignore Suite 1.1.0
Replies: 66
Views: 14598

Fixed it. There was an extra ) in there! NFS, after ['Has_ignored']; you had this: ['Has_ignored']); Here is the new code that worked for me. if ( !($result = $db->sql_query($sql)) ) { $error = TRUE; $error_msg = $lang['No_such_user']; } if ( $userdata['user_level'] == USER && isset($ignored_ids[$to...
by Stefani
Sun Jul 16, 2006 7:43 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] Ignore Suite 1.1.0
Replies: 66
Views: 14598

Can you share with me your code in your privmsg.php?

I am having problems. What does your second added code look like? I can't figure it out and am getting parse errors. Thanks in advance.
by Stefani
Sun Jul 16, 2006 7:21 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] Ignore Suite 1.1.0
Replies: 66
Views: 14598

OOPS. I spoke too soon. Please help. My code change made the PM feature fail. Here is the code: if ( !($result = $db->sql_query($sql)) ) { $error = TRUE; $error_msg = $lang['No_such_user']; } if ( $userdata['user_level'] == USER && isset($ignored_ids[$to_userdata['user_id']]) && $ignored_ids[$to_use...
by Stefani
Sun Jul 16, 2006 7:04 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] Ignore Suite 1.1.0
Replies: 66
Views: 14598

I am up to date with the phpbb. Running 2.0.21, but I do have a few mods. I had to rework your menu part as well as I have my menu set up differently.

Take a look at my site:
http://lizzieandrewborden.com/LBForum/index.php

Thanks again.
by Stefani
Sun Jul 16, 2006 3:04 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] Ignore Suite 1.1.0
Replies: 66
Views: 14598

Whoo hoo! You are the best! Thank you for replying. That did the trick.

NFS: thank you very much for this great mod! Just what my members needed as conversations were getting a little testy of late.
by Stefani
Sat Jul 15, 2006 8:57 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] Ignore Suite 1.1.0
Replies: 66
Views: 14598

Or should I add it like this to make it all balanced? if ( !($result = $db->sql_query($sql)) ) { $error = TRUE; $error_msg = $lang['No_such_user']; } if ( $userdata['user_level'] == USER && isset($ignored_ids[$to_userdata['user_id']]) && $ignored_ids[$to_userdata['user_id']] ) { $error = TRUE; $erro...
by Stefani
Sat Jul 15, 2006 4:54 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] Ignore Suite 1.1.0
Replies: 66
Views: 14598

Quick question, I hope. In your instructions you have this for privmsg.php: #-----[ FIND ]------------------------------------------ # $to_userdata = $db->sql_fetchrow($result) # #-----[ BEFORE, ADD ]------------------------------------------ # if ( $userdata['user_level'] == USER && isset($ignored_...
by Stefani
Sun Jul 02, 2006 4:13 pm
Forum: 2.0.x Support Forum
Topic: User profile causes Hacking attempt message
Replies: 27
Views: 1677

BINGO! That did the trick!! Hubba hubba. You are my hero!

Thanks to everyone who tried to help me fix this problem. All your suggestions only went to make this evolve into the fix that eventually worked. Thank you one and all!
by Stefani
Sun Jul 02, 2006 3:48 pm
Forum: 2.0.x Support Forum
Topic: User profile causes Hacking attempt message
Replies: 27
Views: 1677

I made that change and got this:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /*****/****/*****/****/***/LBForum/index.php on line 363
by Stefani
Sun Jul 02, 2006 2:53 pm
Forum: 2.0.x Support Forum
Topic: User profile causes Hacking attempt message
Replies: 27
Views: 1677

Here is the exact code in the index.php // Check For Anonymous User if ($userdata['user_id'] != '-1') { $name_link = '<a href="' . append_sid("profile.$phpEx?mode=editprofile&" . $userdata['user_id']) . '">' . $userdata['username'] . '</a>'; } else { $name_link = $lang['Guest']; } and this later // ...
by Stefani
Sat Jul 01, 2006 8:18 pm
Forum: 2.0.x Support Forum
Topic: User profile causes Hacking attempt message
Replies: 27
Views: 1677

could it be as easy as this?

Code: Select all

   $name_link = '<a href="' . append_sid("profile.$phpEx?mode=editprofile;" . $userdata['user_id']) . '">' . 
by Stefani
Sat Jul 01, 2006 2:58 pm
Forum: 2.0.x Support Forum
Topic: User profile causes Hacking attempt message
Replies: 27
Views: 1677

I did it and got the same parse error. Had to again revert to backup index.php.

I know you are close.
by Stefani
Sat Jul 01, 2006 2:27 pm
Forum: 2.0.x Support Forum
Topic: User profile causes Hacking attempt message
Replies: 27
Views: 1677

I do have that code in my index.php and did what you suggested and got this: Parse error: syntax error, unexpected T_STRING in /****/****/****/****/htdocs/LBForum/index.php on line 359 (I replaced the exact location with *, of course) I had to replace the index.php file with the backup to put it bac...
by Stefani
Fri Jun 30, 2006 10:49 pm
Forum: 2.0.x Support Forum
Topic: User profile causes Hacking attempt message
Replies: 27
Views: 1677

I finally found out exactly what the user is doing when getting the hacking attempt message, and I could repeat it on my side as well. It has to do with the menu on the left side. Under the main menu is an area where logged in members can access stuff like their last posts, topics, unanswered posts,...
by Stefani
Fri Jun 30, 2006 5:38 am
Forum: 2.0.x Support Forum
Topic: User profile causes Hacking attempt message
Replies: 27
Views: 1677

I did as you suggested, commenting out the line. I has her refresh the page and she attempted it again. The result was negative. The problem happened again. I know this isn't a forum for this mod, but could it be the ampersand in this code after viewprofile from the profile.php? // Begin 'Restrict G...

Go to advanced search