View Full Version : Show Thread Enhancements - Link In Postbit (based upon profile fields)
Wired1
07-09-2009, 10:00 PM
Created in a couple of min from a thread request (https://vborg.vbsupport.ru/showthread.php?t=218286).
Note: Hit INSTALL (http://https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=218293) 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):
<if condition="$post['field1']">
<a href="http://www.google.com/$post[field1]">$post[field2]</a>
</if>
Wired1
07-10-2009, 09:33 AM
Reserved for future use.
Qwest
07-10-2009, 12:52 PM
Is this usergoup permission based so that we can have members pay a subscription to be able to have a link like this in their postbit?
actiwork
07-10-2009, 01:08 PM
could you make a real example?
Thx
jaderollie
07-10-2009, 02:37 PM
yes is there an example please???
Wired1
07-10-2009, 05:45 PM
Qwest: If you wanted you could just throw another conditional around the template.
actiwork, jaderollie: check the attached pic. It shows what the mod does. If you mean how to change the field numbers, the example's in the top post. Just change the field IDs in the template.
jaderollie
07-10-2009, 09:16 PM
Qwest: If you wanted you could just throw another conditional around the template.
actiwork, jaderollie: check the attached pic. It shows what the mod does. If you mean how to change the field numbers, the example's in the top post. Just change the field IDs in the template.
thanks im a noob :(
wheres the picture please ??????
oz_girl
07-11-2009, 04:36 AM
Reserved
Wired1
07-11-2009, 05:26 AM
jade: first post
oz: why would you reserve a post?
thedudleys
07-11-2009, 05:58 AM
can you provide the code to make it usergroup based only?
Wired1
07-11-2009, 06:23 AM
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
jaderollie
07-11-2009, 12:28 PM
great stuff, i want to see a demo, or screeners please
thedudleys
07-11-2009, 03:34 PM
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:
...usergoup permission based so that we can have members pay a subscription to be able to have a link like this in their postbit?
Wired1
07-11-2009, 08:51 PM
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.
jaderollie
07-12-2009, 10:36 AM
im a noob, and i cant see no attachment sorry :(
Wired1
07-12-2009, 09:40 PM
Talk to the staff then, as there may be something wrong with your account.
jaderollie
07-12-2009, 10:11 PM
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/attachment.php?attachmentid=101788&d=1247222287
Wired1
07-12-2009, 11:59 PM
That screenshot is what I was referring to, however it shouldn't be a link. It should show up by itself.
jaderollie
07-13-2009, 01:17 AM
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
Wired1
12-09-2009, 01:19 AM
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.
Max Paint
01-17-2010, 12:00 PM
Is it possible to enhance this MOD that the Link is also shown in Memberinfo/Profilefield. I'm using this to create a Link together with an image. Users add their name to the Links I specified in the ACP, but in Memberinfo there's only shown the name the users added and it isn't a link :(
Wired1
02-22-2010, 05:35 AM
That would be a different mod entirely (but yes, that's possible).
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.