vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbHome (lite) - your vBulletin(powered) main homepage (https://vborg.vbsupport.ru/showthread.php?t=36756)

TECK 10-30-2002 01:09 AM

Quote:

Originally posted by MultiSync
TECK

I have a little problem, after I setup a clean install of vbb and vbhl on a new host, the vbhl index page loaded up as a blank page, but the forum index loads up just fine. Do you know what problem I have? I have read thru the posts here and find no answer.

Thanks:)

the path. that's ur prob. readmefirst.htm is the answer to any prob.

nocturnix123 10-30-2002 04:17 AM

I am getting an "error on page" icon in the bottom left of my browser on the index.php page.

When i double click the error icon it gives me this error message...

Line: 64
char: 1
Error: Object expected
Code: 0
URL: http://www.mysite.com/

Any clue what this could mean? site seems to work fine, but i dont like that the page is running with errors.

If you need me to paste any files/templates i can.

TECK 10-30-2002 05:17 AM

ya, you added some java stuff in your templates that is not part of the script. or you moded the focus on search? could be...
url?

TECK 10-30-2002 05:36 AM

Quote:

Originally posted by nocturnix123
If you need me to paste any files/templates i can.
make sure you read the copyright on the first post, before stating something like that (point 3). thanks.

Issy_X 10-30-2002 10:20 AM

Quote:

Originally posted by TECK
ofcourse you have blank pages. did you read every single word on readmefirst.htm? no. here it is your answer. that's for you to Issy_X.
I read it all, and everything is working except for the custom avatars. My board has no default avatars, only custom one's. Do I have to upload a set of avatars or did I do something wrong with installing. My english isn't very good and I didn't really understand step 8.

Smoothie 10-30-2002 10:43 AM

STEP 2;
Open member.php file (located in /forum folder) and perform the code change listed below.
FIND:
$avatars=$DB_site->query("SELECT *
REPLACE WITH:
if (in_array($bbuserinfo['usergroupid'], array(6, $articlegroup))) {
$avatars=$DB_site->query("SELECT *
FIND:
$pagenav = getpagenav($totalavatars,"member.php?s=$session[sessionhash]&action=editavatar&perpage=$perpage");
REPLACE WITH:
$pagenav = getpagenav($totalavatars,"member.php?s=$session[sessionhash]&action=editavatar&perpage=$perpage");
}

STEP 5;
Open modifyavatar template (located in User Option Templates section) and perform the code change listed below.
FIND:
<tr>
<td bgcolor="#13486D" align="center" colspan="2">
<normalfont><b>Choose your avatar from the available list:</b></normalfont></td>
</tr>
<tr>
<td bgcolor="#1C5780" colspan="2" align="center">
<table bgcolor="#0A293E" border="0" cellspacing="1" cellpadding="10">
$avatarlist
</table>
<normalfont>Displaying Avatars $limitlower to $limitupper of $totalavatars<br>$pagenav</normalfont>
</td>
</tr>
REPLACE WITH:
<tr>
<td bgcolor="#1C5780" colspan="2" align="center">
<table bgcolor="#0A293E" border="0" cellspacing="1" cellpadding="10">
$avatarlist
<normalfont>$pagenav</normalfont></table>
</td>
</tr>

STEP 8;
Still in your vBulletin Admin Control Panel, set your journalist avatars URL to your full website URL, like that:
Avatars > Modify > [edit]

and change the Path to image to the full URL, instead of your current value, images.
Example: http://www.yoursite.com/forum/images...journalist.gif

The default avatars will be from now your staff images. I recommend you to use pictures. They will work the same way like normal avatars, with the exception that they will be viewed only by your staff. The rest of members will be able to upload their own custom avatars, as usual.

If you don't want to allow avatars uploads, simply disable the Upload Avatar option, in Avatars section of
your Admin Control Panel.

JOURNALISTS GROUP
Enter here the usergroup ID value you generated in step 9. vBulletin uses 2 types of avatar groups, default and custom
(user uploaded). 99.99% of the cases, the default group is not used.
vbHome (lite) will use this group to store your journalists pictures or avatars.

The way are set the code changes, it will enable this default group of avatars to be viewed only by administrators and members who belong onto Journalists group. So if you have avatars enabled on your site, a normal user who wants to add his(her) avatar will not see the images.

Issy_X 10-30-2002 12:36 PM

I did all of that except for

Quote:

STEP 8;
Still in your vBulletin Admin Control Panel, set your journalist avatars URL to your full website URL, like that:
Avatars > Modify > [edit]

and change the Path to image to the full URL, instead of your current value, images.
Example: http://www.yoursite.com/forum/image.../journalist.gif

The default avatars will be from now your staff images. I recommend you to use pictures. They will work the same way like normal avatars, with the exception that they will be viewed only by your staff. The rest of members will be able to upload their own custom avatars, as usual.

If you don't want to allow avatars uploads, simply disable the Upload Avatar option, in Avatars section of
your Admin Control Panel.
Because when I go to my Admin CP and to Avatars, there are no avatars because I don't use default avatars. I want the custom avatars to work.

slideboxer 10-30-2002 03:07 PM

Ditto to what Issy_X says... :)

TECK 10-30-2002 06:14 PM

it will slow down the page if you do this. it was mentioned several times here... :)
let me explain why: if you have only few default avatars that are loaded as default avatars, they will be viewed only by the Journalist group.
then when the script loads it will search through few id's instead of 30,000 presuming that your board will grow.

also is esthetic, since you have avatars displayed on the home page, in other words it's the image of your site. how do you know if some of jourmalists will upload some nasty images? that you don't like? you have total control over the avatars since every journalist will have his(her) own assigned website avatar, that's why they are journalists, not moderators etc.

the custom avatar can be done very easy. feel free to release a hack for it and i will link it to the first post.

cheers. :)

TECK 10-30-2002 06:21 PM

Quote:

Originally posted by Issy_X
When I go to my Admin CP and to Avatars, there are no avatars because I don't use default avatars. I want the custom avatars to work.
so upload the ones you want for your journalists.. is that hard for you? please read the explanations above.

cheers.


All times are GMT. The time now is 07:42 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.02805 seconds
  • Memory Usage 1,756KB
  • 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
  • (5)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