Page 1 of 1

php script

Posted: Thu Feb 02, 2006 8:56 pm
by grayson9
Jcart | Please use

Code: Select all

and

Code: Select all

tags where appropriate when posting code. Read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]


hello,
three days ago i purchased some dating software and installed it successfully onto my server. i subsequently wanted to update the about us page, faq, contacts etc.
that is where t6he fun started as i assumed this would be done by typing script into the appropriate file which i tried countless times only to fail.
I then tried contacting the supplier of the software who appear to have gone to ground some where in the Ukraine.
I life in Japan and dont speak much japanese so getting help here is not an option.
All i want to Know is where do i install the text?
my website is http://www.boooms.com/booomz/
and as you can see the areas i discussed are empty
this is an example of the script from about us!

Code: Select all

<?
require_once( "inc/header.inc.php" );
require_once( "$dir[inc]db.inc.php" );
require_once( "$dir[inc]design.inc.php" );
require_once( "$dir[inc]profiles.inc.php" );

// --------------- page variables and login

$_page['name_index'] = 11;
$_page['css_name'] = 'third_pages.css';


if ( !( $logged[admin] = member_auth( 1, false ) ) )
    if ( !( $logged[member] = member_auth( 0, false ) ) )
        $logged[aff] = member_auth( 2, false );

$_page['header'] = _t( "_ABOUT_US_H" );
$_page['header_text'] =  _t( "_ABOUT_US_H1" );

// --------------- page components

$_ni = $_page['name_index'];
$_page_cont[$_ni]['page_main_code'] = PageCompPageMainCode();

// --------------- [END] page components

PageCode();

// --------------- page components functions

/**
 * page code function
 */
function PageCompPageMainCode()
{
	global $site;
	
	$ret = '';
	$ret .= '<div class="third_block">';
		$ret .= _t( "_ABOUT_US", $site['title'] );
	$ret .= '</div>';
	
	return $ret;
}
?>
i do hope some one can give my good advice
regards
grayson9


Jcart | Please use

Code: Select all

and

Code: Select all

tags where appropriate when posting code. Read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]

Posted: Thu Feb 02, 2006 9:00 pm
by nickman013
Hello,

You have to post in the PHP Code forum. Also use PHP tags when posting on the forums.

Posted: Thu Feb 02, 2006 9:04 pm
by neophyte
Look for a language file?

lang.php or something like that?

im lost

Posted: Thu Feb 02, 2006 9:04 pm
by grayson9
what do you mean by all of that sorry i am really new to this and at an absalute loss

Posted: Thu Feb 02, 2006 9:05 pm
by grayson9
ok i will try the language file

nothing

Posted: Thu Feb 02, 2006 9:06 pm
by grayson9
the language file is completly empty

Posted: Thu Feb 02, 2006 9:23 pm
by John Cartwright
Moved to PHP-Code.

Posted: Fri Feb 03, 2006 3:58 am
by phpScott
put the files back on your own computer, then do a search for files that contain something from the faq, contact, about us page.

You should then get a list of pages that you will have to change the content in.

Save a bunch of time, rather then trying to piece throught the code finding out where the page are.