Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 10-12-2014, 04:48 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 23,367
IntoRain is on a distinguished road
Default

Did you edit the vmmessage.php or vmmessageview.php files? The edit/delete/reply actions are in those files and like Sim said blank page is usually a syntax error

For the slashes in the Bio, in class_userprofile.php search for the function aboutme() and do this:

PHP Code:
  private function aboutme(){
      
$mysidia Registry::get("mysidia");    
      
$document $mysidia->frame->getDocument();
      
$title = new Comment($mysidia->lang->basic.$mysidia->input->get("user"));
      
$title->setBold(TRUE);
      
$title->setUnderlined(TRUE);
      
      
/**** Add this: *****/
      
$bio2 stripslashes($this->bio);

      
$membersince $mysidia->db->select("users", array("membersince"), "username = '{$mysidia->input->get("user")}'")->fetchColumn();      
      
$basicinfo "<br><strong>Member Since:</strong> {$membersince}<br>
                    Gender: 
{$this->gender}<br>
                    Favorite Color: 
{$this->color}<br>
                    Nickname: 
{$this->nickname}<br>
                    Bio: 
{$bio2}";/// <----- !change this!
      
      
$document->add($title);
      
$document->add(new Image($this->avatar"avatar"100));
      
$document->add(new Comment($basicinfo));                    
  } 
Then for the messages, you can go to class_messagetablehelper, getVisitorMessage() function and do it like this:

PHP Code:
    public function getVisitorMessage($vmessage){
        
$date substr_replace($vmessage->datesent," at ",10,1);
        
$vmField = new ArrayList;
        
$vmField->add(new Link("profile/view/{$vmessage->fromuser}"$vmessage->fromuser));
        
$vmField->add(new Comment("({$date})"FALSE));
        
$vmField->add(new Link("vmessage/view/{$vmessage->touser}/{$vmessage->fromuser}", new Image("templates/icons/status.gif"), TRUE));
        
/****** This here! ******/
        
$vmField->add(new Comment(stripslashes($vmessage->vmtext)));
        return 
$vmField;
    } 
__________________


asp.net stole my soul.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:06 AM.

Currently Active Users: 1739 (0 members and 1739 guests)
Threads: 4,081, Posts: 32,043, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636