![]() |
|
#1
|
|||
|
|||
|
I can't figure out what's wrong with this bit of code in adv_portal_newsbits:
Quote:
I only get a broken link for the avatar, though. Am I using $news[avatarpath] wrong? |
|
#2
|
||||
|
||||
|
That should give you the path to the avatar. What is the URL that appears if you view the properties of the broken image?
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
|
#3
|
|||
|
|||
|
That's the weird thing. I get SRC="" when I inspect the element. No URL.
|
|
#4
|
||||
|
||||
|
Are you sure the user who posted that news thread has an avatar?
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
|
#5
|
|||
|
|||
|
The user was me.
![]() I figured it out, though; it was something simple. It was the "show avatars" setting for the module - it needs to be switched on if you want to use avatars at all, not just if you want it to automatically display avatars as normal. I switched it on and cut out the original avatar display code, and all is fine now. |
|
#6
|
||||
|
||||
|
Ahh, that would do it. If that setting is turned off then avatars are not queried from the database to save server resources.
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Standalone code don't work for VBadvanced (OFFERING $75.00 VIA PAYPAL for HELP) | borderpatrol | Module & Modification Discussion & Requests | 9 | 05-16-2011 12:11 PM |
| Post BB code doesn't work properly in polls | TsirhCitna | Troubleshooting & Problems | 3 | 09-16-2008 12:57 PM |
| Code does not work (ex. google search) | hr66 | Troubleshooting & Problems | 3 | 01-29-2007 12:37 PM |
| How can i make this code work in member profiles? | Jrofosho | Feedback & Suggestions | 1 | 12-05-2005 10:56 PM |
| news news template doesnot work | jhons | "How Do I..." Questions | 2 | 09-21-2005 05:52 PM |