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
doffer83
Worker
Worker


Joined: Apr 17, 2011
Posts: 117
Location: Amsterdam

PostPosted: Tue Aug 06, 2013 10:13 am Reply with quote

I try to find out why I can't use the public message .. we like it much for publish important short news of greeting each other.

In the theme file of the ravenIce I can't find the code :

Code:
 $public_msg = public_message();


There are no heade and footer as html files like fisubice theme !!

It has no html files I think, else I could install it by meself. Please can you help me to put it back if it is removed Smile

_________________
We are sorry that Tony Soprano is dead, We wish Assad the Syrian maffia boss had died instead. RIP Tony 
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team


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

PostPosted: Tue Aug 06, 2013 10:19 am Reply with quote

You should be able to add:

Code:


$public_msg = public_message();
   echo $public_msg . '<br />';


where you want it to display.

_________________
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
doffer83
PostPosted: Tue Aug 06, 2013 2:17 pm Reply with quote

cool it works now.. I only had to make it nicer via the function in the main file ..

thank u
 
nuken
PostPosted: Tue Aug 06, 2013 3:20 pm Reply with quote

You can style it with css. Example:

Code:


$public_msg = public_message();
   echo '<div class="publicmsg">' . $public_msg . '</div><br />';


Then in your themes style.css add the class publicmsg and style it as you want.

example:
Code:



.publicmsg {color: #4fb4d0; font-size: 24px; background: #135364;}
 
doffer83
PostPosted: Tue Aug 06, 2013 4:05 pm Reply with quote

great with css i can work a little bit.. just a question I have added the code in the theme.php after the div main_content

I wish I knew how to add it right after the nav menu of the header.. any way it works good now (we use it almost daily)


Thumb up RavensScripts
 
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 ©