Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.3.x Mods

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 02-24-2014, 10:37 AM
Vaporman87 Vaporman87 is offline
Member
 
Join Date: Feb 2014
Posts: 32
Gender: Male
Credits: 6,437
Vaporman87 is on a distinguished road
Default

The only thing I noticed is that if you have your site in a subfolder, you need to go in and change the following code in the /view/newsview.php file:

Code:
$newsObj = new News($news);
        		$index++;
        		$newsField = new Fieldset("news$index");
      			$comments = $newsObj->getCommentNumber();
        		$newsField->add(new Comment("<span class='date'>Date: {$newsObj->getDate()}</span><br>",FALSE));
        		$newsField->add(new Comment("<span class='title'>{$newsObj->getTitle()}</span>",FALSE));
        		$newsField->add(new Comment("<span class='author'>by <a href='/profile/view/{$newsObj->getUserObject()->getUsername()}' target='_blank'>{$newsObj->getUserObject()->getUsername()}</a></span>",FALSE));
        		$newsField->add(new Comment("<span class='comment'><a href='/news/view/{$newsObj->getID()}'>Comments({$comments})</a></span><br>",FALSE));
        		$newsField->add(new Comment("<span class='content'><img class='authorimg' src='{$newsObj->getUserObject()->getprofile()->getavatar()}'>{$newsObj->getContent()}</span>",FALSE));
I added my subfolder name, "DigiChars", before the " /news/view/ " and " /profile/view/ " text.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
News Feed Yuki Night Suggestions and Feature Requests 0 01-30-2013 01:04 AM
Implementing A News Feed Yuki Night Questions and Supports 0 01-29-2013 06:25 PM
News feed script? Aasixx Staff Central 3 06-18-2012 04:06 AM
Adopts News Bloodrun Addons/Mods Graveyard 71 06-18-2009 03:13 PM
News 12345 Questions and Supports 9 05-10-2009 04:13 PM


All times are GMT -5. The time now is 09:30 AM.

Currently Active Users: 1077 (0 members and 1077 guests)
Threads: 4,081, Posts: 32,029, 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 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636