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)

LightBringer 10-26-2002 12:31 AM

Quote:

Originally posted by Buddha
ok, working on upgrading ntldr, but i'd hoped that you would have more detailed info in the install.txt explaining what was changed in certain files (especially the templates).
do you have that info handy?
which templates need to be changed, and what parts are different. that would be great to know. thanks!

Buddha, look a few posts up from this and you'll see what was changed in the templates.

Quote:

Originally posted by NTLDR
No SQL Changes
There were only a few template edits, you need to change the orrcurances of <normalfont to <smallfont in:

home_postshout;
home_shoutboxbit
home_shoutbox

Only a cosmetic change to make them match the rest of the site
My advice is just upload the vbindex.php file with the code changes that need to be made inside (Adding lines 142-202 of original 2.2.8 root/index.php file) where noted.

Then bring up those 3 templates in the ACP and change the <normalfont occurences to <smallfont.

There's no SQL changes, and the only REAL change done to vbindex.php was the removal of maxloggedinusers and the change in version #'s. :)

Buddha 10-26-2002 12:48 AM

thanks lightbringer... i read the post you're referring too, but i thought that was the only edits to the templates from the RC to the final... i'm upgrading from 2.01... so i know there are more edits than that... an example being the newsbit that adds the "Read more..." feature.
(trust me buddy, i've read each and every post in this massive freakin' thread many times... i don't ask for help unless i'm sure someone hasn't beat me to it.

Buddha 10-26-2002 12:50 AM

by the way, is anyone else having problems with the smilies showing up?
i know it was mentioned earlier to make certain to have the full url of the smilies in the admin cp, but that was for a problem with the shoutbox. i can't get the smilies for my posts, although i used to be able to with vbindex v.2.01.
i have changed the url to include the full address, but they still don't show.

*edit*
also, i've been going through the vbindex to make the modifications i'd made previously, and i can't find this anywhere

PHP Code:

// variables
// -------------------------
// news forumid
$newsforum=75

that's what i used to change the news forum for each additional page that i made (the copies of vbindex). now that it's set in the admin cp (for the main index), where am i going to be able to change the code in the copies.

thanks.


ps. only 23 querries on my heaviest page. that's with ten topics. great work man. thanks!

fsck 10-26-2002 12:44 PM

Warning: unexpected error in date() in c:\fsckstuff\forums\admin\functions.php on line 1599

was just trying it out on my home computer and encountered this error, php 4.2.3 and apache 1.3 any ideas?

NTLDR 10-26-2002 05:08 PM

Quote:

Originally posted by fsck
Warning: unexpected error in date() in c:\fsckstuff\forums\admin\functions.php on line 1599
Shouldn't be anything to do with this hack, no changes are made to functions.php, but not knowing whats on line 1599 of functions.php I can't say.

NTLDR 10-26-2002 05:08 PM

Quote:

Originally posted by fsck
Warning: unexpected error in date() in c:\fsckstuff\forums\admin\functions.php on line 1599
Shouldn't be anything to do with this hack, no changes are made to functions.php, but not knowing whats on line 1599 of functions.php I can't say.

NTLDR 10-26-2002 05:12 PM

Quote:

Originally posted by Buddha
*edit*
also, i've been going through the vbindex to make the modifications i'd made previously, and i can't find this anywhere

These have been replaced by a batch of new variables:

PHP Code:

$newsforum //news forumid
$newsposts //number of news posts
$maxvbithreads //number of latest threads
$pollsforum //poll forumid 

Just replace all occurances of these and declare your own at the top, like vBindex v2.0.1 did.

How much have you changed your templates?

Buddha 10-26-2002 06:09 PM

thanks ntldr.
i'll try it out in a few... not able to this very minute.

as for the templates... quite a bit... just moving things around, changing the right and left quite a bit and adding different replacements and advertisements and such. and the header is changed and added the total members and total reviews that we'd spoken about before... and then i had to create a crapload extra templates for all of the other pages...
which templates were changed from 2.01 to 2.1?

again, thanks for the help.

NTLDR 10-26-2002 06:24 PM

There are very few major template changes at all that may be of importance to you.

The main change to the v2.1 templates was to make them so when you turn an item off in the CP (threads for example) the it compleatly disapears from the side bar.

Other than that $readmore was added to home_newsbit, there are the shoutbox templates added and buddy templates have been reworked to show and appear only when a buddy is online, and Users Online Today: was removed from the home_left template. Thats all the changes I can think of.

Buddha 10-26-2002 06:55 PM

thanks. i'll look through and add the few extras... as for the threads, buddy, shoutbox and online info, none of that matters to me anyway, as it has been turned off.

that's great... i'll work them all over later and let you know how it goes.

thanks for all the help.


All times are GMT. The time now is 09:07 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.02338 seconds
  • Memory Usage 1,747KB
  • 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
  • (5)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