Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Acmlmboard support?. |
Acmlm's Board - I2 Archive - Acmlmboard support? - hiding links | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
SyntaxLegend Double metal axe Level: 25 Posts: 28/222 EXP: 78264 For next: 11356 Since: 04-21-04 From: Australia Since last post: 20 days Last activity: 10 hours |
| ||
how can i hide the links which say Logout | C-Panel, this is my board. when ever i try it. it goes, Parse Error in layout.php on line XXX | |||
Cymoro PATRICK DUFFY WILL LASER YOUR SOUL Level: 67 Posts: 620/2216 EXP: 2549743 For next: 43129 Since: 03-15-04 From: Cymoro Gaming Since last post: 6 hours Last activity: 4 hours |
| ||
if($loguser[powerlevel]>2) $headlinks="< Insert thst between lines 143 and 144. They should be 'mysql_query("UPDATE users' and '}else mysql_query("INSERT'. What that does is it inserts the link CPanel before all the $headlinks. Since the first $headlink is Logout, it'll look like this: CPanel | Logout | Edit Profile | Avatars | Etc. |
|||
SyntaxLegend Double metal axe Level: 25 Posts: 29/222 EXP: 78264 For next: 11356 Since: 04-21-04 From: Australia Since last post: 20 days Last activity: 10 hours |
| ||
you were close they were on 136 and 137. any way. thanx | |||
ErkDog Fuzz Ball Level: 47 Posts: 601/982 EXP: 752190 For next: 14013 Since: 03-15-04 From: Richmond, VA Since last post: 40 days Last activity: 19 days |
| ||
that code is wrong.... you need to do .= not = the .= tells it to append to the end.... so you can simply put...... if($loguser[powerlevel]>2) $headlinks.="< and you shoudnl't put quotes around the URL cause you have to escape them with \ which is annoying |
|||
Cymoro PATRICK DUFFY WILL LASER YOUR SOUL Level: 67 Posts: 661/2216 EXP: 2549743 For next: 43129 Since: 03-15-04 From: Cymoro Gaming Since last post: 6 hours Last activity: 4 hours |
| ||
Originally posted by ErkDog Let's attack these problems you're complaining about one at a time, shall we? I put URL in quotes because that's how I usually represent stuff like that. Example: <table height="HEIGHT"> See that? You don't ned to put it in quotes. Hell, I never use quotes in actual HTML. Just for representation. As for .=, so what? I put it at the beginning of headlinks. All the code I posted works at my board (Admin panel, though), so don't say it's wrong. |
|||
Modereb Paragoomba Level: 15 Posts: 16/75 EXP: 14749 For next: 1635 Since: 06-04-04 Since last post: 350 days Last activity: 339 days |
| ||
You use $var.= if you want to 'add' something to a $var. As for quotes, all attributes are supposed to be quoted if you want to have proper, valid (X)HTML. |
|||
Cymoro PATRICK DUFFY WILL LASER YOUR SOUL Level: 67 Posts: 664/2216 EXP: 2549743 For next: 43129 Since: 03-15-04 From: Cymoro Gaming Since last post: 6 hours Last activity: 4 hours |
| ||
Originally posted by Modereb That's only if you want to add it to the end. .= merely says that something is being added to the end of it. |
|||
Modereb Paragoomba Level: 15 Posts: 19/75 EXP: 14749 For next: 1635 Since: 06-04-04 Since last post: 350 days Last activity: 339 days |
| ||
Um, yeah, that's what I said, no? | |||
Cymoro PATRICK DUFFY WILL LASER YOUR SOUL Level: 67 Posts: 668/2216 EXP: 2549743 For next: 43129 Since: 03-15-04 From: Cymoro Gaming Since last post: 6 hours Last activity: 4 hours |
| ||
Originally posted by Modereb |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Acmlmboard support? - hiding links | | | |