Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Album Link in Postbit Details »»
Album Link in Postbit
Version: 0.9, by h2ojunkie h2ojunkie is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.0 RC 1 Rating:
Released: 12-08-2008 Last Update: 12-08-2008 Installs: 235
Uses Plugins
Re-useable Code Translations  
No support by the author.

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

File Type: xml product-albumpostbitlink.xml (1.9 KB, 1044 views)

Screenshots

File Type: jpg postbit.jpg (29.0 KB, 0 views)
File Type: jpg postbit_legacy.jpg (27.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-30-2008, 08:39 PM
ejbreeze ejbreeze is offline
 
Join Date: Nov 2008
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #13  
Old 12-31-2008, 10:09 AM
anestetic anestetic is offline
 
Join Date: Mar 2007
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

haw many picture in album in postbit
Reply With Quote
  #14  
Old 01-08-2009, 12:31 AM
xTerMn8R xTerMn8R is offline
 
Join Date: Mar 2004
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #15  
Old 01-09-2009, 03:57 AM
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #16  
Old 01-09-2009, 08:47 PM
SonicGT's Avatar
SonicGT SonicGT is offline
 
Join Date: May 2006
Location: Chicago Burbs
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #17  
Old 01-10-2009, 10:48 PM
Idawg's Avatar
Idawg Idawg is offline
 
Join Date: Nov 2006
Location: Phx, Az
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rolandogomez View Post
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!
Im with him

Quote:
Originally Posted by SonicGT View Post
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
I think he wants to know WHERE to put the $template_hook['postbit_userinfo_right'] code in postbit_legacy. I am having the same problem as Roland is
Reply With Quote
  #18  
Old 01-18-2009, 01:41 PM
glennybee glennybee is offline
 
Join Date: Feb 2008
Location: Scotland
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Find the following code and add it before it:

Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
So it should look like this:

Code:
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
				<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
				$template_hook[postbit_userinfo_right]
				<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
Reply With Quote
  #19  
Old 01-20-2009, 11:30 AM
Marvin Hlavac Marvin Hlavac is offline
 
Join Date: Sep 2007
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Other than importing the .xml file, do I need to do anything else to enable this feature? I just imported the file, but I don't see it working for members who do have albums. Could it just be that I'm using an older vbulletin 3.7.3?
Reply With Quote
  #20  
Old 01-20-2009, 04:21 PM
wottech wottech is offline
 
Join Date: May 2006
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it on a 3.7.3 forum and it did not work. I upgraded to 3.8.0 and it worked just fine without me having to do anything. So I am assuming that it does not work pre-3.8.
Reply With Quote
  #21  
Old 03-06-2009, 10:51 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?p=1762109#post1762109" target="_blank">https://vborg.vbsupport.ru/showt...09#post1762109</a>
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08192 seconds
  • Memory Usage 2,340KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete