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:00 AM

Just in case you don't have it, I'm going to upload the old vbHome (lite) version 3.8 for you. ;)

TECK 02-03-2003 06:06 AM

vbHL 4 released to vBulletin users. :)
Enjoy.

forumsinfo 02-03-2003 06:13 AM

Teck, as always - you post the old file, but we allready have it and don't post the new one. If it's not here and not at your site - than where is it?

TECK 02-03-2003 06:18 AM

Patience... I only have 2 hands...
I had to delete the old file, upload it onto a new post so you guys have it, then I uploaded the new v.4 file...

What do you mean "as always"? Can't you just wait few minutes?
Do you have a plane to catch?

Smoothie 02-03-2003 06:18 AM

Quote:

Originally posted by forumsinfo
Teck, as always - you post the old file, but we allready have it and don't post the new one. If it's not here and not at your site - than where is it?
Its in the first post of this thread, bud.

Smoothie 02-03-2003 06:19 AM

haha, posted at the same time.

TECK 02-03-2003 06:19 AM

:)

corsacrazy 02-03-2003 11:23 AM

:( 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

Rufus69 02-03-2003 02:27 PM

Quote:

Originally posted by Rufus69
hm...

is there a way to make it so there are 2 news things on the index so one can point to news and another point to announcments?


Dominick 02-03-2003 04:37 PM

as asked before. with the current stable version can I inline images. (not that important)
more important. I created a custom profile field for the users full name, how can I include that into the articlebit as a replacement for the posting username?

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?

TECK 02-04-2003 10:07 AM

Is listed in the first post.

X-Fan 02-04-2003 10:22 AM

Quote:

Do NOT start adding crazy stuff from old vBulletin header, footer, etc. It will not work. Instead check the code changes and edit them accordingly.
Eep.

So does this mean any custom mods etc done to previous versions of vBHome will no longer work with v4.0 and have to be completely redone?

I noticed that everything that used to be in index.php is now split between index and global, leaving me scratching my head wondering which file to add my custom mods into for starters...

Sigh... I think I'll stick with 3.6; I'm just not good enough with PHP and all this XML stuff...

Anyway, all I really want extra in my vBHome is a topics option like what vbPortal has...

TECK 02-04-2003 10:25 AM

Upgrading from any lower version to vbHL 4 is the same thing like upgrading from VB 2.2.x to VB 3.
Nothing will work from old templates. Guys get used to this, it will happen, so better be prepared.

vBulletin 3 uses also XHTML code.

X-Fan 02-04-2003 10:34 AM

Well I honestly don't have the time to uninstall the version I'm using, install the new version, then have to screw around trying to work out how to get it back to what I had before because everything's changed and I've no clue what goes where...

TECK 02-04-2003 10:40 AM

I understand your point.
Unfortunatelly you cannot add new stuff to an old version, that is already replaced in .php code by 40% and in HTML code by 100%.

fuelcbx 02-05-2003 12:16 AM

Quote:

Upgrading from any lower version to vbHL 4 is the same thing like upgrading from VB 2.2.x to VB 3.
Nothing will work from old templates. Guys get used to this, it will happen, so better be prepared.

vBulletin 3 uses also XHTML code.
Gee... I hope you right... Cuz when I installed vbhome 4.0 and it doesn't look same between vbulletion and vbhome 4.0 on NS 4.7... So I stick with 3.8 for now.. Since you mention that vbulletion 3 will use xhtml so that should be good for vhome 4+ then I will install it again. I always prefer IE 5+, NS 6+ for my target audience. I have no idea what's survey/statistic abt which web browsers people tends to use it mostly out there? (hopefully NS 4 should be almost completely out of picture) :)

TECK 02-05-2003 02:54 AM

In vbHL 4 we used CSS 2, a standard to all new browsers.

kuska 02-05-2003 05:27 AM

I read in othe forums that a deep crawl of google bot ended 31st of January :( Is that true? If it is im not indexed...
Teck is there anything wrong with my archive?
http://www.NaKazdyTemat.com/archive

TECK 02-05-2003 05:31 AM

This is the vbHome (lite) official thread, it has nothing to do with your archive.
If you want answers, you can always get them on the support forums since they are explained there several times.

fuelcbx 02-05-2003 02:28 PM

I been looking on different web browsers and compare to vbulletin.com/forum which use beta vbulletin 3.0. Everything looks good on vbhome 4.0 expect NS 4.7 which is not matter to me.

But on NS 4.7, I notice there are border on all ur images/buttons on vbhome 4.0 but not vbulletin.com/forum so is that possible to remove images' border so that way it more consistent with vbulletin 3.0?

TECK 02-05-2003 07:34 PM

VB3 did not upgraded yet fully to XHTML, it still uses deprecated tags from old templates:
http://validator.w3.org/check?uri=ht...com%2Fforum%2F

They will be fixed once the code is out of beta, so it will look the same in Netscrape 4.7.

fuelcbx 02-05-2003 07:45 PM

Ah, got it!

Thanks!

leviw 02-06-2003 07:15 AM

I like the printer friendly ability vbhome lite offers, I know its barely related to your hack and if you dont want to support it thats fine, but heres my question:

How can I use the printarticle feature to make printer friendly versions of articles in my normal forum?

I have it all set up to use the printarticle.php page, but apparently the current code can only read the first article from the thread and I need to be able to pull up any individual article instead.

Here is the original code:

Code:

<a href="$bburl/printarticle.php?s=$session[sessionhash]&amp;threadid=$article[threadid]" target="_blank"><img src="{imageshome}/articleprint.gif" alt="Printer Friendly version" class="imgbordermiddle" /></a>
That can be found in "home_articlebit"

That works fine, the problem being if you use that same code on the normal page it just pulls the first article from that thread. I tried tinkering with it, substituting postid for threadid, etc, but I think the actual printarticle.php file needs a tweak to allow it to work and I just dont know enough php yet to make that tweak.

Any suggestions? :rolleyes:

TECK 02-06-2003 08:16 AM

FILE: printthread.php
FIND:
Code:

  ORDER BY dateline $postorder
  LIMIT $startat,$perpage

REPLACE WITH:
Code:

  ORDER BY dateline ASC
  LIMIT 1


sylem 02-07-2003 10:15 PM

got a screenshot???

1

leviw 02-08-2003 12:16 AM

So far as I can tell that didnt make any change.

Maybe I can rephrase this to make more sense:

I'd like to be able to make any single post printer friendly.

Currently both vbhome lite and the normal vbulletin support this using either printarticle.php or printthread.php, but both work off a thread ID which means it just pulls the top post.

Is there an alteration I can make that would allow me to use a link like this:

printarticle.php?s=$session[sessionhash]&amp;postid=$post[postid]

to pull ONLY the one post I want into a printer friendly format? Any tips would be greatly appreciated.

If this is off topic to the vbhome lite support please let me know I'd be glad to take the question someplace more appropriate.

-Just call me young grasshoppa and gimmie the turtle wax. :rambo:

Dan_UPC 02-08-2003 03:21 AM

I've just installed vbhome lite on my test board and I get the following error when trying to view the vbhome lite homepage:

Database error in vbHome 2.2.9:

Invalid SQL:
SELECT COUNT(*) AS total
FROM thread
WHERE dateline>0 AND forumid IN( )

mysql error: You have an error in your SQL syntax near ')
' at line 4

mysql error number: 1064

Any ideas how to fix this?

Thanks,
Daniel.

TECK 02-08-2003 07:30 AM

Search the thread. :)

TECK 02-08-2003 07:32 AM

Quote:

Originally posted by leviw
So far as I can tell that didnt make any change.

Maybe I can rephrase this to make more sense:

I'd like to be able to make any single post printer friendly.

Currently both vbhome lite and the normal vbulletin support this using either printarticle.php or printthread.php, but both work off a thread ID which means it just pulls the top post.

Is there an alteration I can make that would allow me to use a link like this:

printarticle.php?s=$session[sessionhash]&amp;postid=$post[postid]

to pull ONLY the one post I want into a printer friendly format? Any tips would be greatly appreciated.

If this is off topic to the vbhome lite support please let me know I'd be glad to take the question someplace more appropriate.

-Just call me young grasshoppa and gimmie the turtle wax. :rambo:

Ask your questions to the support forums, we have there several people that are familiar with vbHL and VB. :)

corsacrazy 02-09-2003 07:05 PM

how wood i go about showing the [img] tag in the article ! my pics just appear as links ! and yes i did search thru 179 pages but i found nutin ! and yes

Enable BB Code in article? is ON


All times are GMT. The time now is 10:54 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.03410 seconds
  • Memory Usage 1,833KB
  • 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
  • (3)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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