The Arcive of vBulletin Modifications Site. |
|
[vbadvanced Gallery & Links] Number of contributed pics & links in profile Details »»
|
|||||||||||||||||||||||||||
|
[vbadvanced Gallery & Links] Number of contributed pics & links in profile
Developer Last Online: Jul 2012
This modification will add to a member's profile the number of pictures and links he has contributed. It needs vbadvanced links and vbadvanced gallery installed.
The code for the gallery is Brian's (Tigga here) but I made it as a plugin and added the code for the links too. Installation 1. Import the attached plugin. 2. Add in the MEMBERINFO template wherever you'd like it: HTML Code:
Pictures Contributed: $userimages[count] HTML Code:
Links contributed: $userlinks[count] Please click install if you use this. If you only have vba Gallery or vba Links then delete (or comment) the other section of the plugin. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Nice idea, quickly and easy installation. Thank you
|
|
#3
|
||||
|
||||
|
Michelle!!! Great work! How would I go about adding this to the posbit?
|
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
||||
|
||||
|
I hope this will contribute some here.
I used this code in my memberinfo: Code:
<!-- Start Photos and Links Hack --> <fieldset class="fieldset"> <legend>Photos & Links</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td> Pictures Contributed: <strong>$userimages[count]</strong> </td> </tr> <tr> <td><a href="http://www.trackpads.com/media/browseimages.php?c=500&u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_photos_by_x]</phrase></a></td> </tr> <tr> <td> Links Contributed: <strong>$userlinks[count]</strong> </td> </tr> <tr> <td><a href="http://www.trackpads.com/media/browseimages.php?c=500&u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_links_by_x]</phrase></a></td> </tr> </table> </fieldset> <!-- / Photos and Links Hack --> I had to create the 2 new phrases 'find_all_photos_by_x' & 'find_all_links_by_x'. The only problem I have is what the heck is the code to search the links by username? Above I have the same search string for both. Any ideas? Thanks again, -Jason |
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
||||
|
||||
|
Quote:
![]() THANKS!!!!!! |
|
#9
|
||||
|
||||
|
Quote:
|
|
#10
|
|||
|
|||
|
Quote:
![]() What error did you get? |
![]() |
|
|