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)

Ron ? DCS 09-08-2002 06:57 AM

Figured it out, believe it or not, I was in the wrong style!

It's a little raw right now, but there is no doubt this is going to be awesome when I get this thing working. :D

TECK 09-08-2002 06:59 AM

heh. i was sure you will find out what's wrong. that's why i didnt answer rightaway. congrats.
please take you time to read everything in the install file and you will be ok...
make sure you keep those news and latest threads values lower then 10 orelse you endup with 50queries...
test it and let me know.

EnriqueHavoc 09-13-2002 07:30 PM

i have 2 questions:

1) where would i look to find what fields i can call in the query and the syntax for how to turn them into variables?
example:
Quote:

thread.title,thread.dateline,forumid,postusername, postuserid,post2.pagetext as pagetext

$newsusername=$news[postusername];
i want to call the news threadids and replies so i can link them from the index to the forum.

2) like another guy on here, the pagetext isnt showing up in my news. i checked the newthread.php and the newsforum is specified correctly. where else could i look? ive gone over the instructions multiple times

thanks

http://www.motionzoo.org/news/index.php

EnriqueHavoc 09-13-2002 10:26 PM

ok i got the thread links working. after MUCH trial and error and checking pluh news for how they did it :P

i added:

thread.threadid and replycount

to the query and then called them with:

$threadurl=$news[threadid];
$replycount=$news[replycount];

ok next up is figuring out why the pagetext isnt working :P

ugh

Zachariah 09-14-2002 12:50 AM

Well I'll have to say this is smooth .......

I do, like many others have a request.

A link back to the news post in the forums.(so ppl can comment on it)

home_newsbits
PHP Code:


<a href="$bburl/showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]"><b>$newstitle</b></a

As you know it did not work.

[high]* Zachariah scratchs head
[/high]

I know i have to tell VBhome what $thread[threadid] is but for the life of me I am stuck.

Any help on this issue would be cool :D

EnriqueHavoc 09-14-2002 12:57 AM

argh, take 1 step forward 2 steps back...:P

i still cant figure out how to get the pagetext to work and after I modified my home template now only 1 news post will show up, and not the latest one either.

come to think of it, even with the original default home template 1 news post would show and the others would be displayed waaaaay down at the bottom of the page. that leads me to think its a table or alignment problem? but i cant seem to find any broken code


man ive been working on this too long. is there ANYONE out there that wants to step up and take a shot at what might be wrong?

heres my page http://www.motionzoo.org/news/index.php

EnriqueHavoc 09-14-2002 12:59 AM

harry, read my post #355 i showed how i added a link

Zachariah 09-14-2002 01:13 AM

ROFL .... we posted at the same time ...... thanks

BTW: your front page looks sweet !!!! :bunny:

EnriqueHavoc 09-14-2002 06:38 AM

thank you :)

well i bit the bullet and asked my brother whos a programmer for help. im not sure exactly what he changed but he commented out some lines and wrote in new ones and now its fixed :P

i wish i understood what he did but im happier it works now

Tigga 09-14-2002 07:24 AM

Is anyone else having the problem with the "Most users ever online" part of the hack or know how to fix it??


All times are GMT. The time now is 02:57 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.05130 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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