Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Link In Postbit (based upon profile fields) Details »»
Link In Postbit (based upon profile fields)
Version: 1.0, by Wired1 Wired1 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 07-09-2009 Last Update: 07-09-2009 Installs: 14
Uses Plugins
 
No support by the author.

Created in a couple of min from a thread request.

Note: Hit INSTALL for support!

Takes two profile fields and creates a link in the postbit of any post a user makes. One field for the URL, another for the name of the link itself. See the attached pic for an example. The link that says location is where you will see the link.

Conditional statement involved so that if the URL field isn't filled in, a dead link won't show up in the postbit.

All you have to do is to edit the Link In Postbit template so that the correct profile fields are referenced.

One template, 2 plugins. The template is cached.

To Install: Upload the Product!

Note: If you want to combine a profile field plus a known URL, change the template to something like this (it will vary depending on your need):

Code:
<if condition="$post['field1']">
	<a href="http://www.google.com/$post[field1]">$post[field2]</a>
</if>

Download Now

File Type: xml product-postbitlink.xml (1.5 KB, 70 views)

Screenshots

File Type: jpg link.jpg (4.0 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 07-11-2009, 06:23 AM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Clarify: Do you want it to only show for posts by certain usergroups, or by the user group of who is viewing the thread?

Both types of template conditionals are listed here: http://www.vbulletin.com/forum/showthread.php?t=248909
Reply With Quote
  #13  
Old 07-11-2009, 12:28 PM
jaderollie jaderollie is offline
 
Join Date: Nov 2008
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great stuff, i want to see a demo, or screeners please
Reply With Quote
  #14  
Old 07-11-2009, 03:34 PM
thedudleys thedudleys is offline
 
Join Date: Feb 2008
Location: Umatilla, Fl
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1 View Post
Clarify: Do you want it to only show for posts by certain usergroups, or by the user group of who is viewing the thread?
to be able to do the following:
Quote:
...usergoup permission based so that we can have members pay a subscription to be able to have a link like this in their postbit?
Reply With Quote
  #15  
Old 07-11-2009, 08:51 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

jaderollie: I have told you already that it exists, but you are not reading my posts.

thedudleys: The former then. The conditional exists in the link provided.
Reply With Quote
  #16  
Old 07-12-2009, 10:36 AM
jaderollie jaderollie is offline
 
Join Date: Nov 2008
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im a noob, and i cant see no attachment sorry
Reply With Quote
  #17  
Old 07-12-2009, 09:40 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Talk to the staff then, as there may be something wrong with your account.
Reply With Quote
  #18  
Old 07-12-2009, 10:11 PM
jaderollie jaderollie is offline
 
Join Date: Nov 2008
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1 View Post
Talk to the staff then, as there may be something wrong with your account.
ok thanks alot, as all i see is this :-
Download Now

File Type: %1$s product-postbitlink.xml (1.5 KB, 14 downloads)

Screenshots
with a pic velow of your avatar that leads here :-
https://vborg.vbsupport.ru/attachmen...8&d=1247222287
Reply With Quote
  #19  
Old 07-12-2009, 11:59 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That screenshot is what I was referring to, however it shouldn't be a link. It should show up by itself.
Reply With Quote
  #20  
Old 07-13-2009, 01:17 AM
jaderollie jaderollie is offline
 
Join Date: Nov 2008
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wired1 View Post
That screenshot is what I was referring to, however it shouldn't be a link. It should show up by itself.
i think its me, i just dont understand what a post bit is sorry
i can see the wee green man though, so where is a post bit please
Reply With Quote
  #21  
Old 12-09-2009, 01:19 AM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Note to all: Yes I will be upgrading this mod if needed to work with vB 4.0, but not before it goes gold on or around the ETA of December 21st. I personally wouldn't recommend anyone upgrade their forum for a couple weeks after it comes out so that the modding community has a chance to test their code on the gold version.
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 05:18 PM.


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.05287 seconds
  • Memory Usage 2,326KB
  • 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
  • (1)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
  • (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
  • (2)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