![]() |
]Damn TECK... long time I have been here... I still remember my beta tests of first releases of vbHome! was about 130 queries or so... Hehe ;) I know u still remember it :)
Just wanted to say that this hack is still number one for me at whole vBulletin.org! Thanx for everything you gave to this forum and its users... and our friendship. I will not talk about all these releases of vbHome with better code with less queries every time and support that u gave to users. Just enough to look at post number one in this thread to understand how much work u put in this hack... Man, you simply rock! :D Peoples like you ... ah... U're just the best! :) Best Greets wooolF[RM] |
Well said, Woolf.
|
I don't know if this came up before because I can't read all 107 posts.
Setup went well, easy as pie, but this error comes up when I try to access the page: Database error in vBulletin 2.2.6: Invalid SQL: SELECT COUNT(*) AS threads, SUM(IF(forumid<>, 1, 0)) AS threads, SUM(IF(forumid=, 1, 0)) AS headlines FROM thread WHERE lastpost>1035159939 mysql error: You have an error in your SQL syntax near ' 1, 0)) AS threads, SUM(IF(forumid=, 1, 0)) AS headlines FROM thread WHERE l' at line 2 mysql error number: 1064 Date: Sunday 20th of October 2002 11:10:59 PM Script: http://www.mysite.com/forum/forum/index.php Referer: |
Nevermind. It works now :)
Thansk for a great hack! I love it! And I know my members will too. Cheers. |
Anitah, if you installed my script... can you tell me why you didn't click the Install button?
Just curious. |
Oh, I didn't realize.
|
TECK, I'm glad you're around. Hopefully you can help me out.
I first installed this on a test board. Had a little problem, as you can see by my previous post. Resolved the problem simply by rewriting the path and uploading the index.php once again. But now installing on my regular board brings another error: There seems to have been a slight problem with the THE PLACE database. Please try again by pressing the refresh button in your browser. This doesn't tell me much. I suspect the problem might be with my path. Here's what I did in the index.php file: chdir('/home/mysite/public_html/forum'); Uploaded index.php to my public_html directory. Presumably www.mysite.com/index.php should bring it up, right? I have no idea because I'm very dumb about these things. |
Dear Readers,
first of all I want to thank Teck a lot for this awesome Hack. The potential of it nearly seems unlimited, and I got lots of ideas how to design and tweak it, but I got some serious problems with the install, as I'm morely some Web Designer than a Hacker, and my Knowlegde of DB and Server Structure isn't that good. I ask you for your help and apologize for any Inconveniance I make to you: Some general Things: vB Home Lite url is http://gslallianz.de my Forums are at the sub-Domain http://foren.gslallianz.de (if you want, take a look at them, they're about 1 Months old ) Here is what I did during Installation Process: Step 1: I made a copy of http://foren.gslallianz.de/admin/template.php and added PHP Code:
Step 2: Made a copy of http://foren.gslallianz.de/member.php and replaced the passages as told by you. Step 3: Made a copy of http://foren.gslallianz.de/newthread.php and replaced the passages as told by you. Step 4: Opened vBHL index.php and edited the passage. As I did not know what to fill in there, I copied info.php on the domain and the subdomain, and it told me the following: gslallianz.de: /www/htdocs/thesaint/info.php foren.gslallianz.de: /www/htdocs/cea/info.php I tried out filling in PHP Code:
PHP Code:
Step 6: Changed Imagesfolder to http://foren.gslallianz.de/images and deleted $bburl/ in front of https://vborg.vbsupport.ru/images (no spaces) in the templates bbcode and standarterror Step 7: Edited all Smilies Step 8: Edited the Avatars Step 9: Renamed Moderators to Journalists Step 10: Created the new Forum Step 11: copied index.php to http://gslallianz.de copied printarticle.php and newthread.php to http://gslallianz.de/forum copied template.php to http://gslallianz.de/forum/admin copied the images to http://gslallianz.de/forum/images Then I wanted to coll up http://gslallianz.de/forum/admin/vbhlinstall.php but all I get is blank pages everywhere. I have no Idea how to solve this Problem, so I told you as detailed as I can, what I did, and hope you can help me. I apologize for my english, but as I'm from Germany I got some difficulties to describe these Problems. Sincerely, TheSaint-AeD |
TheSaint-AeD
Remove the http:// from your chdir setting. It should look like this instead PHP Code:
Let me know if that helps. |
Step 4 of the readme first explains how to set the correcr path.
|
Quote:
|
Tried to in stall and get a cgi error
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: can someone help? |
Quote:
|
STEP 4:
Open vbHome (lite) index.php file and change the default server path: chdir('/wwwroot'); to your website full server path, for example: chdir('/home/website/forum'); If you are not sure how to do this, create a file with the content: <?php phpinfo(32); ?> Save it as info.php and upload it onto your /forum folder. When you open info.php in your browser, you will see there a list of environment options set as default by your host. One of them is called: _SERVER["PATH_TRANSLATED"] That's what you are looking for. The path to your folder. All you have to do now is copy that path onto your vbHome (lite) index.php file. |
k, i have read the first 20 pages and the last 20 pages, and didnt see anything like this...
Warning: SAFE MODE Restriction in effect. The script whose uid is 1829 is not allowed to access / owned by uid 0 in /home/hitman2forumcom/index.php on line 12 Warning: Unable to access ./global.php in /home/hitman2forumcom/index.php on line 16 So what's up with that? Is it something my host (shared) has disabled? I did the complete setup until the final step where i should upload the files, i then tried executing the index.php and got the above error!!! *gaasp* |
Hmm, somehow i got the chdir messed up, corrected it but now i get...
Warning: Unable to access ./global.php in /home/hitman2forumcom/vbhlinstall.php on line 3 ....when trying to run the installer.... |
TECK,
I installed vbHome (lite) to evaluate, and I've hit a bit of a bump in the road.... I would greatly appreciate your help in getting this up and running. I read your instructions and I did not have any problems with steps 1-4 (to the best of my knowledge). For Step 5 I did not find the modifyavatar template and I skipped this step. Perhaps vBulletin, which I paid to do the installation, did not include this file?? Step 6 also did not seem consistent with what I was finding, and I skipped this as well. Step 7 I modified a few of the smile paths, and this seemed easy enough. Step 8 I made an avatar image and changed the path to a full path, and this worked ok. In Step 9 I generated a Journalists user group, but did not understand your comment about usergroup IDs. I performed step 10 In step 11... I uploaded the index to: /big/dom/xobesitypolicy/www which I take to be my root dir. I uploaded printarticle.php, but newthread.php was not in the installation I downloaded from you, so I skipped that. template.php was already in my ADMIN dir, and not available for uploading... I had no problem uploading the images... For the final step, running the installer, I uploaded vbhlinstall to my root directory and just got a white screen in the browser... Then when I went to the domain, obesitypolicy.com, I got: Database error in vBulletin 2.2.8: Invalid SQL: SELECT COUNT(*) AS threads, SUM(IF(forumid<>, 1, 0)) AS threads, SUM(IF(forumid=, 1, 0)) AS headlines FROM thread WHERE lastpost>1035299570 mysql error: You have an error in your SQL syntax near ' 1, 0)) AS threads, SUM(IF(forumid=, 1, 0)) AS headlines FROM thread WHERE l' at line 2 mysql error number: 1064 Date: Tuesday 22nd of October 2002 04:57:02 PM Script: http://obesitypolicy.com/vbulletin/ Referer: TECK, Any thoughts would be much appreciated? Can my company pay you to install this properly? My computer skills are pretty marginal. I'm doing this because we're a small organization.... |
Quote:
|
wmabon, i dont need money for this. i will help you. check your pm's
|
Quote:
Warning: Unable to access ./global.php in /home/hitman2forumcom/index.php on line 16 What could be wrong? |
What about the Asianxo.com homepage, was this hack used?
|
phpportals. be aware, the portal have alot of queries.
|
HOw did he put the member stats on the front page, like how many members and users are on?
|
I get this error when I try to login..
Database error in vBulletin 2.2.8: Invalid SQL: SELECT COUNT(*) AS threads, SUM(IF(forumid<>, 1, 0)) AS threads, SUM(IF(forumid=, 1, 0)) AS headlines FROM thread WHERE lastpost>1035340327 mysql error: You have an error in your SQL syntax near ' 1, 0)) AS threads, SUM(IF(forumid=, 1, 0)) AS headlines FROM thread WHERE l' at line 2 mysql error number: 1064 Date: Tuesday 22nd of October 2002 10:47:46 PM Script: http://www.myforumhere.com/forum/index.php |
Forum ID set correctly?
|
will this work in 2.2.1?
|
Quote:
|
Quote:
|
Also, is it possible to have more than one forum set as the articles forum? With vBPortal, I have separate news, features, and reviews forum, all with months worth of content. I'd like to keep those three forums separate, yet still have the latest articles in all three showing on vbHome.
Plus some of my staff (journalists) are also moderators (and are in my site's moderators usergroup). Is it possible to allow mods the same functionality as admins/journalists with respect to articles? Any help is appreciated! |
Quote:
|
Quote:
|
X-Fan- just checked your site, looks like you got it running ok...You need to run the vbhlindex.php to get your articles showing
|
Yeah, got it all sussed out :)
Thanks for the tip about the multiforums add-on. I'll grab that straight away! Is there something similar to allow for multiple usergroups to have the same functionality as journalists, as some of my site's mods are journo's too. |
Okay, another question. Is there a way to add a rotating banner ad script (with tracking of impressions and click-thrus + CT%) to the top of every page on site, like vbPortal does?
|
And still more questions!
I'm a complete HTML dunce. For the life of me, I can't work out how to get a column on the right. Ideally, what I'd like is: * rotatable banner ad up the top * left hand column containing (each in a separate "block") Welcome box, login/logout, private messages (with PM gauge), statistics (total members, total active/inactive, total threads/posts, threads/posts today, visits today), who's online, latest posts, counter * right hand column with (each in a separate "block") sponsor ad, PayPal donations link, search box, more recent news (apart from those already displayed on the page), poll, affiliates * at the top of the center column, a "Welcome to" box Can anyone please help with getting that set-up. I've had a nightmarish week with a site relocation and upgrade that caused a lot of problems. Removing vbPortal seems to have eased the strain a little, but I'm needing the above to get my site's functionality back. I'll be bald by the weekend at the rate I've been pulling my hair out, so I'd really appreciate any help!!!!! |
Regarding the multiforums news hack for vBHome, is there a way that the preview of the article displayed on the front page can retain the same formatting (line breaks etc) as the original article? Currently it all just runs together without any paragraph spacing that may exist in the original article.
|
Quote:
|
If I disable HTML, won't that mean the images I have in the articles will show up as the HTML code instead?
|
no
|
Okay, cool. Thanks for such a great hack, TECK, and for an alternative for those of us not happy with the load vbPortal puts on a server!
Now if I could only get help with setting up a column on the right! |
All times are GMT. The time now is 07:09 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:
|