Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: del prisijungimo paneles.
Parašė mindoza· 2010 Lap. 22 20:11:42
#1
Sveiki naudoju
php v7, ir noriu kad pag. psl nebutu prisijungimo paneles, kai ja isjungiu issijungia ir administravimo panele, gal zinot ka daryt? :?
Dekui is anksto.
Redagavo mindoza· 2011 Vas. 26 19:02:34
Parašė Stifleris.· 2010 Lap. 22 20:11:22
#2
daryk ant headerio prisijungimo , ir info panelę................
Parašė mindoza· 2010 Lap. 22 20:11:12
#3
Tai norint kazkaip administruot psl reikia butinai headery gadint? :?
Parašė Stifleris.· 2010 Lap. 22 20:11:10
#4
Mindoza parašė:
Tai norint kazkaip administruot psl reikia butinai headery gadint? :?
Na jeigi tu išjungi prisijungimo panelę, o ten yra ir redaguotį profilį, administracijos panele, tai ką bedaryt ?:D
Parašė mindoza· 2010 Lap. 22 20:11:48
#5
Tai gal adm panele kazkaip atskirt galima, ar ne? ;/
Parašė Wyciokazz· 2010 Lap. 22 20:11:42
#6
panele susikurk atskira su nuorodomis.
Parašė mindoza· 2010 Lap. 23 13:11:52
#7
O kaip padaryt kad ji butu matoma tik adminam? :?
Parašė zDon· 2010 Lap. 23 14:11:38
#8
atsidaryk user_info_panel.php
ir vietoj viso kodo, dėk šį :
<?php
/*---------------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit <a href='http://gnu.org' target='_blank'><span style='color:005C5B'>http://gnu.org</span></a>
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
if (iMEMBER) {
openside($userdata['user_name']);
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>".$locale['083']."</a><br>\n";
}
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a>\n";
if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n";
closeside();
}
?>
Parašė mindoza· 2010 Lap. 23 14:11:09
#9
Eilini karta dekui zDooonui :D