The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Dynamic License Plate & Text in Postbit. Details »» | |||||||||||||||||||||||||||||
~~~~~MARK INSTALLED~~~~~~
Here is it is for all Car Enthusiast Site's all i ask is that you link back to my site in way, shape or form. Site: http://www.nycjdm.com Or please throw a donation my way I will not help support this unless you have marked this installed, can either send me a link with the link back to my site or have placed a donation. This Mod should work for any vB 4.+ So first we need to setup the CSS for the custom div that positions the License Plate & Text so 1. Navigate to Admin CP => Styles & Templates => Style Manager => Edit Templates => CSS Templates => additional.css At the bottom of this file add (you can change the css to match your site width etc.. Code:
div.jdm_plate{ height:66px; } div.jdm_plate p { padding-top: 25px; margin: 0 auto; font-size:24px; text-transform:uppercase; color:black; } You will need to create 2 fields, one to Select License Plates the Other to Add the Text to it. So create the first custom field we will call this x (make sure u get the field id) Code:
Profile Field Type: Single Selection Menu Title: License Plate Description: Please choose your License Plate from the drop down list above. If you do not see yours listed please request them <a href="www.yoursite.com/your_forum_for_requests">here.</a> <br/> <img src="path-to/license_plates/Japan.png" alt="Japan" /> <img src="path-to/license_plates/New_York.png" alt="NY" /> Options: Now this is case sensitive and each option must be named exactly like the corresponding image so for me its: Japan New_York The Second Profile Field we will call y (make sure u get the field id) Profile Field Type: Single-Line Text Title: License Plate Text Description: Enter your License Plate Text Here. Max length of allowed user input: 6 or 7 Default Value: What ever you want up to 6 or 7 Characters. Now save that ... Hopefully you have both Field Id's and now on to the next step 3. Navigate to Admin CP => Styles & Templates => Style Manager => Edit Templates => Postbit Templates => postbit_legacy find and place code between the code in the box or place it where you would like it to show in the post bit. Code:
</vb:if> {insert bottom code here} <vb:if condition="$post['userid']"> Code:
<vb:if condition="$post['userid']"> <vb:if condition="$post['fieldxx']"> <div class="jdm_plate" style="background-image:url(http://path-to/license_plates/{vb:raw post.fieldxx}.png);"> <p><b>{vb:raw post.fieldyy}</b></p> </div> </vb:if> </vb:if> Screenshots
Show Your Support
|
Comments |
#12
|
||||
|
||||
worked perfect ,thanks!....
|
#13
|
|||
|
|||
awesome good news!
|
#14
|
|||
|
|||
4.18 compatible?
|
#15
|
|||
|
|||
yeah im using in 4.1.9
|
#16
|
||||
|
||||
Sorry guy but your instructions are not setup for someone installing this mod for the first time. Starting with the #2. instructions I think you are saying to add all the text I have in the quote in the Description Area? All of it? Also whats up with using the Japan and Newyork, are just a reference?
Quote:
Quote:
Next in #3. you have- Quote:
And lastly you have- Quote:
The better it is explained how to do a mod, the less people like myself are going to be asking questions that are not necessary. This is another reason why most people will skip over from getting involved in adding a mod. Or giving the developer a donation. I say that because I have given several developers donations as my way of saying I appreciate the efforts put into a well put together mod. |
#17
|
|||
|
|||
Ask for help nicely and apologize for your dumb remarks or beat it!
|
#18
|
|||
|
|||
Quote:
Btw, if you can't deal with constructive criticism, then you have no business being involved with public websites. |
#19
|
|||
|
|||
lol your a d**k i didnt post it to get MotM or could careless about it some one asked for it and i gave it to them.. Thats pretty much it... Your right im not on my own site but this page belongs to my mod.
whats constructive about Quote:
And just for shits and giggles Answer to Statement #1 If you followed the direction as described you would have noticed that I listed each input field and the corresponding value. as for japan and new york This was built for my site. If you had just the tiniest bit of common sense. You would have realized that OBVIOUSLY you can add or remove you own license plates hence the reason i did not prepackage any and I provided a link to download some. Statement Number #2 If you actually Read what was going on. Description: Code:
Please choose your License Plate from the drop down list above. If you do not see yours listed please request them <a href="www.yoursite.com/your_forum_for_requests">here.</a> To me that means the link that my user can click to make a request. Dont know how you could of possibly messed that up. Ask yourself DO YOU KNOW WHAT A LINK MEANS OR LOOKS LIKE? Statement #3 Code:
</vb:if> {insert bottom code here} <vb:if condition="$post['userid']"> Code:
<vb:if condition="$post['userid']"> <vb:if condition="$post['fieldxx']"> <div class="jdm_plate" style="background-image:url(http://path-to/license_plates/{vb:raw post.fieldxx}.png);"> <p><b>{vb:raw post.fieldyy}</b></p> </div> </vb:if> </vb:if> Statement #4 What in the world is 'path-to'? Why is it so hard to read!!!!!!! http://path-to/license_plates/ What does that mean to you again cause to me it means where on my website i am going to store my license plate images. Again There was nothing constructive about anything you wrote. Your just a plain idiot who cant follow directions. And if you did have trouble installing it all you had to do was ask for help not be some critic of something you absolutely know nothing about. |
#20
|
|||
|
|||
Quote:
So The Custom Fields needs to be created one by one. One Field would be for a dropdown menu that allows you to select the License Plate and The Second Field would be for the text input that displays on the License Plate. If you continue to have any issues let me know and ill try to walk you though it step by step. Thanks |
#21
|
|||
|
|||
Quick note please mark as installed if you havent already thanks.
Quote:
Do you have a page where it is active? Quote:
Code:
div.jdm_plate{ height:66px; } div.jdm_plate p { padding-top: 25px; margin: 0 auto; font-size:24px; text-transform:uppercase; color:black; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|