Quote:
Originally Posted by WhiteOx2
How can I move this to below the welcome box?
I had the previous version there but can't figure out how to move this one.
|
To make it a hackless install (no template edits) this places a template on an "anchor" within the FORUMHOME template.
Code:
$search_text = '$navbar';
$vbulletin->templatecache['FORUMHOME'] = str_replace($search_text,
$search_text.fetch_template('forumhome_vbgallery'),$vbulletin->templatecache['FORUMHOME']);
This says SEARCH for $navbar in template FORUMHOME and place template "forumhome_vbgallery" after.
Edit Plugin: Forumhome: Gallery Main
Find:
$search_text = '
$navbar';
Change $navbar to where you wish to place the "BLOCK" of images.
<!-- what's going on box -->
- this will place the block
above the what's going on box.
<!-- end what's going on box -->
- this will place the block
below the what's going on box.
<body>
- this will place it
above the header
-+-+-+-+-+-+-+-+
If you want to edit the forumhome template and place the block where you want vs. use an anchor:
Replace:
Code:
$search_text = '$navbar';
$vbulletin->templatecache['FORUMHOME'] = str_replace($search_text,
$search_text.fetch_template('forumhome_vbgallery'),$vbulletin->templatecache['FORUMHOME']);
with
Code:
eval('$vbgallery = "' . fetch_template('forumhome_vbgallery') . '";');
Edit FORUMHOME: Place in location of choice.