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.


All times are GMT. The time now is 09:06 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.02753 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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