Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 10-22-2013, 02:40 AM
iNate19 iNate19 is offline
 
Join Date: Mar 2012
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will these be different for each individual user?
Reply With Quote
  #12  
Old 10-22-2013, 02:42 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, You can test it on my test board if you like. I will pm you login info if you want.

--------------- Added [DATE]1382414390[/DATE] at [TIME]1382414390[/TIME] ---------------

Sorry, Use this:

Code:
<!-- Start -->
<div class="smallfont" align="center">
<if condition="$post[field43]">Accomplishment Details<br/><a href="$post[field44]">$post[field43]</a>
</if></div></div>
<!-- End -->
--------------- Added [DATE]1382415568[/DATE] at [TIME]1382415568[/TIME] ---------------

Use the info from the following link to hide these profile fields on usecp page if you are the only one adding links via ACP. Do that edit twice one for each profile field you wish to hide.

https://vborg.vbsupport.ru/showthrea...ds+permissions

--------------- Added [DATE]1382461584[/DATE] at [TIME]1382461584[/TIME] ---------------

If you are only showing a single post for accomplishments, why not set it so members do not leave the forum page they are on and create a pop up window.

To do this, use the following in place of the code you are using now.
Again, change profile field numbers to your profile field numbers.

Code:
<!-- Start -->

<div class="smallfont" align="center">
<if condition="$post[field43]">Accomplishment Details<br/><a href="#" onclick="window.open('$post[field44]','accomplishments','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=950,height=450'); return false;">$post[field43]</a>
</if></div></div>
<!-- End -->
Sample: http://blind-eddie.com/forum/showpos...94&postcount=2
Click Test One below Accomplishments
Reply With Quote
  #13  
Old 11-03-2013, 01:03 AM
iNate19 iNate19 is offline
 
Join Date: Mar 2012
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where do I need to place this code?

Above you stated below the Awards Code, but i'm not even sure where that is.

--------------- Added [DATE]1383444688[/DATE] at [TIME]1383444688[/TIME] ---------------

Also, which portion do I copy for the next line? Some members have multiple accomplishments
Reply With Quote
  #14  
Old 11-03-2013, 12:47 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Below is the code you would need for five Accomplishments. Each will open in popup set at 950 x 450, change those numbers to your liking.
Two profile fields will need to be created per accomplishments you want to show, one for accomplishment name & one for accomplishment link.

Your Awards code is located in the postbit_legacy template.
It is somewhere below the following code: $vbphrase[posts]: $post[posts]


CREATE A BACKUP OF ANY TEMPLATE BEFORE YOU EDIT IT

Change profile field numbers to yours.

Code:
<!-- Start -->
<div class="smallfont" align="center">
<if condition="$post[field43]">Accomplishment Details<br/><a href="#" onclick="window.open('$post[field44]','accomplishments','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=950,height=450'); return false;">$post[field43]</a><br/>
<a href="#" onclick="window.open('$post[field46]','accomplishments','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=950,height=450'); return false;">$post[field45]</a><br/>
<a href="#" onclick="window.open('$post[field47]','accomplishments','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=950,height=450'); return false;">$post[field48]</a><br/>
<a href="#" onclick="window.open('$post[field49]','accomplishments','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=950,height=450'); return false;">$post[field50]</a><br/>
<a href="#" onclick="window.open('$post[field51]','accomplishments','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=950,height=450'); return false;">$post[field52]</a>
</if></div></div>
<!-- End -->
Demo: http://blind-eddie.com/forum/showpos...94&postcount=2
Happy Editing.......
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:20 AM.


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.12017 seconds
  • Memory Usage 2,200KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_code
  • (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
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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