vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Latest Threads On Forum Home (https://vborg.vbsupport.ru/showthread.php?t=83230)

Xplorer4x4 10-26-2005 12:34 PM

@ Chris thanks for the effort.
@ Shardex thanks for the fix.
@ Nobita. Sorry my navbar template isn't really a good example as it is bassicly fully customized. Sorry..

lairnoc 10-26-2005 07:26 PM

this is more latest thread replies

Is there a hack about the latest threads posted.?

akanevsky 10-27-2005 09:26 PM

I'm not quite sure you need to globalize $vbulletin in forumhome_complete ;)

Also, don't write
PHP Code:

$forumperms[$forum["forumid"]] 

... write
PHP Code:

$forumperms["$forum[forumid]"

Reason: the first one doesn't necessarily work on all the systems... Had troubles with that way of writing. The second way of writing works everywhere ;)

akanevsky 10-27-2005 10:09 PM

In case you want it, here is an updated XML and an updated FORUMHOME html that needs to be inserted according to Chris M's instructions:

HTML Code:

<!-- latest threads -->
<if condition="$show['latestthreads']">
<tbody>
<tr>
        <td class="thead" colspan="2">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_latestthreads')"><img id="collapseimg_forumhome_latestthreads" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_latestthreads].gif" alt="" border="0" /></a>
                $vbphrase[latest_threads]
        </td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_latestthreads" style="$vbcollapse[collapseobj_forumhome_latestthreads]">
        <tr>
                <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[latest_threads]" /></td>
                <td class="alt1"><table width="100%">$threadbits</table></td>
        </tr>
</tbody>
</if>
<!-- /latest threads -->

I have changed the template, which is now perceived better (see screenshot), and I've changed a few things in the code, you might wanna compare ;) Anyhow, this is a great hack, and I did click "Install". ;)

http://img271.imageshack.us/img271/8...hot16xc.th.png

admiralapril 11-02-2005 04:35 AM

Thank you Chris M and Dark Visor. I've installed this and it works perfectly. :)

Xplorer4x4 11-02-2005 04:42 AM

I could of sworn I replied to this thread about your version Dark Visor mentioning that the first new icon was showing up but not the default post icon. Either way it was because of the way i set the image directorey in vB options to work for my portal.

Dark Visor, may i suggest making note that people can edit the table pixels to control the size.

@Chris AND Shardex niether of your variables for forum names worked as far as the link goes. The forum names show up fine but they only link to www.yourstie.com/showthread and not www.youstie.com/forums/showthread.

Anyways this is defenitley on the top of my list for favorite hacks. :)

joelc73 11-03-2005 07:01 PM

This is a great hack - Thanks! How can I move it up higher on the page? Just below (or above possibly) the Nav bar?

Thanks,

Chris M 11-03-2005 07:06 PM

Quote:

Originally Posted by Xplorer4x4
I could of sworn I replied to this thread about your version Dark Visor mentioning that the first new icon was showing up but not the default post icon. Either way it was because of the way i set the image directorey in vB options to work for my portal.

Dark Visor, may i suggest making note that people can edit the table pixels to control the size.

@Chris AND Shardex niether of your variables for forum names worked as far as the link goes. The forum names show up fine but they only link to www.yourstie.com/showthread and not www.youstie.com/forums/showthread.

Anyways this is defenitley on the top of my list for favorite hacks. :)

Change the link to:
HTML Code:

<a href="$vboptions[bburl]/forumdisplay.php?f=$thread[forumid]"> $forumdata[title] forum</a>.
:)

Chris

shardex 11-07-2005 06:05 PM

Quote:

Originally Posted by Xplorer4x4

@Chris AND Shardex niether of your variables for forum names worked as far as the link goes. The forum names show up fine but they only link to www.yourstie.com/showthread and not www.youstie.com/forums/showthread.

That's because my forum lives at the root level, and that was the example I was basing it off of. You would just need to modify the URL to match your own site but the concept should work OK.

I actually added two of these bad boys to my homepage so that one displays the latest posts from all the general forums and the other one displays the latest posts from my blog.

Check it out at: http://www.shardex.com

This is a great hack.

Xplorer4x4 11-07-2005 07:31 PM

As you can see I had already made the changes. ;) Yeah I migh consider that if my members wouldn;t kill me. Then again I could proabbly do it at the bottom of my forum as i put this in my navbar.


All times are GMT. The time now is 03:13 AM.

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.01458 seconds
  • Memory Usage 1,756KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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