Member Menu

Need A Custom Modification To Your Webdate Script. Ask For Help Here.

Member Menu

Postby mrmike on Sat Jul 26, 2008 3:38 pm

anyone know how to get the member menu to show up on the index page?
mrmike
 
Posts: 28
Joined: Sun Jun 01, 2008 6:17 pm

Re: Member Menu

Postby paul on Sat Jul 26, 2008 11:00 pm

if you want it to appear on the index page for people who are logged in only..

you would open in your root directory

index.php

find the lines:

Code: Select all
if($current_page != "index" && $current_page != "tell_friend" && !$admin_preview)
       {
          ob_start();
          include "engine/pages/members_menu.php";
          $members_menu = ob_get_contents();
          ob_end_clean();
       }


should be near 300 somewhere.

change it to:

Code: Select all
if($current_page != "tell_friend" && !$admin_preview)
       {
          ob_start();
          include "engine/pages/members_menu.php";
          $members_menu = ob_get_contents();
          ob_end_clean();
       }


if you want the member menu to be viewed by anyone even not logged in you need to modify the file

engine/pages/members_menu.php

Paul
User avatar
paul
Site Admin
 
Posts: 264
Joined: Sat Jan 26, 2008 7:30 pm
Location: Newington,Ct,USA

Re: Member Menu

Postby mrmike on Sun Jul 27, 2008 2:51 pm

Thanks Paul..
mrmike
 
Posts: 28
Joined: Sun Jun 01, 2008 6:17 pm

Re: Member Menu

Postby harmony on Sun May 24, 2009 5:54 am

Hello Paul,

I added the script to my website (http://www.harmonypartners.com) yesterday and all appeared to be OK with the members menu comimg up on the home page, but come this morning it doesn't work and I have to go to any other page (doesn't seem to matter which one) for the members menu to appear as it should .

I have noticed that there is a "}" after the replaced script that may be out of place, but this was there before I made the changes.

Just in case it was a cookie problem I deleted them but it made no difference, I have also tried it on 3 different computers as well with the same result.

Any ideas as to what the problem is?
User avatar
harmony
 
Posts: 7
Joined: Sat Jul 05, 2008 5:28 am
Location: UK

Re: Member Menu

Postby paul on Sun May 24, 2009 11:15 pm

I will take a look at your index.php file

Paul
User avatar
paul
Site Admin
 
Posts: 264
Joined: Sat Jan 26, 2008 7:30 pm
Location: Newington,Ct,USA


Return to Need A Modification To Your Webdate Script?

Who is online

Users browsing this forum: No registered users and 4 guests

cron