![]() |
Quote:
|
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. |
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? |
Quote:
|
Quote:
|
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. |
I did all of that except for
Quote:
|
Ditto to what Issy_X says... :)
|
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. :) |
Quote:
cheers. |
I get a blank index page after install.. anoyne know what is wrong?
thanks edit: just tried what teck posted... didnt work |
but what is "journalist" exactly?
|
<a href="http://www.dictionary.com/search?q=journalist" target="_blank">http://www.dictionary.com/search?q=journalist</a>
|
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 |
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... |
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?
|
vbhlindex.php, run that file.. it's explained in the readmefirst file how.
|
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 |
Gutty...
You can now search this thread for any information you are looking for...;) Satan |
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).
|
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 ? |
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 |
ok
new problem i got the first page working but every link off it i get page can not be found help |
Quote:
mmm ok but what is the journalist feature in vBHome |
Quote:
http://www.deanosworld.net/testsite/ and not: http://www.deanosworld.net/board/ that's why you get 404 errors. |
you are correct
but i am trying to figure out where i put the wrong address |
Quote:
|
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 |
Quote:
|
Quote:
i thought it was somthing i edited in the template kool |
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. |
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 |
np :)
is the best way... |
i got it installed and working... but when i post news.. on the main page only the thread subject shows... not the content... thanks!
|
u didnt follow the newthread.php steps properly.
|
Quote:
retrying now edit: worked :) thanks |
TECK / nakkid, I used this and it doesnt show whats in the thread :S
vBlite at: http://www.downage.org Please help |
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 |
deano1, turn off the vbhome html option. it's done for certain servers that act wierd. it's not the case for you.
|
Quote:
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|