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)

Mr_P 08-10-2002 03:28 PM

yeah have to agree with you Carlos if someone can tinker with code and keep menu to left with same options etc and sort board out then they onto a winner

NTLDR 08-10-2002 05:04 PM

Quote:

Originally posted by DWZ
And that was set as the default, i.e. it hadn't been changed, which makes me think there is something wrong with the installer?
Thanks for letting me know DWZ, I'll update the installer.

Quote:

Thanks for the login and poll code, both work great :) I hope this isn't too much to ask, but would it be possible to do the same thing with logout? So if they hit the logout link on the vbindex page, it takes then back there. If it's too much trouble, don't worry about it :)
What happens when users logout currently? Are they automaticly redircted or do they have to click to get to the forums index?

Quote:

Next thing, just a general comment, with the installer, it would be nice if you got a warning message before you install it.
For the next release I will try and make an all-in-one installer that will perform fresh installs and upgrades and give warning prior to making changes.

Quote:

The last thing I can think off, when a person is logged out or not registered, it shows the poll with the options, and when the select one it gives the "no permission" error. It would be cool if you could make it so if they were logged out or not registered, it would just display the results of the poll as if they had already voted in it, you know what I mean?
See PM with updated attachment ;)

This will redirect all users who vote on the poll on the home page that have $bbuserinfo['userid'] set to 0, ie guests and users not logged in will be redirected to the results of the poll when they vote. Just overwrite your existing vbipoll.php with this one and replace" VBINDEX FILE NAME" with the name of the file before the .php :)

NTLDR 08-10-2002 05:06 PM

Quote:

Originally posted by CarlosC
The Hack is running perfectly in my web site...
But I really want to make the board look in the same way in all the sections... For example the forumdisplay, search, shothread, everything... with the same exactly look (menu in the left and right and the welcome message in the top) the only thing that changes is the information in the middle. Instead of showing the news, I want to place the threads or the FAQ or the search template, etc...

As requested by Mr_P I will be looking into doing this in a future version ;)

Its just a case of of adding the statment to eval the template in the relevent php files and editing the templates.

NTLDR 08-10-2002 05:08 PM

Quote:

Originally posted by hankster
I am playing with vBindex. I ran the installer and then looked for the templates. I see I have a vBindex Templates within each of my other Templates. Is this the way it is suppose to be? If so, which one do I change to actually get the vBindex page to change?
If you have complated the installation you should have a set of templates called vBindex Templates which have a number of home and home_ templates within it, these are the templates that need to be edited.

Quote:

Also, it is taking a loooong time to display the vbindex.php page, something like 15 seconds. The server is not over loaded as the load is less then one. Not sure why it is taking so long. Once it displays everything looks fine.
I guess the server can't handle the number of queries for the page or that you have a slow connection.

ipscone 08-10-2002 06:40 PM

Before I try this (vBIndex), I'd like to know if it is possible to uninstall, with ease.

What is changed, in my original, vBulletin forums, by running the vbi_install.php script?

Thanks,

NTLDR 08-10-2002 07:06 PM

Quote:

Originally posted by ipscone
Before I try this (vBIndex), I'd like to know if it is possible to uninstall, with ease.

What is changed, in my original, vBulletin forums, by running the vbi_install.php script?

Only two things are changed, a field is added to the usergroup table for usergroup permissions and the templates are also automatically installed into your templates table.

In order to uninstall it requires you to run two sql statements to undo the changeds made by vbi_install.php

ipscone 08-10-2002 07:10 PM

I probably won't have to uninstall it :D but just in case I do, where do I find those two SQL statements?

Thanks,

NTLDR 08-10-2002 07:24 PM

Quote:

Originally posted by ipscone
I probably won't have to uninstall it :D but just in case I do, where do I find those two SQL statements?
The first one is:

Code:

DELETE from template WHERE title like 'home%'
This will delete *all* templates starting home, the second is:

Code:

ALTER TABLE usergroup DROP canviewvbindex
This will remove the permissions field from the usergroup table.

An uninstaller will be included in the next version to do this ;)

ipscone 08-10-2002 07:41 PM

Ok, it seemed to install ok. It can be seen at: vBIndex on my forums

Now a question. When a person goes to a forum, what is the proper way to get back to this index? Should the HOME button get you back to the index?

I guess I can make it whatever I like but I was looking for the proper way.

Also, I notice that when I LOG IN or LOG OUT, I'm taken to my forums rather than the index.

Have I missed something?

Or, should I be renaming vbindex.php to index.php?

NTLDR 08-10-2002 08:01 PM

[QUOTE]Originally posted by ipscone
Quote:

Now a question. When a person goes to a forum, what is the proper way to get back to this index? Should the HOME button get you back to the index?
I personally have two buttons at the top, home (vBindex) and forums

Quote:

Also, I notice that when I LOG IN or LOG OUT, I'm taken to my forums rather than the index.
This is where vBulletin logs you into by default, check the last page with the details I gave DWZ on how to correct this and I will PM you the file you need as I can't post it here.


All times are GMT. The time now is 06: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.04771 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (11)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