06-19-2011, 10:34 PM
06-19-2011, 11:07 PM
But i want a closed thread to have '[Closed]' on it and closed+sticky threads to have just 'Sticky:'
If I use than then a closed thread that is also sticky will say 'Sticky: [Closed]' instead of just 'Sticky:'
mmm, thinking about it maybe it doesn't matter that much...
If I use than then a closed thread that is also sticky will say 'Sticky: [Closed]' instead of just 'Sticky:'
mmm, thinking about it maybe it doesn't matter that much...
06-19-2011, 11:49 PM
maybe this would work:
Code:
|
06-20-2011, 02:51 PM
^ Thanks, I just change it to this:
PHP Code:
|
{$icon} was for the icon and no the prefix n.nU
I think it worked. Thanks leefish
06-21-2011, 12:18 AM
Oh, I misread that in the thread, but I'm glad you found the logic useful
03-08-2012, 02:33 AM
I'll just respond here so I don't need to make a new thread for such a dumb question: how can I display an element only if a user is on a specific page (e.g. index.php)?
Basically I want to include elements in the header only on specific pages such as index.php. Would also like to hide some elements if the user is logged in.
Basically I want to include elements in the header only on specific pages such as index.php. Would also like to hide some elements if the user is logged in.
03-08-2012, 04:59 AM
Code:
|
Code:
|
Should work for template conditionals
03-13-2012, 05:18 AM
Thank you!
03-18-2012, 10:33 PM
Something I have been trying to get to work for a while and I thought I would share it:
I use this on profiles where I have some tabs, the content of the tab is determined by a plugin, and is only populated if certain criteria is met, but the tab is a jQuery tab on the page. Rather than there being a tab visible with no content I remove the tab with the below code.
I use this on profiles where I have some tabs, the content of the tab is determined by a plugin, and is only populated if certain criteria is met, but the tab is a jQuery tab on the page. Rather than there being a tab visible with no content I remove the tab with the below code.
Code:
|
03-19-2012, 09:07 AM
You may wish to use a 'whitelist' type exclusion rather than a 'blacklist'. The former is more restrictive, but isn't subject to you forgetting to add more items to the blacklist when you create a new group.