Maian Script World on Facebook Maian Script World on Twitter Maian Script World - Latest News Maian Script World on YouTube Maian Script World on LinkedIn


Please Read

You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.

IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.

You are not logged in.

#1 08-11-2011 07:38:26

Kruzon
Members
Registered: 22-04-2011
Posts: 21

How to add to the nav bar? and how to add its nav bar to the new page?

HI again,

1. All is going well .. but I wish to add to the maian nav bar a link to my Land Claims Page and to my Land Claims Registration page and the full or partial maian nav bar to these pages.  Where doI do this?

and

2.  Where would I change the logged in link so it would take a successful loged in user to my "Choices.htm" page where the user would select where they wish to go. i.e.    to Land Claims or land claim registrar or the E Cards.  and I believe I would still need to add a return to Choices.htm page on the maian nav bar from the Ecard my account page so I think answer to this is not a whole lot different from question1.

3.   I have built tables in mysql through mysqladmin thinking it would be easy to make a form from them apparently mysql doesn't work that way?  Suggestions for a newbie to mysql and relational data base forms script that can build forms from tables? or alternately a newbie user form script to upload its tables?

Last edited by Kruzon (08-11-2011 07:51:26)

Offline

#2 08-11-2011 16:31:48

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: How to add to the nav bar? and how to add its nav bar to the new page?

I can`t help you with form and databases, I don`t have time. You`ll just have to look that up online, sorry.

The nav menu links build in the 'inc/header.php' so you can just add in whatever you need there.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#3 09-11-2011 04:02:43

Kruzon
Members
Registered: 22-04-2011
Posts: 21

Re: How to add to the nav bar? and how to add its nav bar to the new page?

Thanx, I have made an attempt to add two items to the nav bar (below LandClaim.htm and Registrar.htm.. All I got was the slash marks without the text between them ... where are the $msg.header files stored as it appears i have to put the linked to webpage.htm files there (in this case $msg_header8 and 9) or is there another way to have files like this one    (xoproperty/index_files/Registrar.htm)  found by nav bar link?

$menu = '<a href="'.($SETTINGS->modr ? 'index.html' : 'index.php').'" title="'.$msg_header2.'" style="'.LINK_BG_COLOR.'">'.$msg_header2.'</a> | ';
$menu .= '<a href="'.($SETTINGS->modr ? 'account.html' : 'index.php?cmd=account').'" title="'.$msg_header3.'" style="'.LINK_BG_COLOR.'">'.$msg_header3.'</a> | ';



$menu .= '<a href="'.($SETTINGS->modr ? 'LandClaim.htm' : 'index.php?cmd=search').'" title="'.$msg_header8.'" style="'.LINK_BG_COLOR.'">'.$msg_header8.'</a> | ';

$menu .= '<a href="'.($SETTINGS->modr ? 'Registrar.htm' : 'index.php?cmd=search').'" title="'.$msg_header9.'" style="'.LINK_BG_COLOR.'">'.$msg_header9.'</a> | ';



$menu .= '<a href="'.($SETTINGS->modr ? 'search.html' : 'index.php?cmd=search').'" title="'.$msg_header5.'" style="'.LINK_BG_COLOR.'">'.$msg_header5.'</a> | ';
$menu .= '<a href="'.($SETTINGS->modr ? 'pickup.html' : 'index.php?cmd=pickup').'" title="'.$msg_header7.'" style="'.LINK_BG_COLOR.'">'.$msg_header7.'</a>';
$menu .= ($SETTINGS->calendar ? ' | <a href="'.($SETTINGS->modr ? 'calendar.html' : 'index.php?cmd=calendar').'" title="'.$msg_header4.'" style="'.LINK_BG_COLOR.'">'.$msg_header4.'</a>' : '');
$menu .= ' | <a href="'.($SETTINGS->modr ? 'contact.html' : 'index.php?cmd=contact').'" title="'.$msg_header6.'" style="'.LINK_BG_COLOR.'">'.$msg_header6.'</a>';

$tpl_header  = new Savant2();
$tpl_header->assign('CHARSET', $msg_charset);
$tpl_header->assign('ONLOAD', (isset($ONLOAD) ? 'onload="document.logform.username.focus();"' : (isset($_GET['loading']) ? 'onLoad="document.form.submit();"' : '')));
$tpl_header->assign('TITLE', $msg_header);
$tpl_header->assign('MENU', $menu);
$tpl_header->assign('MEMBER_COUNT', get_member_count());
$tpl_header->assign('DATE', date($SETTINGS->date_format));
$tpl_header->display('templates/header.tpl.php');

?>


Todays testing has shown me I need to add these twonav bar links to show only after log in as I do not want access to them before log in.  So I will have to change the web page link to access the maian ecards system to the maian log in page (http://www.cookingschoolsintl.com/XOProperty/XOPFCard/index.php?cmd=account) rather than the index.page when I have configured the index page nav bar to include LandCalim.htm and Registrar.htm links.

Today a repeat of a previous problem thought fixed .... I could not user log in with any of my 3 test users .. even after admin reentering the passwords to user maintenance!  Password reverification email arrived for one of the old users and was replied to resulting in error code that " user already exisits". Subsequent log ins then worked for all 3 of my test users.

Are you aware of anything that could cause working log ins not to work then after resetting work again?

Offline

#4 09-11-2011 19:14:55

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: How to add to the nav bar? and how to add its nav bar to the new page?

No idea about the logins, sorry. Might be some bugs.

2012 will see Maian Greetings discontinued, so its not something I`m going to worry about.

As for the nav options, a good search utility will help you locate things you can`t find. The variable you mentioned will be in the language file:

lang/english.php


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#5 11-11-2011 06:14:00

Kruzon
Members
Registered: 22-04-2011
Posts: 21

Re: How to add to the nav bar? and how to add its nav bar to the new page?

Hi David,

Well i give up .. my changes make things not work .. so back to the original settings, thanx.

As you are discontinuing this item next year I assume your support for it will also dissappear therefore can you save me a bunch of research time and trial effort time and recommend some other ecard and or log in registration system?

Sorry to see this one going away as it appears to be stable and functional.

Offline

#6 11-11-2011 06:52:57

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: How to add to the nav bar? and how to add its nav bar to the new page?

Yes, its a shame about Maian Greetings. I did start to write a new version a couple of years ago, but never finished it. Some of the newer options did appear on my Asia Card site.

Its out of date now and I feel that due to the scope of the project it won`t ever see any new versions. I`m glad its been useful to people. I do plan to move it to its own domain and basically leave it there for anyone who wants to use it.

I`ll drop support for it as I need to try and use my time to focus on new ideas and projects.

Sorry your changes didn`t work. I can`t recommend any ecard software as I don`t really use ecard programs. The only one I`m aware of is eCardMax?

Good luck.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#7 12-11-2011 06:22:09

Kruzon
Members
Registered: 22-04-2011
Posts: 21

Re: How to add to the nav bar? and how to add its nav bar to the new page?

Hi David,

Can I ask one more favor of you?  I now wish to have a successful loged-in person directed to what I am going to call an "options page" from this page they can select from a number of hyperlinks one being their Maian "my account".

1. Where do I find the log -in file with the code that sends the logged in person to the Maian "My Account" . What is that links description.

2.  Can I change the logged in person link from going to the Maian "my account link" to the "options page" ?

3. Then can I copy the Maian "my account" link and hyperlink it to text on the "options page" to become one of the logged in persons selection options?

Kruzon

Offline

#8 12-11-2011 06:33:52

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: How to add to the nav bar? and how to add its nav bar to the new page?

Line 416 in the index file directs the user to their account after login:
header("Location: ".($SETTINGS->modr ? 'account_entrance.html' : 'index.php?cmd=account&area=entrance')."");

Options in the account menu load via:
inc/acc_menu.php


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

Board footer

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World.© 2003-2013 David Ian Bennett. All Rights Reserved | Forum: FluxBB

Privacy Policy | Refund Policy