![]() |
|
Thread Tools |
#1
|
|||
|
|||
Links in Postbit based on Profile Fields.
Ill use an example.
With Battrick, each userr has themselves an assigned Team ID number (which is Part of the link to their Pavillion. In the Postbit, i would like to be able to have it, so we can click the Team Name, and link (in another window) to their Pavillion. Its somewhat like this. h ttp://ww w.battrick.org/nl/office.asp?userID=4813 is the link to my Pavillion 4813 is my Team ID (FIELD 1) St Arnaud CC is my Team Name. (FIELD 2) Basically, id like it to be set up somewhat like this... St Arnaud CC which is [U RL="http://www.battrick.org/nl/office.asp?userID=4813"]St Arnaud CC[/URL] Which Therefore is [U RL="http://www.battrick.org/nl/office.asp?userID=FIELD 1"]FIELD 2[/URL] Now, my question, can it be done? If so, how? Thanks No members have liked this post.
|
#2
|
||||
|
||||
That should do it. Trimmed down a mod of mine to do it.
2 plugins, 1 template. Template's cached. Only shows the link if the ID exists. All you have to do is to edit the template (Link In Postbit), change the field IDs to the correct ones, and that's it. I made it a product and here's a link to it: http://www.vbulletin.org/forum/showthread.php?t=218293 Change the template to below for what you need (specifically a known URL + a profile field).
__________________
Admin of the Corsair Memory Forum (AKA the House of Help from back in the day) Admin of Petri's IT Forum / Moderator at webdesignforums.net No members have liked this post.
Last edited by Wired1; 10 Jul 2009 at 10:30. |
#3
|
|||
|
|||
Perfect! Cheers
--------------- Added 10 Jul 2009 at 12:25 --------------- Ahh, one thing, What mod would i need to do, to make it open in new window? is that just adding target="_blank" after the link? No members have liked this post.
Last edited by Malceski09; 10 Jul 2009 at 12:29. Reason: Auto-Merged DoublePost |
#4
|
||||
|
||||
If I remember my HTML correctly, yes.
__________________
Admin of the Corsair Memory Forum (AKA the House of Help from back in the day) Admin of Petri's IT Forum / Moderator at webdesignforums.net No members have liked this post.
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Show Thread Enhancements Showing Custom Profile Fields On Postbit And Postbit Legacy | Attila M. | vBulletin 3.6 Template Modifications | 21 | 21 Jan 2013 18:47 |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 21:13.