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)

groovesalad 10-26-2002 09:45 PM

Where did you go in the ACP to do that?

NTLDR 10-26-2002 09:47 PM

Under: Import & Maintenance, click Update Counters and then Update postid's For Threads and click the update button on that table ;)

groovesalad 10-26-2002 09:47 PM

ah, I see. Did I not install the update counters correctly via misc.php?

NTLDR 10-26-2002 09:48 PM

You should have, it seemed to run fine to me without a problem, perhaps you just ran the wrong one?

Buddha 10-26-2002 11:06 PM

wonder if it is because i grabbed the code from a fresh 2.28 but my forum uses 2.27.

groovesalad 10-27-2002 02:23 AM

Where do I go again in ACP to add some more navigation buttons to vbindex?

fsck 10-27-2002 05:09 AM

that would be in templates. i can't remember what ones off teh top of my head but wherever you see links to index.php, search.php etc. on a image just add whatever image and link you want. maybe somebody could elaborate on this its been a year scince i touched my vB.

TheComputerGuy 10-27-2002 11:34 AM

Parse error: parse error in /home/gunandga/public_html/upload/forums/vbindex.php on line 410

any help would be great on this fantastic hack

Chris M 10-27-2002 01:06 PM

TheComputerGuy...

Can you post the lines around 410 of the vBindex file here?

Satan

Buddha 10-27-2002 01:43 PM

groovesalad, what do you mean more navigation buttons?
like navigation links in the left menu?

TheComputerGuy 10-27-2002 02:00 PM

PHP Code:

406// only allow home_extra_ templates for security reasons
407eval("dooutput(\"".gettemplate("home_extra_$page")."\");");
408}
409?> 

There is no 410.....

Buddha 10-27-2002 02:05 PM

Quote:

Originally posted by NTLDR


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.

the first option you suggest here didn't work, however the second one did. problem is, it adds 2 querries. which is just not worth it for smilies. i'll have to see what this might be.
i wonder if it does have to do with the fact that i'm still on 2.27?

groovesalad 10-27-2002 03:33 PM

Quote:

Originally posted by Buddha
groovesalad, what do you mean more navigation buttons?
like navigation links in the left menu?

No, like the ones on the top right ( User CP, Members, FAQ).

Buddha 10-27-2002 03:53 PM

you can add those through the home_header template... add as many as you want. personally, i prefer to have the options in the left navigational menu, so i took all of the header buttons out and added the options as links in the left menu (which i can then set to vary whether someone is a member or not).
but yeah, just create the button, upload it, then go into home_header and find the other options. copy one of the lines of code, and insert it wherever you want the new button to appear. change the name for the img src and the url for the target, and you're off to the races my friend.
if you need any more help on this one, just let me know.

take care.

dmw 10-27-2002 03:54 PM

I did an upgrade to vbindex yesterday. I screwed it up initially then got it working. I only have one thing left that doesn't want to work, the Online Today value. Where would I look to get this working.

Cheers!
David
www.CADchat.com

Buddha 10-27-2002 04:08 PM

that option was taken out dmw.
check back a few pages if you'd like more info.

you can always go through the 2.01 version of vbindex and cut and paste the code into 2.1

dmw 10-27-2002 04:11 PM

Thank Buddha...I'll do a little research on that. I liked that option.

Cheers!
David

Asso 10-27-2002 04:11 PM

nice hack :)

Buddha 10-27-2002 04:13 PM

ntldr had mentioned that the code for the online wasn't necessarily that stable which is why he took it out. also adds querries (if you're counting calories).

NTLDR 10-27-2002 04:13 PM

Quote:

Originally posted by Buddha
the first option you suggest here didn't work, however the second one did. problem is, it adds 2 querries. which is just not worth it for smilies. i'll have to see what this might be.
i wonder if it does have to do with the fact that i'm still on 2.27?

That may be the reson why it doesn't work, I know the smiles appear in my 2.2.8 testboard. I changed it to reduce the number of queries, like you said, its not worth it for the extra load.

The code you copy from index.php is only used to generate the users online bit, so it doesn't matter if its taken from 2.2.4, 2.2.6 or 2.2.8 etc..

NTLDR 10-27-2002 04:15 PM

Quote:

Originally posted by TheComputerGuy
There is no 410.....
You either have white space after the ?> or you haven't copied and pasted the code in correctly.

NTLDR 10-27-2002 04:16 PM

Quote:

Originally posted by dmw
Thank Buddha...I'll do a little research on that. I liked that option.
Indded you can copy the code from vBindex v2.0.1 like Budda said, it will still work but as some users seemed to get the record being reset I removed it till I can come up with an alternative.

Buddha 10-27-2002 04:18 PM

david, i was checking out your site and noticed that you have the text set as the same color as the bg for the bottom table in the polls that contains the votes totals... the white table.
don't know if you were already aware of that... thought i'd let you know.

Buddha 10-27-2002 04:21 PM

Quote:

Originally posted by NTLDR


That may be the reson why it doesn't work, I know the smiles appear in my 2.2.8 testboard. I changed it to reduce the number of queries, like you said, its not worth it for the extra load.

The code you copy from index.php is only used to generate the users online bit, so it doesn't matter if its taken from 2.2.4, 2.2.6 or 2.2.8 etc..

thanks buddy.
it's too bad that it can't work without adding the querries... but i'll just have to make due without it.
i've installed far too many hacks to go through a complete reinstall of 2.28, so it'll have to do.

NTLDR 10-27-2002 04:44 PM

Not sure how you site and that is set up, but you could allways use IMG code or HTML to add the smilies, a pain I know, but its something to think about :)

Buddha 10-27-2002 04:45 PM

that's a good point, which i will keep in mind. for the most part, i cannot imagine i will need them that much.
if i do, for whatever reason though, i will remember that suggestion.
thanks bud!

NTLDR 10-27-2002 04:47 PM

No problem. If I get a chance I may do a test install on a test 2.2.7 board to see if I get the same problem as you :)

groovesalad 10-27-2002 05:19 PM

NTLDR - Do you take requests for other hacks?
https://vborg.vbsupport.ru/showthrea...threadid=45069

Buddha 10-27-2002 05:22 PM

that request is along the lines of the one i submitted where people could have a collection listed on the forum. it's like the MyBookmarks hack, but it would be for a collection (yours is the concerts, mine is for dvds). no one ever commented on my request.

groovesalad 10-27-2002 05:27 PM

Buddha - Hmmm, that's too bad. I like the MyBookmarks hack, it's just not exactly what I need it to do. If only I knew how to change that hack, I would.

Buddha 10-27-2002 05:31 PM

exactly my point groovesalard. i ave the mybookmarks hack installed on my forum, and i think it's fantastic. and it's very close to what we would need... know what i mean.

if i ever have a few minutes, i'll check to see how much changing it would take to turn it into a different type of collections database.

groovesalad 10-27-2002 05:40 PM

Buddha - Someone just messaged me to install the Journal hack and change that around. I'll look into it and see if it's easy to change around, or if that's the style I'd like.

Buddha 10-27-2002 05:45 PM

i haven't installed the journal hack. i can see what they mean, but i would like more control of the collection (categories and such)... which i know the mybookmarks offers.

good luck though.

groovesalad 10-27-2002 05:54 PM

Yeah, I looked at that. Not what I wanted. I need something that looks like this:
http://www.anyoneseenthebridge.com/m...ditList.cgi?s=

dmw 10-27-2002 06:54 PM

Quote:

ntldr had mentioned that the code for the online wasn't necessarily that stable which is why he took it out. also adds querries (if you're counting calories).
Ok...I can live without it, but how do I stop the text "Online Today" from displaying? I don't see it in the "home_left" template.

NTLDR 10-27-2002 06:57 PM

Its towards the bottom of the home_left template unless you have moved it else where.

dmw 10-27-2002 07:01 PM

Okay....this is what I have:

Quote:

<tr>
<td bgcolor="#13486D"><smallfont><a href="$bburl/online.php?s=$session[sessionhash]">Online Now</a>: <b>$totalonline</b><br>
<b>$numberregistered</b> Members | <b>$numberguest</b> Guests<br>
$activeusers<br></smallfont>
</td>
</tr>
What am I looking for?

Cheers!

Buddha 10-27-2002 07:06 PM

take that all out.
you'll notice that tablerow will be removed from your left menu.

ntldr, i've found another glitch with mine, and this one is serious enough.
when i post html in my post (and the forum allows html), it displays the html code on the vbindex... actually shows the text code. it doesn't render it.
i'm thinking this is probably the same problem that's causing the smilies not to show up either.

any thoughts?

*edit*
testing many things...

any help will be greatly appreciated.
thanks in advance.

NTLDR 10-27-2002 07:25 PM

If you use the code I gave for the smilies that added 2 queries did does that parse the HTML? Or does it still show up as HTML source? I'm thinking perhaps removing those 2 queries has done this.

Buddha 10-27-2002 07:32 PM

yeah, that was the first thing i did... put that line of code in. in fact, i tried both lines you suggested and only the second one worked (adds 2 querries) ... still fooling around with it but it seems to allow the html.

it's having some problems with deep nested tables, but i'll work around that.

the extra querries tick me off, but it's still better than before.

if you come up with anything, please let me know. thanks for the help.


All times are GMT. The time now is 10:52 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.02931 seconds
  • Memory Usage 1,825KB
  • 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_php_printable
  • (8)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