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)

K33nny 05-12-2003 05:09 AM

Is there a way to make this hack recognize {imagesfolder} and other small things like that?

atomic fireball 05-12-2003 10:39 PM

TECK, first off, thanks for creating this hack. I'd really like to install this and check it out.

I followed the install step-by-step, but I get the following error when hitting index.php:

-----
Database error in vbHome 2.3.0:

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

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

mysql error number: 1064
-----

After running your install script, everything looked good. I got the feedback that it was updating the necessary tables, and everything was a "success".

However, along with the error above, I don't even get a vbHome (lite) options area on vBulletin Admin Control Panel.

I'm assuming I have to set some things up, before I can actually hit the index.php with success, but I can't without any vbHome (lite) options area on vBulletin Admin Control Panel.

Any ideas?

I'd really like to test this out, thanks.

TECK 05-12-2003 10:46 PM

Please search this thread or the support forums for an answer. It has answered zillions of times...

mijohnst 05-12-2003 10:57 PM

I'm excited to get this running. I've gone through the instructions but i'm getting this error. Any ideas what I'm doing wrong?

Warning: main(./forums/admin/config.php) [function.main]: failed to create stream: No such file or directory in /home/mijohnst/public_html/forums/global.php on line 744

Fatal error: main() [function.main]: Failed opening required './forums/admin/config.php' (include_path='') in /home/mijohnst/public_html/forums/global.php on line 744

atomic fireball 05-12-2003 11:23 PM

Edit: problem solved, I'm an idiot.

atomic fireball 05-13-2003 12:13 AM

TECK, thanks for your patience, I got it initially installed now. :)

The thing that really threw me were the install instructions and references made to "vbHome Page". The instructions say:

"You will see a new group created by the installer, called vbHome Page.
The following options are available:"

Actually, in 4.2 it's just called "Front page", not "vbHome page". So after the install, I would do a find in my browser for "vbhome" in the Admin CP page, and it kept coming up with nothing.

It's actually called "Front Page". Doh! So for any idiots like me out there who got confused on the install, that's the reason.

Thanks again for your patience, TECK, and I look forward to customizing this hack for my forum.

TMM 05-13-2003 07:45 AM

Hi all,

will this hack allow me to add a vertical column for news headlines (with links to articles in various online magazines) to the forums main page? I'd like to keep everything else as is, just add the column on the right side...

Thanks,

TMM

|oR|Greg 05-13-2003 05:19 PM

Where/How do I adjust colors, styles, css, etc?? My www.orderofronin.com/index.php is pointing to a style sheet that does not exist, yet within the php script it has tons of style settings that I would like to alter? Where?


EDIT: Found the templates. :P

|oR|Greg 05-13-2003 10:27 PM

Ok.. next question... It's installed.. www.orderofronin.com/main.php No matter what option I choose in the control panel, it never shows the user as being logged in, ever on the main page.. so... ??

EDIT: Ok, fixed it, cookie settings weren't set to the domain, just the forum. :lick:

dano 05-16-2003 05:38 PM

Ok, I am a total newbie to this. But I have a question.

I want to install vbLite to my forums, but I do not want to put it on my main URL. I have a flash intro that I use and I want to keep it. If I follow the instructions on vbLite, it routs to vblite and bypasses my index.html.

So, I created a folder called main on my main page, and uploaded all the files there, but its not matching up with what is in the 3 vblite files (since I do not have them on my main url)

I know vblite is fine and working, becuase I closed my site for a min, and put everything on the main page, and it was all there, but then you missed my intro.

Please help me figure out how to change the code so it looks for everything in the right place.

Many thanks, and sorry if this is a stupid question. I am still learning.

dano 05-16-2003 06:49 PM

Well, I renamed index.php to home.php and it seems to work so far. If I shouldnt have did this, someone plese tell me. LOL

Thanks.

Floris 05-18-2003 02:25 AM

Installed on several web sites now, with little differences between them.

fitnessgeared.com
steroidology.com
competitivemuscle.com
bodybuilding4life.com
board1.mantisforums.com

from version 3.6 to 4.2 and with the archive addon.
I definitly prefer vB Home over vB Portal or any other frontpage, it is easy to install and easy to modify and works with multiple styles.

By the way, are there any additional modules out for integration? Like the shoutbox, or the weather box or a calendar or some other fun stuff ?

Doc203 05-18-2003 07:21 PM

I have a board that users pay to use and we set up their log-in (Which is rather Lengthy and hard to remember, but informative).

Anyway, does anyone know... if I install this on the board will they have to log-in since it is a new page, or will the cookies remember them from the forum?

Teh reason that I ask is a lot of my users are not computer savvy and if I add this and they have to log-in the 1st time that they come to the new homepage it will be mass hysteria.

thanks for any input.

Smoothie 05-18-2003 08:19 PM

onced logged into the main page or forums, its the same. You only log in once.

Doc203 05-18-2003 08:24 PM

I understand that, but I was wondering if after I add it they will have to log-in to it the first time they visit it.

Thanks for the response.

Smoothie 05-18-2003 08:28 PM

no, if they are already logged into the forums, they will not have to login to the main page.

Doc203 05-18-2003 08:31 PM

OK.. thats what I needed to know! Thanks!

|oR|Greg 05-19-2003 03:21 PM

How do I allow HTML in the News section?? I allowed it in the specified forum, but the articles just display the code.. www.orderofronin.com/main.php for a reference..

Help?

leviw 05-20-2003 10:26 PM

Great hack, Teck.

Quote:

05-12-03 at 04:46 PM TECK said this in Post #2923
Please search this thread or the support forums for an answer. It has answered zillions of times...
Just a suggestion, but it seems there are a dozen or so really common problems users go through on any installation. Why not include solutions to the most common ones right in the readme file, or a seperate Help file? It would probably save you the trouble of answering this question every few days.

It would also save users the trouble of searching through 200 pages of posts, trying to find the answer to a problem sooo many other people have also suffered through. After going through that hassle myself I found 99% of the posts matching my search terms were just redirects to search the thread, heh.

Again, excellent hack as always.

MotownLF 05-21-2003 07:04 PM

Since this is fifty-nine pages long, I'm going to ask this question anyway and hope I dont' get blasted for not reading all fifty-nine pages for my answer.

I have my forum on a subdomain...how difficult would it be for VBHome to be intergrated with my current forum?

Can it work with two seperate databases?

TECK 05-21-2003 07:14 PM

Quote:

Today at 09:04 PM MotownLF said this in Post #2940
Since this is fifty-nine pages long, I'm going to ask this question anyway and hope I dont' get blasted for not reading all fifty-nine pages for my answer.

I have my forum on a subdomain...how difficult would it be for VBHome to be intergrated with my current forum?

Can it work with two seperate databases?

When you ask for questions, do this: Will it work what I ask with vBulletin?
If the answer is YES, then it will also work with vbHome (lite). ;)

MotownLF 05-21-2003 10:36 PM

Quote:

Today at 04:14 PM TECK said this in Post #2941
When you ask for questions, do this: Will it work what I ask with vBulletin?
If the answer is YES, then it will also work with vbHome (lite). ;)

I tried VBPortal, but you have to put the forums say under...

/home/yoursite/forums/blahblah.php

Instead of

/home/yoursite/subdomain/blahblah.php

If you try to put it seperately, you will get all kinds of error messages.

I want one to go to www.yoursite.com

And my forum is on ysf.yoursite.com

Are you saying that your software can do that?

I'm asking before hand because I don't want to go through this again. If it can't, then it can't. If it can I'll download it and check it out.

If you're saying yes to that, then please let me know.

TECK 05-22-2003 09:39 PM

Yes. It uses the same cookie system like VB.

MotownLF 05-23-2003 04:52 AM

K.

I tried to load this on my dev site...

I got this..

Warning: main(./home/xxxx/public_html/dev/forums/admin/config.php) [function.main]: failed to create stream: No such file or directory in /home/xxxx/public_html/dev/global.php on line 744

Fatal error: main() [function.main]: Failed opening required './home/xxxx/public_html/dev/forums/admin/config.php' (include_path='') in /home/xxxx/public_html/dev/global.php on line 744

Is this because I'm trying to put it in a subdomain instead of the root folder?

TECK 05-23-2003 04:55 PM

You added the full path? Or left the $adminpath = 'admin' at the top of the global file?

MotownLF 05-23-2003 05:31 PM

Quote:

Today at 01:55 PM TECK said this in Post #2945
You added the full path? Or left the $adminpath = 'admin' at the top of the global file?
Yes, I added the full path. No slashes.

TECK 05-24-2003 12:49 AM

It will not work. Go to the support forums, we will tweak it there.

The Wedge 05-24-2003 07:05 PM

The installation went fine on my test site but then when I went to the index to check it out I got this error:

Database error in vbHome 2.3.0:

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

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

mysql error number: 1064

Date: Saturday 24th of May 2003 05:31:43 PM
Script: http://www.wedgepage.com/forums/
Referer:

I searched for "invalid sql" on this site and this thread came up, but there's 200 pages! Not sure if you addressed the problem or not. If you can help me out I'd appreciate it!

cirisme 05-24-2003 07:13 PM

Have you updated the settings?

The Wedge 05-24-2003 07:14 PM

Quote:

Today at 09:13 PM cirisme said this in Post #2949
Have you updated the settings?
yeah I just found another thread on here that said to do that. Gonna try now...thanks..

djnoz 05-27-2003 10:01 AM

I've installed it - works fine. Excellent mod ^^

KamuiX 05-28-2003 01:19 PM

Thanks for the awesome hack, Teck! Just finished installing it, and it works beautifully. :D

djhenry21 05-28-2003 09:12 PM

How do you change the background color of the main page. I'm not that new to vB. I altered all the styles and templates to my liking but just can't get the outer area of my front page to be anything other than the default background. Also, what's the best way to alter the links, sponsors, etc.. for the addons?

here's the link to my site. please tell me what i'm doing wrong.

http://www.liandricentral.com/main.php

Sebastian 05-29-2003 11:06 AM

Quote:

10-16-02 at 09:32 PM TECK said this in Post #1506
seby, the first part is an archive thinghie, and i like the idea. i will make a separate file where it will list the thread titles, by day.

hello Teck. How would i list the news by day? Where can i get this "separate file" ?
thanx.

/installs

PhoenixBB 05-29-2003 03:44 PM

Hi Teck,

I'm dying to try this! I'm currently using VBPortal Lite, but it uses 49/51 queries. As I just got thrown out by my last host for excessive mysql usuage, I'm anxious to get the count down, even though my current host says I'm doing ok.

Can I install this without interferring with the current VBPortal set up? I don't want to disrupt my board while I'm getting things set up.

Currently the index directs to vbportals page, but putting your index file in the root interferes with that. Would it still work if I renamed the index to 'home.php'? That way the portal would only be called when that is included in the url ie: www.mysite.com/home.php. As nobody else would know that url then I could play about setting things up, while the VBPortal operates simultaneously. When it's all set up, I can then delete VBPortal, and no disruption to anyone.

Is this possible?

Thanks for any advice. :)

ETA: Ooh, I've just found out, I can indeed do that. Didn't work at first now it does. Cool. I shall now go play! ;)


Phoe

Thanatos 05-31-2003 03:07 AM

I have tried to install this program.

Created a new database.

Installed vbulletin 2.3.0, fresh.

Read the readme file, multiple times. Followed each step exactly, including, copying the find/paste to a notepad first, before re-copying to make sure any formatting was clear.

Installed this hack 100% successfully.

Verified all paths. forum/admin ( I used the example default) and making a replacement template forum/images (used that default too)

Vbulletin Options - Front Page game up, changed multiple options and saved. Verified saves.

go to main page, no images work.

Set multiple templates on, no love. Went into the phpadmin and verified everything was at default value 1 for replacements and styles and set that variable to 1 anyway in the admin menu.

Still no images. Just X's.

I have 3 computers around me, so I'd use different ones with different browsers to look at the site, no change. Cleared cache ech time.

Went into the templates, edited all the home based templates to reflect real world paths, both http://domain.com/forum/images and just forum/images. Still no actual change in images.

Copied and pasted url's for images in text bars in browsers and they will pull up.

tried using those in the home templates, still no love.

Am I missing something?

I deleted everything and walked through the process with someone standing over my shoulder reading each step as we went along a second and third time -- all with the same results.

Should I call it quits and use something else? any recommendations? I don't want to go the php-nuke route again.

Thanks for your consideration.

Mirri 05-31-2003 04:17 AM

<a href="http://www.mirri.net" target="_blank">http://www.mirri.net</a>

The index included shows up blank. What did I do wrong?

Poison Fly 06-01-2003 03:03 AM

I will ask of a favor. May someone please post the code and changes necessary in order for viewers to see the article on the main page instead of simple the article link? I mean, that's how I'd like it but I have no clue as to how I can do that.

Or, if a thread / post with this explanation already exists elsewhere, may someone link me?

Poison Fly 06-01-2003 05:16 AM

*bump*

I travelled high and low and found a thread at Teck's forums that had my answer. The solution just seems a wee bit weird to me. But I managed.

dvd4arab 06-01-2003 05:52 AM

hi,
do i need to make changes to any style to fit vbhome ?
is there any way not to do changes and have a front page like vbhome or vbportal ?
thanks


All times are GMT. The time now is 10:50 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.03545 seconds
  • Memory Usage 1,839KB
  • 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
  • (6)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