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)
-   -   Top 5 "Hot" Topics on Forum Home Page (https://vborg.vbsupport.ru/showthread.php?t=93094)

amykhar 08-25-2005 11:56 PM

Can't think of anything off the top of my head unless maybe you edited the forumhome in the wrong style and not the one you are checking?

yoyoyoyo 08-26-2005 02:25 AM

Quote:

Originally Posted by amykhar
Can't think of anything off the top of my head unless maybe you edited the forumhome in the wrong style and not the one you are checking?

no- just using the forum default, and it is on a somewhat virgin install. I checked the edits and they are there. Here they are, and also the few lines before and after:
Code:

</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
        <tr>
                <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
                <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
        </tr>
<!-- This Week's Hot Topics -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_hottopics')"><img id="collapseimg_forumhome_hottopics" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_hottopics].gif" alt="" border="0" /></a><span class="smallfont"><strong>$vbphrase[hottopics]</strong><span>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_hottopics" style="$vbcollapse[collapseobj_forumhome_hottopics]">
$hottopics
</tbody>
<!-- end This Week's Hot Topics --> 
</tbody>
</if>
</table>
<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
        <td>
                <table cellpadding="2" cellspacing="0" border="0">

see screenshots, also.

amykhar 08-26-2005 02:38 AM

I'm assuming that the box the hottopics are supposed to be in is showing, just not the list itself?

yoyoyoyo 08-26-2005 11:51 AM

Quote:

Originally Posted by amykhar
I'm assuming that the box the hottopics are supposed to be in is showing, just not the list itself?

nope - the box is not showing either- do you want me to PM you admin login info so you can check it out?

Granted tehre are only 2 threads and 5 posts, since it is a somewhat virgin install, as I said, but that should pull up SOMETHING for a "HOT TOPIC," right?

amykhar 08-26-2005 12:04 PM

See, this is the reason for my confusion. The template mods you made to forumhome should show whether you have the plugin installed or not. Sure, go ahead and PM me the info.

Amy

yoyoyoyo 08-26-2005 01:03 PM

just so everyone knows- I had some weird buggy install of RC2... amy could not log in, and when I tried logging in as her I got the same error - then when I tired logging in as myself I got the same error- and it thought I was still trying to log in as amy! I don't even know what to report as a bug to vbulletin... I am going to try to reinstall since the hack was obviously not causing the error I was experiencing, but rather a bad install of vbulletin... or gremlins.

ohgenki 08-26-2005 01:11 PM

erm, is there anyway to show the latest threads on the right panel ? together with this ? for a start, i can't even show the latest threads on the panel, it just doesn't display, any idea what's wrong ?

amykhar 08-26-2005 01:18 PM

Ohgenki, to display data on a template, you have to get it in scope for the template. There are too many possibilities of dynamic data in the sidebars for me to support them all. Sorry.

Amy

ohgenki 08-26-2005 01:27 PM

erm, actually the problem, i beleive is this, check this out, whenever there's an attachment, the table will stretch the whole page, which is what makes the scroll bar at the bottom appear, any idea how to solve that ?

and regarding the latest threads, say i just want to display your 5 hot topics on the right panel, how do i do that ? i can't seem to get it to work just by simply putting the code in.

IFor[You] 08-26-2005 04:47 PM

ok i tink i'm getting the gist of it,
can i change the hook location so i can call it from anywhere besides forumhome?


All times are GMT. The time now is 12:48 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.01216 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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