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 10-25-2002 07:46 PM

No SQL Changes :D
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 ;)

Chris M 10-25-2002 07:53 PM

I see:)

Thanks NTLDR:)

Satan

zertox 10-25-2002 08:06 PM

thanks !!! i'm nog going to upgrade :p

I love your hack

Chris M 10-25-2002 08:17 PM

Is that "now" or "not"?:confused:

Satan

zertox 10-25-2002 08:48 PM

wel not and now :p
i just checked the differences and changed it to my likings :p

Chris M 10-25-2002 08:58 PM

Ok cool:)

Satan

LightBringer 10-25-2002 10:51 PM

Looks Great!
Thanks NTLDR!

http://www.brainphreeze.com/forums/vbindex.php

NTLDR 10-25-2002 10:57 PM

Thanks LightBringer, you may want to remove Online Today: from your home_left template as thats no longer there anymore ;)

As your site is very customised may I add it as a demo site on the first post?

LightBringer 10-25-2002 11:10 PM

Quote:

Originally posted by NTLDR
Thanks LightBringer, you may want to remove Online Today: from your home_left template as thats no longer there anymore ;)

As your site is very customised may I add it as a demo site on the first post?

Hehe, I must have missed the "online today" since I did the installation manually due to the customization of my templates and what not.

Sure you can use it as a demo site on the first post. :)

Buddha 10-26-2002 12:24 AM

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!

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.

NTLDR 10-26-2002 07:07 PM

No problem Buddha, I hope the upgrade goes well :)

groovesalad 10-26-2002 07:11 PM

NTLDR-

After installing, I got this in my ACP when I chose "Options"

Is there any way to get rid of the other two vbindex links?

dmw 10-26-2002 07:11 PM

Greetings,

I just updated vbindex to 2.1. All went well except that now the news does not show up. I have news turned on in CP and set for 5 news items showing 500 characters.

Any ideas?

Cheers!
David
www.cadchat.com

NTLDR 10-26-2002 07:14 PM

Quote:

Originally posted by dmw
[B]I just updated vbindex to 2.1. All went well except that now the news does not show up. I have news turned on in CP and set for 5 news items showing 500 characters.
In the CP go to update counters and then run the one that updates the postids, this should slove the problem for all posts prior to vBindex v2.1 and the required change to newthread.php that is now needed.

NTLDR 10-26-2002 07:15 PM

Quote:

Originally posted by groovesalad
Is there any way to get rid of the other two vbindex links?
You will need to manual go into your DB and remove them from the settinggroup table.

dmw 10-26-2002 07:28 PM

NTLDR,

ok...did reset. News still won't display. Any other suggestions?


NEVER MIND...I'm an IDIOT! I missed a step updating one of the .php files. All is working now. Sorry for wasting your time. Lesson learned... read twice, do once.


Cheers!
David
www.CADchat.com

Buddha 10-26-2002 07:56 PM

actually ntldr, i'm still having the problem with the smilies not showing up in the newsbit.
i've added the full url in the admin cp.
any thoughts?

NTLDR 10-26-2002 07:58 PM

Quote:

Originally posted by Buddha
actually ntldr, i'm still having the problem with the smilies not showing up in the newsbit.
i've added the full url in the admin cp.
any thoughts?

How are they appearing? As text or a broken image? I've changed the code in this version to have less queries when dealing with vBcode and Smilies, its seemed fine on my test site.

NTLDR 10-26-2002 07:59 PM

Quote:

Originally posted by dmw
NEVER MIND...I'm an IDIOT! I missed a step updating one of the .php files. All is working now. Sorry for wasting your time. Lesson learned... read twice, do once.
No problem, glad its working now for you :D

Buddha 10-26-2002 08:08 PM

they appear as text.

groovesalad 10-26-2002 08:09 PM

Quote:

Originally posted by NTLDR


You will need to manual go into your DB and remove them from the settinggroup table.

I went in and didn't see what exactly I was supposed to get rid of. Could I PM you a username and password so you could take a look around?

NTLDR 10-26-2002 08:15 PM

Quote:

Originally posted by Buddha
they appear as text.
Try changing:

PHP Code:

$newstext=censortext(bbcodeparse($news[pagetext],0,1)); 

To:

PHP Code:

$newstext=censortext(bbcodeparse($news[pagetext])); 

Or if that doesn't work (or if this one results in less queries):

PHP Code:

$newstext=censortext(bbcodeparse($news[pagetext],$newsforum,1)); 

The last option is what vBindex v2.0.1 used so that will work, the first option may use less queries and work correctly.

I've double checked on a fresh vB 2.2.8 and vBindex v2.1 Final install and smilies work fine for me with the origional code.

NTLDR 10-26-2002 08:17 PM

Quote:

Originally posted by groovesalad
I went in and didn't see what exactly I was supposed to get rid of. Could I PM you a username and password so you could take a look around?
Sure, its just a couple of enteries in the DB which are easy to find and remove if you know how ;)

groovesalad 10-26-2002 08:23 PM

awesome! check your pm :)

NTLDR 10-26-2002 08:29 PM

Quote:

Originally posted by groovesalad
awesome! check your pm :)
Checked, Sorted, Replied :D

groovesalad 10-26-2002 08:44 PM

Cool, thanks. Sent you another PM. Last one as I know you don't do support via PM.

groovesalad 10-26-2002 09:04 PM

Should I use the old setpostid.php to get my posts to show up?

NTLDR 10-26-2002 09:16 PM

Theres no need to use setpostid.php any more, this has been added to ACP -> Update Counters -> Update postids

Provided you made the edits to admin/misc.php ;)

groovesalad 10-26-2002 09:40 PM

Yeah, I did that but for some reason it didn't add it. You can look at the ACP if you'd like to

NTLDR 10-26-2002 09:43 PM

I just ran the Update postid's For Threads and the news appears fine on the home page for me :paranoid:


All times are GMT. The time now is 04:05 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.02486 seconds
  • Memory Usage 1,840KB
  • 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
  • (5)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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