vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Latest Threads On Forum Home (https://vborg.vbsupport.ru/showthread.php?t=60544)

testes 04-08-2005 01:26 AM

hi there.

i want to display 2 "lastthreads" with vbindex.

task: both latestthreads are just displaying threads of a single forum, BUT both are displaying different content. let's say "lastthreads1" displays content from forumID=21 and "lastthreads2" displays content from forumID=22

any suggestions how to work that out in the script? it has to be possible...

TheBurner 05-30-2005 04:19 AM

Is it possible to change the position of the latest treads?
I want it under the navbar and above the forums....

What are the things that must be changed?

I think it's pretty simple to change it in FORUMHOME butt I can't do it.
I messed up so I changed it back.

Kan anyone help me out?

TheBurner 05-30-2005 04:33 AM

I did it right this time :D

Sorry for the post....

ayhanaydogdu 06-01-2005 05:12 PM

Hello firends. Does this work for version 3.0.7? i did all steps but there is no change in index.php. please help :( .
Thank you.

TheBurner 06-01-2005 05:45 PM

Quote:

Originally Posted by ayhanaydogdu
Hello firends. Does this work for version 3.0.7? i did all steps but there is no change in index.php. please help :( .
Thank you.

I have also 3.07 and it works fine.

I also placed the lastest threads at the top of the page. Verry usefull.

ayhanaydogdu 06-01-2005 05:48 PM

TheBurner, friend. can i take your a few minute i will ask you some question. Can we talk on msn please :(

my msn = ayhanaydogdu@hotmail.com

Sleepyk 06-16-2005 11:21 PM

this work on 3.0.7?

RichieBoy67 06-17-2005 08:12 PM

Yes, perfectly..

ProperMethodz 06-20-2005 06:54 PM

lol... here's a funny one to ask. If you go to my site you'll see that I have two different versions of this hack in stalled.


www.7hmgaming.com
on style 7hm it is aligned "Left"
and on Plasma_x it's justified and in columns.

How the hell did I do this? :) I can't remember which adjustment I made for this to happen...

ProperMethodz 06-20-2005 07:11 PM

OK... here is what I did.

in forumhome_latestthreadbit
Replace:
Code:

<div class="smallfont">
        <if condition="$show['firstnew']">
                <a href="showthread.php?$session[sessionurl]threadid=$thread[threadid]&goto=newpost"><img src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a>
        </if>
        <if condition="$show['icon'] && !$show['firstnew']">
                <img src="$vboptions[bburl]/$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" style="vertical-align: text-middle" />
        </if>
        <a href="showthread.php?$session[sessionurl]threadid=$thread[threadid]" title="$thread[preview]"><strong>$thread[title]</strong></a>
        <em>$vbphrase[last_post]:</em> $thread[date] <if condition="$vboptions['yestoday'] != 2"><span class="time">$thread[time]</span></if> <phrase 1="member.php?$session[sessionurl]find=lastposter&threadid=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase>
        ? $vbphrase[replies]: $thread[replycount]
        ? $vbphrase[views]: $thread[views]
</div>



With:
Code:

<div class="smallfont">
       
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="30%"><div class="smallfont"><a href="showthread.php?$session[sessionurl]threadid=$thread[threadid]" title="$thread[preview]"><strong>$thread[title]</strong></a></div></td>
<td width="30%"><div class="smallfont"><em>$vbphrase[last_post]:</em> $thread[date] <if condition="$vboptions['yestoday'] != 2"><span class="time">$thread[time]</span></if></div></td>
<td width="16%"><div class="smallfont"><phrase 1="member.php?$session[sessionurl]find=lastposter&threadid=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase></div></td>
<td width="12%"><div class="smallfont">$vbphrase[replies]: $thread[replycount]</div></td>
<td width="12%"><div class="smallfont">$vbphrase[views]: $thread[views]</div></td>
</tr>
</table>
</div>



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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01404 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete