The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Hide links to users - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28) +--- Forum: Off-topic Discussions (https://userspice.com/forums/forumdisplay.php?fid=10) +--- Thread: Hide links to users (/showthread.php?tid=688) |
Hide links to users - Brandin - 08-26-2017 The issue is in your navigation right? If so, please paste that. Your issue is most likely this spacing you have in here <? Php if (checkMenu (2, $ user-> data () -> id)) {?> <! - Link -> <? Php}?> Try this: Code: <?php if(checkMenu(2,$user->data()->id)) {?><a href="#" Link</a><?php } ?> Hide links to users - dormido - 08-26-2017 Many thanks to everyone for their support, they were definitely not the spaces and try with Code: hasPerm Code: checkMenu Hide links to users - Brandin - 08-26-2017 Is the error coming from your navigation? What is the whole error including file and line? Can you paste that file? Hide links to users - dormido - 08-26-2017 <pre> Code: <aside id="sidebar-left" class="sidebar-left"> Hide links to users - dormido - 08-26-2017 Sorry, https://hastebin.com/uwoboboqot.xml Hide links to users - dormido - 08-26-2017 https://hastebin.com/zedekoqopi.xml Hide links to users - Brandin - 08-27-2017 What changes did you make to the admin blog? Can you post that code? administrar-blog.php Hide links to users - dormido - 08-27-2017 This https://hastebin.com/xuyevorapo.xml Hide links to users - Brandin - 08-27-2017 Try moving Code: $query = $db->query("SELECT * FROM blog ORDER BY datetime"); Hide links to users - dormido - 08-27-2017 I work, congratulations friend you are good. |