PDA

View Full Version : Mini Mods - BT - Manual announcements on forumhome


BlackThorn
02-26-2010, 10:00 PM
Hey people hi! so, whats up yall??!! I just hope all y'll be awesome! And now, I make that modification just for vB4 version for all you. But special thank original modifications made by TilkiBey (https://vborg.vbsupport.ru/member.php?u=262383) and Yilmaz (https://vborg.vbsupport.ru/member.php?u=64196).

Well, follow now...

Step 1: Please Mark As Installed and download TEXT.
And open your FORUMDISPLAY template and find this code:

{vb:raw navbar}

Add under this codes:

<vb:if condition="in_array($foruminfo[forumid], array(3))">
<br />
<div id="forum_info" class="forum_info_block">
<table align="center" border="0" cellpadding="6" cellspacing="1" class="block" width="100%">
<tr>
<td class="blocksubhead">
<b><center>Announcements</center></b>
</td>
<tr>
<td bgcolor="#ffcc99"><center>
<font color="red" size="3"><b>Warning!</b></font></center>
<p align="justify"><font color="#000000">Admin say: In this section, news headlines are automatically displayed on our homepage. So when news about the title is very descriptive and clear Let's be careful. In addition, if you want not be removed from our home page of news topics, the text description must be on a picture-photo. And that picture of your photos significant, high quality is better. And yet not too large sizes would be better. Especially group / musician is a news content, group or musician, please let us add their logo instead of the photo. Therefore, as we mentioned in our non-news home page will be removed from display. </p>
</tr>
</td>
</tr>
</table>
</div>
</vb:if>

Step 2: Find this code in codes:

<vb:if condition="in_array($foruminfo[forumid], array(3))">

Did you see? 3 forum category id number.
If you want, you change it: 1,2,3,4,5,6,7,8,9,10 FORUM IDS
And if you want, you can add the same codes under that codes and change forum IDs.

Demo 1: http://www.vbulletin-turko.com/forums/forumdisplay.php/3-Oneri-ve-Sikayetler

Demo 2: http://www.vbulletin-turko.com/forums/forumdisplay.php/2-Forum-Duyurulari

I guess you understand that Announcements pano page differently. Please don't forget if you wanna all forum announcements showing different, then seperate with comma forum id's in that code. And you can use HTML CODE on that modification.

Explain again:

<vb:if condition="in_array($foruminfo[forumid], array(1,2,3,4,5,6,7,8,199,3333,5656))">

But I added screnshoot for you and you can look at thats all now.
And please don't forget Mark As Installed...

BlackThorn
02-27-2010, 11:03 AM
Reserved.

xsamet
03-01-2010, 07:33 AM
Thank You BlackThorn Install...