Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2014, 08:07 PM
spiritaces spiritaces is offline
 
Join Date: Jun 2013
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Album Link in Postbit

I'm surprised to find only a couple of threads that talk about this - with no conclusive way to add a users album link in the postbit. Can anybody advise? Thanks
Reply With Quote
  #2  
Old 05-10-2014, 08:17 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please post the links to the threads you are referring to.

Found this... have no idea if it works.

(New Link)
https://vborg.vbsupport.ru/showthread.php?t=198477
Reply With Quote
  #3  
Old 05-11-2014, 02:17 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does the link above take you to the same page?
Reply With Quote
  #4  
Old 05-11-2014, 02:33 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DemOnstar View Post
Does the link above take you to the same page?
Oops! ... It does. Let me see what went wrong. I rarely make a mistake (jk).

--------------- Added 10 May 2014 at 20:47 ---------------

Link Replaced, thanks @DemOnstar!
Reply With Quote
  #5  
Old 05-11-2014, 01:12 PM
spiritaces spiritaces is offline
 
Join Date: Jun 2013
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
Please post the links to the threads you are referring to.

Found this... have no idea if it works.

(New Link)
https://vborg.vbsupport.ru/showthread.php?t=198477
For example, here is one that doesn't work:
https://vborg.vbsupport.ru/showthread.php?t=282053

Thanks for the new link - only problem with that one is, it shows up adjacent to the user avatars and I can't edit the link text. Further, it would be nice if it auto calculated the # of albums per user.
Reply With Quote
  #6  
Old 05-11-2014, 01:42 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it at the bottom of the postbit, at the opposite end of the avatar and have already edited the text.

The text is in phrases and can be changed. 4.2.1
Reply With Quote
  #7  
Old 05-11-2014, 02:03 PM
spiritaces spiritaces is offline
 
Join Date: Jun 2013
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DemOnstar View Post
I have it at the bottom of the postbit, at the opposite end of the avatar and have already edited the text.

The text is in phrases and can be changed. 4.2.1
That's the end result I'd like. Mind sharing the code you used and where you placed it?
Reply With Quote
  #8  
Old 05-11-2014, 03:14 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't use any code, it just happened that way. Perhaps it is due to differences in our styles?
I would gladly share the code with you, if I knew which template you wanted.
Reply With Quote
  #9  
Old 05-11-2014, 08:08 PM
spiritaces spiritaces is offline
 
Join Date: Jun 2013
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DemOnstar View Post
I didn't use any code, it just happened that way. Perhaps it is due to differences in our styles?
I would gladly share the code with you, if I knew which template you wanted.
Thanks! I'm using 4.2.1 and the standard postbit (not legacy postbit).
Reply With Quote
  #10  
Old 05-11-2014, 08:50 PM
spiritaces spiritaces is offline
 
Join Date: Jun 2013
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The plug in wants to put the album link in the 'postbit_userinfo_left' - which places it adjacent to the users avatar. If I use 'postbit_userinfo_left' - it moves inline with the other text but sits above the avatar. I'd like this to sit below everything in the postbit & user info section.

Here's the default code:
Code:
$template_hook['postbit_userinfo_left'] .= '<div><a href="album.php?' . $vbulletin->session->vars['sessionurl'] . 'u=' . $post['userid'] . '" rel="nofollow">' . $vbphrase['members_picture_albums'] . '</a></div>';
I was trying to change the hook location to something like this (but didn't work):
Code:
$template_hook['postbit_userinfo_right'"><dl class="userinfo_extra"]
Any ideas?

Attached is a pic of where the link is and where I'd like to place it (would like it on the bottom).
Attached Images
File Type: jpg postbit userinfo.JPG (18.0 KB, 0 views)
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 01:41 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.04202 seconds
  • Memory Usage 2,270KB
  • Queries Executed 12 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete