vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > Add-On Modules & Modifications > vBa CMPS v3.x & 2.x > Modifications (version 3.x & 2.x)

Reply
 
Thread Tools Display Modes
  #1  
Old 06-26-2012, 07:14 PM
nawras's Avatar
nawras nawras is offline
Junior Member
 
Join Date: Apr 2010
Posts: 8
Default last threads-last news in home

Hi

To view the latest threads or news in home
like that




First:
Admin Control Panel > vBulletin Options > vBulletin Options > Admin Control Panel Options > Use External Data Provider:
YES - type = JavaScript


Then:

you need to search for adv_portal template and find in the template
Code:
$navbar
After add this

Code:
<!-- last x threads --> 
<table class="tborder" cellpadding="$stylevar[cellpadding]"  cellspacing="$stylevar[cellspacing]" border="0" width="100%"  align="center"> 
<thead> 
    <tr> 
        <td class="tcat" colspan="4"><center>last threads</center> </td> 
    </tr> 
</thead> 
<tr> 
         
<td class="alt2"> 
<marquee direction="right" scrollamount="5"  onmouseover="this.scrollAmount=0"  onmouseout="this.scrollAmount=5"><font size="2"><b>  
                                          <script  type="text/javascript"  src="http://xxx/forum/external.php?&type=js"></script>   
<script language="" type="text/javascript"> 
<!-- 
for (x = 0; x < 10; x++) 
{ 
document.writeln("<a  href=http://xxx/forum/showthread.php?t="+threads[x].threadid+">"+threads[x].title+"</a>&nbsp|"); 
} 
//--> 
</script> 

</b></font></marquee> 
 
</td> 
</tr> 

</tr> 
    </table> 
<!-- last x threads -->
Replace this (xxx) name of your site.


Note: who wants to output to the latest threads in one or more specific forums.

Replace this on

Code:
external.php?&type=js
add

Code:
external.php?forumids=5,6,7&type=js
5,6,7 this forums id


__________________
my threads

1- resize image in news
2-last threads-last news in home
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adjusting 'weight' of News Threads on Home Page? vidmarc "How Do I..." Questions 1 07-28-2009 11:43 AM
Specific threads not saving in NEWS and RECENT THREADS modules defkalion Troubleshooting & Problems 5 06-29-2008 04:49 AM
how to not shows on Recent Threads on home page -threads awitting moderation ? avitor "How Do I..." Questions 4 05-20-2008 01:46 PM
News Module - Remove Threads removes ALL Threads kall Troubleshooting & Problems 2 10-08-2006 04:09 PM
vBa CMPS edit news threads in news options SNW Troubleshooting & Problems 4 11-03-2005 05:27 PM


All times are GMT -4. The time now is 03:06 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.