vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbHome (lite) - your vBulletin(powered) main homepage (https://vborg.vbsupport.ru/showthread.php?t=36756)

LeeCHeSSS 10-02-2002 07:14 PM

Quote:

Originally posted by nokia8860
silly question here:

I can change the look of the polls that have been voted on in the

home_pollresults template

But where is the template that changes the look for when you have not voted on the question.

In the following 3 templates: home_polloption, home_polloptions, home_polloption_multiple

nokia8860 10-02-2002 07:19 PM

LeeCHeSSS:

YOU DA MAN! (or woman depending on gender :) )

The Piper 10-02-2002 07:36 PM

I agree with nokia8860. Thanks A LOT, LeeCHeSSS, I had goten SEVERAL PM's from my users requesting that.... I really appreciate your help on this.

TECK 10-02-2002 07:37 PM

Quote:

Originally posted by LeeCHeSSS
Installed it. Works without problems (but I need to re-edit the templates to get my old layout back).

Once I have done that, I'll have to figure out how to:
- get $thread[time] and $thread[date] to contain the time/date of the LAST post of the thread, instead of the first.
- have the poll look for polls in 1 specific forum made by ANY user. (I'm just used to the vbPortal style of doing polls I reckon)

I would appreciate any help with those 2 things, since I'm not MySQL guru myself :(

i have to make you happy right? :)
first you need to change also the poster... i think since you want to show the last post time, right?
anyway, do this... in vbHL index.php find:
Code:

  $thread[time] = vbdate($timeformat, $thread[dateline]);
  $thread[date] = vbdate($dateformat, $thread[dateline]);

replace it with:
Code:

  $thread[time] = vbdate($timeformat, $thread[lastpost]);
  $thread[date] = vbdate($dateformat, $thread[lastpost]);

then, in your home_threadbits template, change:
Code:

<a href="$bburl/member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]">$thread[postusername]</a>
to:
Code:

<a href="$bburl/member.php?s=$session[sessionhash]&action=getinfo&find=lastposter&forumid=$thread[forumid]">$thread[lastposter]</a>

LeeCHeSSS 10-02-2002 07:50 PM

Quote:

Originally posted by nokia8860
LeeCHeSSS:

YOU DA MAN! (or woman depending on gender :) )

That'd be MAN! :)

Anyway, thanks TECK! It seems I was pretty darn close to figuring it out myself, but this saved me some headaches ;)

TECK 10-02-2002 08:44 PM

kingsfan, is not related to actual code but to templates, you probably changed there something. check your html code.

TECK 10-02-2002 08:44 PM

i think i will release tomorrow (or day after) vbHome (lite) 3.3.
it will add the iconews, pictogram icons like phpnuke, associated with every article.
that will be done without increasing the number of queries, ofcourse.
also, it will have an upgrade.01.php file so you dont have uninstall everything. :)

cya all for now... back to coding.

obiwan8472 10-02-2002 08:52 PM

Hi. Quick little thing.
Just installed it onto a test bit on my server and it all works. However it does not read whats in the Header of the members template.
(I have a banner as my logo which is in the header of the style)
So I get a blank bit at the top with just the forum logo.

For example
portal page
http://www.scifichat.net/test/index.php

forum
http://www.scifichat.net/vbforums/

The purple banner at the top of the screen.
any idfeas?

TECK 10-02-2002 08:54 PM

is normal, you didnt follow all the steps in the readme file.
if you do follow them ALL, it will work.

Grendel602 10-02-2002 09:35 PM

I tryed to dl vblight but the resulting zip is password protected when I use rar.

WTF?


All times are GMT. The time now is 02:00 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.04738 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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