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)

TECK 02-03-2003 06:50 PM

Look at the "article" query, and change the username with your field

TECK 02-03-2003 06:52 PM

Quote:

Originally posted by corsacrazy
:( problem ! i have banes vbstats installed now when i load the vbhome page it says

Warning: Failed opening 'vbs_counter.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in
/home/virtual/site52/fst/var/www/html/global.php(747) : eval()'d code on line 6

line 747 in global is what includes the phpinclude template into the vbhomepage

Can you guys search the thread or the support forums before you post please?

corsacrazy 02-03-2003 07:01 PM

im sorry ! but i did try ! i tried the search this thread option and typed vbs_counter.php and it returened no results !!!! so i assumed this hadnt beed discussed

corsacrazy 02-03-2003 07:19 PM

ok i can honestly say i cant find how to resolve the 'vbs_counter.php' error ! sorry 2 b a pain but please can u point me in to the direction of it

Martin64 02-03-2003 07:24 PM

TECK: I've always loved your hacks, so I'm trusting you on this hack as well, and I hope you can answer some of my questions. I have searched the thread and haven't found satisfying questions and answers. :)

I have a site and a message board that are both popular, with 70-100 users online most of the time. The main site and message board are on two seperate dedicated servers. The main site is www.emulation64.com, and is using a heavy design, which brings me to the first question:

Can I setup vBHome (lite) easily to make it look like what it looks like now? I'd like to keep the current design, of course, but I'd like to offer less dense versions that's easier on the visitors who're using a modem. I'm using different post icons (N64, GBA, PS2 etc) for each news post, is that possible as well? Right now I'm using Coranto to post news, and are using vBComments for comments.

TECK 02-03-2003 08:21 PM

Yes you can make it look the same. And yes you can use post icons.
However, to make it work with post icons you will need to hack several files into vBulletin. You follow the steps for current icons in vBulletin.

I will not add this feature because of the reason above. I don't want people to hack 285 files. vbHL is designed to install in a snap, not to sweat forever.

Feel free to edit your code the way you like.

Martin64 02-03-2003 08:30 PM

Thanks TECK, I'll get started. :D

corsacrazy 02-03-2003 08:36 PM

Quote:

Originally posted by corsacrazy
ok i can honestly say i cant find how to resolve the 'vbs_counter.php' error ! sorry 2 b a pain but please can u point me in to the direction of it

Dominick 02-03-2003 08:39 PM

Quote:

Originally posted by TECK
Look at the "article" query, and change the username with your field
I think I see what you are saying, if I understand correctly. here is the problem...

Quote:

// | Articles
// +--------------------------------------------------------------

$articlebits = '';
$articlemaxnumber = iif ( $articlemax!=0 , 'LIMIT ' . $articlemax , '' );
$articles = $DB_site->query("
SELECT thread.threadid,thread.title,thread.lastpost,threa d.replycount,threa\d.postusername,thread.postuseri d,
thread.lastposter,thread.dateline,thread.views,pos t.pagetext as pagetext
" . iif ( $articleicon , ',thread.iconid' , '' ) . "
" . iif ( $articleavatar , ',avatar.avatarid,avatar.avatarpath,NOT ISNULL(c\ustomavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardat\eline' , '' ) . "
FROM thread
LEFT JOIN post ON( post.postid=thread.articleid )
" . iif ( $articleavatar , 'LEFT JOIN user ON( user.userid=thread.postuseri\d )
LEFT JOIN avatar ON( avatar.avatarid=user.avatarid )
LEFT JOIN customavatar ON( customavatar.userid=thread.postuserid )' , '' )
. "
WHERE thread.forumid IN( $articleforum ) AND thread.visible=1 AND thread.op\en<>10
ORDER BY thread.dateline DESC $articlemaxnumber
");
while ( $article = $DB_site->fetch_array( $articles ) )
the thread table in my forums dbase doesnt have an entry for a custom field that I set up for full name. If i follow the process properly, the right way to do it would have to be something like this.

new thread or post, push custom field entry from userfield to a new column in the thread table. So that vbhome lite can pull the data that it has. Seems easisest like that but frankly I dont feel experienced enough to do that, and I have a feeling there migth be an easier way.

-Dom

X-Fan 02-04-2003 09:50 AM

Teck, what's required to upgrade from 3.6 to 4.0?


All times are GMT. The time now is 08:13 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.03009 seconds
  • Memory Usage 1,747KB
  • 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_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