Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2002, 02:29 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Few questions related to vbHome_lite

vBhome_lite

I've recently installed the long-closed hack "vBhome_lite" for my site. Not realizing the hack was closed at the time (D'oh!), I went through with the install and have it working great! Or at least I think. *hehe*


I have a few questions I'm hoping someone can help me out on. If you'd like to see the site, please pm/aim/im/msn me.

First question - On the last ten threads column (left side), I would like to change it so that instead of posting the thread with threadstarter and date/time the thread was started - I would like to show the last poster and date/time last post. To me that just makes sense. But I'm not sure what to change. :s Also, it'd be nice to make it so the private forums didn't show up.

I'd also like to add the "login" information under the "welcome back" section right above the last posts. I've got it to say "welcome back MEMBER/GUEST", but I can't get the evil login box coded right. *hehe*

There's a few more questiosn, but I'd rather address them via msn/aim.

If anyone can help, please do! *hehe* Share the knowledge and love. My aim is "CharmedGirl Rose" and my msn is "thecharmedgirl@hotmail.com".

I have a decent amount of knowledge of html/php(ish), so you're not working with a complete newbie. But I'd still appreciate help when available.
Reply With Quote
  #2  
Old 08-06-2002, 07:02 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

rose, the query grabs from each forum the most recent threads, not posts. so is basically complicated to pull the last post and also it will add more queries, wich you dont want.

for the login, you could always check this post:
https://vborg.vbsupport.ru/showthrea...858#post245858

basically the hack is expandable because you add vBulletin code to it. however i dont recommended because it adds queries. you need to keep it decent, like max 30queries on that page.
the easiest way to reduce the queries is to limit the number of latest threads and news to 5 for latest threads and 10 to news.

please keep in mind i dont support this hack anymore due to vBulletin project to release it's own vbHome version.
good luck with your site.

floren.
Reply With Quote
  #3  
Old 08-06-2002, 07:06 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, Floren.

I have the last posts working with "Webtemplates" and I like the style better, too. Maybe I'll figure with that a bit and see what I can come up with.

I used the referenced post for the login code, but I think I'm having html problems with it - so I'll get that cleared up, too. *hehe*

How can you tell how many queries are being run?

Thanks again!
Reply With Quote
  #4  
Old 08-06-2002, 10:43 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the easiest way is to install vbMicrostats. this hack is used also here at vb.org.
[high]Page generated in 0.39837003 seconds (24.24% PHP - 75.76% MySQL) with 24 queries.[/high]
Reply With Quote
  #5  
Old 08-07-2002, 06:19 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, Nakkid. I've downloaded it and am in the process of installing. Had a few errors (got one big blank white page), but I'll keep at it and see how it works.
Reply With Quote
  #6  
Old 08-08-2002, 06:03 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it working. Thanks, Nakkid. I currently have 22 queries on my forumhome and 31 on my site index. :s Working on getting that down, though.

I'm still interested in personal one-on-one help with the site if anyone is interested.
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 11:04 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.03937 seconds
  • Memory Usage 2,205KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)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
  • (6)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete