![]() |
MarkoXaser, KHALIK: You're welcome!
Quote:
Quote:
|
Wired1 - I'll check that out, It would be a lot easier.
Jase2 - Wow. Bit touchy arent you.. I thought I'd be nice incase someone wanted to see a working example. If it bothers you that much, PM a mod or the admin and have them edit the post and remove the link. Quote:
Looks real nice now. The specs are easily changed and have the tab in the profile. Thanks for all your work on this! 1 more question. Is there a way to allow so we could use the dropdown then click on a selection as a link? |
Awesome Awesome mod Wired! Thank You so much!! :)
Can I make this mod only show up in the user's postbit if they have info entered in the profile fileds? So the ones who do not want to fill anything in will not have a dropdown box? Thanks again!! :up: |
Quote:
Quote:
Quote:
|
Quote:
Example: When you click the dropdown. Brand name /Motherboard: Toshiba CPU: Intel P4 2.6 Where the user put in Toshiba, If the user wanted to link that to a certain website they could enter a URL then you could click on the "Toshiba" and be brought to a link like the model number of the Computer. Then they could also enter a different link for the "Intel P4" to link directly to the intel P4 site. Thats All I think is missing. If it could be added easily or perhaps a future upgrade that would really top this product off. Other than that. I think it's awsome. |
I wouldn't recommend allowing users to enter in URLs, as it SCREAMS "Abuse Me!" to idiots and spammers.
Ultimately, you'd need 2 places to enter in data for each line: One for the URL, one for the text. Assuming you'd use profile fields for both of them, you'd have to do something like this: EDIT TEMPLATE: Dropdown Information - Manual Find the fieldID that you want to have a link. EXAMPLE: CHANGE: Code:
<tr><td class="vbmenu_option">Motherboard: $post[fieldY]</td></tr> Code:
<tr><td class="vbmenu_option"><a href=$post[fieldX]>Motherboard: $post[fieldY]</a></td></tr> You can use some if statements to clean it up in various ways depending on what you want to do, but that's the gist of it. |
Thank you for clarifying that. :)
|
Thanks Wired1 for that. I tweaked the code you listed a bit.
I added the another "if", so if the user doesn't put in a url it doesn't allow a click in the dropdown. Without that, and no url it allows a click and a error 404. I'm loving this. Thanks for the direction on the linking. |
this don't work for me my postbit have custom codes any way I can do this manually i mean insert codes in my posbit so it show ?
thanks |
Quote:
|
All times are GMT. The time now is 01:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|