PDA

View Full Version : Show Thread Enhancements - Link to user albums in postbit


butch3r
05 May 2008, 21:02
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

theOZer
05 May 2008, 21:14
May I see a demo screen, please?
Thx. ~OZ

butch3r
05 May 2008, 21:25
Sure, screenshot added ;)

theOZer
05 May 2008, 22:53
Got it, now. I'm such a noob.

And, Installed.

theOZer
06 May 2008, 22:20
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)?

butch3r
07 May 2008, 08:32
Not sure, but i think there's no such a condition. But i will try to work on that

samiro
08 May 2008, 17:18
but if the user dot have album...
it shuld hide the option... ne ?

myown
09 May 2008, 14:33
looks good information.

sdavis2702
10 May 2008, 14:51
Great thanks!

mA|tRiX
04 Jul 2008, 11:00
Great. Thanks :)

jlew24asu
09 Jul 2008, 20:31
didnt work :(

mosz
10 Jul 2008, 00:15
very nice mod, thx :D

vicmx
17 Jul 2008, 01:44
Workss!! thanks Installed

msamm
18 Jul 2008, 13:17
tanks it greet

msamm
18 Jul 2008, 13:18
for arab user


<tr>
<td class="vbmenu_option"><a href="album.php?u=$post[userid]">البومات $post[username] </a></td>
</tr>

otto
09 Dec 2008, 12:43
Bump ...

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)?

Any idea?

Sunka
11 Jan 2009, 00:42
Is this MOD working on vBulletin v3.8.0?

butch3r
23 Feb 2009, 13:09
Bump ...
Any idea?

No idea about statement, sorry

Is this MOD working on vBulletin v3.8.0?

Why not?