Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
Add link to user albums in postbit Details »»
Add link to user albums in postbit
Version: 1.00, by SEOvB SEOvB is offline
Developer Last Online: May 2015 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.0 Rating:
Released: 01-21-2008 Last Update: Never Installs: 102
Template Edits
Re-useable Code  
No support by the author.

////////////////////////////////
/// From Dave at Madden Strategy
///////////////////////////////

This will add a link to user albums in the postbit or postbit_legacy template (depending which you use)

1.Open either your postbit or postbit_legacy template
2. Search for
Code:
$post[onlinestatus]
3. Above add
Code:
<a href="album.php?u=$post[userid]" title="View $post[username]'s Album" rel="nofollow"><img src="images/buttons/add_album.png" alt="View $post[username]'s Photo Album" border="0"/></a>
4. Save Template

Screenshot and install instruction included

You are free to re-use this code for any non-commerical purposes

Show Your Support

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

Comments
  #42  
Old 11-03-2008, 02:40 PM
JWL's Avatar
JWL JWL is offline
 
Join Date: Jul 2006
Location: cyberspace
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cannot use something like this, but can this be modified to or another mod created to do the following:

In new thread or Reply, can a user / member have a icon that is connected to that users albums to use the img tag for that image?

currently a user must have two pages open to take advantage of that.


Attachment 88938

Attachment 88939
Reply With Quote
  #43  
Old 12-09-2008, 02:31 AM
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Location: Alabama
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
I don't think you can do a conditional for this without adding a query for each post.
and this is why 3.7 AND 3.8 fail miserably at the NETWORKING part. Let's give you all these cool options that people can have and then make them impossible to find. Oh and brand it as 'Social Networking'.
Reply With Quote
  #44  
Old 12-09-2008, 06:57 AM
h2ojunkie h2ojunkie is offline
 
Join Date: Sep 2004
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been able to get it working with one additional sub query. I'm still looking for a more efficient way, I'll post up what I have in the next couple days once I've run out of other ideas to test.
Reply With Quote
  #45  
Old 12-14-2008, 03:25 PM
mattcaswell mattcaswell is offline
 
Join Date: Aug 2006
Location: Mesa, AZ
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by h2ojunkie View Post
I've been able to get it working with one additional sub query. I'm still looking for a more efficient way, I'll post up what I have in the next couple days once I've run out of other ideas to test.
I would really appreciate anything you find out about how to have it not show if the user doesn't have an album. I have added the icon by the icnicon and it works well.
Reply With Quote
  #46  
Old 12-14-2008, 03:38 PM
JWL's Avatar
JWL JWL is offline
 
Join Date: Jul 2006
Location: cyberspace
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mattcaswell View Post
I would really appreciate anything you find out about how to have it not show if the user doesn't have an album. I have added the icon by the icnicon and it works well.
That makes two of us

My site is gaining some momentum, adding these little "Corrections" to a faulty design is a must. I sure hope VBulletin develpers are listening.

Personally I am convinced the furture for talk forusm is moving more toward a social networking model. With m forum, we are trying to globalize our site and bring world peace to everyoe one Motorcycle Rider at a time :up:

www.sportcityrider.com
It is all about the ride
Reply With Quote
  #47  
Old 01-17-2009, 12:21 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JWL View Post
That makes two of us

My site is gaining some momentum, adding these little "Corrections" to a faulty design is a must. I sure hope VBulletin develpers are listening.

Personally I am convinced the furture for talk forusm is moving more toward a social networking model. With m forum, we are trying to globalize our site and bring world peace to everyoe one Motorcycle Rider at a time :up:

www.sportcityrider.com
It is all about the ride
Theres a modification floating around here some where that did exactly this, if the user had a photo album it'd show the link, if not then it wouldn't show the link.

I can't seem to find it, but I know its in the 3.7 section some where and it worked like a charm. I'd advise people install that one since its better from a usability stand point
Reply With Quote
  #48  
Old 01-18-2009, 08:03 AM
buyinflatables buyinflatables is offline
 
Join Date: Jun 2006
Location: Staten Island, NY
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wish I could find the modification.
Reply With Quote
  #49  
Old 01-18-2009, 04:39 PM
JWL's Avatar
JWL JWL is offline
 
Join Date: Jul 2006
Location: cyberspace
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by buyinflatables View Post
Wish I could find the modification.
Me too :erm:
Reply With Quote
  #50  
Old 01-20-2009, 09:14 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here it is: https://vborg.vbsupport.ru/showthread.php?t=198477

I suggest installing that one
Reply With Quote
  #51  
Old 02-22-2009, 09:17 PM
popowich popowich is offline
 
Join Date: Jun 2004
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

for anyone interested, a text link variation that looks OK under thanked posts stats looks like this:

HTML Code:
                <div>
                    $vbphrase[posts]: $post[posts]
                </div>
                                $template_hook[postbit_userinfo_right_after_posts]
                                <div>
                                  View <a href="album.php?u=$post[userid]">$post[username]'s photo albums</a>
                </div>
Reply With Quote
Reply

Thread Tools

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 11:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08090 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete