![]() |
the result:
Code:
Page generated in 1.0316380262375 seconds with 40 queries, |
This sucks :( I got the news showing up:
$newsforum=3 I posted a thread in Forum #5 and it shows up?!? I posted a thread in Forum #1 and set $newsforum to 1 and nothing shows up?!? |
FlyingDutchman, perhaps something wrong with the forumpermissions? if forum #1 doesnt work.. just use a forum which works.. if theres no other solution...
JoeHarrison, thanks.. yap a little typo. ahm.. perhaps i'll release version 1.4 with some fixes. |
Ok...I followed the instructions, and I have an error on line 403, which just HAPPENS to be "?>" without the quotes of course.
Anyway...I don;t see how this could work since I am renaming the index file of vb...so when ever going to the root, you will be goiong to the portal. That seems...odd. never the less, I would really like to get something running like this. I guess I am jut brain dead or something. Any help would be apreciated. |
I am currently out of the office and will return on Tuesday, May 7th.
Frank |
I finnaly got it to work... I just did a plain install of Vb and VbIndex and now it works great!
anyway, can anyone help me please with this: I want: To show up the left-menu on the forums page What I did: I put this line: PHP Code:
I thought that it would show up now when I would include $left somewhere in the header... but it doesn't?!? what am I doing wrong? (did I edit the wrong file or something?!?) thanks in advance for your help, |
Quote:
|
Quote:
|
element, you have 57queries on your page. that means your server on the red line. everything over 40 is bad.
|
another 57 on me :)
|
Quote:
you get 106 queries without any problems. the server is located in the us. so you should have the faster connection then i have :). |
this is incredible... i hope you know that your server is exploding only with 20-30users... at 108queries.
if i would be you, i would reduce those queries. if your site is getting busy, i guarantee you that your current host will cancel your account. you could fry their server every day at this rate. just a friendly advice. just for fun, what is the server load you get in average? 5, 6, 7? what value? i'm curious... let me know please. |
ehm.. about 3.5!
well.. i know nakkid.. thanks for your advice :). the point is.. that i dont expect that the site is getting busy :). hmm.. i dont think my host would cancel my account.. first he would kill me ;). no i hope not :D. well i get this server for free.. and i'm very happy with it.. even if its not the fastest i could get :). |
Quote:
I don't know where to go else to get some help? :( |
ehm.. flyingdutchman..
$templateused list.. just reads the templates in a cache memory. the home_left is already loaded in the original vbindex file. you just have to put the $left where ever you want in the 'home' template. (sorry for my english.. i just don't know to translate this correctly :() hope this helped you. if not... just ask :). |
Quote:
|
Quote:
Quote:
|
I found it out... It needs to be in global.php instead of index.php :)
now it works... :D thx anyway for your help guys... |
it's working well, except I don't know where to put the other variables and vb code... like this:
PHP Code:
I'll try to find some code in index.php where I can just insert some lines of this code... I think that should work, but I don't like searching :( |
i did everything per instruction but i get a blank screen. my forums is installed in root and so is the new index.php and the old was renamed to home.php. home.php works just fine. is it the templates not showing up?
|
thanks! This hack looks good I'll install it this weekend
|
this is what shows up when i view source
<!-- BEGIN TEMPLATE: home --> <!-- END TEMPLATE: home --> |
Quote:
|
Ok, I get a completely blank screen.
?? |
you get a blank screen cos unlike vBHome this hack only works in your forums directory and not the root directory...
|
Quote:
|
Quote:
This will work in another directory other than your forums dir, if you use the chdir command: PHP Code:
PHP Code:
|
i did try that b4, but it didn't work thats why i'm using vBHome :rolleyes:
|
This hack sounds awesome! Easy installation, great options, I WILL DEFINITELY install this hack! Thanks El3m3nt!
|
Thanks works great on 2.2.5
The only thing: I will remove the Notpad Link on the main page, but I could not find it. |
Quote:
|
Quote:
|
home_logout is the right template ;)
|
Quote:
|
hehe Ordovicium.. nice sig ;)
von mir aus k?nnen wir schon deutsch sprechen auf vb.org.. sofern niemand was dagegen hat? :) |
Quote:
let's all speak our own language! w00t, this place will get messy! :p :bunny: |
adding chdir above required didn't work so I moved everything back inside the forums dir. now this is what appears when i view source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD> <BODY></BODY></HTML> |
i am completly lost here
can someone please give me a hand? PHP Code:
|
Which part(s), are you stuck with?
In the file, the term "new index.php" refers to the file called index.php in the vbindex zip. Basicly you need to copy some code from your forums/index.php file into the php file that came with vBindex. (Due to copyright reasons, which is why it hasn't already been done.) |
i dont know what code to copey
"Open the original vBulletin index.php and look for.. $activeusers = ""; $loggedinusers = ""; till $recordusers = $maxusers[0]; $recorddate = vbdate($dateformat,$maxusers[1]); $recordtime = vbdate($timeformat,$maxusers[1]); eval("\$loggedinusers = \"".gettemplate('forumhome_loggedinusers')."\"; "); [Line 138-211]" this confuses me |
All times are GMT. The time now is 10:51 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:
|