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)

ronb 11-12-2003 03:35 PM

Quote:

Originally Posted by MindTrix
@ ronb

You have to link to it in your browser like this

www.<yoursite>.com/forum/admin/vbhlinstall.php

Gdluck


I feel so stupid! thanks

MindTrix 11-12-2003 03:37 PM

Dont worry about it ;) Have fun

ronb 11-12-2003 03:40 PM

Quote:

Originally Posted by MindTrix
Dont worry about it ;) Have fun


How will i know when it is done and if it's done correctly? Right now we have it as private so the members don't see it until we're ready to show it. Also the numbering of the forums concerns me. I created a new forum as per the instructions and it's not number 1

ronb 11-12-2003 04:59 PM

I just installed the home page hack. When i try to get to the home page i get this error. What can i do to correct this?

Database error in vbHome 2.3.0:

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

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND dateline>1068609534' at line 3

The code it's failing on is in the index.php which is in the hack zip file. here's the code:

$newheadlines = $DB_site->query_first("
SELECT COUNT(*) AS total
FROM thread
WHERE forumid IN( $articleforum ) AND dateline>$bbuserinfo[lastvisit]
");

i'm not sure why it says line 3 because this is found on lin 45 but who cares. I think it doesn't like th ( ) value. Does anyone know what should be in $articleforum?

MindTrix 11-12-2003 06:40 PM

ronb, soz i didnt reply to ur previous thread, i wrote a huge reply telling you things and well then vb.org messed up as i sent it, so it didnt get posted, so, sorry about that. As for your mysql error that is the one i had and fixed. Go to your admin panel and choose vBulletin options then scroll down too FRONT PAGE.

Now just change most the options on that list, doesnt matter what too just mess around ( i did lol) then save the changes, Now go to the portal page, should be working now.

Lemme know ok?

ronb 11-12-2003 07:26 PM

What i did was clear the cache (ctrl and F5) then i got the home page. Now i need to get our boards skin and logo up top. It's a trial and error thing now.

I had a hard time posting this too. Sorry you lost all your typing. There's not much more annoying tahn that unless you include a wife that never stops yapping!

I had to..lol..

diablito 11-13-2003 03:29 PM

Quote:

Originally Posted by Killer Angel
I was wondering how you could have the forum display at the bottom of vBHome Lite like this...

http://www.thundersplace.com/forum/?s=

Nobody answered this - I also wonder how to do this.

ronb 11-13-2003 03:38 PM

I'll go one better on the question. How did they fill out that page? I have no templates filled out on top and nothing in the middle. What do i need to do to get that to work. Also i'd like to have the skin and logo from the board on this home page too.

MindTrix 11-13-2003 03:51 PM

Im not even sure that it is a vbhome portal. Also note at the bottom near the copyright it says

Powered by: vBulletin Version 3.18 Alpha

Which isnt even out yet :s

ronb 11-14-2003 05:41 PM

I need a little help with the set up of the home page. I'm not all fluent with php so be kind to me! lol here's what the home page looks like now. http://www.sculptedbyiron.com/index.php

As ypu can see it's not at all complete. Id like to get our logo up top if possible. Also why are all the 'X' boxes up top. i'd like to change the skin to something more readible and fill in the center if the page.


What do i need to change and to what. As you can see i'm a bit lost. I'll admit it!

MindTrix 11-14-2003 05:45 PM

Your images are beeing linked too

http://www.sculptedbyiron.com/forum/tren_z/

So im guessing it should be

http://www.sculptedbyiron.com/forum/images/tren_z/????

Basically when you did the replacement as told in the instructions maybe you added a wrong path? If so just go back and replace your old replacement with a new one.

As for the styles, check your vBulletin options, in your admin cp and scroll to the bottom where you will see FRONT PAGE options, the last 2 options on there are to do with your styles.

atomic fireball 11-14-2003 06:45 PM

ronb, to customize the look of your front page, you'll need to edit the templates.

For the home page, go to Home Page Templates in your Admin Control Panel, and then edit the Home template.

For your graphics not showing up, that means that the header for your home page is not pointing to the correct image folder. You'll need to check the image path in home_header to ensure that the images point to the spot where your graphics are located.

Editing your home page is possible with vbHome Lite, but it takes a bit of work with the templates to get the look that you're going for. Backup the original templates, and then play around with the editing to see where it takes you. Good luck.

ronb 11-14-2003 07:06 PM

Quote:

Originally Posted by atomic fireball
ronb, to customize the look of your front page, you'll need to edit the templates.

For the home page, go to Home Page Templates in your Admin Control Panel, and then edit the Home template.

For your graphics not showing up, that means that the header for your home page is not pointing to the correct image folder. You'll need to check the image path in home_header to ensure that the images point to the spot where your graphics are located.

Editing your home page is possible with vbHome Lite, but it takes a bit of work with the templates to get the look that you're going for. Backup the original templates, and then play around with the editing to see where it takes you. Good luck.


bear with me. When you say edit the templates what am i editing? An example would be fine so i know what i'm looking for. I'm a programmer so i'm not lost just not that familiar with php.

diablito 11-14-2003 07:38 PM

Are u sure you added the replacement {imageshome} as described in the install instructions? Check that u did, and that u did enter the path to the imagefiles right.

ronb 11-14-2003 07:47 PM

Quote:

Originally Posted by diablito
Are u sure you added the replacement {imageshome} as described in the install instructions? Check that u did, and that u did enter the path to the imagefiles right.


I was just looking at that and i did create it and it's pointing to images folder. the code i have is forum/tren_z. In tren_z there are images there. this forum folder is in the root.

Just for the hell of it i changed the imageshome replacement to look at images/tren_zx. Tren_zx does not exist. I thought i would get an error but i didn't! It may not be reading that replacement imageshome.

Fortunately i'm going home now!

thanks for your help.

ronb 11-18-2003 04:01 PM

Quote:

Originally Posted by MindTrix
Your images are beeing linked too

http://www.sculptedbyiron.com/forum/tren_z/

So im guessing it should be

http://www.sculptedbyiron.com/forum/images/tren_z/????

Basically when you did the replacement as told in the instructions maybe you added a wrong path? If so just go back and replace your old replacement with a new one.

As for the styles, check your vBulletin options, in your admin cp and scroll to the bottom where you will see FRONT PAGE options, the last 2 options on there are to do with your styles.

Folder tren_z is in the forums folder as is the images folder. Using the link:http://www.sculptedbyiron.com/index.php brings up the shell of the home page but nothing much else. In the index.php i'm pointing to imageshome replacement which has in it in the code to insert fields forum/images.

I am so damn confused!

diablito 11-19-2003 09:35 AM

Well, I've also concidered implementing a custom style for my vbulletin/vbhome lite page - looks like I have to edit some templates in addition to the style install.

I'm going to buy a skin form vbskins.com. The skin comes with support for vbportal, but vbHome is not mentioned.

If there's anyone here that have some experience with what kind of hacks I need to do, I would be very thankful if you could share this information with me/us.

I think RonB's problem is similar, since tren_z is a custom styleset, which isn't supported by vbHome Lite out-of-the-box.

ronb 11-19-2003 11:48 AM

Quote:

Originally Posted by diablito
Well, I've also concidered implementing a custom style for my vbulletin/vbhome lite page - looks like I have to edit some templates in addition to the style install.

I'm going to buy a skin form vbskins.com. The skin comes with support for vbportal, but vbHome is not mentioned.

If there's anyone here that have some experience with what kind of hacks I need to do, I would be very thankful if you could share this information with me/us.

I think RonB's problem is similar, since tren_z is a custom styleset, which isn't supported by vbHome Lite out-of-the-box.


Here's an update on what i've done. We have everything pointing to php. etc. We have a version of tren_z that we call tren_z_expanded. We put the imageshome replacement in there and i see the user cp etc buttons. I still do not see our logo and other things. Also there a black blank box in the middle. I need to put different things such as news etc in there and i don't know how. I see in the globa.php file it looks for home_header template where the global.php3 file we use for the board is looking for template home. I may change these and see what happens.

destro19 11-19-2003 09:14 PM

how can I get my vbskin ro show up on my vbhome?

ronb 11-21-2003 05:31 PM

We have finally got the home page to look somewhat nice. I have one rather dumb question. We're showing the tabs on top such as user cp, chat etc. These tabs are not working because they're picking up the wrong url. Instead of getting for example www.sitename.com/forum/index.php3 they're getting www.sitename.com/index.php3. The folder forum is being dropped. My question is where does this link come from? Yeah i know i'm not familiar with this language. If i can at least get pointed in the right direction i may be able to get this to work.

Also all our recent threads are being shown in a left hand column and in the middle of the screen. I want to put other info in the middle. What is sending the recent posts to both screens?

ots of questions huh

MindTrix 11-21-2003 05:52 PM

First question = Edit your template, and edit, vbhome i believe or FRONT PAGE something like this, then edit the header template in that set.

As for your threads, check your vbulletin options, and scroll to the bottom and look under the FRONT PAGE section.

Should be like the 1st 2 sections there i think.

calvinnguyen 11-21-2003 06:13 PM

Is this work for vb3 beta 7? Thanks

ronb 11-21-2003 06:14 PM

Quote:

Originally Posted by MindTrix
First question = Edit your template, and edit, vbhome i believe or FRONT PAGE something like this, then edit the header template in that set.


As for your threads, check your vbulletin options, and scroll to the bottom and look under the FRONT PAGE section.

Should be like the 1st 2 sections there i think.

WHich template do i edit? We have alot of them. I don't recall seeing vbhome either. The header template we're using has the correct code in it which is why i'm confused. The home_header template is being used also so why would that link not be picked up. It almost looks like the correct link is being overridden.

Thanks for your help.

MindTrix 11-21-2003 06:20 PM

Calinguyen -- I dont believe this will work at all with vb3. Check the authors website too see whether he has a vb3 version on there.

ronb-- If you mean what template do you edit for the 1st question, click TEMPLATES on the bottom left of ur screen, then choose modify. From the list of styles choose the one you wish to edit and then scroll down until you see a section titled FRONT PAGE (i believe thats what it is called) This is where all the templates for the portal are.

ronb 11-21-2003 06:32 PM

Quote:

Originally Posted by MindTrix
Calinguyen -- I dont believe this will work at all with vb3. Check the authors website too see whether he has a vb3 version on there.

ronb-- If you mean what template do you edit for the 1st question, click TEMPLATES on the bottom left of ur screen, then choose modify. From the list of styles choose the one you wish to edit and then scroll down until you see a section titled FRONT PAGE (i believe thats what it is called) This is where all the templates for the portal are.

I don't see a front page template. We have a category called forum home templates. Is that the same thing?

MindTrix 11-21-2003 06:35 PM

Nope its a couple under that, i dont have the portal installed myself thats why im un-sure of the correct name. Its something like HOME PAGE or FRONT PAGE something like this.

ronb 11-21-2003 06:38 PM

Quote:

Originally Posted by MindTrix
Nope its a couple under that, i dont have the portal installed myself thats why im un-sure of the correct name. Its something like HOME PAGE or FRONT PAGE something like this.


I'm looking under the group of templates we use which we call tren_z_expanded and i see nothing like that within that category. Ours must be called something else. Damn

ronb 11-21-2003 06:39 PM

we have alot of templates that begin with home_xxx. That's all i see

MindTrix 11-21-2003 06:39 PM

How about take a screenshot?

ronb 11-21-2003 06:47 PM

Quote:

Originally Posted by MindTrix
How about take a screenshot?

I'll try but i don't have a photo editor here at work.

ronb 11-21-2003 06:49 PM

Here's a copy/paste version:

Custom templates
birthday_greeting_email [edit] [remove]
birthday_greeting_pm [edit] [remove]
birthday_greeting_thread [edit] [remove]
forumdisplay_sponsoredby [edit] [remove]
forumhome_dropdownbit [edit] [remove]
forumhome_forumbit_level1_nopost_sponsor [edit] [remove]
forumhome_todayloggedinuser [edit] [remove]
forumhome_todayloggedinusers [edit] [remove]
showthread_replybox [edit] [remove]
staffmessage [edit] [remove]
Default templates
activateform [change original]
activate_requestemail [change original]
aim [change original]
aimmessage [change original]
announcebit [change original]
announcement [change original]
avatar [change original]
avatarbit [change original]
avatars [change original]
bbcode [change original]
Calendar Templates [expand]
coppaform [change original]
editpoll [change original]
editpost [change original]
editpost_attachment [change original]
Email Subject Templates [expand]
Email Templates [expand]
Error Message Templates [expand]
FAQ Templates [expand]
footer [edit] [revert to original] [view original]
Forum Display Templates [expand]
Forum Home Page Templates [expand]
forumjump [change original]
forumjumpbit [change original]
forumrules [change original]
User Info Display Templates [expand]
gobutton [change original]
header [edit] [revert to original] [view original]
headinclude [edit] [revert to original] [view original]
head_newpm [change original]
home [change original]
home_advertisement [change original]
home_articlebit [change original]
home_articlecomment [change original]
home_articlelink [change original]
home_articlenocomment [change original]
home_avatar [change original]
home_backend [change original]
home_backendbit [change original]
home_backendforumbit [change original]
home_error [change original]
home_footer [edit] [revert to original] [view original]
home_header [edit] [revert to original] [view original]
home_headinclude [change original]
home_headlinebit [change original]
home_headlineheader [change original]
home_links [change original]
home_loggedinuser [change original]
home_loggedinusers [change original]
home_newpm [change original]
home_newposts [change original]
home_newthreads [change original]
home_nopermissionloggedin [change original]
home_nopermissionloggedout [change original]
home_pmloggedin [change original]
home_pollcomment [change original]
home_polloption [change original]
home_polloptions [change original]
home_polloption_multiple [change original]
home_pollresult [change original]
home_pollresults [change original]
home_pollresults_closed [change original]
home_pollresults_voted [change original]
home_pollreview [change original]
home_printarticle [change original]
home_printarticlebit [change original]
home_quicklinks [change original]
home_search [change original]
home_statistics [change original]
home_threadbit [change original]
home_threadheader [change original]
home_userloggedin [change original]
home_userloggedout [change original]
home_usernameloggedin [change original]
home_usernameloggedout [change original]
home_welcomeguest [change original]
home_welcomeuser [change original]
icq [change original]
listbit [change original]
listedit [change original]
lostpw [change original]
mailform [change original]
Member List Templates [expand]
User Option Templates [expand]
navbar [change original]
nav_joiner [change original]
nav_linkoff [change original]
nav_linkon [change original]
New Posting Templates [expand]
Page Navigation Templates [expand]
phpinclude [change original]
Polling Templates [expand]
Postbit Templates [expand]
posticonbit [change original]
posticons [change original]
printthread [change original]
printthreadbit [change original]
Private Messaging Templates [expand]
quotereply [change original]
Redirection Message Templates [expand]
Registration Templates [expand]
reportbadpost [change original]
Search Templates [expand]
sendtofriend [change original]
Show Groups Templates [expand]
showpost [change original]
Show Thread Templates [expand]
signupadult [change original]
signupcoppa [change original]
signupverify [change original]
smiliebit [change original]
smilies [change original]
standarderror [change original]
standardredirect [change original]
Subscribed Thread Templates [expand]
threadreview [change original]
threadreviewbit [change original]
threadreviewbit_ignore [change original]
Thread Management Templates [expand]
timezone [change original]
User Control Panel Templates [expand]
username_loggedin [change original]
username_loggedout [change original]
vB Code Templates [expand]
whoposted [change original]
whopostedbit [change original]
Who's Online Templates [expand]
yahoo [change original]

MindTrix 11-21-2003 07:01 PM

yup its all the ones begginin with home. Usualy they have their own little section in the templates where they are all grouped. Dont know why yours arent.

ronb 11-21-2003 07:04 PM

Right now we're using the home_header which has the right link in it. Here's the code in the template for the chat room that appears at the top of the page:

<TD WIDTH=77 HEIGHT=22 align="left" valign="top"><a href="chat.php3?s=$session[sessionhash]"><IMG SRC="forum/tren_z/tren_z_header_chat.gif" WIDTH=77 HEIGHT=22 ALT="" border="0"></a></TD>

this is correct because this is the same code we have for the main page for the chat room and that works. Weird huh

MindTrix 11-21-2003 07:08 PM

very very very weird :p Blah thats why i hate portals :) Shame, cause TECK the author of this portal isnt around much nowdays :(

Try reading the errrrrrm 232 :p pages on this thread see if anyone else had the same problem. Or use the search thread option on the top right of this page.

ronb 11-21-2003 07:09 PM

Quote:

Originally Posted by MindTrix
very very very weird :p Blah thats why i hate portals :) Shame, cause TECK the author of this portal isnt around much nowdays :(

Try reading the errrrrrm 232 :p pages on this thread see if anyone else had the same problem. Or use the search thread option on the top right of this page.

Did that already that's why i'm at the end here. This is really annoying.

Thanks again

MindTrix 11-21-2003 07:14 PM

Sorry i couldnt help :(

ronb 11-21-2003 07:15 PM

No problem. I thank you for trying

MindTrix 11-21-2003 11:37 PM

Your best bet is too ask here mate

https://vborg.vbsupport.ru/forumdisplay.php?f=30

atomic fireball 11-22-2003 12:40 AM

Quote:

Originally Posted by ronb
Right now we're using the home_header which has the right link in it. Here's the code in the template for the chat room that appears at the top of the page:

<TD WIDTH=77 HEIGHT=22 align="left" valign="top"><a href="chat.php3?s=$session[sessionhash]"><IMG SRC="forum/tren_z/tren_z_header_chat.gif" WIDTH=77 HEIGHT=22 ALT="" border="0"></a></TD>

this is correct because this is the same code we have for the main page for the chat room and that works. Weird huh

No, don't use the same code. See, your home page should be on TOP of your forums, thus the exact same header links won't work. For example, your home page is at the root directory for your domain. www.yourdomain.com. Where as your forum is something like www.yourdomain.com/forum.

You'll need to customize the home_header to include the proper links to HOME, not your forum. They will be different.

It might be easiest to do this:
If you haven't done so already, make sure you have a replacement in the Home Page grouping where: {imageshome} is replaced by /forum/images

Then, any proper image link in your home_header template will look like this:

"{imageshome}/icon.gif"

By creating a proper replacement, which includes the addition of "/forum" your iamges should appear in the correct path.

The key thing to remember is that header and home_header will be different paths, since this portal is not in the same directory as your forum.

Hope this helps.

Ryangel 11-22-2003 01:41 PM

Think i must have lost touch with php. I cant seem to figure out why the article does not pull the content from the thread and display it.

Check out this link to see what i mean.

http://sgstudents.com/index3.php

hmm. *ponders*... *blankly*


All times are GMT. The time now is 06:48 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.04706 seconds
  • Memory Usage 1,864KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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