Back to vBulletin 3.8 Add-ons

Latest threads
Mod Version: 3.X.X, by yilmaz68

vB Version: 3.8.4 Rating: (3 votes - 5.00 average) Installs: 10
Released: 03 Jan 2010 Last Update: Never Downloads: 75
Not Supported Uses Plugins Template Edits Code Changes Additional Files Translations  

yoursitename.com/latestthreads.php

Note : If these settings do not come within the page threads ;

vB Options --> External data provider --> Features Open external Javascript? : YES

Maximum External Registration : 100

SAVE and exit.

and now, follow it :

Admincp -> Styles & Themes --> Styles Management --> Your Theme -->

ADD NEW TEMPLATE ;

template name : latestthreads

and, add that codes ;

PHP Code:
$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]"  lang="$stylevar[languagecode]xmlns="[URL="http://www.w3.org/1999/xhtml"]XHTML  namespace[/URL]">
<head>
<
title>$vboptions[bbtitle] - Latest Threads</title>
$headinclude
</head>
<
body>
$header
$navbar

<table class="tborder" cellpadding="$stylevar[cellpadding]"  cellspacing="$stylevar[cellspacing]border="0" width="60%"  align="center">
<
tr>

<
td class="tcat">Latest Threads</td>
</
tr>
<
tr>
<
td class="alt1">
<
script type="text/javascript" src="external.php?type=js"></script>
<
script language="" type="text/javascript">
<!--
for (var 
x in threads)
{
document.writeln("<fieldset><img class=\"inlineimg\" src=\"$stylevar[imgdir_button]/lastpost.gif\" alt=\"\" border=\"0\" /> <a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> <span class=\"time\">(Poster: "+threads[x].poster+")</span></fieldset>");
}

//-->
</script>
</
div>
</
td>
</
tr>
</
table>
$footer
</body>
</
html

Admin CP --> Plug-in --> add Plug-in and that two plug-in add :

1. Plug-in : (Hook) : online_location_process
İsim : Latest Threads WOL Showing
Aktive : Yes

PHP Code:
if($filename=='latestthreads.php'){$userinfo['activity'] = 'latestthreads';} 
2. Plug-in : (Hook) : online_location_unknown
İsim : Latest Threads WOL Unknown
Aktive : Yes

PHP Code:
if($userinfo['activity']=='latestthreads')
{
$userinfo['where'] =  '<a href="latestthreads.php'.$vbulletin->session->vars[sessionurl].'">'.Look Latest Threads Page.'</a>';
$userinfo['action'] = '';
$handled =  true;


Hail from Turkei's Istanbul city, Respect all to you...

Download

File Type: %1$s latestthreads.php.zip (1.6 KB, 94 downloads)

Supporters / CoAuthors

  • yilmaz68

Screenshots

Click image for larger version
Name:	demo.PNG
Views:	489
Size:	75.3 KB
ID:	109010  


vblts.ru supports vBulletin®, 2022-2025