Quote:
Originally Posted by texasasl
By using the vbindex how is possible to add a news page e.g a code from APN news
>>>>>>>>>>>>>>>>>>>>>>>>>
<table width="400" cellpadding=0 cellspacing=0>
<tr>
<td bgcolor="#FFFFFF">
<font color="#000099" face="arial,helvetica,sans-serif" size="3"><b>
apn.gr
<br><br>
</b></font>
</td>
</tr>
<!-- begin syndicated content -->
<script language="Javascript1.1"><!--
var syndicate = new Object;
syndicate.title_fontbold = true;
syndicate.title_fontital = false;
syndicate.title_fontface = 'arial,helvetica,sans-serif';
syndicate.title_fontsize = '3';
syndicate.title_fontcolor = '#000099';
syndicate.date_fontbold = false;
syndicate.date_fontital = true;
syndicate.date_fontunder = false;
syndicate.date_fontface = 'Verdana, Arial, Helvetica, sans-serif';
syndicate.date_fontsize = '1';
syndicate.date_fontcolor = '#666666';
syndicate.summary_fontbold = false;
syndicate.summary_fontital = false;
syndicate.summary_fontunder = false;
syndicate.summary_fontface = 'arial,helvetica,sans-serif';
syndicate.summary_fontsize = '2';
syndicate.summary_fontcolor = '#000000';
syndicate.bgcolor = '#FFFFFF';
syndicate.max_articles = '8';
syndicate.display_date = true;
syndicate.display_summaries = true;
syndicate.not_found_message = '<font face="arial,helvetica,sans-serif" size="2" color="#000000">Sorry, no articles were found.</font>';
// -->
</script>
<script language="Javascript1.1" src="http://www.apn.gr/manager/publish/syndicate_0.js"></script>
<noscript>
<tr>
<td bgcolor="#FFFFFF">
<font color="#000000" face="arial,helvetica,sans-serif" size="2">
<p>This webpage uses Javascript to display some content.
<p>Please enable Javascript in your browser and reload this page.
</font>
</td>
</tr>
</noscript>
<!-- end of syndicated content -->
</table>
>>>>>>>>>>>>>>>>>>>>>>
that's the addition I want to install in my portal how I can do that via vbindex???
I will be appreciate if somebody can help me.
|
Hi!
You go to admincp/templates and find one of your vbindex customblocks that is available.
Replase all of the content with this:
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="100%">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
<tr>
<td class="tcat" style="text-align: center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('vbindex_customblock$box')"><img id="collapseimg_vbindex_customblock$box" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_vbindex_customblock.gif" alt="" border="0" /></a>
<strong>Diverse</strong>
</td>
</tr>
</thead>
<tbody id="collapseobj_vbindex_customblock$box" style="$collapseobj_vbindex_customblock">
<tr><div>
<!-- begin syndicated content -->
<script language="Javascript1.1"><!--
var syndicate = new Object;
syndicate.title_fontbold = true;
syndicate.title_fontital = false;
syndicate.title_fontface = 'arial,helvetica,sans-serif';
syndicate.title_fontsize = '3';
syndicate.title_fontcolor = '#000099';
syndicate.date_fontbold = false;
syndicate.date_fontital = true;
syndicate.date_fontunder = false;
syndicate.date_fontface = 'Verdana, Arial, Helvetica, sans-serif';
syndicate.date_fontsize = '1';
syndicate.date_fontcolor = '#666666';
syndicate.summary_fontbold = false;
syndicate.summary_fontital = false;
syndicate.summary_fontunder = false;
syndicate.summary_fontface = 'arial,helvetica,sans-serif';
syndicate.summary_fontsize = '2';
syndicate.summary_fontcolor = '#000000';
syndicate.bgcolor = '#FFFFFF';
syndicate.max_articles = '8';
syndicate.display_date = true;
syndicate.display_summaries = true;
syndicate.not_found_message = '<font face="arial,helvetica,sans-serif" size="2" color="#000000">Sorry, no articles were found.</font>';
// -->
</script>
<script language="Javascript1.1" src="http://www.apn.gr/manager/publish/syndicate_0.js"></script>
<noscript>
<tr>
<td bgcolor="#FFFFFF">
<font color="#000000" face="arial,helvetica,sans-serif" size="2">
<p>This webpage uses Javascript to display some content.
<p>Please enable Javascript in your browser and reload this page.
</font>
</td>
</tr>
</noscript>
<!-- end of syndicated content --></div></>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
<br />
I tested the code on my forum, and it worked fine.
After inserting into one of your customblocks, you have to go to vbulletin options/vbindex options and set active the customblock on either left og right side of your vbindexportal.