Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
Doulos
Life Cycles Becoming CPU Cycles



Joined: Jun 06, 2005
Posts: 732

PostPosted: Sun Feb 26, 2012 7:55 am Reply with quote

Getting br /> before the share link to icons on every news article. Any ideas?

Image

Reuploaded all News module files. Same issue.
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sun Feb 26, 2012 8:02 am Reply with quote

Look in your News/index.php for a <br /> that is missing the first < or in your theme.php for the br />

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
nuken







PostPosted: Sun Feb 26, 2012 8:17 am Reply with quote

In your themes theme.php find 2 lines in function themeindex that look like this:

Code:


         echo substr($morelink, 1, strlen($morelink) - 2); //get rid of the ( ) around the $morelink :)
    echo ' | '. $counter .' '. _READS;


replace them with this:
Code:


                        echo $morelink;
         // echo substr($morelink, 1, strlen($morelink) - 2); //get rid of the ( ) around the $morelink :)
         // echo ' | '. $counter .' '. _READS;
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sun Feb 26, 2012 8:33 am Reply with quote

Doulos,

Had a similar problem with my theme. Check your theme.php and see if you have code similar to this down below:

Code:


   <p class="links"><?php
   echo substr($morelink, 1, strlen($morelink) - 2); //get rid of the ( ) around the $morelink :)
   echo ' | '. $counter .' '. _READS;
   ?></p>


Try changing it to this:

Code:


   <p class="links"><?php
   echo $morelink;
   //echo substr($morelink, 1, strlen($morelink) - 2); //get rid of the ( ) around the $morelink :)
   //echo ' | '. $counter .' '. _READS;
   ?></p>


Ended up working for me.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
montego







PostPosted: Sun Feb 26, 2012 8:34 am Reply with quote

Too funny!!! I was working on my post and nuken beat me to it... Smile
 
Doulos







PostPosted: Sun Feb 26, 2012 8:52 am Reply with quote

Yep, that did it. Thanks.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©