![]() |
Do what kreft said above and all will work well ;)
|
Thanks Kreftt
But I did what you said and all I get is a blank white page. I have tried every possibility but it still doesn?t work. I put this in the vbindex code chdir('./vb'); renamed it to index.php Moved the vbindex out of the vb directory and all I get is a blank page, no error just a blank white page at www.jmdsforum.com Right now I have a redirect page set up. www.jmdsforum.com My portal page is at http://www.jmdsforum.com/vb/ My forum is at http://www.jmdsforum.com/vb/index.php?s= I?m totally puzzled by this and so if a friend of mine who knows his stuff. I would love to get rid of the redirect page so any ideas would be great. Thanks Joe |
There is no reason it shouldn't work if you have followed the instructions. You may wish to use the full path instead of just ./vb in the chdir(); statement.
|
I deleated this post, I think I figured the problem out
I |
Ok Its all figured out and running great.
I have a request of sorts. Im posting news stories on my portal page but would also like to be able to put forum announcements up there and sticky them so they stay at the top and all following news stories continue to post underneath them in the same fashion they do now. I have tried to sticky a post to see if it works but the sticky feature wont work on the portal page it just gets moved down the page like all the other posts. If there is a hack for this already could someone post it here with instructions, if not is it possible for someone to come up with this hack, I think it would be very usefull. Thanks in advance Joe PS This is a great portal you designed. :classic: |
The only easy way I can see right now is to duplicate the entire news block (and add 1 query) to get the stickys and then get the news.
Copy the news block of code and paste above the existing news code and change in the new block: PHP Code:
PHP Code:
|
Thanks NTLDR
I did what you said but I get this error Parse error: parse error in /home/sites/site90/web/vb/vbindex.php on line 210 |
Whats on line 210?
|
//$newstext=str_replace("<br />","",$newstext);
|
If you have copied the code correctly then the line above should be commented out with // too. Make sure you copied the whole block from // news to // end news it shouldn't give any Parse Errors.
|
Ok I didn't cut and past it right like you said LOL
But it shows like a sticky in the forum and the next post I make goes under the sticky in the forum, however on the portal it pushes the sticky post under the new post. Its not that important NTLDR I just was curios if it could be done. You have done enough work on this portal already you don't need any added work LOL Thanks anyway Cheers |
I cant get this to work. i have done exactly whats needed regarding to the text file, i have used the install file also but theres one error and i dont know what to put in the sql table...
Code:
Invalid SQL: SELECT u.username, u.userid, s.shoutid, s.shout_text FROM user u, shoutbox s WHERE u.userid = s.userid ORDER BY s.timestamp DESC LIMIT 10 |
You haven't followed the instructions. You need to either turn the shoutbox off in the ACP or install the shoutbox hack.
|
ok then i missed that part but i cant seem to find the info actually saying just what u said in the post install txt file...?!?
|
Quote:
No wonder so many people end up with broken boards :rolleyes: |
Lmao:D
I think you need to ask Chen to make some sort of button for the Hack Creator, that, like the "Enter your Liscence info" thing, sends them the "Hack Instructions" that you enter;) Satan |
I am having a problem. I upload the vbindex.php and for www.mysite.com/vbindex.php I just get a blank page. Also, i'm not too sure if I edited the vbindex.php correctly. Also my forums is at forums.mysite.com and my homepage is at www.mysite.com do I upload the vbindex.php and just rename it index.php for my homepage?
|
Check that tne home_ templates exisit in your syle and that you have uncommented the following:
PHP Code:
|
It works if i put it in my forums.site.com but if I put it in my www.site.com I get a blank page. for line 26 and 27 of the vbindex.php I have this:
PHP Code:
|
You need to remove the two // before the chdir statement as its being ignored at the moment.
|
Getting rid of the 2 lines did the trick, thanks a lot. :D
|
No problem, glad the hacks working for you :)
|
I have a question sine it is on my homepage url now, how do I change the images url to go into into the board's image folder?
|
Yes, the images folder you be the full URL to the images directory. Also there are a few templates listed in the post-install.txt file that need to have $bburl added in the links to make them work correctly :)
|
Ok thankyou very much.
|
Sorry for being a pain but I noticed something else. On my board it says 2 members, 3 guests and 5 total are online but on the homepage it says 0
|
You need to make sure you have copied the correct code from forum/index.php into vbindex.php.
|
What code do I look for in index.php and vbindex.php?
|
Quote:
|
Thanks it worked. Sorry I'm not too smart when it comes to this stuff.
|
Thats exactly what you need to do :)
|
I just upgraded to2.2.9 RC and now my vbindex templates are gone, do I just upload the vbi_install.php and do a new installation?
|
Use the link to re-install the templates in vbi_install.php
|
Ok thanksyou, I know this may be too soon to aks, but willl that be all I will have to to dowhen vB3 comes out and I upgrade? Besides re editing some of the php files?
|
I see no reason why vBindex wouldn't work with vB3, but without seeing the code I can't be 100% sure. I expect there will be some small changes and that I will posible release vBindex v3.0 then. However as I won't be using vB3 and the main other site that uses it may not be either I can't guarentee that I will if the changes that are needed are too big.
|
hey buddy... i see you're running an alpha of 2.2 on your site. not that i'm planning on upgrading again after all this work, but out of curiosity, what types of changes/additions have you made?
|
There are not mant changes yet, but vBindex is being re-written 100% now. The news code has totaly changed and the templates are being re-worked too which is going top be part of a full portal system which I am writing for TS3. I may however to a cutdown version of it for vBindex.
If v2.2 is released I may/maynot used the compleate new code, but I hope to add the vBcode fix for the news posts and correct the permissions once and for all :) |
Very cool, looking forward to it. :D
|
It sounds excellent, and when my board is up, I will install it :)
|
Hoi
I get the following fault whenever I activate the Shoutbox: Database error in vBulletin 2.2.7: Invalid SQL: SELECT u.username, u.userid, s.shoutid, s.shout_text FROM user u, shoutbox s WHERE u.userid = s.userid ORDER BY s.timestamp DESC LIMIT 5 mysql error: Table 'simsforum.shoutbox' doesn't exist mysql error number: 1146 What else can I do? Vbindex otherwise runs absolutely perfectly. I have carried out an installation about the vbi_install script Yours sincerely Lars |
All times are GMT. The time now is 08:13 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:
|