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 01-19-2004 10:25 PM

Quote:

Originally Posted by wolfe
also on a personal note this is an awesome portal but what new changes will be in the final release or future upgrades ?

Still to come in the future is Dynamic PHP powered custom blocks, full admin help, better options and configuration section in the ACP, shoutbox permissions, custom center blocks, and probably other stuff that will be suggested ;)

Gary King 01-19-2004 11:45 PM

Quote:

Originally Posted by NTLDR
Still to come in the future is Dynamic PHP powered custom blocks, full admin help, better options and configuration section in the ACP, shoutbox permissions, custom center blocks, and probably other stuff that will be suggested ;)

Sounds great I can't wait to see it ;), but anyways, this is great for a first release as well :)

Keep up the great work :D

n00belit3 01-20-2004 03:16 AM

Newbish question here, now that i installed vbindex how do i get it to be on my main page for my website?

WAR 01-20-2004 03:24 AM

Title hopefully describes it...

I would like to display the latest threads from the vbindex portal page on my forumhome page as well but could not figure out how to do it (i tried copy/pasting the code from the latest threads block but it didn't work...

I tried Chroders latest threads hack but his hack ignores forum permissions when choosing what threads to display for the user.

Thanks

Would it also be possible to get recognized as licensed on the Core Forums?

My username is the same over there...

Thanks again!

RapCheck 01-20-2004 04:30 AM

Quote:

Originally Posted by n00belit3
Newbish question here, now that i installed vbindex how do i get it to be on my main page for my website?

just point your browser to vbindex.php

or rename it index.php and it'll be your index page for whatever directory its in (yourdomain.com)

n00belit3 01-20-2004 05:54 AM

how do i point it to vbindex.php

RapCheck 01-20-2004 06:03 AM

http://www.yourdomain.com/vbindex.php ;)

NTLDR 01-20-2004 10:02 AM

Quote:

Originally Posted by WAR
I would like to display the latest threads from the vbindex portal page on my forumhome page as well but could not figure out how to do it (i tried copy/pasting the code from the latest threads block but it didn't work...

I'll try and create and release this one today :)

I've marked you as licenced at Core Forums too.

Marulatree 01-20-2004 12:19 PM

Does anyone have some example sites out there that are using this for me to look at?

Asendin 01-20-2004 01:55 PM

Nice work Lee,, for some reason when i installed, it didnt write my full URL path to my smiles, i guess i could do a replacement set for images/smiles ,

All other images show up fine.. strange..

Asendin 01-20-2004 01:58 PM

Quote:

Originally Posted by Marulatree
Does anyone have some example sites out there that are using this for me to look at?

http://www.asendtechnologies.com/

Still working on it,, just installed late lastnight...

NTLDR 01-20-2004 02:08 PM

Quote:

Originally Posted by Marulatree
Does anyone have some example sites out there that are using this for me to look at?

http://www.coreforums.net/ (the offical site)
http://www.artorg.co.uk
http://www.dcevoclub.com/
http://www.hr3rdgen.org/

To name just a few of the sites using it.

@Asendin: The smilie paths wern't supposed to get updated, although I will be looking into that for a future version.

Cyricx 01-20-2004 07:52 PM

Okay, NTLDR,

I got a doozy for you...

I have a test site up. And 3 styles. I edited 1 style (to ensure it works fine) according to the 3 html files that was in the the .zip file I downloaded.

Then I changed to the style I edited.

There's a PM loop going on.

Saying, "You have a private message..." while there is no private messages, old or new.

thoughts??

Cyricx

NTLDR 01-20-2004 08:14 PM

The PM popup should only appear when you actually have new PM's, thats the only time the template is added to the footer.

Cyricx 01-20-2004 08:17 PM

I know.

That's what's wrong, lol.

It's looping...

Also, I think there's a smalllllllllllllllllll bug, not sure, but it might be me. The link on the vbindex.php for Usercp doesn't redirect to the usercp.php inside /forums/

I'm still trying to figure out why it is looping.

Cyricx

Cyricx 01-20-2004 08:23 PM

Never mind, figured it out.

You should put the text that is in the html files into a .txt file.

Cyricx

RapCheck 01-20-2004 08:25 PM

Quote:

Originally Posted by Marulatree
Does anyone have some example sites out there that are using this for me to look at?

http://www.rapcheck.com :)

just put up the new style for my site. not completely finished but close

jaliam 01-21-2004 08:10 AM

I followed all instructions but this is what I got when I ran the install...

Big Jim 01-21-2004 08:53 AM

Great hack. Really great.

I really enjoy the 'random' poll feature. However, is their someway to limit the date as to how far it goes back on the poll? I'm getting posts pulled up from ages ago. Also, being able to highlight the title of the poll and have a 'thread preview' would be pretty nifty as well (for the polls that don't make a tonne of sense without some information).

NTLDR 01-21-2004 09:13 AM

Quote:

Originally Posted by jaliam
I followed all instructions but this is what I got when I ran the install...

Make sure you have uploaded all the files to the correct directories and that you have the right value entered for $admincpdir in includes/config.php

NTLDR 01-21-2004 09:17 AM

Quote:

Originally Posted by Big Jim
I really enjoy the 'random' poll feature. However, is their someway to limit the date as to how far it goes back on the poll? I'm getting posts pulled up from ages ago. Also, being able to highlight the title of the poll and have a 'thread preview' would be pretty nifty as well (for the polls that don't make a tonne of sense without some information).

In vbindex.php find:

PHP Code:

".iif(strtoupper($vbindex['pollsforumid']) != 'ALL', "AND thread.forumid IN ($vbindex[pollsforumid])")." 

Add before:

PHP Code:

AND poll.dateline ". TIMENOW - X." 

Replacing X with the number of seconds old it can be, for example any poll created within the last 31 days put 2678400.

I'll try and remember to add the thread preview to RC4.

jaliam 01-21-2004 09:44 AM

Quote:

Originally Posted by NTLDR
Make sure you have uploaded all the files to the correct directories and that you have the right value entered for $admincpdir in includes/config.php

I just verified everything and it all seems to be in the correct places.

NTLDR 01-21-2004 10:11 AM

The easiest solution is to find in vbiupgradecore.php:

PHP Code:

chdir('../'.$admincpdir); 

And replace it with the full path to your admin cp directory, eg:

PHP Code:

chdir('/home/bogus/public_html/forums/admincp'); 


Mukashi 01-21-2004 10:17 AM

Quote:

Originally Posted by NTLDR
It seems to work fine on my site, I'd check your vbindex_side template and make sure it has the following in it:

(Snipped Code for space)

The $vbindex['options'] <if> blocks are the important parts that adjust the width.

The block showed up as

HTML Code:

<!-- start side ($currentside) -->
<td width="150" style="vertical-align: top">
        <if condition="$currentside == 'left'">
                $home[leftblocks]
        </if>

        <if condition="$currentside == 'right'">
                $home[rightblocks]
        </if>
</td>
<!-- end side ($currentside) -->

I've edited my template with the corrections. Thanks for the help.

d3nnis 01-21-2004 04:03 PM

Help! I am stuck at step 7... it says page cannot be found?

I have loaded the following...

/root

vbindex.php
vbiconfig.php

forums/includes/cron

eventcache.php

forums/install

vbiupgrade.php
vbiupgradecore.php
vbifunctions_upgrade.php
vbiupgrade1.php - vbiupgrade3.php (I only see vbiupgrade1.php to vbiupgrade3.php)
vbindex_phrases.xml
vbindex_templates.xml

forums/[myadmin folder]

vbioptions.php

After this I point to http://www.my forum address.com/install/vbiupgrade.php

everything went fine till step 7...

whats wrong??

NTLDR 01-21-2004 04:05 PM

You haven't uploaded vbiupgraded.php to your install folder.

d3nnis 01-21-2004 04:11 PM

Quote:

Originally Posted by NTLDR
You haven't uploaded vbiupgraded.php to your install folder.


cool thanks :)

d3nnis 01-21-2004 04:28 PM

by the way NTLDR , how do I uninstall vbindex?

NTLDR 01-21-2004 05:43 PM

You need to look through the 4 install files and reverse all queries that do any modifications.

marcjd 01-21-2004 09:31 PM

Quote:

Originally Posted by NTLDR
In vbindex.php find:

PHP Code:

".iif(strtoupper($vbindex['pollsforumid']) != 'ALL', "AND thread.forumid IN ($vbindex[pollsforumid])")." 

Add before:

PHP Code:

AND poll.dateline ". TIMENOW - X." 

Replacing X with the number of seconds old it can be, for example any poll created within the last 31 days put 2678400.

I'll try and remember to add the thread preview to RC4.

I tried this but it isn't working. I am getting a white screen with:
Quote:

Parse error: parse error in /home/politics/public_html/index.php on line 685
I made sure there weren't any extra spaces and did it all in plain text. Deleting the extra line and reuploading of course fixes the problem.

Thanks for all of your work on this; it is appreciated by many.

NTLDR 01-21-2004 09:54 PM

Sorry, I should have said add that line after, and not before :)

marcjd 01-21-2004 09:59 PM

Still didn't work. Getting the same error. Thanks. :)

NTLDR 01-21-2004 10:07 PM

OK I tested it this time, it wants the subtraction in brackets:

PHP Code:

AND poll.dateline ".(TIMENOW - X)." 

This will work, I promise :) Remember to change X again.

marcjd 01-21-2004 10:13 PM

Thank you very much; it works great now!!! Yippee!!! :D

Asendin 01-21-2004 11:04 PM

Quote:

Originally Posted by marcjd
Thank you very much; it works great now!!! Yippee!!! :D

ok good, now upgrade your vB to RC3 :D

marcjd 01-21-2004 11:10 PM

I think I will just wait for vb3 gold. I have made some file changes here and there and don't have the time to document them all like I should have from the beginning. Not too many, but just don't want to waste the time with it now. :)

Anarchy 01-22-2004 12:14 PM

Below is the text i placed in the phpinclude_start template.

PHP Code:

    $msie '/msie\s([5-9])\.?[0-9]*.*(win)/i';
    
$opera '/opera\s+[0-9]+/i';
    if(!isset(
$_SERVER[HTTP_USER_AGENT]) || !preg_match($msie,$_SERVER[HTTP_USER_AGENT]) || preg_match($opera,$_SERVER[HTTP_USER_AGENT]))

{

$logooutput "<img border=/"0/" src=/"$vboptions[bburl]/blank.gif/" style=/"border0width270pxheight80pxfilter:
progid:DXImageTransform.Microsoft.AlphaImageLoader(src='$vboptions[bburl]/images/header/ttclogo.png'sizingMethod='scale')/" />";

}
else
{

$logooutput "<img src=/"$vboptions[bburl]/images/header/ttclogo.png/" style=/"width270pxheight80pxborder0;/" />";



I then put $logooutput in my vbindex_header template and nothing happens. What should i do to fix this?

NTLDR 01-22-2004 12:26 PM

A much better way of doing that would be:

HTML Code:

<if condition="is_browser('ie') || is_browser('opera')">ie/opera html<else />other browsers html</if>

zenmasteril 01-22-2004 02:18 PM

I want to add statistics in a custom block at vBindex..
How do i do that ?
I know how to find the members number ( $home[numbermembers] )
But what about the total post, total threads, best poster ?
And also if it's possible - Top Threader (the one who started the most threads)

Thanks

NTLDR 01-22-2004 02:20 PM

You'll need to edit vbindex.php and enter the code to collate the stats you want, or wait untill RC4 when it can all be done via the templates.


All times are GMT. The time now is 05:59 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.02362 seconds
  • Memory Usage 1,852KB
  • 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_html_printable
  • (8)bbcode_php_printable
  • (15)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