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.

egn 10-30-2002 07:27 PM

I get a blank index page after install.. anoyne know what is wrong?

thanks

edit: just tried what teck posted... didnt work

Asso 10-31-2002 01:59 PM

but what is "journalist" exactly?

TECK 10-31-2002 02:40 PM

<a href="http://www.dictionary.com/search?q=journalist" target="_blank">http://www.dictionary.com/search?q=journalist</a>

Issy_X 10-31-2002 08:11 PM

Ok I'm having this really strange error. Everything worked well. I have polls enabled and I was able to see my lastest poll on the vbhomelite page (with was closed allready). Then I created a new fresh poll and vbhome stopped working. When I delete the new poll it works again with the old closed poll. When I post a new poll i get this error: Fatal error: Call to undefined function: get_bbarraycookie() in /usr/local/plesk/apache/vhosts/ishu.nl/httpdocs/forum/index.php on line 163

Please help me

TECK 10-31-2002 08:28 PM

issy_x, upgrade to latest version, 228. that will fix all ur problems. the code was made based on vb228 functions.
hmm i noticed something also:
/usr/local/plesk/apache/vhosts/ishu.nl/httpdocs/forum
this is the path that you should have on your vbhome index.php and the vbhome index.php should be placed in:
/usr/local/plesk/apache/vhosts/ishu.nl/httpdocs/ folder...

Issy_X 10-31-2002 09:54 PM

Ok, I did what you said, I upgraded and used beyond compare to copy my hacks. The vbhome page is working now but this time the content of a thread isn't showed. The title and smily do show up but the content is always empty. What can I do about this?

TECK 10-31-2002 10:20 PM

vbhlindex.php, run that file.. it's explained in the readmefirst file how.

Gutty 11-01-2002 09:39 AM

i know u may ahve run into this prob before, i dunno im not gonna go through 100+ pages of thread just to find it, but is there spose to be news showing up on this????
when i installed it and got it running and make a post there was just the topic and created by and the time etc, no actual news text...
http://www.nzfortress.co.nz/forum2/ is the dummy test we are using so we get the site sorted enabled for our changeover...
any ideas?
\



[edit]: ok scrap this... its just been asked 2 posts up

Chris M 11-01-2002 10:46 AM

Gutty...

You can now search this thread for any information you are looking for...;)

Satan

LeeCHeSSS 11-01-2002 11:31 AM

Well, changed my vbHome page to grab polls from one specific forum (no matter who made the last poll). If anyone wants to use that method instead of the default, warn me... (it's just 2 lines of code that need to be changed).

deano1 11-01-2002 01:23 PM

i installed the lite version on VB 2.2.8
i followed all instructions to the T

when i go to http://www.deanosworld.net/index.php
that's what i think the url would be , but i get -

Warning: ChDir: No such file or directory (errno 2) in /home/deanoswo/public_html/index.php on line 13

the install went perfect and i do got the new options in the VB control panel

in the index.php
i only added the server path
i changed nothing else
was that right ?

deano1 11-01-2002 02:15 PM

no need for help on this one
i found the awnser on another page
my first time seeing it now , looks nice
thanks anyway

i may come back for other reasons
on modifying this

deano1 11-01-2002 02:18 PM

ok
new problem
i got the first page working
but every link off it
i get page can not be found
help

Asso 11-01-2002 05:21 PM

Quote:

Originally posted by TECK
http://www.dictionary.com/search?q=journalist

mmm ok but what is the journalist feature in vBHome

TECK 11-01-2002 05:50 PM

Quote:

Originally posted by deano1
ok
new problem
i got the first page working
but every link off it
i get page can not be found
help

your forums url is:
http://www.deanosworld.net/testsite/

and not:
http://www.deanosworld.net/board/

that's why you get 404 errors.

deano1 11-01-2002 05:54 PM

you are correct
but i am trying to figure out where i put the wrong address

TECK 11-01-2002 05:54 PM

Quote:

Originally posted by Asso
what is the journalist feature in vBHome
people who are allowed to post articles and news related to your website or other subjects, visible on the home page.

deano1 11-01-2002 05:55 PM

and look at the 2 larger ones in the middle
how do i edit those feilds ?
not the ones on the left side

http://www.deanosworld.net/index.php

TECK 11-01-2002 05:56 PM

Quote:

Originally posted by deano1
you are correct
but i am trying to figure out where i put the wrong address

vbulletin options > general settings

deano1 11-01-2002 05:59 PM

Quote:

Originally posted by TECK
vbulletin options > general settings
thanks
i thought it was somthing i edited in the template
kool

TECK 11-01-2002 05:59 PM

deano, take your time to look through templates and readmefirst file, as well other options. you will find yourself the answers to your questions.
how can you learn new things if you expect that others will do it for you?

cheers.

deano1 11-01-2002 06:01 PM

i read through everything sir
and looked at the templates and stuff
but will go through it all
and see what i can do
i bet if i read this thread from start to finish
i will learn lots
thanks for your help

TECK 11-01-2002 08:55 PM

np :)
is the best way...

egn 11-01-2002 09:12 PM

i got it installed and working... but when i post news.. on the main page only the thread subject shows... not the content... thanks!

TECK 11-01-2002 09:12 PM

u didnt follow the newthread.php steps properly.

egn 11-01-2002 09:35 PM

Quote:

Originally posted by TECK
u didnt follow the newthread.php steps properly.

retrying now

edit: worked :) thanks

adriandaz 11-01-2002 10:35 PM

TECK / nakkid, I used this and it doesnt show whats in the thread :S

vBlite at: http://www.downage.org

Please help

deano1 11-01-2002 10:50 PM

ok
i got it figured out
it's on my main board now
just that white bar at the top
should not be there take a look yourself

and

if i put in a post
somthing like this -

test
test
test

in the post on the portal
it comes out as test test test

it puts it all on one line
how i fix dat ???

http://www.deanosworld.net/index.php

TECK 11-01-2002 10:59 PM

deano1, turn off the vbhome html option. it's done for certain servers that act wierd. it's not the case for you.

TECK 11-01-2002 11:02 PM

Quote:

Originally posted by adriandaz
TECK / nakkid, I used this and it doesnt show whats in the thread :S

vBlite at: http://www.downage.org

Please help

read the readme file.
it's telling you how to use the vbhlindexer file.

i'm extremly tired of repeating myself all the time for the same story. from now on, i will ignore answering to questions who are explained in readmefirst file.
so if you see i dont answer you, you know why. because it's explained in the readmefirst file.


All times are GMT. The time now is 04:07 AM.

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.03913 seconds
  • Memory Usage 1,831KB
  • 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
  • (12)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