
10-11-2010, 04:33 AM
|
|
|
Join Date: Sep 2008
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by TimberFloorAu
Ok looked at this for a while.
There are no hooks from what I see in the beginning of forumhome, they all apply to wgo ( whats going on )
So as https://vborg.vbsupport.ru/showpost....&postcount=106 stated, you need to cheat.
Essentially this is what I did.
Find: in product-newalbum.xml file
Code:
$template_hook['forumhome_wgo_pos2'] .= $templater->render();
Change to:
Code:
$ad_location['ad_navbar_below'] .= $templater->render();
Or use my rejigged product file
Enjoy.
Ste
|
Quote:
Originally Posted by mobe00
I did some changes in my coding here to get the result i wanted
Replace the templates with the following code.
Template Newalbum_print
Code:
<div id="test" class="block collapse">
<h3 class="blockhead">
<b>{vb:raw resimlery}</b>
<a class="collapse" id="collapse_album_content" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_album_content_img}_40b.png" alt="{vb:rawphrase collapse_this_category}" /></a>
</h3>
<div id="album_content" class="childforum forumbit_post">
<div class="forumrow table" style="padding-right:0px">
<table class="block" cellpadding="6" cellspacing="6" border="0" width="100%" align="center">
<br />
<tr>
{vb:raw resimler}
</tr>
</table>
<br />
</div>
</div>
</div>
Template Newalbum_picture
Code:
<td align="center">
<a class="picture" href="album.php?albumid={vb:raw lpicture.albumid}&attachmentid={vb:raw lpicture.attachmentid}"><img src="attachment.php?attachmentid={vb:raw lpicture.attachmentid}&thumb=1&d=1258906442" alt="269" border="0" /></a>
<br />
<a href="member.php?u={vb:raw lpicture.userid}">{vb:raw lpicture.musername}</a>
<br />
{vb:raw lpicture.title}
</td>
In pluginmanager - find New Album Picture Forum Home
find the code
Code:
$template_hook['forumhome_wgo_pos1'] .= $templater->render();
and change it with
Code:
$template_hook['forumhome_above_forums'] .= $templater->render();
And voila ..you got this 
|
wow thats great:up:
|