Jump to content

SimR

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

SimR's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, thank you for the suggestion but it didn't work for me but I changed skin to suit my va's styling a bit more. have a nice weekend and I appreciate your time
  2. Hi ProAvia <li><?php foreach($news as $item) { } $hashtag_string = str_replace(['!', '\\', '/', '*', ' '], '',$item->subject); // Line 17 in the file $lowercase = strtolower($hashtag_string); echo '<a href="'.SITE_URL.'/index.php/PopUpNews/popupnewsitem/'.$item->id.'"><font color="white">#'.$lowercase.'</font></a>'; $posted_month = date(m, $item->postdate); $current_month = date('m'); if($posted_month == $current_month) { echo '<span class="pull-right"> <i class="material-icons">trending_up</i> </span>'; } else { ''; } ?></li> this is the code and I posted the function and highlighted the line 17. it works fine locally but not live.
  3. Hi, Im new here so if this is the wrong place I apologise in advance, I just tried to install the popupnews plugin for my va via the plugin manager for the iCrewLite skin and followed the installation manual and the the plugin works locally but when deploying it live I get this problem showing, Parse error: syntax error, unexpected '[', expecting ')' in lib/skins/iCrewLITE/popupnews/popupnews_list.php on line 17 and it completely destroys the dashboard but when I disable it the styling comes back as intended. any ideas what I have to change to make it work? Thank you in advance. Have a nice evening.
×
×
  • Create New...