HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

[Solved]No icon at all

Hi, i have no icon, but just icon for no loaded image, i have vanilla 2.1.10,Yaga 1.0.3 and YagaDiscussionHeaderBadges 0.1.1

in my path for image badge, i have 2 "uploads" and i don't no why, my uploads dir it's just one upload.

I found a solution.

line 38

Img(Gdn_Upload::Url($Badge['Photo']) ),

replace by

str_replace("m/uploads","m",Img(Gdn_Upload::Url($Badge['Photo']) )),

replace "m" of "m/upload" by th last lettre of last dir.
exemple : http://exemple.com/forum/uploads/....
result : http://exemple.com/forum/...

yes its ugly solution, but i have basic skill for php :)

Sign In or Register to comment.