[CM] Post Bubble (Sharp, Rounded & Different Colors)
This was brought to you by ChiNa-Man First of all I am a free soul, So if one of you guys decided to post this on another forum or a website, I would be appreciated if you give some CREDITs to the Developer simply typing his name: Credits to: ChiNa-Man, and do not CHANGE or DELETE the ORIGINAL CONTENT! Thank you! ::::::::::::::::::::::::::::::::::::::::::::: Notice, This mod was configured on vB 4.2 Only! Hey Guys, I have tried to make this to a Product, I must admit it was a bit harder than I expected, but I figured out if we could do this without changing the Default Template, and just add the code instead it will be a lot better, because then you have much more options to change Color of the Background, and choosing another Tip in different colors! Example Image So lets get started: I will first add 2 Different codes for the Post Bubble! One with Sharp Corners, and the other one with Rounded Corners! We will do this tutorial with the Sharp Cornered, And keep in mind that it has 2 Parts! Now we need to find the POST Variable or POST Code in your Postbit_Legacy Template! We have to WRAP our code arround the code in the Postbit_Legacy, so every post will be showen inside the BUBBLE! Step 1: Go to your ADMINCP area, Click on Styles & Templates, and now you will see your Template name, click on the DropDown Menu to the right of your Template, and choose Edit Template. You should now be in the template area, now look for Postbit Templates, and then click on "postbit legacy" (This code is for Pos Step 2: Find the code below inside the postbit legacy template. Code to find: Code:
<h2 class="title icon"> <vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title} </h2> </vb:if> Now, add our code PART 1: right below: Code to add: Code:
<div id="1" style="float:left; z-index: 1; position: Absolute;"> <br><img src="images/purple.png"> </div> <div style="z-index: 25; padding: 11px;"> <fieldset style="background: #ffffff; border:2px solid #9F54FF; margin:1px 3px 3px 1px; padding:7px; -moz-border-radius: 11px; border-radius: 8px; box-shadow: 0 0 1em #9F54FF; -webkit-border-radius:8px; position: relative;"> Now in same Template, Find the last part of the code: Code to Find : <div id="post_message_{vb:raw post.postid}"> <blockquote class="postcontent restore "> {vb:raw post.message} </blockquote> </div> Now add the Part 2 of the code below to close our Wrapper: Code to add below: Code:
</fieldset> Follow the Tutorial Below for more and exact info! And make sure to Click on Installed, for further support or help! Extra Tutorial & Changes Ok I will now add both of the codes, basicly the full code to the Sharp and Round Cornered Post Bubble Code 1 (Sharp Cornered) Code:
<div id="1" style="float:left; z-index: 1; position: Absolute;"> <br><img src="images/purple.png"> </div> <div style="z-index: 25; padding: 11px;"> <fieldset style="background: #ffffff; border:2px solid #9F54FF; margin:1px 3px 3px 1px; padding:7px; -moz-border-radius:8px; box-shadow: 0 0 1em #9F54FF; -webkit-border-radius:8px; position: relative;"> POSTBIT CODE HERE </fieldset> Code 2 (Round Cornered) Code:
<div id="1" style="float:left; z-index: 1; position: Absolute;"> <br><img src="images/purple.png"> </div> <div style="z-index: 25; padding: 11px;"> <fieldset style="background: #ffffff; border:2px solid #9F54FF; margin:1px 3px 3px 1px; padding:7px; -moz-border-radius: 11px; border-radius: 8px; box-shadow: 0 0 1em #9F54FF; -webkit-border-radius:8px; position: relative;"> POSTBIT CODE HERE </fieldset> So the code is simple, all we did was we added the code from postbit legacy, inside OUR code! Where it says "POSTBIT COD HERE"! I just explained it in 2 Parts:! Now if you see I have marked the parts that can be edited with a color! Red: Path to your TIP image Blue: Post Bubble Background Color Lime Green: Color for the Border Orange: Post Bubble Shadow Download
Extras.zip (26.2 KB, 67 downloads) |