vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBindex v3.0.0 RC5 (https://vborg.vbsupport.ru/showthread.php?t=59524)

zenmasteril 01-22-2004 02:33 PM

Quote:

Originally Posted by NTLDR
You'll need to edit vbindex.php and enter the code to collate the stats you want

I'd be happy to do that... Unfortunately i don't know PHP :disappointed:
Can you tell me where should i put it or something ?
Is it so complicated ? please help anyone..

NTLDR 01-22-2004 07:33 PM

You haven't set up the options correctly. If you wish to use multiple news forums they must be seperated by commas, eg 12, 2

pcalloway 01-22-2004 08:11 PM

How can I create a link or set of links in a custom block to the Forums main page?
- I can't find the template to edit anywhere...

Also the polls don't seem to work. On my test board the URL is http://69.93.73.106/~authent/vbindex.php (until i get it working and actually switch my domain name) but when i answer a poll it gives me

vBulletin Message
Invalid Poll specified. If you followed a valid link, please notify the webmaster

I notice though, the url it goes to strips off the /-authent/

Also, how can I add a FORUMS link to the top of the page where "User CP Register FAQ Members List Calendar New Posts Search Quick Links Log Out " links are?

NTLDR 01-22-2004 09:10 PM

Quote:

Originally Posted by pcalloway
How can I create a link or set of links in a custom block to the Forums main page?
- I can't find the template to edit anywhere...

vbindex_customblock_X (where X is the block number) after you have set the blocks up on the options page.

Quote:

I notice though, the url it goes to strips off the /-authent/
You have the board URL set wrong in the ACP.

Quote:

Also, how can I add a FORUMS link to the top of the page where "User CP Register FAQ Members List Calendar New Posts Search Quick Links Log Out " links are?
Edit the navbar template.

Sebastian 01-22-2004 11:08 PM

any updates on a more accurate count on newpost/threads?
i tried some experimenting myself and couldn't make the newpost/threads counter go down as the users read the posts/threads.. think its even possible?

???`S?LV?R???` 01-23-2004 02:48 AM

speaking of vbindex rc4... anything we should expect in the next version? updates, fixes, changes?

Cyricx 01-23-2004 07:06 AM

Don't know if this've been said. But I think there's a small buggie that needs to be chopped.

On the main page (vbIndex), the "logout" link is not linking to the login.php in the /forums/ folder, it's linking to login.php in the same folder where vbindex.php is in.

Cyricx

Natch 01-23-2004 07:36 AM

For those that wanted a tool to automatically update your smilie path's, here is a quick and ugly automated script:

Place the attached file in your admincp (or equivalent) folder and load it from the browser...

The first page you see prompts you for the extra path you want to add to the start of every smilie in your database: e.g. /forums/ to be added to the start of every images/smilies/{smilie}.gif, you would enter /forums/.

Then u press Update Smilie Path, and it will do it.

USE THIS AT YOUR OWN RISK - TAKE A DUMP OF YOUR SMILIE TABLE BEFORE USING THIS SCRIPT.

I used it on my site and it worked a charm - if you wanna see the SQL query to run it from your AdminCP, it goes as follows:

[sql]

UPDATE `smilie` SET `smiliepath`= CONCAT('/forums/',`smiliepath`);

[/sql]

If u use the above SQL query, make sure you append your table prefix to the start of the table name, and alter the /forums/ bit to match your site.

HTH

NTLDR 01-23-2004 08:51 AM

Quote:

Originally Posted by Sebastian
any updates on a more accurate count on newpost/threads?
i tried some experimenting myself and couldn't make the newpost/threads counter go down as the users read the posts/threads.. think its even possible?

Hopefully it will be in RC4, it is posible I've just got to get the code done to do it :)

NTLDR 01-23-2004 08:54 AM

Quote:

Originally Posted by Cyricx
On the main page (vbIndex), the "logout" link is not linking to the login.php in the /forums/ folder, it's linking to login.php in the same folder where vbindex.php is in.

Are you sure you edited the navbar template correctly? All the links to login.php should be corrected in the provided template.

NTLDR 01-23-2004 08:56 AM

Quote:

Originally Posted by ???`S?LV?R???`
speaking of vbindex rc4... anything we should expect in the next version? updates, fixes, changes?

Dynamic PHP powered custom blocks, bug fixes from RC3, improved new thread/post counter, improved installer and hopefull the admin help.

vfxtalk 01-23-2004 09:01 AM

awesome!!! ...cant wait ;)

Pete 01-23-2004 02:15 PM

[high]* Pete clicks install
[/high]
Very nice, thank you.

I was having the excluded forum displaying in latest threads problem, spent 20'ish minutes reading through the whole thread to find the fix here. If people didn't ask the same question 20 times, coulda found it in five. You've got a lot of patience :laugh:

I hope you decide to add optional side blocks on forum pages.

Mamochka 01-23-2004 04:45 PM

And how instead of Custom Block 1 and in it Block 1 Content that to write?

Cyricx 01-23-2004 05:48 PM

Question:

What file is vbindex calling the navbar from and what varible is it using?

Because I have a custom navbar I made. And it's calling up the old navbar and not linking properly. It's linking to something in the same directory. Not something in the /forums/ directory.

I made a 2nd template with the edits so it links to stuff inside the /forums/ directory. It seems just not want to work, lol. So, can you tell me? :) heh

Cyricx

NTLDR 01-23-2004 07:46 PM

It uses vB's standard navbar template from whatever style you are using, and has the variable $navbar like in all the other pages :)

Cyricx 01-23-2004 07:57 PM

Hm, looks like I'm going to have to use conditionals. Now to learn how it works, LOL ...

On vbindex (main page) it's linking to http://test.mydomain.com/index.php for the "Forums" ... And on the forums page, it is linking to http://test.mydomain.com/forums/index.php which is the correct url.

Hummm... So much fun tearing my hair out...

Thanks,

Cyricx

NTLDR 01-23-2004 08:10 PM

Which bit links there?

Cyricx 01-23-2004 08:15 PM

English, please? LOL

I'm not up on all that lingo.

Sending you a PM with url for my test site.

Cyricx

NTLDR 01-23-2004 08:20 PM

Did you remove $navbar from the VBINDEX template?

Cyricx 01-23-2004 08:21 PM

Changed back to $navbar, heh...

Was trying something else earlier today. Forgot to change that. LOL

Cyricx

NTLDR 01-23-2004 08:24 PM

I'm assuming you haven't prefixed all the links in the navbar template with $vboptions[bburl]/ ?

Cyricx 01-23-2004 08:30 PM

Gah, lol, that was it. :p

*goes back to hanging my head in shame* lol

Cyricx

maverick1236 01-23-2004 09:12 PM

seems everything is correct-but i keep pulling this error:

on step 1:

Warning: file_get_contents(../forum/includes/config.php): failed to open stream: No such file or directory in c:\appserv\www\forum\install\vbiupgradecore.php on line 39

(../forum/includes/config.php)

this is right
the full path is C:\AppServ\www\forum\includes\config.php

what am i doing wrong?

NTLDR 01-23-2004 09:27 PM

I've no idea how that path got there, in vbiupgradecore.php find:

PHP Code:

file_get_contents('../includes/config'.SCRIPT_EXTENSION)); 

And change the ../includes/config part to the full path to config.php (without the .php), probably c:/appserv/www/forum/includes/config although I've not tried this on Windows.

maverick1236 01-24-2004 12:24 AM

Quote:

Originally Posted by NTLDR
I've no idea how that path got there, in vbiupgradecore.php find:

PHP Code:

file_get_contents('../includes/config'.SCRIPT_EXTENSION)); 

And change the ../includes/config part to the full path to config.php (without the .php), probably c:/appserv/www/forum/includes/config although I've not tried this on Windows.


***FIXED***

Thank You!!

SRozhon 01-24-2004 02:59 AM

Great Hack, but how do I change the colors?

RapCheck 01-24-2004 03:20 AM

vbindex's colors are controled by your style sets. So to change the colors you edit your style in the vb admincp

SRozhon 01-24-2004 11:52 AM

Yes, I thought so but which ones ecaxtly in the CSS because this is what my forums look llike because I already changed those colors. I don't want to mess my colors up by experimenting. Can someone tell me which ones the colors are coming from in the style? I already changed most of them but it is still blue. Thanks!

xxskullxx 01-24-2004 12:32 PM

You need to change your image paths in your Catagory Strips and Table header to full paths,
i.e.
Code:

#869BBF url(images/gradients/gradient_tcat.gif) repeat-x top left
becomes

Code:

#869BBF url(http://yourdomain.com/forums/images/gradients/gradient_tcat.gif) repeat-x top left

Wolfy.2k 01-24-2004 06:10 PM

hi NDTLR, i got some problems again, i have just put vbindex on to my main forums, (was on a test forum before) and i have now got 2 problems.

1. I have enabled the news, but when it is on the main page, the text does not show, v odd.

also at the top of the page it says:

Warning: chdir(): No such file or directory (errno 2) in /home/croc/public_html/forum/vbindex.php on line 131

any ideas?

also, on the shoutbox, when i add a shout, it keeps on coming up on the page saying thank u for adding ur shout, when before it didnt use to, i liked it more when it didnt, any idea how to stop that too?

ty for ur help (again) lol

integra99 01-24-2004 06:46 PM

I think VBIndex needs to add more blocks like VBAdvanced has, such as the search, etc etc

NTLDR 01-24-2004 06:51 PM

Quote:

Originally Posted by Wolfy.2k
also at the top of the page it says:

Warning: chdir(): No such file or directory (errno 2) in /home/croc/public_html/forum/vbindex.php on line 131

What version are you using? I'd guess its not RC3 so I'd suggest you upgrade, either way you haven't edited the chdir() path correctly, see the instructions with your zip for details on what to do with your version.

NTLDR 01-24-2004 06:54 PM

Quote:

Originally Posted by integra99
I think VBIndex needs to add more blocks like VBAdvanced has, such as the search, etc etc

vBindex has Unlimited built in blocks, just add the HTML you need. I can't cater for everyone which is why the blocks are based on the most commonly requested items. Besides a search box is redundant, you have one at the top of each page in the navbar by default.

integra99 01-24-2004 07:08 PM

Understandable, why are some blocks wider than others?

NTLDR 01-24-2004 07:08 PM

Quote:

Originally Posted by Wolfy.2k
also, on the shoutbox, when i add a shout, it keeps on coming up on the page saying thank u for adding ur shout, when before it didnt use to, i liked it more when it didnt, any idea how to stop that too?

Thats based on your setting in the control panel for wether or not vB should use redirection messages, vBindex just follows the forum setting.

NTLDR 01-24-2004 07:10 PM

Quote:

Originally Posted by integra99
Understandable, why are some blocks wider than others?

vB's mini Calendar is bigger than all the other blocks, unless you edit your mini calenedar template, but that also effects the main calendar. Assuming you have the latest vbindex_sidebar template, see back a few pages for details of it, the side blocks should dynamicly expand to be the correct width if you have enabled it.

Wildthinks 01-24-2004 07:12 PM

I have trouble ... no news is showing... i have the right Forumsid, news checked and vbwar not.
Any hints ?
RC3 ....

Wolfy.2k 01-24-2004 07:39 PM

nd, i am using RC3: http://www.nightstalkers.co.uk/forum/vbindex.php

NTLDR 01-24-2004 07:48 PM

Quote:

Originally Posted by Wolfy.2k

The path to your forums in vbiconfig.php isn't correct, it should be /home/croc/public_html/forum


All times are GMT. The time now is 01:13 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.02278 seconds
  • Memory Usage 1,831KB
  • 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
  • (2)bbcode_php_printable
  • (13)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