phpBBHacks.com - Ignore User Mod and Welcome PM Mod
phpBBHacks.com, the place for phpBB users
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Hack Support
 See a User Guidelines violation? Please contact us.
Author Message

Seth Sandrino
New User

Joined: 12 Jan 2010
Posts: 22

PostPosted: February 14th 2010, 6:46 pm    Post subject: Ignore User Mod and Welcome PM Mod Reply with quote

I'm sure you all have just about had enough with helping me but I am happy to report I almost have all the phpbb2 mods install that I plan to install. With that said I am having some problems again.

The ignore user mod is working wonderfully expect for one thing. The bypass is not working when a user clicks the "Click HERE to view this post" link. The URL changes as if it is trying to but the post does not show up.

view topic .php :

http://crimsonhunters.x10hosting.com/viewtopic.txt

As for the Welcome PM error I am receiving:

I installed the mod and the mod that has the PM sent on first long in. Orginally I realized that the code called on the wrong table (the provided sql created phpbb_wpm when it was simply calling on WPM) so I made those edits, made a new account and logged in, in hopes that it would work but that wasn't the case. So I manually typed in the url of the php file it has you include on the log in page and I get this error:

Fatal error: Call to a member function sql_query() on a non-object in /home/crimhunt/public_html/phpBB2/login_wpm.php on line 31

login_wpm.php:

http://crimsonhunters.x10hosting.com/login_wpm.txt
Back to top
View user's profile Send private message

Wicher
Experienced User

Joined: 23 Apr 2003
Posts: 443
Location: Netherlands or Holland, your choice..

PostPosted: February 15th 2010, 12:56 pm    Post subject: Reply with quote

try this with viewtopic.php
Code:
#FIND:
if ( !isset($bypass) )

#BEFORE, ADD:
if ( isset($HTTP_GET_VARS['bypass']))
{
   $bypass = htmlspecialchars($HTTP_GET_VARS['bypass']);
}

I suspect some code like that should have been added by the mod.

login_wpm.php needs following:
Code:
#FIND:
   $sql = 'SELECT * FROM ' . phpbb_wpm;

#REPLACE WITH:
   $sql = 'SELECT * FROM phpbb_wpm';

I suspect it will work with that change.
_________________
My little mods | Statistics Mod 4.x.x (revision of 2.1.5) | My hacks at phpbbhacks
Back to top
View user's profile Send private message Send e-mail Visit poster's website

Seth Sandrino
New User

Joined: 12 Jan 2010
Posts: 22

PostPosted: February 15th 2010, 7:31 pm    Post subject: Reply with quote

Once again, thank you Wicher.
Back to top
View user's profile Send private message

Wicher
Experienced User

Joined: 23 Apr 2003
Posts: 443
Location: Netherlands or Holland, your choice..

PostPosted: February 16th 2010, 12:56 pm    Post subject: Reply with quote

Glad to be of assistance.
_________________
My little mods | Statistics Mod 4.x.x (revision of 2.1.5) | My hacks at phpbbhacks
Back to top
View user's profile Send private message Send e-mail Visit poster's website

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: February 16th 2010, 1:59 pm    Post subject: Reply with quote

Nice work, Wicher!

Mr. Sandrino, regarding us having enough, not at all. It's part of what this community is about. Once you've got your site running well, please feel free to stick around and participate in our community and even help others with the knowledge that you've been building!

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

joetraff
New User

Joined: 20 May 2010
Posts: 2

PostPosted: May 21st 2010, 7:52 am    Post subject: Reply with quote

Wicher wrote:
try this with viewtopic.php
Code:
#FIND:
if ( !isset($bypass) )

#BEFORE, ADD:
if ( isset($HTTP_GET_VARS['bypass']))
{
   $bypass = htmlspecialchars($HTTP_GET_VARS['bypass']);
}

I suspect some code like that should have been added by the mod.

login_wpm.php needs following:
Code:
#FIND:
   $sql = 'SELECT * FROM ' . phpbb_wpm;

#REPLACE WITH:
   $sql = 'SELECT * FROM phpbb_wpm';

I suspect it will work with that change.

Thanks a lot for the solution man !!!
It worked for me too.
_________________
how to make money online
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Hack Support All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
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



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal - phpBBpersian.com

Network: iFroggy Hosting - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - KarateForums.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2012. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.