Modding Guest menu extend fb (by AxxC Indonesian team)

1.91K
.
jimy (21.06.2011/16:44)
could you please help? I'm making my guestmenu in wap, I want to ask how to do I'll call head.php in index.php is different for visitors and logged member? please help me

this my wap http://xbee.nu
check on your admin panel or permision
.
xz4n (10.04.2011/06:57)
example in onespace.co.gp
first,open file menuextendfb-by-axxcteam.zip
Replace index.php in main root with
index.php in file.and then, rename
mainmenu.php in root pages with
mainmenu1.php, then
For johncms3.22 or johncms4.4 ?
.
xz4n (04.02.2012/02:14)
check on your admin panel or permision
i use this code if ($user_id){mod for guest}else{mod for user} on mainmenu.php so no need more includes file on index.php root, how ever thank for your mod thats inspired me,,
.
nyimak ah ra mudeng bhasa inggris neng kene master kabeh... Cuma q tok seng newbie
.
to make guest menu with with other view (gues / users
Search in rootpath directory index.php
search this code
if (isset($_SESSION['ref']))
unset($_SESSION['ref']);
include 'pages/mainmenu.php';
then replace with this code
if (isset($_SESSION['ref']))
unset($_SESSION['ref']);
if (!$user_id) {
require 'pages/guestmenu.php';
} else {
include 'pages/mainmenu.php';
}
#note: you must create file guestmenu.php in pages folder
if you want to make guestmenu with login form just copy file login.php in root to pages folder (You must delete require head.php n end.php in login.php)

Sory my english very bad
.
joek (04.02.2012/07:41)
For johncms3.22 or johncms4.4 ?
all of jcms version support this modul
Всего: 36