Show Thread Enhancements - Link to user albums in postbit
Here's my first modification. It adds a link to user's albums to popup menu in postbit
1. Open either your postbit or postbit_legacy template
2. Search for code:
<tr>
<td class="thead">$post[username]</td>
</tr>
3. After add
<tr>
<td class="vbmenu_option"><a href="album.php?u=$post[userid]">$post[username]'s albums</a></td>
</tr>
4. Save Template
May I see a demo screen, please?
Thx. ~OZ
Sure, screenshot added ;)
Got it, now. I'm such a noob.
And, Installed.
Is there a php conditional IF statement that you can use to determine if a person does or does not have an Album and if not don't display the album postbit tag (because they don't have an album)?
Not sure, but i think there's no such a condition. But i will try to work on that
but if the user dot have album...
it shuld hide the option... ne ?
Is there a php conditional IF statement that you can use to determine if a person does or does not have an Album and if not don't display the album postbit tag (because they don't have an album)?