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)

NTLDR 03-30-2004 09:32 PM

If your using vBindex 3.0.0 RC4 or RC5 then the calendar has new templates that allow for it to fit 7 days in the standard width side block, take a look at the screenshots in the first post of this thread or the live demo at Core Forums.

chas_h 03-30-2004 09:57 PM

Quote:

Originally Posted by NTLDR
If your using vBindex 3.0.0 RC4 or RC5 then the calendar has new templates that allow for it to fit 7 days in the standard width side block, take a look at the screenshots in the first post of this thread or the live demo at Core Forums.

I see that, thanks. It's simply a case of choosing 7 days instead of 5. But I notice at the core forums page you have got rid of those little '>' to the left of the calendar and you have also oncorporated the little dropdown button into the same table as the 'Month' title. Any ideas how to fix that? (see attached screen cap.

NTLDR 03-30-2004 10:04 PM

The new style only works with vBindex 3.0.0 RC4 and above, if you have an older version you can copy the edited calendar_ and vbindex_calendar templates from the vbindex_templates.xml file.

If your using RC4/5 and it doesn't appear like that then the templates will be listed as templatename__3.0.0_RCX in the ACP for you to update your customised ones from.

chas_h 03-30-2004 10:22 PM

Quote:

Originally Posted by NTLDR
The new style only works with vBindex 3.0.0 RC4 and above, if you have an older version you can copy the edited calendar_ and vbindex_calendar templates from the vbindex_templates.xml file.

If your using RC4/5 and it doesn't appear like that then the templates will be listed as templatename__3.0.0_RCX in the ACP for you to update your customised ones from.

Ok thanks, I'm using Vb3.0 Gold with your Vbindex RC5 but I may have inherited some conflicting templates that are causing that when I imported a couple of styles from my other board that uses the vbadvanced.
Now I know where to look for the problem, thank you!

Cold Steel 03-30-2004 10:23 PM

When you're viewing the online users block as a regular, non-admin member, there are a lot of extra commas for invisible users.

Is there a way to fix this?

wkhalaf 03-31-2004 01:57 AM

Guys i need help please ..

1- My forum is in the main (Root) directory .. and i've installed the vbindex .. everything is fine but it doesn't seem to be set to the mainpage. I've tried going to the Admincp and changing the Forums' URL and the Homepage URL as well, But no use. i even tried to go to the server and make a redirect but it always gives me an error

the vbindex URL is www.mypage.com/vbindex.php
while the for my forums is www.mypage.com/index.php

question..

Shall i make a new folder called forums ? and put the forums folders in it .. and then trying to install the vbindex again to get the new settings ?
will SQL database recognize the changes and work fine ??

other than that .. the polls and the shout box don't seem to work

when i activate the polls on the vbindex .. it gives me a database error ..

and when i enter something in the shout box and click shout .. it refreshed the page but nothing appears then

waiting for ur reply thanks :tired:

Davey-UK 03-31-2004 02:58 AM

mypage.com????

lets see, and maybe some help can be provided.

If you want vbindex.php to show up when someone enters your site, then you are going to have to set vbindex.php as your url home page within your servers control panel. Otherwise if you call vbindex....index, your forums will not work.

Yes, the best way is to put forum in a /forum folder, and vbindex.php outside that.

kylek 03-31-2004 03:04 AM

One of the nicest easiest hacks to install, thanks to all who took part in this undertaking, Bravo!!!! Now where is that install button,,,,

wkhalaf 03-31-2004 04:53 AM

well let me give u more details

my site is www.bahrainmobiles.com

the forums' url is www.bahrainmobiles.com or www.bahrainmobiles.com/index.php

the index url is www.bahrainmobiles.com/vbindex.php

and i tried setting the vbindex.php to be the homepage but it just wont' work :(

need help plz ..

and if i change the forums' position to /forums will the SQL recognize it ? or will it give me errors?

neocorteqz 03-31-2004 06:31 AM

Quote:

Originally Posted by wkhalaf
well let me give u more details

my site is www.bahrainmobiles.com

the forums' url is www.bahrainmobiles.com or www.bahrainmobiles.com/index.php

the index url is www.bahrainmobiles.com/vbindex.php

and i tried setting the vbindex.php to be the homepage but it just wont' work :(

need help plz ..

and if i change the forums' position to /forums will the SQL recognize it ? or will it give me errors?

as long as your config.php is pointing to the Proper DB, it will not effect the boards no matter which directory it is in. (if you do it this way, don't forget to update the forums address in your member CP @ vBulletin.com)

I'm guessing you tried to set the portal as your home page right, via the adminCP??

Rename vBindex.php to index.php.

Then

in the adminCP under the option of "Forums Home Page options" may i suggest you set it to a different name other than index(like forums, home, etc...), then all you have to do is rename index.php(webroot directory) to whatever you named it in the admincp, Like so

http://www.nemesisforums.net/neocorteqz/board.png

When visitors view your home page, it will load index.php(which if you renamed vBindex.php) would be your portal page. :)

then all they'd have to do click the link in the navebar at the top to enter the forums, or click on a topic title.

edit: you'd also have to edit the image paths per the Instructions when you first set up the portal, if you were to change the forums directory..

chris frolic 03-31-2004 06:52 AM

Getting this error when someone clicks on the Shout Box link
(vbindex.php?action=shoutbox).

Invalid SQL: ## COUNT SHOUTS ##
SELECT COUNT(*) AS shouts
FROM vbindex_shoutbox
WHERE 1 = 1

AND shoutbox.userid NOT IN (7793,4486)
mysql error: Unknown table 'shoutbox' in where clause

mysql error number: 1109

I searched this thread and no mention of it. I haven't mucked around with the shoutbox code at all I don't think.

neocorteqz 03-31-2004 08:00 AM

Quote:

Originally Posted by chris frolic
Getting this error when someone clicks on the Shout Box link
(vbindex.php?action=shoutbox).

Invalid SQL: ## COUNT SHOUTS ##
SELECT COUNT(*) AS shouts
FROM vbindex_shoutbox
WHERE 1 = 1

AND shoutbox.userid NOT IN (7793,4486)
mysql error: Unknown table 'shoutbox' in where clause

mysql error number: 1109



I searched this thread and no mention of it. I haven't mucked around with the shoutbox code at all I don't think.


this is the address of what i get when clicking the shotbox link on your portal home, this is the address i get.

http://www.hullabaloo-raves.com/inde...ction=shoutbox


Did you fix this?? cause i don't see or get this error message.
:)

chris frolic 03-31-2004 08:11 AM

ok, interesting. You clicked on my homepage link from here, which is to my older domain name. The site switched to a more concise www.hulla.info some time ago, but we still run the older one as well as a legacy.

Where this gets interesting is:

http://www.hulla.info/index.php/?action=shoutbox will produce the error, and
http://www.hullabaloo-raves.com/inde...ction=shoutbox does not.

It's the exact same site. Any ideas?

NTLDR 03-31-2004 09:05 AM

Shoutbox fix, only apllies if you have people in gloal ignore/user ignore list.

Find in vbindex.php (arounf line 970)

PHP Code:

FROM ".TABLE_PREFIX."vbindex_shoutbox 

Replace with:

PHP Code:

FROM ".TABLE_PREFIX."vbindex_shoutbox AS shoutbox 


NTLDR 03-31-2004 09:10 AM

Quote:

Originally Posted by Cold Steel
When you're viewing the online users block as a regular, non-admin member, there are a lot of extra commas for invisible users.

Is there a way to fix this?

Is this the Currently online users, or the users online today (if shown) part?

Try this edit in vbindex.php find:

PHP Code:

                $home['onlinemembertotal']--;
                break 
1

Replace with:

PHP Code:

                $home['onlinemembertotal']--;
                continue; 

That should fix the error if its the currently online users.

Tradjick 03-31-2004 09:59 AM

Hi!

This is a problem that follows me since vbI RC4.

In the install process of RC5 it loops at step=4 and step=5 it won?t do at all. But even without these steps, it works fine.

The problem comes when i want to export a style updated with vBIndex templates. When re-importing, it always gives me the "invalid XML token" or someting like that.

Also, I have XML files that import well, but give me the following error:

Quote:

Parse error: parse error, unexpected T_STRING in C:\Documents and Settings\Teilchenbeschleunige.MACHINE\Desktop\site \index.php(1156) : eval()'d code on line 1 Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in C:\Documents and Settings\Teilchenbeschleunige.MACHINE\Desktop\site \index.php(1181) : eval()'d code on line 42
I?m pretty sure it must have something to do with vBIndex. Because the same style producing the last error works fine with the default index.php

I would be happy if you had a sloution for me, especially for my first problem with the corrupt xml files that refuse to import.

edit:The corrupt xml files either contain something like that: "", replacing a hand of caracters, or something like that:

Quote:

 ?  ?   ?? ? ????? ??w\ ?  *   _
including the names of current systray processes.

environment:
(win xp)
Apache *.49
PHP Version 4.3.4
mysql 3.23.49
hacks: vbindex
vB Gold (reinstalled and database cleared everytime before trying to find an other solution with the XML thing)

SpeedysWorld 03-31-2004 05:17 PM

Quote:

Originally Posted by NTLDR
vBindex creates a portal page for vB, not a gallery.

I know that, but could there be an add-on to make it have some type of Mini Gallery, I mean how hard could it be? All's you would have to do is add a mini section for picture uploads, I was just wondering, if this is too much work I totaly understand, but I figured I would ask. Is there anyone that could possibly do this?

- SpeedysWorld.net

NTLDR 03-31-2004 05:46 PM

I don't intend to make one however integrating anything into the side blocks/extra pages is just a case of adding the PHP code to the relevent template.

killervette 03-31-2004 07:18 PM

I would like to add a php script in the custom box? How can I do this? I tried to read the posts but it is 77 pages or so and i couldnt find an answer. I am php stupid so can you be detailed please?

killervette 03-31-2004 07:59 PM

Also, can you do php includes in the footer??? If so, how?

NTLDR 03-31-2004 08:31 PM

Quote:

Originally Posted by killervette
I would like to add a php script in the custom box? How can I do this? I tried to read the posts but it is 77 pages or so and i couldnt find an answer. I am php stupid so can you be detailed please?

Add it to the vbindex_customblock_php template within the case X part (where X is the number of the custom block) and then use $boxY_php in the custom block template where you want your output (Where Y is the block number).

PHP will only work in phpinclude_start, phpinclude_end, vbindex_customblock_php and vbindex_extra_php_NAME templates.

killervette 03-31-2004 08:54 PM

Cool...that worked. Now part two. I want to add another box like the centered latest threads window or the news. How can I add the php code so it will show under the latest threads.

NTLDR 03-31-2004 09:32 PM

You'll need to edit vbindex.php and add your code there. PHP powered center blocks arn't supported at the moment.

killervette 03-31-2004 09:37 PM

I tried that...i put it in the latest threads part. It always puts it on the top of the page??? i cant get it to the bottom.

GoTTi 03-31-2004 09:58 PM

the style select option on the index page is not working properly...it will load 1 style, then if u try to change the style in the drop down after you change it once, it will not load.

some1 told me that the New Post link is not working also, but i am not duplicating this problem. vBindex RC3 is what im running right now.

killervette 03-31-2004 11:09 PM

Quote:

Originally Posted by NTLDR
You'll need to edit vbindex.php and add your code there. PHP powered center blocks arn't supported at the moment.

do you know where i should put the code?

iJason 04-01-2004 03:18 AM

How do you make the title image on the vbindex page centered?

Sam FT 04-01-2004 03:52 AM

Another request since you guys brought up center block...I like to see a weather block either add or an addon. Mainly since someone create one for vbadvanced.

chris frolic 04-01-2004 08:23 AM

Is there a way to allow HTML in the news block if it's allowed in that forum?

NTLDR 04-01-2004 08:27 AM

HTML should be parsed automaticly if the forum allows it.

chris frolic 04-01-2004 08:50 AM

I tried with an img link that was left justified so the text would flow around it. In the forums it worked fine but on the index all it showed was the html img code.

Frzzy 04-01-2004 04:02 PM

The uninstaller didn't do anything, all the phrases and template were left, it only remove the shout table... any suggestion how to completely remove this hack?

NTLDR 04-01-2004 04:46 PM

Manually remove the phrases/templates.

Frzzy 04-01-2004 06:59 PM

Quote:

Originally Posted by NTLDR
Manually remove the phrases/templates.

Yes, I have done it... but it's quite inconvenience... hope you can fix it later...

da prez 04-01-2004 11:51 PM

how can i add permissions to a custom block ?

i want to have a custom box that only certain usergroups can see.
the custom block like it is, is viewable by all.

thanks for a sweeeeeet hack.

chris frolic 04-02-2004 02:23 AM

Quote:

Originally Posted by NTLDR
HTML should be parsed automaticly if the forum allows it.


yeah, I just double checked and the main page is replacing the html codes with innoquous '&' codes where as the forum is display the < > html codes properly. Any idea where that would be happening?

killervette 04-02-2004 02:50 AM

On the centered threads, how can I remove the row with the buttons for replying and emailing and so on?

Kalakov 04-02-2004 05:25 AM

got a little problem if it login at the main page of vBindex then its Redirecting... back to the main page but i'm not loged in

anyone know how to fix this :)

snyx 04-02-2004 07:50 AM

humm, the install was a breeze what a great simple hack!
man its not even a hack, its a addon its so easy..

anyway, one weird problem. my gradients wont show up?!
I have even tried some direct background="http://fullpath/gradient.gif" in tables and still nothing?

anyone clear this up for me, thanks :)

again great mod period.

NTLDR 04-02-2004 08:34 AM

Quote:

Originally Posted by snyx
anyway, one weird problem. my gradients wont show up?!
I have even tried some direct background="http://fullpath/gradient.gif" in tables and still nothing?

In the CSS for the table header/cat in the style manager add something similar to the following in the Extra CSS Attribute box:

HTML Code:

background-image: url([url]http://wwww.domain.com/forum/images/bg.jpg[/url]);
Or if you still have vB's default CSS the edit the URL in the background box.


All times are GMT. The time now is 09:16 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.02522 seconds
  • Memory Usage 1,848KB
  • 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
  • (1)bbcode_html_printable
  • (4)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