must be loged in?

Support for IntegraMOD 141

Moderator: Integra Moderator

must be loged in?

PostAuthor: dropstarz » Mon Mar 10, 2008 7:59 am

Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Basic Knowledge
Board URL: http://www.dropstarz.com

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

This is what i want to accomplish, I have a certian section of my forum that i want people only registered to be able to view, and reply, but i want guest to be able to "see" the section. I have accomplished that much using the premissions which was way easy, But when iam a guess and i click on it, it takes me to the login form, which i knew would happen what i want it to do is say "you must create an account to view this area" Kind of like a teaser. Iam sure you seen other sites that have that kind of message pop up then it takes then to the login page or to the registeration page. Let me know if someone knows how to accomplish this task.

ty
mikeb
Last edited by dropstarz on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
http://www.dropstarz.com
webs most premier site for custom rides

dropstarz
Members
Members
 
Posts: 36
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 04, 2008 7:10 am
Cash on hand: 0.00

Re: must be loged in?

PostAuthor: dropstarz » Wed Mar 12, 2008 5:48 am

bump cause i need to get a solution if anyone knows of any
Last edited by dropstarz on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
http://www.dropstarz.com
webs most premier site for custom rides

dropstarz
Members
Members
 
Posts: 36
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 04, 2008 7:10 am
Cash on hand: 0.00

Re: must be loged in?

PostAuthor: DjPorkchop » Wed Mar 12, 2008 1:40 pm

Now Im no pro by no means, but I think them messages are embedded in the database. BUT i could be wrong. I really stink when it comes to sql so I would wait for further confirmation on this.

I will look at my files and db and let you know if I find anything out.
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1593
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,575.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: must be loged in?

PostAuthor: Helter » Wed Mar 12, 2008 7:20 pm

Code: Select all
############################################################### Title]------------------------------------------#viewforum.php  ##-----[ FIND ]------------------------------------------#       $message = ( !$is_auth['auth_view'] ) ? $lang['Forum_not_exist'] : sprintf($lang['Sorry_auth_read'], $is_auth['auth_read_type']);       message_die(GENERAL_MESSAGE, $message);  ##-----[ REPLACE WITH ]------------------------------------------#  /*  Original phpBB code - commented out for Redirection Suite MOD     $message = ( !$is_auth['auth_view'] ) ? $lang['Forum_not_exist'] : sprintf($lang['Sorry_auth_read'], $is_auth['auth_read_type']);       message_die(GENERAL_MESSAGE, $message);*/  //// MOD: Redirect From Private Forum (Forum)//       if( !$is_auth['auth_view'] )     {         // URL for redirection from private forum         $redirect = "index.$phpEx";           // If the above URL points to a location outside the phpBB directories         // move the slashes on the next line to the start of the following line:         //redirect(append_sid($redirect, true), true);         redirect(append_sid($redirect, true));     }     else     {         $message = sprintf($lang['Sorry_auth_read'], $is_auth['auth_read_type']);           message_die(GENERAL_MESSAGE, $message);     }  //// MOD: -END-//  ##-----[ OPEN ]------------------------------------------#viewtopic.php  ##-----[ FIND ]------------------------------------------#       $message = ( !$is_auth['auth_view'] ) ? $lang['Topic_post_not_exist'] : sprintf($lang['Sorry_auth_read'], $is_auth['auth_read_type']);       message_die(GENERAL_MESSAGE, $message);  ##-----[ REPLACE WITH ]------------------------------------------#    /*  Original phpBB code - commented out for Redirection Suite MOD     $message = ( !$is_auth['auth_view'] ) ? $lang['Topic_post_not_exist'] : sprintf($lang['Sorry_auth_read'], $is_auth['auth_read_type']);       message_die(GENERAL_MESSAGE, $message);*/  //// MOD: Redirect From Private Forum (Topic)//       if( !$is_auth['auth_view'] )     {         // URL for redirection from topic in private forum         $redirect = "index.$phpEx";           // If the above URL points to a location outside the phpBB directories         // move the slashes on the next line to the start of the following line:         //redirect(append_sid($redirect, true), true);         redirect(append_sid($redirect, true));     }     else     {         $message = sprintf($lang['Sorry_auth_read'], $is_auth['auth_read_type']);           message_die(GENERAL_MESSAGE, $message);     }  //// MOD: -END-//  ##-----[ SAVE/CLOSE ALL FILES ]------------------------------------------## End
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]