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 08-05-2002 07:24 PM

Quote:

Originally posted by muadist
This is great! Thanks alot.

One question... I dont see the welcome panel. I assume I have to install this on my own right?

The welcome panel should be there when you have installed this hack, check to see if you have <!-- welcome panel --> in your home template, if not you don't have the v2 templates.

jbear6 08-05-2002 07:53 PM

Thanks for all the time you spent on this, I think you did a fantastic job. I do have one question: "Is there a simple way to make every link on the vbindex.php page open a new window when clicked on, without adding "target="_blank" to every link"? If this can be done easily, would it be possible to have the new window open at a set size, perhaps 700 x 600?

Thanks,
Jbear6

NTLDR 08-05-2002 08:25 PM

Quote:

Originally posted by jbear6
I do have one question: "Is there a simple way to make every link on the vbindex.php page open a new window when clicked on, without adding "target="_blank" to every link"?
Just add:
Code:

<base target="_blank">
at the end of your home_headinclude template, then all links will open in a new window unless a specific target is specified in the href.

You need to use some sort of javacript for setting the size of the browser, although i would advise against this and let users decide the size of there browser.

countryboy713 08-05-2002 08:50 PM

i think i will need those templates if you can. i upgraded but it didnt upgrade my templates i already had.

thanks

jbear6 08-05-2002 08:51 PM

That worked just fine :)

Thanks,
Jbear6

NTLDR 08-05-2002 09:01 PM

Quote:

Originally posted by countryboy713
i think i will need those templates if you can. i upgraded but it didnt upgrade my templates i already had.
If you don't have any home templates you wish to delete you can run the vbiv1upgrade_install.php if you haven't made the DB change, if you have then you can run vbitemplates_install.php.

If you wish to do it manually then I have attached the zip here, note you need to change vbidemo to home in the names of them.

iAlex 08-05-2002 09:26 PM

Question... I use vbindex just to include the poll on my mainpage, I don't need the rest of the features. And I would like to make the poll question a link to the thread it was posted in but I can't seem to figure out how. Any ideas?

NTLDR 08-05-2002 09:44 PM

Quote:

Originally posted by iAlex
Question... I use vbindex just to include the poll on my mainpage, I don't need the rest of the features. And I would like to make the poll question a link to the thread it was posted in but I can't seem to figure out how. Any ideas?
Firstly this is a very bad idea as it will add 15-20 queries to you page that are compleatly useless.

In answer to you question you need to your question you need to change:
PHP Code:

$pollinfo[question

To:
PHP Code:

<a href="$bburl/showthread.php?s=$session[sessionhash]&threadid=$pollinfo[threadid]">$pollinfo[question]</a


Tim Wheatley 08-05-2002 09:47 PM

Thanks for the fix to my problem! :up:
https://vborg.vbsupport.ru/showthrea...249#post281249

FleaBag 08-05-2002 10:59 PM

One word - sweet! :D


All times are GMT. The time now is 02:38 AM.

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.02077 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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