![]() |
[vbadvanced Gallery & Links] Number of contributed pics & links in profile
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. |
Nice idea, quickly and easy installation. Thank you
|
Michelle!!! Great work! How would I go about adding this to the posbit?
|
Quote:
|
I hope this will contribute some here.
I used this code in my memberinfo: Code:
<!-- Start 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 |
Quote:
|
Quote:
|
Quote:
THANKS!!!!!! |
Quote:
|
Quote:
What error did you get? |
I do not have the link software, however, do have the gallery. Anyway to add it just for gallery?
Thanks! |
Quote:
|
Quote:
Fatal error: Call to a member function on a non-object in /home/trackpad/public_html/forum/includes/class_postbit.php(97) : eval()'d code on line 2 |
Quote:
|
LOL I will have another drink...sorry.
|
Quote:
|
Quote:
Try changing $userinfo['userid'] to $post['userid']. If this doesn't work (and probably it won't) then I can't help you with that. I had that issue in one of my other hacks (thread count in profile) and I couldn't make it to work with the postbit because I don't know what I should write to get the userid in a plugin that is on the postbit hook. :( |
Quote:
-Jason |
Quote:
|
Nice and thanks!
|
Would it possible to integrate AndrewD´ Links and Download Manager instead of Brian´s?
|
Quote:
|
Works great!!!
**clicks install** I did edit the .xml seeing as I do not have the links directory. You can see what I did with it HERE |
Michelle, just wanted to let you know that this works with 3.5.2, incase you wanted to change the version at the top of the thread :)
|
Quote:
|
Thanks for this mod!
Will it be possible to integrate it into postbit some time later? |
Quote:
At least not with some optimization. It would add 2 queries per post which would mean 100 more queries in a page with 50 posts... |
Is it possible this plugin could be setup to allow it's use for somebody with ONLY the Gallery or Links?
I just attempted to install on vB 3.5.3, and got a database error because it could not find the Links table. This would be a cool little addition to my website, but I don't intend on using vBa's Links system. Not a big deal, but could be a nice feature to use one or both of the counts. :) |
Quote:
|
I installed and now when i go to my profile I get this
Code:
Database error in vBulletin 3.5.4: |
Do you have vba links installed? If not, comment out that section of the plugin ;)
|
I had a issue adding the xml file to mine it said invalid file so I had to enter it into the Product Manager by hand without the [CDATA thing in it.
|
I have photopost instead of vBa gallery. How do I change the product to pull the count from there?
Also, I'm using ReviewsPost for my Links manager... same question as above. If this is a problem, I can pay for your services, if that's possible. Thanks very much! |
I need to know the database structure of the photopost tables. Can you look into it via phpmyadmin and tell me?
About paid services: I don't accept international projects at the moment :) |
Quote:
and I cannot install vbadvanced links and vbadvanced gallery unless I purchase a PhotoPost board? |
You need to have at least one of them installed.
I'm not sure what you mean by "Photopost board". These work with vbulletin, there is no such thing as a "photopost forum software". |
all I know is that when I went looking for vbadvanced gallery, I was led to many discussions of it being sold to photopost.
so, where can I find it to install? |
Quote:
|
so. .there is nothing "free" for vb board owners
|
Quote:
|
All times are GMT. The time now is 04:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|