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 09-02-2004 10:36 PM

How can i add a custom block with TOP Statistics (top poster, top threader, number of posts etc'...) ?

(i don't know php.. please help me with the code needed)

Thanks :)

Pseudomizer 09-02-2004 11:46 PM

Quote:

Originally Posted by zenmasteril
How can i add a custom block with TOP Statistics (top poster, top threader, number of posts etc'...) ?

(i don't know php.. please help me with the code needed)

Thanks :)

Install this hack and then use the variable from the template in your customer block template. Then you have a 10 minute caching as well which will reduce your SQL queries.

https://vborg.vbsupport.ru/showthrea...0&page=1&pp=15

Cheers,

Blam Forumz 09-03-2004 07:54 PM

How would I make it so it shows a different logo on vBindex according to the users chosen style, because my forum has different logos for different styles...

:|

I just realised that with any style it shows the default mainlogo :|

Thanks

Zenan 09-04-2004 05:57 AM

I try to install Vbindex. when i type the install script in my browser i became a
blank white page in my ACP whats wrong ???

And what must i insert here in this Line ??

// enter the path to your forums here that you were given during the
// first step of the install process
chdir('/home/strato/www/we/www.weltenwanderer-guild.de/htdocs/vb/');

// enter the extension you use with your vBulletin files
// this is most likly the default .php entered
define('SCRIPT_EXTENSION', '.php');

Thanx for Help

nelto 09-04-2004 05:12 PM

Where?
How?
to creat a template? I search everything and I cant find a way to ctreat the template called forumhome_latestthreadbit as it is on your instructions.

Pseudomizer 09-05-2004 01:26 AM

Quote:

Originally Posted by zenmasteril
Why does a banned user can shout in the shoutbox ??? :ermm:
How can i fix it ?

Hi,

after having seen no answer to this problem, i created a quick and dirty fix for this. I had the same problem and due to this, i had to react.

Here is the solution to prevent banned users to shout:

Find in vbindex.php the following text:
PHP Code:

if ($bbuserinfo['userid'] || ($vbindex['options'] & VBI_DISABLEDSHOUT)) {
                
exec_switch_bg();
                if (!
$bbuserinfo['userid']) {

                        
$shoutbox['postdisabled'] = true;

                } else {
                        
$shoutbox['postdisabled'] = false;
                }
                
$shoutbox['postshout'] = true;
        } else {
                
$shoutbox['postshout'] = false;
        } 

After this block add this code:
PHP Code:

if ($bbuserinfo['usergroupid'] == "8")
                    {
                        
$shoutbox['postdisabled'] = true;
                    }
                    else
                    {
                        
// do nothing
                    


Assuming the usergroupid of your banned usergroup is also 8. If this number is different in your forum, then please change this number to whatever you need.

Enjoy it.

Cheers,

Sia Bani 09-07-2004 04:58 AM

Can anyone tell me why the frontpage is running so slowly on my site? www.tripleplate.com

Also, how do I edit the index file to change the standard vb logo at the top left? For now, I've edited the logo image to my own logo.

Thanks

kctalker 09-10-2004 12:18 PM

posted this on core - but thought I would try here also:

I am looking to replace where a users avatar is for news, with a thumbnail for a picture (if uploaded) that is included with the news article. VBPortal has this feature, and I would like to do it with VBIndex as it is alot more friendly to the server and many other things.

Anyone know how to modify the code to allow me to be able to do this? Thank you in advance!

Sia Bani 09-10-2004 04:24 PM

I made the mistake of logging out of the vbindex from the frontpage and now I can't log back in to post in the shoutbox, etc. What do I do? I log in and then it has me still logged out.

MetalMilitia 09-11-2004 09:29 AM

I don't think google spiders these apges at all - and if they do - they would all be spidered with out custom titles and metas.

http://www.armageddononline.org/index.php

All the pages are index.php?page=example and I think all the search engines simply pick it up as the index page - if at all.

Is there any way to customize the titles and metas for each page? Simply putting the tags in the vbindex_extra_page slots does does nothing, and Im facing the possibility of having to make an entirely different page/pages for listing in search engines.

Any thoughts?


All times are GMT. The time now is 06:51 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.04230 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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