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)

JoeBiscuit 02-18-2004 09:43 PM

That fixed the error. Sorry to bother you again, but there's another problem. :( It got rid of the right column, but it got rid of it on the main page too. Here is the vbindex.php: http://www.synergysanctum.com/ and here is the extra_page: http://www.synergysanctum.com/index.php?page=about

Thank you so much for your support.

D|ver 02-23-2004 08:57 AM

is it possible to create a "latest posts" centerbox like the one from http://www.my-vbp.de ?

can anyone help me ?

ImportPassion 02-23-2004 10:15 AM

I would use that too.

Willard Reece 02-23-2004 11:54 AM

Looking for a gray theme for this hack with home buttons and all,

so far this is a very nice portal. not to hard to put up.

Willard Reece 02-23-2004 11:57 AM

Quote:

Originally Posted by JoeBiscuit
That fixed the error. Sorry to bother you again, but there's another problem. :( It got rid of the right column, but it got rid of it on the main page too. Here is the vbindex.php: http://www.synergysanctum.com/ and here is the extra_page: http://www.synergysanctum.com/index.php?page=about

Thank you so much for your support.

love your theme, it is close to what my friend needs for his site,, change the blue bars and he would be real happy,

Souli 02-23-2004 01:34 PM

I have a problem this the Onlineusers on vbindex ....

If i set in the group_permissions to canseehidden (standard as an admin) - all Onlineusers show correct.
99 Onlineusers - 81 Member and 18 Guestes!
(only 9 user are in invisiblemode)

If i set the group_permissons to canNOTseehidden (standard as an registered users) when it shows only some people.
24 Onlineusers - 11 Member and 13 Guests!
(only 9 user are in invisiblemode)

Both tested on the same time ;)

I have search this thread an nothing found, only one other user has the same problem?!:
https://vborg.vbsupport.ru/showpost....&postcount=806

:ermm:

fly 02-23-2004 05:13 PM

okay...

How can I get threads from certain forums not to show in the latest threads box? The 'Exclude Forums IDs' option doesn't seem to work for this. In fact, what is it for?

Knux 02-23-2004 11:24 PM

ok on my nav bar for some reason it is linking like this: http://www.mysite.com, but my forums are at http://forum.mysite.com , I have tried everything from looking through the instructions and changing it all, nothing works....

you can see it at http://www.pbfreak.net

refertech 02-24-2004 01:14 AM

Yea i'm having the same problem as Knux and i must be missing something cause i get all the way to the end and the link that wants me to edit the vbindex options wants to go to http://www.mysite.com/forum/admincp/vbioptions.php but my site my file is located at http://www.mysite.com/vb3/admincp/vbioptions.php. My config file is correct but still not working. I even run the database quire and re-run step 7 forward but still no good.

NTLDR 02-24-2004 05:50 PM

You haven't completed Step One of the install process.

refertech 02-24-2004 11:34 PM

Yes i did and thats what doesnt make sense.

ok, im not a code master like yourself but if the code: $vboptions[bburl] interpetes the board url as being http://www.mysite.com/forum/.

Wouldnt it be easier to change the setting that makes $vboptions[bburl] interpete the url to the actual url of my board? Once again, i'm a rookie so dont bash me to much.

Exactly how many places in the navbar template do you have to edit and add your boards url, cause i must be missing some or adding some in the wrong place.

fly 02-25-2004 10:44 AM

Quote:

Originally Posted by flypaper
okay...

How can I get threads from certain forums not to show in the latest threads box? The 'Exclude Forums IDs' option doesn't seem to work for this. In fact, what is it for?


NTLDR 02-25-2004 01:14 PM

Quote:

Originally Posted by refertech
Wouldnt it be easier to change the setting that makes $vboptions[bburl] interpete the url to the actual url of my board? Once again, i'm a rookie so dont bash me to much.

Assuming you have setup vBulletin correctly you don't need to edit that setting. Look through the vBulletin Options and make sure you have set your URL correctly.

Quote:

Exactly how many places in the navbar template do you have to edit and add your boards url, cause i must be missing some or adding some in the wrong place.
Lots, hence the included navbar template (navbar.html) that has been edited to prefix all the URLs based on the standard vB navbar.

magnus 02-25-2004 04:59 PM

As it sits, the custom pages aren't Valid XHTML 1.0 Transitional. In order to make them so, do the following:

In each vbindex_customblock_# template:

Find:
HTML Code:

                        <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
                                <tr>

Replace with:
HTML Code:

                        <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
                                <thead>
                                <tr>

Find:
HTML Code:

                                </tr>
                                <tbody id="collapseobj_vbindex_customblock$box" style="$vbcollapse[$collapseobj_vbindex_customblock]">

Replace with:
HTML Code:

                                </tr>
                                </thead>
                                <tbody id="collapseobj_vbindex_customblock$box" style="$vbcollapse[$collapseobj_vbindex_customblock]">


refertech 02-25-2004 10:45 PM

Quote:

Originally Posted by NTLDR
Assuming you have setup vBulletin correctly you don't need to edit that setting. Look through the vBulletin Options and make sure you have set your URL correctly.



Lots, hence the included navbar template (navbar.html) that has been edited to prefix all the URLs based on the standard vB navbar.


Ok, well afters a few hours of looking it was just eaiser to move my board to match the www.myboard.cpm/forum directory to get it to work. I'm not sure what i did but it all seems to work well now. NTLDR thanks for your patience and the portal. :)

Mark

zenmasteril 02-25-2004 11:14 PM

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

xxskullxx 02-26-2004 03:25 AM

I have this problem as well, but haven't had time to look over the permissions code in it yet

fly 02-26-2004 10:48 AM

For the love of all things that are good, can someone please tell me what the 'Exclude Forums IDs' does? I'd love to figure out how to keep certain forums out of the latest threads list.

NTLDR 02-26-2004 02:20 PM

Quote:

Originally Posted by flypaper
For the love of all things that are good, can someone please tell me what the 'Exclude Forums IDs' does? I'd love to figure out how to keep certain forums out of the latest threads list.

The fix has been posted at least twice in this thread, or you can download the latest zip file from this thread and replace vbindex.php

NTLDR 02-26-2004 02:21 PM

Quote:

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

All users who have registered can shout, thats intended. Permissions are planed for future versions.

fly 02-26-2004 02:47 PM

Quote:

Originally Posted by NTLDR
The fix has been posted at least twice in this thread, or you can download the latest zip file from this thread and replace vbindex.php

My apologies then. I thought I had read the entire thread. Thanks for your help.

fly 02-26-2004 02:56 PM

Crap. Now I get this error.

Parse error: parse error in /usr1/home/drhunter/htdocs/vbindex.php on line 187

I just changed vbindex.php

NTLDR 02-26-2004 03:01 PM

Sorry, I make a mistake when updating the zip file with that bug fix, if you re-download it and replace vbindex.php it will work :)

Alternativly remove the extra ) at the end of line 187.

fly 02-26-2004 03:15 PM

LOL

Okay, now that works, but my poll has disappeared. I tried changing the options to not do the poll, save, and then readd it, but it's still missing...

NTLDR 02-26-2004 03:17 PM

Make sure the list of forumids to exclude doesn't include the polls forum.

fly 02-26-2004 03:21 PM

Yep. I'm an idiot. I'm probably being picky now, but is there any easy way to exclude the poll forum from the 10 threads list.

NTLDR 02-26-2004 03:30 PM

Find:

PHP Code:

AND forumid NOT IN (".iif(is_numeric($vbindex[newsfid]), "$vbindex[newsfid],").implode(',', $limitfids)."

And replace with:

PHP Code:

AND forumid NOT IN ($vbindex[pollsforumid],".iif(is_numeric($vbindex[newsfid]), "$vbindex[newsfid],").implode(',', $limitfids)."

That should do the trick. Note this will only work if you don't have the folls forumid set to 'ALL'.

ScruffyDeluxe 02-27-2004 05:54 AM

I'm having major gripes regarding the installation of VBIndex phrases, and timeouts. The installer creates the groups for the phrases, but inserts no phrases into the group, yet the installer seems to go without any errors (besides a non-fatal one about SCRIPT_EXTENSION already being defined).
I tried using vbiupgraded.php?step=10 to import the phrases, also tried importing them via the phrase manager. Both methods manage to exceed the maximum execution time of 30 seconds. This is especially frustrating, as I've modified settings in php.ini and httpd.conf to try and increase the timeout limit, to no avail.

In a last-ditch attempt I appended vBIndex's phrases to vbulletin-language.xml and reinstalled everything. Once again, the phrase groups show up, but they are empty. I can still use vBIndex, and even managed to configure it by looking at the input label names in the HTML source, but y'know... I can't use this on my site in it's current state :ermm:

Oh, and here's some info about my 'rig'. Hope you can stop me wanting to smash it. Thanks.

vBulletin 3.0.0 RC4
Apache/1.3.24 (While checking phpinfo(); this reported the timeout as 90 secs)
PHP 4.3.3
MySQL 3.23.49 (phpinfo(); reported the timeout here as -1 secs, which I believe is infinity)

Running on localhost using EasyPHP1.7 under Windows98 SE.

NTLDR 02-27-2004 09:55 AM

Do the templates import correctly?

Both the Phrase and Template XML files are generated by vB's standard functions. Can you import the vbulletin-language.xml file (an un-altered one) via the ACP?

All I can think of at the moment is that its a Windows problem.

Meltingfire 02-27-2004 11:43 AM

I really love vBindex and i have been using it for some time now, but one thing i have noticed is that the users stop at (vb)index and doesnt move on to the forum.

I have tried to make it some userfriendly by making the logo a direct link to the forum etc and also soon going to add a "too forum" button into the style.

But what would be the best for me and other forumowners is if there was a link to the forum at the top of the index page. Its hard to describe so ill show you a site that has done this: http://www.theadminzone.com

They have a "TheAdminZone.com Home Page | Bullletin Board" over the menu.

If you dont want to add something like this to the vBindex, maybe you can answer where i have to add it, is it a style thing, or do i have to hack a php file?

NTLDR 02-27-2004 11:45 AM

The navbar template is where I'd say is best to add the link. I'll be making changes in the next version to make it easier to goto the forums from vBindex.

ScruffyDeluxe 02-27-2004 11:15 PM

Quote:

Originally Posted by NTLDR
Do the templates import correctly?

Both the Phrase and Template XML files are generated by vB's standard functions. Can you import the vbulletin-language.xml file (an un-altered one) via the ACP?

All I can think of at the moment is that its a Windows problem.

Sorry, I should have mentioned that :o

The templates don't seem to import via the installer, but I've managed to add them later using the AdminCP's style manager. It looks fine, apart from the missing phrases.

EDIT: Uploading an unmodified vbulletin-language.xml also times out when importing via the AdminCP. I really hoped that the fresh install using the appended language file would work... D:
I'm going to try and add each one individually; I'll soon find out if it is in fact a Windows problem, if that doesn't fix it.

noppid 02-28-2004 03:13 AM

This hack looks good, works good, and was easy to install. Thanks for publishing it.

One of the features we like is the news on the index page. We wanted the first post displayed to be about us and encouraging guests to join. The sticky took care of that.

Here's the but, once registered there is no need for a member to see that post at the top of the vbindex page anymore. So we we added a condition before the vbnews code is run so if the user is a member and stickys is on, stickys is turned off. This was real easy using the bitmasks for vbindex options.

Nice hack nice code! Thanks

ScruffyDeluxe 03-01-2004 05:51 AM

OK, I eventualy got everything working both on my localhost and my live site. Looks well spanky.

I'm at the stage now where I'm tweaking things, so I decided to have a crack at the image paths. This checks the array $phrasegroups[] for 'vbindex' and prepends $vboptions[bburl] to all the image folder URLs in $stylevar['imgdir_xxx'] if it's found.

This can be done in forums/global.php, around line 377:

PHP Code:


// #############################################################################
// get style variables
$stylevar fetch_stylevars($style$bbuserinfo); 


Add BELOW that:

PHP Code:


##///////////////////////////////////////////##
// vBIndex Image Folder Fix by ScruffyDeluxe //
##///////////////////////////////////////////##

if(in_array('vbindex',$phrasegroups))
{
/*
Array $vbi_imagefolders[] assumes you have subfolders in forums/images with these names. Season to taste.
*/
    
$vbi_imagefolders    = array('attach','buttons','editor','misc','polls','rating','reputation','statusicon');

    for(
$go 0;$go count($vbi_imagefolders);$go ++)
    {
        
$stylevar['imgdir_'.$vbi_imagefolders[$go]]    = $vboptions['bburl'].'/'.$stylevar['imgdir_'.$vbi_imagefolders[$go]];
    }
}

##    // End 

EDIT: vB's code box has for some reason inserted extraneous spaces in the above code around 'statusicon'. Use your noggin and strip them out :p

You shouldn't have to hack anything else for this to work, but unfortunately, this only seems to work on the header and navbar, and not the other vBIndex templates. Any ideas?

Scotty2k 03-02-2004 07:43 PM

Hi,
i tried to make a latest Thread Box like this one which you can see in my attachment.. you can check it out on www.msvfans.com.

There is only one problem for me.. how can i read the Forumname for a Thread to show it in my Latest Thread Box.

Must be somewhere here, but i don?t know how to do it

PHP Code:

$getthreads $DB_site->query(
        ## GET LATEST THREADS ## 
        SELECT thread.* 
        "
.iif(($vbindex['options'] & VBI_SUBTHREADS) AND $bbuserinfo['userid'], ', NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed').
        FROM "
.TABLE_PREFIX."thread AS thread 
        LEFT JOIN "
.TABLE_PREFIX."deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread') 
        "
.iif(($vbindex['options'] & VBI_SUBTHREADS) AND $bbuserinfo['userid'], 
        LEFT JOIN " 
TABLE_PREFIX "subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = $bbuserinfo[userid])" 
        
).
        
$previewjoin 
        WHERE open = '1' 
        AND thread.open <> 10 
        AND forumid NOT IN ("
.iif(is_numeric($vbindex[newsfid]), "$vbindex[newsfid],").implode(','$limitfids).") 
        AND thread.visible = '1' 
        AND deletionlog.primaryid IS NULL 
        
$globalignore 
        
$ignorelist 
        ORDER BY lastpost 
        DESC LIMIT 
$vbindex[maxlthreads]"); 

Could someone give me a hint how to change the query to get the forumname

NTLDR 03-02-2004 07:48 PM

You'll need to add another join to add the forum table to the query to get forum.title

Scotty2k 03-02-2004 08:05 PM

My php-mysql knowlege seems not to be good enough to do this, i always get errors-messages

"There seems to have been a slight problem with the database." :ermm:

NTLDR 03-02-2004 08:20 PM

PHP Code:

$getthreads $DB_site->query(
        ## GET LATEST THREADS ## 
        SELECT thread.*, forum.title AS forumtitle
        "
.iif(($vbindex['options'] & VBI_SUBTHREADS) AND $bbuserinfo['userid'], ', NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed').
        FROM "
.TABLE_PREFIX."thread AS thread
        LEFT JOIN "
.TABLE_PREFIX."forum AS forum ON(forum.forumid = thread.forumid) 
        LEFT JOIN "
.TABLE_PREFIX."deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread') 
        "
.iif(($vbindex['options'] & VBI_SUBTHREADS) AND $bbuserinfo['userid'], 
        LEFT JOIN " 
TABLE_PREFIX "subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = $bbuserinfo[userid])" 
        
).
        
$previewjoin 
        WHERE open = '1' 
        AND thread.open <> 10 
        AND forumid NOT IN ("
.iif(is_numeric($vbindex[newsfid]), "$vbindex[newsfid],").implode(','$limitfids).") 
        AND thread.visible = '1' 
        AND deletionlog.primaryid IS NULL 
        
$globalignore 
        
$ignorelist 
        ORDER BY lastpost 
        DESC LIMIT 
$vbindex[maxlthreads]"); 


Scotty2k 03-02-2004 08:34 PM

Thx for your fast support.. but i get the same error message again :surprised:

NTLDR 03-02-2004 09:18 PM

Whats the contents of the email you get with the database error?


All times are GMT. The time now is 01:24 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.03046 seconds
  • Memory Usage 1,883KB
  • 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_html_printable
  • (6)bbcode_php_printable
  • (9)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