Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
Set My Avatar - Profilebox (BUG FIX) (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Set My Avatar - Profilebox (BUG FIX)
#9102
Set My Avatar - Profilebox (BUG FIX) 1 Year, 3 Months ago  
SET MY AVATAR (PROFILEBOX) BUG FIX

PROBLEM: EXCESS OF TABLE TAGS, MESSING UP WITH THE SITE TEMPLATE.
SOLUTION: REMOVE BOTH OF THE CODE BELOW.
LOCATION: components/com_fireboard/template/default/
FILE: avatar_upload.php

LINES: 58-61
CODE:






and

LINES: 327-330
CODE:






Keep on the good work guys.

Legoland.

P.S. The code insertion is NOT working (Good Lord... 7 tries and nothing!!! Come on!!)
Legoland (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/05/29 20:01 By Legoland.
 
The administrator has disabled public write access.  
#9119
Re:Set My Avatar - Profilebox (BUG FIX) 1 Year, 3 Months ago  
table, td tr tag is a problem with code posting.
But I think profilebox doesn't have I problem.

Thanks..

Just test:
Code:



// Dont allow direct linking
defined('_VALID_MOS') or die('Direct Access to this location is not allowed.');

//first we gather some information about this person
$database->setQuery("SELECT * FROM #__fb_users as su"
                    . "\nLEFT JOIN #__users as u on u.id=su.userid WHERE su.userid=$my->id"«»);

$userDetails = $database->loadObjectList();
$user = $userDetails[0];

$prefview = $user->view;
$username = $user->name;
$moderator = $user->moderator;
$fbavatar = $user->avatar;



Code:


  
        
            
                

                

                


                

                  |  |   
id, $user_fields) || $my->usertype == 'Administrator' || $my->usertype == 'Super Administrator') {
    $is_editor = true;
}
else {
    $is_editor = false;
}

if ($is_editor) {    
$annlink = 'index.php?option=com_fireboard&func=announcement&do=show'.FB_FB_ITEMID_SUFFIX;  

?>
 

                

                

                        
                            
                                
                            
                        

                
            
        
    



administrator (Admin)
FB Core Team
best of joomla
Moderator
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 123456789 Gender: Male skype@skype.com yahoo@yahoo.com msn@msn.com aim@aim.com Location: USA Birthdate: 1978-10-31
Logged Logged
 
Last Edit: 2007/05/29 22:30 By administrator.
 
Best of Joomla!
 
The administrator has disabled public write access.  
#9211
Re:Set My Avatar - Profilebox (BUG FIX) 1 Year, 3 Months ago  
So whats the solution on this?...i tried to delete the tags tr/td/table and it and it works ok. But problem with this solution is that when you have modules turned on at the same page they get a different position...but atleat the template dosent break. Ithink this is something the developers should make a hot fix for, for such an obvious flaw?.
bingster (User)
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#9238
Re:Set My Avatar - Profilebox (BUG FIX) 1 Year, 3 Months ago  

table, td tr tag is a problem with code posting.
But I think profilebox doesn't have I problem.


Awnser:

The profile box is just fine... I was only pointing the location to 'Set My Avatar'.



So whats the solution on this?...i tried to delete the tags tr/td/table and it and it works ok. But problem with this solution is that when you have modules turned on at the same page they get a different position...but atleat the template dosent break. Ithink this is something the developers should make a hot fix for, for such an obvious flaw?.


Awnser:
As you said this solution works. I haven't tried to run the component with another module published, but I'm going to take a look to see what's going on.

Could please tell me what module are you running with the forum component?

And I really won't mind if the developers want to take this bug and make a 'hot fix' for it, in fact, I would be glad.

Legoland.
Legoland (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#9251
Re:Set My Avatar - Profilebox (BUG FIX) 1 Year, 3 Months ago  
Hi lego

I use registration, sections, and latest topics for forum. They are all activated in the right side.
Do you also have problems with the Re-Direct function when a avatar is selected?

Cheers
bman
bingster (User)
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#12898
Re:Set My Avatar - Profilebox (BUG FIX) 1 Year, 2 Months ago  
On my site, I get an internal server error when you attempt to set the avatar. I can not seem to understand the fix you are suggesting here. Can you be more specific in your explanantion of this fix. Thank you.
cssc (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top
Powered by FireBoard - Creditsget the latest posts directly to your desktop