YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Page Index Toggle Pages: 1
Topic Tools
 
User Error Message for Missing Avatar (Read 1,278 times)
 Oct 9th, 2011 at 5:50pm
There are no actions to perform.  

jon666 
Junior Member
**
Offline
Posts: 83


None
User Error Message for Missing Avatar
In Yabb 2.4 is there a way to change the "no image found after 30 seconds so giving up" message.

Am trying to encourage my users to upload a personal avatar. Have changed the gif to something larger and more dramatic but would like it to pop up sooner than after 30 seconds.  Smiley
 
 
IP Logged  
 Reply #1 - Oct 12th, 2011 at 2:01pm
There are no actions to perform.  

jon666 
Junior Member
**
Offline
Posts: 83


None
Re: User Error Message for Missing Avatar
Actually, I replaced the gif but didn't test it. I now see it's being displayed so small it's barely visible. Am trying to find where it's being called from and sized but no luck so far! Any suggestions would  be appreciated.

The gif is "noimg.gif" and is found in Templates/Forum/default  or /yabb21  The original gif was  22x23 px and I replaced it with one 93x114 px.
 
 
IP Logged  
 Reply #2 - Oct 18th, 2011 at 11:41pm
There are no actions to perform.  

jon666 
Junior Member
**
Offline
Posts: 83


None
Re: User Error Message for Missing Avatar
The second part of my problem seems to have resolved itself in that the new gif is now displaying in the correct dimensions. Would still appreciate help getting it to appear sooner than the default 30 seconds though!

 
 
IP Logged  
 Reply #3 - Oct 19th, 2011 at 12:23am
There are no actions to perform.  

Derek Barnstorm 
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline
Posts: 1,269
United Kingdom


YaBB 2.5
Re: User Error Message for Missing Avatar
Hi jon666,

I'm not actually sure of the correct way to do this - that's why I haven't replied - from a very quick test though, this seems to do the trick...

In YaBB.js find:

Code (Javascript)Select All
        if (resize_time == 290) { 


And decrease the highlighted to something you find suitable. Remember that external JS is cached, so you may need to clear your cache or refresh your browser a few times before it takes effect.
« Last Edit: Oct 19th, 2011 at 12:24am by Derek Barnstorm »  
 
IP Logged  
 Reply #4 - Oct 20th, 2011 at 12:40pm
There are no actions to perform.  

jon666 
Junior Member
**
Offline
Posts: 83


None
Re: User Error Message for Missing Avatar
Many thanks for checking that out for me Derek. I hadn't thought of looking at the javascript. I works well.
Smiley
 
 
IP Logged  
 Reply #5 - Oct 20th, 2011 at 1:06pm
There are no actions to perform.  

Derek Barnstorm 
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline
Posts: 1,269
United Kingdom


YaBB 2.5
Re: User Error Message for Missing Avatar
Great! You're welcome. Smiley
 
 
IP Logged  
Page Index Toggle Pages: 1
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.