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)

CarlosC 08-24-2002 10:55 PM

You got it men.. thanks!! :) :cool:

Aaow AnD wHiTe 08-24-2002 11:10 PM

Quote:

Originally posted by NTLDR


After a *bit* of testing it seems like it will take the newest thread with a poll from any forum, even if there are new threads which *don't* contain a poll.

Should this not be the case (after more stringent tresting) let me know ;)

I only see the "Vote" button, no poll :(

drives fast 08-25-2002 03:25 AM

Here's one of those "things that makes you go hmmmm"

Okay......the installer for vbindex adds the templates to every template set (if you have more than one) which is good if you have multiple sets for your members to select. I however, have other sets used for things like files pages and the like that are non-selectable (just using the forumdisplay template) so I didn't want these new templates added to those other sets.

The reason I am looking at this is because I installed this on my test forum to get it all ready for implementing on my active forum. I decided that I wanted to update the installer to include some custom templates I made so it would just install them too initally which isn't necessary but I wanted to make it a quick install because my forum is very busy and this would be more painless.

anyway.....while attempting to pull the code from the sql dump to add to the install script (since I don't quite understand the formatting of the data being inserted) I was having trouble with finding the same templates 4 times (multiple styles) and getting the ones I edited.

so...I decide to make copies of the templates I edited then uninstall vbindex. I edited the vbi_template_install.php to make it a remover and it removed all the vbindex templates fine.......then I proceeded to download copies of the other styles (now without the vbindex templates added) then I re-installed the vbindex (after droping the canviewvbindex table)

Okay....everything is installed correctly and now once again, all my template sets contain the vbindex templates too..........I now upload the downloaded style files and overwrite the ones that are present.

Here's the wierd part (sorry this is so long) but whuh?!...the vbindex templates are back in the template sets that weren't in the style files I downloaded

I even went so far as to search the .style files for the vbindex templates and they aren't in there but even though I overwrite the current styles....the vbindex templates are still there

I even went so far as to delete one style and then upload the downloaded style file as a new style and those darn templates are in there when I am done

any idea why it is adding in the vbindex templates to the new styles and why they remain if I overwrite a style with a style that does not contain those templates?

color me stupid but this one has got me scratching the ole noodle pretty hard

camikazi2k 08-25-2002 03:52 AM

Quote:

Originally posted by NTLDR


You *need* to follow the hack instructions, you either haven't installed the home_new and/or home_newsbit template or you haven't set the correct forum id in the vbindex.php file.

I followed the instruction
but it doesnt say anything of what you talking about
the home_newbit template there is nothing i did the auto installation and the regular one

camikazi2k 08-25-2002 04:19 AM

ok ok got most of the things to work, but now again
http://216.147.92.68/vbindex.php
the poll doesnt show anything, and how can i add a button at the top to go the FORUMS.?

drives fast 08-25-2002 06:11 AM

you have to change everything in the home_poll template with the new home_poll template included in the zip file...it is in a dir called "updated templates" when you unzip it all.....that will fix the poll problem.

to add links in the main left link area you just add the html code to the home_logout template if you only want loggedin members to see the link and home_login template if you want logged out (guests) to see the link

inetd 08-25-2002 08:57 AM

if i not logged in, in poll i see:
Quote:

"Vote!" button and Results
How fix it?

irn-bru 08-25-2002 11:05 AM

thanx for the hack bud.

NTLDR 08-25-2002 04:20 PM

******** If you are having problems with the poll, you need to replace the home_poll template ********

NTLDR 08-25-2002 04:25 PM

Quote:

Originally posted by drives fast
so...I decide to make copies of the templates I edited then uninstall vbindex. I edited the vbi_template_install.php to make it a remover and it removed all the vbindex templates fine.......then I proceeded to download copies of the other styles (now without the vbindex templates added) then I re-installed the vbindex (after droping the canviewvbindex table)
Templates in the default template set appear in all template sets, if you add a test template set you will see that it has all the default templates that the other sets have.


All times are GMT. The time now is 02:23 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.01587 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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