The Arcive of vBulletin Modifications Site. |
|
|
New block in the member profile
I happen to want to experience some features of vBulletin. I tried to recreate a box in the personal profile. In short add a box like the ones in the picture below. ![]() To add an additional block go to AdminCP> Styles and Templates> Search in Templates and search for models MEMBERINFO. Once we found double-click on the mouse to change it. Inside there is the code. To find this Code:
<div id="sidebar_container">
<!-- sidebar -->
$template_hook[profile_right_first]
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
$template_hook[profile_right_last]
<!-- / sidebar -->
</div>
Code:
<!--new block-->
<!-- $id -->
<div id="$id" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('$id')"><img id="collapseimg_$id" src="$stylevar[imgdir_button]/collapse_generic{$vbcollapse['collapseimg_'.$id]}.gif" alt="" border="0" /></a>
<a name="$id"></a>
<span class="block_name">BLOCK TITLE</span>
</h4>
<div class="block_content" id="collapseobj_$id" style="{$vbcollapse['collapseobj_'.$id]}"><div class="alt1 smallfont block_row block_footer">
<p align="center">
CONTENT
</p>
</div></div>
</div>
<!-- / $id -->
<!--new block-->
Code:
<div id="sidebar_container">
<!-- sidebar -->
$template_hook[profile_right_first]
$blocks[stats_mini]
<!--new block-->
<!-- $id -->
<div id="$id" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('$id')"><img id="collapseimg_$id" src="$stylevar[imgdir_button]/collapse_generic{$vbcollapse['collapseimg_'.$id]}.gif" alt="" border="0" /></a>
<a name="$id"></a>
<span class="block_name">BLOCK TITLE</span>
</h4>
<div class="block_content" id="collapseobj_$id" style="{$vbcollapse['collapseobj_'.$id]}"><div class="alt1 smallfont block_row block_footer">
<p align="center">
CONTENT
</p>
</div></div>
</div>
<!-- / $id -->
<!--new block-->
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
$template_hook[profile_right_last]
<!-- / sidebar -->
</div>
PS: Sorry for my English
|
|
#2
|
|||
|
|||
|
thank you
|
|
#3
|
||||
|
||||
|
This is more of an article...
|
|
#4
|
||||
|
||||
|
Where? I did not find anything, I created this thread.
|
|
#5
|
|||
|
|||
|
Cool , Very Nice Nice Release ...
This MOD Is Very Cool .. Thanks Cionfs ![]() Bye, Gabriel |
|
#6
|
|||
|
|||
|
thanks man ... but this BLOCK TITLE are free for us to put our variables in vbulletin or this mean something in member info ?
|
|
#7
|
||||
|
||||
|
You can put whatever you want
|
|
#8
|
||||
|
||||
|
Here are the articles: https://vborg.vbsupport.ru/forumdisplay.php?f=184
You can submit yours there. |
|
#9
|
||||
|
||||
|
This is an easy way to get this together
![]() Now, to take it to the next step...how do we have someone add a code or ID (like maybe a playlist.com ID or something) to automatically have something appear in the box? |
|
#10
|
||||
|
||||
|
You should handle all of the variables with.
|
![]() |
|
|