The Arcive of vBulletin Modifications Site. |
|
Forum Block Title with Image Details »»
|
||||||||||||||||||||||||||||
Provided by Tutorials4you PLEASE RATE THIS MOD Transfter your Hosting to Us Description: this useful template will allow you to have an image beside yor chosen forum block How to: 1) enable forum blocks ADMIN CP > Settings > Options > Forum Sidebar and Block Options > Edit Settings > Enable Forum Sidebar > Yes Create a new template
Quote:
Code:
<li>
<div class="block smaller">
<div class="blocksubhead">
<a class="collapse" id="collapse_block_title" href="#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_title"/></a>
<span class="blocktitle"><img src="{vb:stylevar imgdir_cms}/image.png" title="{vb:raw blockinfo.title}" alt="" />{vb:raw blockinfo.title}</span>
</div>
<div id="block_title" class="blockbody floatcontainer">
<div class="blockrow">{vb:raw content}</div>
</div>
</div>
<div class="underblock"></div>
</li>
replace title with the same title name from above replace image.png with your chosen image create an image 16x16 pixels or reduce an image to this size you will need to create your sideblock
HTML Code:
paste the htm code into the box block_title remember to replace title with the block title you created earlier in your custom template EXAMPLE Screenshots
Show Your Support
|
||||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
|
|
#3
|
|||
|
|||
|
Hi DR osama , my name is zaheer ahamed , i like ur designs , they are rocking ,,, i am new to this website world , i will be thankful if u can help me out with some new forums . thnaks |
|
#4
|
|||
|
|||
|
Quote:
i am the owner of this mod how can i help you with some of your forums |
|
#5
|
|||
|
|||
|
Is there a way to call plugins from block content? I want to read fields from a sql database, I have a a forum_start hook that does this on the main forum page - but it would be better if it was a block.
|
|
#6
|
|||
|
|||
|
you will need to use php coding to do this
|
|
#7
|
|||
|
|||
|
I tried this on 4.1.3 and as soon as I told the block to use my template as described above, the block disappeared. Any idea how to fix this? Thanks!
*update ok this code worked for me on 4.1.3 (you'll need to change your png filename) Code:
<li>
<div class="block smaller">
<div class="blocksubhead">
<a class="collapse" id="collapse_block_html_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_html_{vb:raw blockinfo.blockid}"/></a>
<span class="blocktitle"><img src="{vb:stylevar imgdir_cms}/launched.png" width="22" height="16">{vb:raw blockinfo.title}</span> </div>
<div class="widget_content blockbody floatcontainer">
<div id="block_html_{vb:raw blockinfo.blockid}" class="blockrow">
{vb:raw content}
</div>
</div>
</div>
<div class="underblock"></div>
</li>
|
|
#8
|
||||
|
||||
|
what's up with the "transfer your hosting to us" link going to a parked page for sale up in the OP?
|
|
#9
|
|||
|
|||
|
Thank You
|
![]() |
|
|