Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Latest threads Details »»
Latest threads
Version: 3.X.X, by yilmaz68 yilmaz68 is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.4 Rating:
Released: 01-02-2010 Last Update: Never Installs: 10
Uses Plugins Template Edits
Code Changes Additional Files Translations  
No support by the author.

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 Now

File Type: zip latestthreads.php.zip (1.6 KB, 91 views)

Screenshots

File Type: png demo.PNG (75.3 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-04-2010, 03:39 AM
ravenfaust ravenfaust is offline
 
Join Date: Aug 2009
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i dont understand what this is?
Reply With Quote
  #3  
Old 01-04-2010, 04:06 AM
MarkFoster MarkFoster is offline
 
Join Date: Jun 2008
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lol, good job at stretching the front page, yilmaz68.



Quote:
Originally Posted by ravenfaust View Post
i dont understand what this is?
It's a page that shows the latest threads created.
Reply With Quote
  #4  
Old 01-04-2010, 04:47 AM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

applied and workink fine tank you
Reply With Quote
  #5  
Old 01-04-2010, 05:48 PM
yilmaz68 yilmaz68 is offline
 
Join Date: Jul 2009
Location: Turkei/Istanbul
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your welcome : )

@Mark, thanks.
Reply With Quote
  #6  
Old 01-05-2010, 08:30 AM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice thanks
Reply With Quote
Reply


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


All times are GMT. The time now is 07:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04335 seconds
  • Memory Usage 2,288KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (2)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete