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)

AlexanderT 04-07-2004 11:43 AM

Thanks burnz, small mod, but VERY useful :)

Quote:

Originally Posted by burnz
a small suggestion for the vBindex :D

Template: VBINDEX

Find:
Code:

<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[tablewidth]">
Replace:
Code:

<table cellpadding="0" cellspacing="0" border="0" width="$stylevar[tablewidth]" style="margin-bottom:3px">
Find:
Code:

$home[leftside]
Add after:
Code:

<td width="10">&nbsp;</td>

Find:
Code:

$home[rightside]
Add before:
Code:

<td width="10">&nbsp;</td>
this will make the table body align with the navbar... :D


NTLDR 04-07-2004 11:49 AM

Quote:

Originally Posted by SilverDawn
I noticed that when I:
Enable News Posters Avatar -->Yes

It will post the avatar in the Welcome Box, but when it isn't enabled the Welcome Box avatar doesn't show up. Perhaps this only happens with the news poster's account...

What version of vB are you using? And do you store avatars in the database or as files? And is your avatar a custom one or a pre-defined avatar?

SilverDawn 04-07-2004 11:39 PM

Sorry,
  • We run vb3,
  • We store the avatars in images/avatars and import them into VB through the admin panel.
  • It was a predefined avatar that I had previously uploaded to the images/avatars directoy and I imported it using the admin panel.

Skyline_GT 04-08-2004 05:54 AM

Great stuff:D

Pseudomizer 04-08-2004 02:28 PM

Quote:

Originally Posted by Feanor
Use the url to the smilies, instead of the path - worked for me.

Hello ? This can't be true. I have to manually edit all the 60 Standard Smilies ? This can work for some people but we proudly present 1001 Smilies on our domain. How should i handle this please ? I do not want to manually edit 1001 + 60 Smilies on my own.

Hack creator ? Could you please take one action item to find a better solution here for this problem ?

Hint: The old vbhome lite version had a replacement variable like {imageshome} for each style which solved this problem. But with your hack this does not work yet.

Any comments ?

Cheers,

Pseudomizer 04-08-2004 02:32 PM

Addition to my last request:

Performance is also a big thing here. For every http:// link in your source code the client browser opens a complete new session over http. This is a big performance overhead for our amount of smilies. Please help to find a better solution.

Thanks.

Cheers,

NTLDR 04-08-2004 04:11 PM

A script has already been released in this thread by Natch to automatically change all the smilie URLs.

AlexanderT 04-08-2004 04:36 PM

NTLDR, instead of having the user alter his smilies, have you thought of applying a regex on the text containing smilies (add the full url dynamically to them) before "you eval" the templates with it?

Pseudomizer 04-08-2004 04:40 PM

Quote:

Originally Posted by AlexanderT
NTLDR, instead of having the user alter his smilies, have you thought of applying a regex on the text containing smilies (add the full url dynamically to them) before "you eval" the templates with it?

Thanks. You got it.

NTLDR ? The main reason for not willing to alter all the smilies to the full URL is the performance issue. Again ... if you alter all smilies to http://blablabla/forum/images/smilies/smile.gif from the original /forum/images/smilies/smile.gif you increase the connections to the server dramatically.

I hope this has made my problem clearer. Do you know what i am talking about now ?

Cheers,

bobII 04-08-2004 05:11 PM

Great hack! But I am having one problem... I upgraded from vb 2.3.4 to vb 3.0 today and everything works fine except vbindex will not display the text from my 'news' posts... I checked the length and it's set to display 150 characters. What could be wrong?


All times are GMT. The time now is 09:34 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.04977 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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