Jump to content

Avatars not showing up in the forum


Icewolf
 Share

Recommended Posts

The database transfer is going well. I can upload avatars, but they do not show up in posts, profiles, or on the ACP user list, but do when looking at a user's information in the ACP, showing that the image is uploaded. I think it might be something to do with the coding for the avatar url paths, but I don't know where these are to fix them.

 

 

 

vRhVo6.png      vRhYQb.png

 

 

vRhfAp.png

 

Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Can I grab your site link? Just in case it's not in the usual template.

 

sig.png.30b42565d04d922988370bf14e1447bc.png

PSI: an Occult Investigations RP

Roleplay Architects: Grab a friend (or many friends!) and just write.

You can also find me at:

static-historicalrp.jpg  B8CB4x.png rpabutton.png

Link to comment
Share on other sites

  • Admin

Did you remove the CDN url? Check your Admin Panel settings first but if they are correct there then check the file below.

 

Quote

Go to File Manager

  • Right click on Public_HTML > Inc > settings.php download it to back up the file.
  • Right click and edit. Click Edit.
  • Find 
    
    $settings['cdnurl'] = "https://static18.icyboards.net/pirates";

    Where the end word is your icyboard's forum URL. Can't find it or any cdnurl? Good! Skip the next step.

  • Make sure to empty it

    
    $settings['cdnurl'] = "";

     

  • Find 

    
    $settings['avataruploadpath'] = "./uploads/avatars";

     

  • Make sure the upload path mirrors the above.

  • Find 

    
    $settings['cookiedomain'] = ".icyboards stuff here";

    Make sure it's changed to your own domain, so for my site it's

  • 
    $settings['cookiedomain'] = ".kit.wootflakes.com";

     

  • Click on save.

 

0_mainsignature.jpg

image.png

Profile set made by myself and original Artwork by Fae Merriman, my daughter.

 

 

Link to comment
Share on other sites

In addition to ensuring that the settings are correct in the ACP (you can find where to look in the guide spoiler alert: it's the site details, Server & Optimization Options and profile options in the settings)

 

postbit_classic - has an error.

<div <span class="post_avatar" style="">

Make sure to open the div properly

 

Templates

postbit_avatar - holds the actual avatar. It should have {$useravatar['image']} as the image source.

memberlist_user_avatar - is the template for the memberlist. It should also have {$useravatar['image']} as the image source.

 

However, if you look at your page source you'll note that there are a lot of references to icyboards. I am more inclined to stick my flag next to Morrigan's. In particular, that you are pointed at Spork's CDN ( Configuration > Settings > Server & Optimization Options ). Check your ACP settings in the areas mentioned. Checking the settings.php is more about double checking or a temporary solution to help you get into the ACP. The ACP will over write the settings file in due time.

 

In future, if you can't remember what template to edit, right click on the element you want to edit and select inspect element. Some code will pop up on the bottom or the side of the screen:

Capture.PNG

 

The amazing thing about mybb is that it starts each of it's templates with <!-- start: template_name --> so you can see that the avatar is in the memberlist_user_avatar.

 

Hope that helps! Holler if you need further help. :D

 

sig.png.30b42565d04d922988370bf14e1447bc.png

PSI: an Occult Investigations RP

Roleplay Architects: Grab a friend (or many friends!) and just write.

You can also find me at:

static-historicalrp.jpg  B8CB4x.png rpabutton.png

Link to comment
Share on other sites

From the guide that I linked you to:

 

- Go to your new forum and log into your Admin CP.

- Click on Configuration > Settings

- Site details

-- Board URL - your new forum's URL. Do NOT include the trailing slash. So pirates.com not pirates.com/

-- Homepage URL - Your new forum's URL.

-- Cookie Domain - empty it

- Click on Save Settings

 

- Go to Configuration > Settings > Profile Options

- Scroll down to Avatar Upload Path and make sure that it's set to ./uploads

 

- Go to Configuration > Settings > Server & Optimization Options

- Scroll down to Uploads Path and change the value to ./uploads

- Scroll down to Use a CDN? Select No and save settings.

 

Is there anything that you have found that I missed?

 

sig.png.30b42565d04d922988370bf14e1447bc.png

PSI: an Occult Investigations RP

Roleplay Architects: Grab a friend (or many friends!) and just write.

You can also find me at:

static-historicalrp.jpg  B8CB4x.png rpabutton.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Guidelines and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.