![]() |
Quote:
I feel so stupid! thanks |
Dont worry about it ;) Have fun
|
Quote:
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 |
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? |
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? |
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.. |
Quote:
|
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.
|
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 |
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! |
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. |
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. |
Quote:
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. |
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.
|
Quote:
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. |
Quote:
I am so damn confused! |
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. |
Quote:
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. |
how can I get my vbskin ro show up on my vbhome?
|
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 |
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. |
Is this work for vb3 beta 7? Thanks
|
Quote:
Thanks for your help. |
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. |
Quote:
|
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.
|
Quote:
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 |
we have alot of templates that begin with home_xxx. That's all i see
|
How about take a screenshot?
|
Quote:
|
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] |
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.
|
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 |
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. |
Quote:
Thanks again |
Sorry i couldnt help :(
|
No problem. I thank you for trying
|
|
Quote:
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. |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|