Previous Thread
Next Thread
Print Thread
Hop To
#236881 05/13/2010 6:09 PM
Joined: May 2008
Posts: 753
Likes: 1
Old Hand
Old Hand
Joined: May 2008
Posts: 753
Likes: 1
is it just me or is the featured member image on the left column broken?


"No matter where you go, there you are."
"If you can't do something smart, Do something right"
"There are three kinds of people in the world, those who can count, and those who can't"
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
it's a bug feature that has been around for awhile

SD #236885 05/13/2010 9:33 PM
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
I think I remember Ruben bringing it up once. Or was that "Random Images?"


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Ruben has been on that all along smile

SD #236888 05/14/2010 5:33 AM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Oh yeah wink

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
ONCE!!!.
It is my pet peeve.
I even post in the shout box.
Sometimes it is due to a remote avatar. Where the file is now missing. But not always.
But even then it should default to the nopicture.gif. IMO.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
The random image is a different issue. Where orphaned pictures appear in the island but not in the gallery.
But the island was just a simple hack to show some pictures.
Hopefully v8 will clean up the orphaned files and they both will work fine.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
I really would like this resolved one day.

Today's server error log which is flushed after 300 entries.

Quote
Entries removed for privacy

Last edited by Rick; 08/08/2010 4:13 PM.

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
Ok, here is the deal. In your stock UBB you have a nophoto image. If you have several styles that your users can select you have to have that in every style image folder or it will come up with that error and a broken image.

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Already did that. Or at least I think I did.

As far as I know the nopicture.gif is copied to every style folder.
I could check again I guess.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Okay I found one style that was missing the gif file . But nobody is using the style.
So we will see but still this site has the same issues on featured members.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jan 2005
Posts: 186
member
member
Joined: Jan 2005
Posts: 186
I have the same problem on my site and ended up just hard coding it to fix the problem. It isn't entering a value for {$style_array['general']}.


In cache_builders/featured_member.php on line 58 I replaced:
Code
$avatar = "{$config['FULL_URL']}/images/{$style_array['general']}/nopicture.gif";
with:
Code
$avatar = "{$config['FULL_URL']}/images/general/default/nopicture.gif";

That obviously isn't the best solution, but it will fix the issue.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Figuring you could probably enter an if/else statement above $avatar, if $style_array['general'] is blank, then use default, blah blah blah...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I'd try adding:
Code
	if($style_array['general'] == "") { $style_array['general'] = "default"; } else { }

Above:
Code
	$avatar = "{$config['FULL_URL']}/images/{$style_array['general']}/nopicture.gif";

So that if the portion of the array is blank it'll be changed to default, versus always setting it to default.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2005
Posts: 186
member
member
Joined: Jan 2005
Posts: 186
Thanks for the additional code Giz.

Joined: Jan 2010
Posts: 34
newbie
newbie
Joined: Jan 2010
Posts: 34
Here is an an actual code change that will work. Gizmo was close, but just needs to be a bit different and it needs to be general/default I've added it here as well so it should no longer break, unless someone just has a link to an avatar that doesn't exist.

Open up your cache_builders/featured_member.php script. Line 57, you'll see this:

Code
if (!$avatar) {


Change that, so it reads:

Code
if (!$avatar) {
        if (!$style_array['general']) {
                $style_array['general'] = "general/default";
        }

Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
I think Ruben gona have a new best friend, lol. Good job Scott

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Originally Posted by gliderdad
I think Ruben gona have a new best friend, lol. Good job Scott
My idea, his fix to my lack of /default tongue


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2008
Posts: 514
addict
addict
Joined: Jan 2008
Posts: 514
ROFL aww Gizmo we all know you rock don't sweat it!

Joined: Jan 2010
Posts: 34
newbie
newbie
Joined: Jan 2010
Posts: 34
Originally Posted by Gizmo
My idea, his fix to my lack of /default tongue

Hey, I said you were close wink

Joined: Jan 2005
Posts: 186
member
member
Joined: Jan 2005
Posts: 186
Awesome. Maybe Rick should go on vacation more often. grin

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
they real question for me is ..

did that modification also make it into the current downloadable .zip of 7.5.5 ?

would also apply to other known bugs.. i'd wager there are at least 10 of em..

2c

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Inserted and waiting.
Hopeful thoughts.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
SD #238299 07/29/2010 4:32 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Originally Posted by Sirdude
would also apply to other known bugs.. i'd wager there are at least 10 of em..
Inspiration for a 7.5.6? tongue


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
Scott, the Random Image island is also randomly broken.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Jun 2006
Posts: 684
H
Addict
Addict
H Offline
Joined: Jun 2006
Posts: 684
It's looking pretty good when Catherine Zeta Jones is in it.

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Well 24 hours and no errors so far on the featured member.
I am a happy,happy,happy,happy camper so far.

Dave, as far as the Random Image issue. I think it has to do with the sql query just looks for any files including orphaned thumb files from past versions. But the normal resolution files are missing. So it breaks when you attempt to open them.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
SD #238321 07/30/2010 3:43 PM
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Originally Posted by Sirdude
they real question for me is ..

did that modification also make it into the current downloadable .zip of 7.5.5 ?

would also apply to other known bugs.. i'd wager there are at least 10 of em..

2c
Yep I have seen this before. In fact I think I commented on this once.

Where minor bug fixes that did not warrant a version change and just was added to the existing zip.
Without any mention that the zip was changed.
So how are we supposed to know?

This happened only once to my knowledge though. And I think it was a F5 alert that I installed it, like the very first day of the release. Then in a day or two a file was changed without any notice.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I think a "refresh" only really occurs when minor issues are fixed on the day (or so) of the release...



I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Probably so.
But still on the one and only one case I had. This is what happened and there was no indication the zip was updated.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
This fix seems to have worked.
Several days and no server errors.

Thank You very much Scott.

Darn,Now I need to research on something else I can fixate on. He He He


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
Don't fret. You'll come up with something! laugh


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Well I did find something. To nag about
Since I posted my error log for the featured member issue I am under constant attack by potential spammers trying to find access to phpmyadmin.
I won't do that again.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Just noticed that Rick must have removed my log.
Thanks Rick.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
SD #238663 08/16/2010 1:17 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Originally Posted by Sirdude
they real question for me is ..

did that modification also make it into the current downloadable .zip of 7.5.5 ?

would also apply to other known bugs.. i'd wager there are at least 10 of em..

2c

We'll working on a 7.5.6 right now. Have found 7 so far, so you're close wink

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
hrm.. i should go thru my 'list' to make sure they're in there too laugh

dunno where your list is, so i can compare though frown

SD #238668 08/16/2010 3:57 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Need to get a changelog going but this is what we have so far. One isn't necessarily a bug.

Fixed an issue with RSS feeds showing the UBBCode instead of the HTML.
Fixed an issue with the featured member sometimes showing a broken image.
Fixed an issue where sometimes an invalid entry would be added to the css files causing css errors.
Fixed a bug when trying to delete a user group.
Fixed a pagination problem when viewing user subscriptions
Fixed a bug with the moderator flag sometimes not showing up in certain forums that a user moderates.
When a subscription expires for a user, it will also send a private message to the primary admin notifying them of the expiration.

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
- portal.tpl -- add post_inner class
- also see same problem with images in profile comments, but i'd think another class might be needed there, since there is less room.. at least append a class, so cssers can compensate
- subscription pagination change from 1 to 25 per page
- html.inc.php ($v == 3) issue for mod vs global mod (line 1988ish)
- postlist.inc.php -- add proper language for teaser forum. (line 166ish) right now it uses BAD_GROUP, but should give teaser language, if it's teaser forum..
-- cosmetic - when you display a user profile, alphabetize the ubb buddies..


SD #238672 08/16/2010 4:28 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Got the subscription pagination one already. Thanks for the info on the others, will get those fixied.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 834 guests, and 246 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)