![]() |
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. |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|