Application Integration -- Help Would Be Appreciated. »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - Application Integration -- Help Would Be Appreciated.



AndyGpy [ Wed 12 Nov, 2008 17:03 ]
Post subject: Application Integration -- Help Would Be Appreciated.
Could someone please help me,

I have downloaded and installed an application called PHPCheckz, stand alone it works fine after a bit of tweaking with the install file, ie removing the HTTP_VARS_POST and replacing it with POST statements and moving the db.php file into the same folder as the install.php file initially and then moving it back after installation.

What i have tried to do is bridge it but with no luck.

Can someone help me use this app in my website - www.scotbird.co.uk on a seperate page and only if the user is logged in.

I currently have the phpcheckz folder within my forum folder.

Can anyone help ?

regards


Mighty Gorgon [ Sun 16 Nov, 2008 10:10 ]
Post subject: Re: Application Integration -- Help Would Be Appreciated.
Sorry, but I don't have the time to help you with this.

Maybe someone else could be interested.


AndyGpy [ Tue 18 Nov, 2008 21:44 ]
Post subject: Re: Application Integration -- Help Would Be Appreciated.
I understand MG,


but can anyone else offer help ??


AndyGpy [ Mon 24 Nov, 2008 22:49 ]
Post subject: Re: I Throw Down The Challenge -- Application Integration -- Help Would Be Appreciated.
Ok,

So Mighty G is busy, are the rest of you telling me this is beyond you guys, that it is too hard for you to do ?

Surely a few must be following in Mighty G's footesteps ?

Come on guys, get your thinking caps on and help me out.

The problem appears to be the Login.php and bridge.php in the project.


Mighty Gorgon [ Mon 01 Dec, 2008 18:24 ]
Post subject: Re: Application Integration -- Help Would Be Appreciated.
Why don't you try to add here some details... for example a live link to check, description of the errors you are having, etc.


AndyGpy [ Mon 01 Dec, 2008 22:32 ]
Post subject: Re: Application Integration -- Help Would Be Appreciated.
Right Guys,

I have scrubbed the PHPCheckz system, after playing with it stand alone it is not for me.

I think i can write what i am after, but i need help in the following

Login

I only want a user to access a page if logged in, if not i want him directed to the Login Page, how do i do that with ICY P, it was easy enough in Phpbb3 as i spent time studying it, but i am new to the IP infrastructure.

Once i have written the Database controls for my PHP app, no doubt i will be back to ask for more help.

regards


Mighty Gorgon [ Mon 01 Dec, 2008 23:37 ]
Post subject: Re: Application Integration -- Help Would Be Appreciated.
The new version of Icy Phoenix already does that.

Integrating it into the old version is quite difficult, but I can show how to apply it to a specific file, so you can then apply wherever you wish.

For example open faq.php

FIND
Code: [Hide] [Select]
if ( ($auth_level_req == AUTH_REG) && (!$userdata['session_logged_in']) )
{
message_die(GENERAL_MESSAGE, $lang['Not_Auth_View']);
}


REPLACE WITH
Code: [Hide] [Select]
if ( ($auth_level_req == AUTH_REG) && (!$userdata['session_logged_in']) )
{
$page_array = array();
$page_array = extract_current_page(IP_ROOT_PATH);
redirect(append_sid($phpbb_root_path . LOGIN_MG . '?redirect=' . str_replace(('.' . $phpEx . '?'), ('.' . $phpEx . '&'), $page_array['page']), true));
}


Let me know.


AndyGpy [ Wed 10 Dec, 2008 20:51 ]
Post subject: Re: Application Integration -- Help Would Be Appreciated.
Not had a chance to try this yet,

I have downloaded my site to local PC, set up wampserver correctly, type website in and it appears in localhost, the problem i have is:-

When ever i click on a page within local host eg click on forum link just below header and it diverts to the real website and not local host, how can i stop this so i can test my site locally ?

regards


DWho [ Wed 10 Dec, 2008 23:54 ]
Post subject: Re: Application Integration -- Help Would Be Appreciated.
You need to change the server address in your database on your local site... as it still thinkins it is your real site...

you have to do this through phpmyadmin as I doubt you will be able to get to the admin panel on your local site..



AndyGpy [ Mon 15 Dec, 2008 13:38 ]
Post subject: Re: Application Integration -- Help Would Be Appreciated.
Which table do i find that in ?

regards


DWho [ Mon 15 Dec, 2008 14:53 ]
Post subject: Re: Application Integration -- Help Would Be Appreciated.
ip_config


AndyGpy [ Fri 26 Dec, 2008 12:22 ]
Post subject: Re: Application Integration -- Help Would Be Appreciated.
Ok,

I have figured out the user allowed to view issue, MG the method you had me do created CBACK security issues so i compromised.

Can anyone tell me how i can include the main menu in my new page ?

code is below

Spoiler: [ Show ]



Is it possible to have the menu at the top change depending on what page is being displayed ??

regards




Powered by Icy Phoenix