Custom inbox link
2 posters
Page 1 of 1
Custom inbox link
Hey guys
So i tried this with some cutting of some code and came out with this code.
x for amount.
I wanted that part of code because it shows Unread messages, and not new ones.
Now it does work, But only if i am on the Private messages page.
How could it work, if i am anywhere on the forum If logged in.
I already tried editting/removing <!-- BEGIN folder -->
and stuff but that just breaks it and it won't show up at all.
Thanks
So i tried this with some cutting of some code and came out with this code.
- Code:
<!-- BEGIN folder -->
<!-- IF folder.S_CUR_FOLDER -->
<li id="active-subsection"><a href="{folder.U_FOLDER}"><!-- IF folder.UNREAD_MESSAGES > 0 --><strong>{folder.FOLDER_NAME} ({folder.UNREAD_MESSAGES})</strong><!-- ELSE -->{folder.FOLDER_NAME}<!-- ENDIF --></a></li>
<!-- ENDIF -->
<!-- END folder -->
x for amount.
I wanted that part of code because it shows Unread messages, and not new ones.
Now it does work, But only if i am on the Private messages page.
How could it work, if i am anywhere on the forum If logged in.
I already tried editting/removing <!-- BEGIN folder -->
and stuff but that just breaks it and it won't show up at all.
Thanks
Hustleboy- New Member
- Posts : 8
Reputation : 1
Language : English
Re: Custom inbox link
Hi,
You want it to work only when logged in, correct?
Just wrap the code with this:
You want it to work only when logged in, correct?
Just wrap the code with this:
- Code:
<!-- BEGIN switch_user_logged_in -->
Your code goes here
<!-- END switch_user_logged_in -->
Sir Chivas™- Helper
- Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum