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)
-   -   vBindex v2.1 (https://vborg.vbsupport.ru/showthread.php?t=41916)

NTLDR 11-10-2002 06:26 PM

Do what kreft said above and all will work well ;)

jmd 11-11-2002 03:51 PM

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

NTLDR 11-11-2002 05:57 PM

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.

jmd 11-14-2002 12:39 AM

I deleated this post, I think I figured the problem out

I

jmd 11-14-2002 01:22 PM

Ok It’s all figured out and running great.

I have a request of sorts.

I’m 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 won’t 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:

NTLDR 11-14-2002 01:39 PM

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:

WHERE forumid '$newsforum' ORDER BY thread.dateline DESC LIMIT $newsposts 

To:

PHP Code:

WHERE forumid '$newsforum' AND thread.sticky='1' ORDER BY thread.dateline DESC 

Untested but should work, note you will get the number of news posts defined plus the number of sticky's in that forum.

jmd 11-14-2002 02:06 PM

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

NTLDR 11-14-2002 02:15 PM

Whats on line 210?

jmd 11-14-2002 02:17 PM

//$newstext=str_replace("<br />","",$newstext);

NTLDR 11-14-2002 02:19 PM

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.

jmd 11-14-2002 02:35 PM

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.

It’s 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

anders 11-15-2002 09:22 PM

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
mysql error: Table 'slask.shoutbox' doesn't exist

mysql error number: 1146

i guess i can just make it but whats to be in it ?

NTLDR 11-15-2002 09:34 PM

You haven't followed the instructions. You need to either turn the shoutbox off in the ACP or install the shoutbox hack.

anders 11-15-2002 10:34 PM

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...?!?

NTLDR 11-16-2002 06:39 PM

Quote:

Originally posted by NTLDR
  • [HIGH]*NEW*[/HIGH] Fully integrated Shoutbox (this hack is a prerequsit);

[HIGH]Installation/Upgrade[/HIGH]

Upload vbi_install.php and select the relevent options.
If you wish to use the shoutbox then this hack is a prerequsit, and needs to be installed first, however if you do not require the shoutbox option disable it in the ACP, otherwise you will get DB errors.
Twice on the first post in this thread. Please read the info avalible before installing hacks.

No wonder so many people end up with broken boards :rolleyes:

Chris M 11-16-2002 06:42 PM

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

Tony DiMera 11-17-2002 03:15 AM

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?

NTLDR 11-17-2002 03:47 PM

Check that tne home_ templates exisit in your syle and that you have uncommented the following:

PHP Code:

chdir('/path/tp/forums'); 

Making sure you either put the FULL path to your forums directory (where global.php is) or the path relitive from your vbindex.php file, it would be something like: ./forums or ./forums.mysite.com or ../../forums.mysite.com, it depends on the host.

Tony DiMera 11-17-2002 06:39 PM

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:

//chdir('/home/virtual/site11/fst/var/www/html/forums.mysite.com/');
require('global.php'); 


NTLDR 11-17-2002 06:45 PM

You need to remove the two // before the chdir statement as its being ignored at the moment.

Tony DiMera 11-17-2002 06:53 PM

Getting rid of the 2 lines did the trick, thanks a lot. :D

NTLDR 11-17-2002 07:00 PM

No problem, glad the hacks working for you :)

Tony DiMera 11-17-2002 07:02 PM

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?

NTLDR 11-17-2002 07:24 PM

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 :)

Tony DiMera 11-17-2002 08:03 PM

Ok thankyou very much.

Tony DiMera 11-17-2002 08:45 PM

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

NTLDR 11-17-2002 09:29 PM

You need to make sure you have copied the correct code from forum/index.php into vbindex.php.

Tony DiMera 11-17-2002 09:41 PM

What code do I look for in index.php and vbindex.php?

Kohhal 11-18-2002 09:51 AM

Quote:

Originally posted by Tony DiMera
What code do I look for in index.php and vbindex.php?
It's in the install instructions, it tells you the line numbers and everything.

Tony DiMera 11-18-2002 08:35 PM

Thanks it worked. Sorry I'm not too smart when it comes to this stuff.

NTLDR 11-18-2002 08:41 PM

Thats exactly what you need to do :)

Tony DiMera 11-18-2002 11:33 PM

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?

NTLDR 11-18-2002 11:38 PM

Use the link to re-install the templates in vbi_install.php

Tony DiMera 11-18-2002 11:45 PM

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?

NTLDR 11-19-2002 05:07 PM

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.

Buddha 11-21-2002 09:21 PM

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?

NTLDR 11-21-2002 09:57 PM

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 :)

Alchemyst 11-21-2002 10:11 PM

Very cool, looking forward to it. :D

desmondw 11-22-2002 02:15 AM

It sounds excellent, and when my board is up, I will install it :)

reifegerste 11-22-2002 01:00 PM

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
  • Page Generation 0.02711 seconds
  • Memory Usage 1,821KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (2)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