Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Album Link in Postbit Details »
Album Link in Postbit
Mod Version: 0.9, by h2ojunkie (Member) h2ojunkie is offline
Developer Last Online: Jan 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.0 RC 1 Rating: (17 votes - 4.59 average) Installs: 233
Released: 09 Dec 2008 Last Update: 09 Dec 2008 Downloads: 960
Not Supported Uses Plugins Re-usable Code Translations  

Adds a link to the userinfo section of showthread and showpost only if user has public albums.

Uses postbit_userinfo_right template hook for position of the link, so there are no template edits.

Uses one sub query.

I have not tested this on any version other than 3.8.0 RC 1

I have only tested on a small site, and while I don't expect there to be a performance issue, I can not confirm it's performance effect on large sites with a large number of user albums.

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Screenshots

Click image for larger version

Name:	postbit.jpg
Views:	2119
Size:	29.0 KB
ID:	90362   Click image for larger version

Name:	postbit_legacy.jpg
Views:	1912
Size:	27.9 KB
ID:	90363  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 10 Dec 2008, 00:01
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Real name: Jarvis
isn't it going to add a query to every post on the page?
__________________
vBulletin Services and vBulletin Hosting
Reply With Quote
  #3  
Old 10 Dec 2008, 00:20
h2ojunkie h2ojunkie is offline
 
Join Date: Sep 2004
No, it's one query for the entire page no matter how many posts are on that page, and it's actually a left join sub query on the main VB query that grabs the posts for that page. So in theory it may actually be a little less load than a stand alone query would be.

Last edited by h2ojunkie; 10 Dec 2008 at 00:26.
Reply With Quote
  #4  
Old 10 Dec 2008, 00:47
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Real name: Jarvis
Originally Posted by h2ojunkie View Post
No, it's one query for the entire page no matter how many posts are on that page, and it's actually a left join sub query on the main VB query that grabs the posts for that page. So in theory it may actually be a little less load than a stand alone query would be.
Awesome job then
__________________
vBulletin Services and vBulletin Hosting
Reply With Quote
  #5  
Old 10 Dec 2008, 01:57
Daryn Daryn is offline
 
Join Date: Nov 2008
Would there be a way to get this to work on the postbit_legacy?
Reply With Quote
  #6  
Old 10 Dec 2008, 13:26
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Real name: Jarvis
Originally Posted by Daryn View Post
Would there be a way to get this to work on the postbit_legacy?
Make sure you have: $template_hook['postbit_userinfo_right'] in your postbit_legacy template.

Works good for me in both postbit and postbit_legacy
__________________
vBulletin Services and vBulletin Hosting
Reply With Quote
  #7  
Old 11 Dec 2008, 21:33
alqloob alsahya alqloob alsahya is offline
 
Join Date: Dec 2006
Excellent

Thank you for your beautiful theme

I've change instead of a simple text link and replace them with the adjustment method is easy, the way language and words

Search Member's Picture Albums
B replace them


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And easily change the language of the text explanation as a state language only change Member's Picture Albums shown in red

Image upload to your site






Just a slight change to the participation of your themes beautiful

Thank you again
Attached Images
File Type: png add_album.png (878 Bytes, 3501 views)
Reply With Quote
  #8  
Old 12 Dec 2008, 08:58
joh's Avatar
joh joh is offline
 
Join Date: Mar 2006
Can this be made to show the number of images the users have in his/her album/albums?
Reply With Quote
  #9  
Old 12 Dec 2008, 13:44
Sweeks's Avatar
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Not working in 3.7.4 PL1, tried changing the hook to $template_hook[postbit_userinfo_right_after_posts], didnt show still in postbit_legacy for me. Would appreciate if anyone else knows how to get this working in 3.7.4PL1 Thanks
________
Fix ps3

Last edited by Sweeks; 06 Apr 2011 at 12:57.
Reply With Quote
  #10  
Old 12 Dec 2008, 17:37
h2ojunkie h2ojunkie is offline
 
Join Date: Sep 2004
Originally Posted by joh View Post
Can this be made to show the number of images the users have in his/her album/albums?
It may be possible, but that would require extra queries. Not something I plan to do as I have no need for the image count at the cost of extra queries.
Reply With Quote
  #11  
Old 30 Dec 2008, 22:39
ejbreeze ejbreeze is offline
 
Join Date: Nov 2008
Originally Posted by Ultimate Teen Forums View Post
Not working in 3.7.4 PL1, tried changing the hook to $template_hook[postbit_userinfo_right_after_posts], didnt show still in postbit_legacy for me. Would appreciate if anyone else knows how to get this working in 3.7.4PL1 Thanks
Please share if you get it working ...Thanks
Reply With Quote
  #12  
Old 31 Dec 2008, 12:09
anestetic anestetic is offline
 
Join Date: Mar 2007
haw many picture in album in postbit
Reply With Quote
  #13  
Old 08 Jan 2009, 02:31
xTerMn8R xTerMn8R is offline
 
Join Date: Mar 2004
Question

Can someone explain to me the difference between Postbit and Postbit_legecy
I'm a Beginner at coding php and vBulletin

Thanks...
Tom
Reply With Quote
  #14  
Old 09 Jan 2009, 05:57
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
For the non-coders, can you tell me where to put this code (after we loaded the product xml)? I'm using postbit legacy. Thanks!
__________________
Photographer & author (three books on Amazon.com), GarageGlamour.com, RolandoGomez.net
Reply With Quote
  #15  
Old 09 Jan 2009, 22:47
SonicGT's Avatar
SonicGT SonicGT is offline
 
Join Date: May 2006
Originally Posted by xTerMn8R View Post
Can someone explain to me the difference between Postbit and Postbit_legecy
I'm a Beginner at coding php and vBulletin

Thanks...
Tom
Postbit_legacy is the older vb style where the user info is on the left and the post the right of the thread, the postbit is the newer look where it has all the user info on the top then the post below, so a horizontal seperator rather then verticle basically if that makes sense

I have 2 sites one with legacy use and 1 with newer
Here is an example of legacy (modded slightly)
http://www.nextgenmusclecars.com/for...ead.php?t=3371

and an example of the normal postbit (modded slightly)
http://windycitystangs.com/forums/showthread.php?t=4
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:22.

Layout Options | Width: Wide Color: