PDA

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


butch3r
05-04-2008, 10:00 PM
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-05-2008, 08:14 PM
May I see a demo screen, please?
Thx. ~OZ

butch3r
05-05-2008, 08:25 PM
Sure, screenshot added ;)

theOZer
05-05-2008, 09:53 PM
Got it, now. I'm such a noob.

And, Installed.

theOZer
05-06-2008, 09:20 PM
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
05-07-2008, 07:32 AM
Not sure, but i think there's no such a condition. But i will try to work on that

samiro
05-08-2008, 04:18 PM
but if the user dot have album...
it shuld hide the option... ne ?

myown
05-09-2008, 01:33 PM
looks good information.

sdavis2702
05-10-2008, 01:51 PM
Great thanks!

mA|tRiX
07-04-2008, 10:00 AM
Great. Thanks :)

jlew24asu
07-09-2008, 07:31 PM
didnt work :(

mosz
07-09-2008, 11:15 PM
very nice mod, thx :D

vicmx
07-17-2008, 12:44 AM
Workss!! thanks Installed

msamm
07-18-2008, 12:17 PM
tanks it greet

msamm
07-18-2008, 12:18 PM
for arab user


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

otto
12-09-2008, 11:43 AM
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
01-10-2009, 11:42 PM
Is this MOD working on vBulletin v3.8.0?

butch3r
02-23-2009, 12:09 PM
Bump ...
Any idea?

No idea about statement, sorry

Is this MOD working on vBulletin v3.8.0?

Why not?