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)

trekwarfare 01-13-2004 06:55 PM

just upgraded from previous version, upgrade went smoothly. Thanks for your hard work!!

???`S?LV?R???` 01-13-2004 11:58 PM

:) i got it raised to 20mb instead of 2 lol

???`S?LV?R???` 01-14-2004 05:57 AM

trying to add an mp3 as an attachment and i keep getting database errors... under extensions/mime type i put in "Content-type: audio/mpeg". Is that right?

???`S?LV?R???` 01-14-2004 06:00 AM

actually i got the database errors when i tried "Content-type: audio/mp3" but then i try "Content-type: audio/mpeg" the popup box thats uploading the mp3 just freezes & stops responding after a few seconds.

weirdpixels 01-14-2004 06:51 AM

great hack
*clicks install*

NTLDR 01-14-2004 10:21 AM

Quote:

Originally Posted by ???`S?LV?R???`
trying to add an mp3 as an attachment and i keep getting database errors... under extensions/mime type i put in "Content-type: audio/mpeg". Is that right?

No idea, but content types are only used for downloading. Note that MySQL also has a limit (MySQL Maximum Packet Size) which will prevent you adding anything over that limit into the DB.

???`S?LV?R???` 01-14-2004 02:43 PM

thanks for letting me know, lol looks like i'll be talking to my hosting again about that

Sebastian 01-14-2004 07:13 PM

new threads since last visit is pretty pointless since everytime a user makes a post in a different thread that was already started it counts it as a new thread.

so if make a post in a thread that was 2 days old

it will show

new post: 1
new threads: 1

instead of:

new post: 1
new threads: 0

i see you are using one query, but i think its almost impossible unless you run two queries, one to get the count of new posts, and another for new threads.

NTLDR 01-14-2004 07:17 PM

Hence why the default phrase says "New & Updated Threads" ;)

I've a plan to make the new threads/posts report a true value all the time, so if you read a post the new post count decreases, however I'm not sure how efficient it will be.

Mr. HillBilly 01-15-2004 01:42 AM

How would I uninstall this?

InstaNet 01-15-2004 02:46 AM

Cool hack ! thanks

RapCheck 01-15-2004 05:37 AM

alright... new problem :D

Polls arent working for me. I have it set to random, and they come up fine, but when you press the button to vote it says no thread specified.

Anarchy 01-15-2004 08:14 AM

It didn't let me change the image URL's how do i do this in the admincp, i've been searching everywhere.

NTLDR 01-15-2004 09:50 AM

Quote:

Originally Posted by Anarchy
It didn't let me change the image URL's how do i do this in the admincp, i've been searching everywhere.

Admin CP -> Style Manager -> All Options (For each style) -> Image Paths

NTLDR 01-15-2004 10:08 AM

Quote:

Originally Posted by RapCheck
alright... new problem :D

Polls arent working for me. I have it set to random, and they come up fine, but when you press the button to vote it says no thread specified.

Starnge, they work for me with vB3 Gamma and vBi RC3. Try the following change to your vbindex_poll template:

Find:

HTML Code:

<input type="hidden" name="pollid" value="$pollinfo[pollid]" />
Add after:
HTML Code:

<input type="hidden" name="threadid" value="$pollinfo[threadid]" />

???`S?LV?R???` 01-15-2004 04:06 PM

Alright I gotta question about the extra pages feature, I took some screen shots of how It looks then edited them to how I want them to look. Basically when someone goes to one of the extra pages I want it to not show the two blocks "shoutbox" & "what do you think of the site?" so that the extra page can expand more without making the rest of the blocks bigger. (I know my cut & paste job wasn't that great but that's basically how I want it to look)

RapCheck 01-15-2004 07:08 PM

Quote:

Originally Posted by NTLDR
Starnge, they work for me with vB3 Gamma and vBi RC3. Try the following change to your vbindex_poll template:

still doesn't work.

NTLDR 01-15-2004 07:27 PM

You needed to add the code not replace it which you seem to have done :)

RapCheck 01-15-2004 07:34 PM

oops, wasn't even paying attention. I did however try it added and it still didn't work. I added it again, and still.

???`S?LV?R???` 01-15-2004 07:36 PM

What do you think NTLDR? :)

NTLDR 01-15-2004 07:40 PM

Quote:

Originally Posted by RapCheck
oops, wasn't even paying attention. I did however try it added and it still didn't work. I added it again, and still.

From what I can see looking at the HTML and what happens is that the form points to http://rapcheck.com/b/poll.php but I get redirected to http://www.rapcheck.com/b/poll.php as thats what you have set the URL to in the ACP.

NTLDR 01-15-2004 07:42 PM

Quote:

Originally Posted by ???`S?LV?R???`
What do you think NTLDR? :)

If the browser shows the page correctly then it won't work, which is the correct behaviour. You can try putting the followinf conditional around the vbindex_shoutbox and vbindex_poll:

HTML Code:

<if condition="!EXTRA_PAGE">
 the html in the template here
</if>


???`S?LV?R???` 01-15-2004 07:58 PM

:( didn't work

???`S?LV?R???` 01-15-2004 08:04 PM

any other suggestions?

NTLDR 01-15-2004 08:05 PM

If the boxes didn't show, which they shouldn't have you'd need to disable both, or one of the side columns for extra pages.

???`S?LV?R???` 01-15-2004 08:17 PM

how would i do that? you got me a little confused now.

NTLDR 01-15-2004 08:24 PM

In vbindex.php find:

PHP Code:

// ####################### GENERATE SIDE BAR ########################## 

Add after:

PHP Code:

if (EXTRA_PAGE) {
    
$vbindex['options'] = $vbindex['options'] - VBI_BOTH_COLS;


That will disable the side bars on extra pages.

???`S?LV?R???` 01-15-2004 08:31 PM

That worked good, thanks :). Still no way to make only certain blocks showup on the extra pages though?

RapCheck 01-15-2004 08:39 PM

Quote:

Originally Posted by NTLDR
From what I can see looking at the HTML and what happens is that the form points to http://rapcheck.com/b/poll.php but I get redirected to http://www.rapcheck.com/b/poll.php as thats what you have set the URL to in the ACP.

Alright, I changed the url to the board to include the www. in the url which it didn't before, and now the polls work. Thanks


Heres a new one for you though lol... I have 2 forums sending news to vbindex... Forum 1 and forum 67. All is fine. I excluded a forum (29) and this stopped the news from forum 1 from showing up. I tried to exclude a different forum number and same thing. I switched the order of the news forums from 1,67 to 67,1 and forum 1 still didnt show up, forum 67 did. Both forums show up fine as long as no forums are excluded. Strange. This one for me isn't a big deal as I don't use the latest threads so I really don't even need to exclude a forum, just noticed it today and figured I'd post about it cuz it seems weird to me.

NTLDR 01-15-2004 08:52 PM

Someone else reported this but I can't find it now. Anyway its fixed, in vbindex.php find:

PHP Code:

    $limitfids = array(explode(','$vbindex['limitfids'])); 

Replace with:

PHP Code:

    $limitfids = array();
    
$limitfids explode(','$vbindex['limitfids']); 

And it should work as expected :)

NTLDR 01-15-2004 08:54 PM

Quote:

Originally Posted by ???`S?LV?R???`
That worked good, thanks :). Still no way to make only certain blocks showup on the extra pages though?

Not currently, however it maybe easy enough to do it. However it won't be untill a future version.

???`S?LV?R???` 01-15-2004 09:13 PM

lol ill take that as a no about the being able to make only certain blocks showup on extra pages :(

RapCheck 01-15-2004 09:47 PM

you could do it through editing the VBINDEX_SHELL template. and taking out the code that inputs the left and right blocks and just putting in the html manually. a tad more work but would probably get you to were you want...

NTLDR, you had
PHP Code:

$linitfids 

as what to replace with, you have a n instead of a m in limit. Excluding forums works now.

NTLDR 01-15-2004 09:50 PM

Thanks :) Glad its all working smoothly now :)

ScripToR 01-15-2004 10:20 PM

I am having one small problem with vbindex. In the news posts on the main page there is not text in the actual box. It shows the title, the date it was posted, the replies, but right under that where it should show the contents of the post, it is empty:( Can someone please tell me why. I thought it was the font color.

I have included a screenshot to see what I mean. Please tell me how to fix it. Thank you.

NTLDR 01-15-2004 10:28 PM

Run the two options on the Upgrade Counters page in the admin cp that rebuild threads.

ScripToR 01-15-2004 11:23 PM

Oh you are a saint and a scholar:)

Thank you so much, you are now my hero:)

chas_h 01-16-2004 01:33 AM

Hi,
In your instructions for RC-3 you say;

"Find:

construct_nav_option(construct_phrase($vbphrase['x_options'], 'vBulletin'), 'options.php?null=0', '<br />');

Add after it:

construct_nav_option(construct_phrase($vbphrase['x_options'], 'vBindex'), 'vbioptions.php?', '<br />'); "

I have looked everywhere in that file and can't find that exact phrase, are you sure that you have the syntax correct? I don't want to add a line if it's not correct.

Thanks for any help.

Chas.

Dark Shogun 01-16-2004 03:37 AM

Usually if you don't find something that matches exactly you see if anything matches and if it is close enough pop the code in and see if it works.

Dark Shogun

Anarchy 01-16-2004 05:58 AM

I'm so happy with this script and i love it.

Is there any way i can give something back to you.

Maybe in the way of paypal or something?


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.02325 seconds
  • Memory Usage 1,825KB
  • 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
  • (3)bbcode_html_printable
  • (5)bbcode_php_printable
  • (8)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