Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.218
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Shoutbox 8.5 font colors
Shoutbox 8.5 font colors
Goto page 1, 2  Next

17 Replies / 4890 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » General PhpNuke

View previous topic :: View next topic


nosnikta
Reputation: 461.7 Add RepSubtract Rep
Local time: 12:39 PM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Jul 17, 2007
Last Visit: 10 May 2008
Posts: 16
Points: 100 

Post Shoutbox 8.5 font colors Posted: Wed Aug 22, 2007 2:31 am

Shop Purchases:
Battlefield 2142 X-Theme (Ultimate) · Multi Gaming (Warrior) Theme

Hello everyone,

I've been using shoutbox 8.5 with no problems until
the other day i added an image as the back ground
And now i need to change the font color so it will be
visible over the image.

I cant find font options anywhere in the shout box admin section.
Am i missing it?
 

 
View user's profileSend private message Reply with quote

floppy
Reputation: 2088.8 Add RepSubtract Rep
votes: 22
Local time: 12:39 PM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.17 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 03 May 2012
Posts: 2353
Points: 132516 

Post Shoutbox 8.5 font colors Posted: Wed Aug 22, 2007 4:42 am

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

I think you can open the block in an editor and find the following at the bottom.

Code:
?>
<script type="text/javascript">
var SBheight = '<?php echo "$ShoutMarqueeheight"; ?>';
var SBcontent = new String('<?php echo "$mid_content"; ?>');
</script>
<script type="text/javascript" src="shoutbox.js"></script>
<?php

$content = "$top_content\n";
$content .= "<div align=\"center\"><script type=\"text/javascript\">document.write(SBtxt);</script></div>\n";
$content .= "$bottom_content\n";

?>


Change to

Code:
?>
<script type="text/javascript">
var SBheight = '<?php echo "$ShoutMarqueeheight"; ?>';
var SBcontent = new String('<?php echo "<span style="color:red;">$mid_content</span>"; ?>');
</script>
<script type="text/javascript" src="shoutbox.js"></script>
<?php

$content = "$top_content\n";
$content .= "<div align=\"center\"><script type=\"text/javascript\">document.write(SBtxt);</script></div>\n";
$content .= "$bottom_content\n";

?>
 

Phpnuke Downloads | VMaxxRx Male Enhancement  
View user's profileSend private messageVisit poster's website Reply with quote

javix
Reputation: 461.4 Add RepSubtract Rep
Local time: 12:39 PM


Noob
Noob

0.00 posts per day
Medals: 0

Joined: Aug 22, 2007
Last Visit: 23 Aug 2007
Posts: 2
Points: 100 

Post Shoutbox 8.5 font colors Posted: Wed Aug 22, 2007 3:39 pm

thx for the help Kiss
 

 
View user's profileSend private message Reply with quote


nosnikta
Reputation: 461.7 Add RepSubtract Rep
Local time: 12:39 PM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Jul 17, 2007
Last Visit: 10 May 2008
Posts: 16
Points: 100 

Post Shoutbox 8.5 font colors Posted: Thu Aug 23, 2007 2:17 am

Shop Purchases:
Battlefield 2142 X-Theme (Ultimate) · Multi Gaming (Warrior) Theme

nope that didnt work
it actually made the block not visable
 

 
View user's profileSend private message Reply with quote

floppy
Reputation: 2088.8 Add RepSubtract Rep
votes: 22
Local time: 12:39 PM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.17 posts per day
Medals: 2 (View more...)
Dedication (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 03 May 2012
Posts: 2353
Points: 132516 

Post Shoutbox 8.5 font colors Posted: Thu Aug 23, 2007 2:51 am

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

Hmm.. that means their is a syntax error then.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

nosnikta
Reputation: 461.7 Add RepSubtract Rep
Local time: 12:39 PM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Jul 17, 2007
Last Visit: 10 May 2008
Posts: 16
Points: 100 

Post Shoutbox 8.5 font colors Posted: Thu Aug 23, 2007 4:07 am

Shop Purchases:
Battlefield 2142 X-Theme (Ultimate) · Multi Gaming (Warrior) Theme

yea i know i tried to play with it

Code:
"<span style=\"color:red;\">


i added the back slashes and it made the block
visible but the font didnt change. Crying

I also tried adding this at the end of the php just before the JS

Code:
$mid_content = '<span style="color:red;">'. $mid_content. '</span>'


After that i tried to edit the JS file I added this to the function SBpopulate
Code:
SBcontent = '<span style="color:red;">' + SBcontent + '</span>';


The tags dont display in the message, but i always ends up back at the default color. Dont Know
 

 
View user's profileSend private message Reply with quote


floppy
Reputation: 2088.8 Add RepSubtract Rep
votes: 22
Local time: 12:39 PM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.17 posts per day
Medals: 2 (View more...)
Dedication (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 03 May 2012
Posts: 2353
Points: 132516 

Post Shoutbox 8.5 font colors Posted: Thu Aug 23, 2007 5:08 am

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

It will be 2 days at least before I am free, but I will put it on my test site and find the answer. Sorry I really backed up.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

nosnikta
Reputation: 461.7 Add RepSubtract Rep
Local time: 12:39 PM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Jul 17, 2007
Last Visit: 10 May 2008
Posts: 16
Points: 100 

Post Shoutbox 8.5 font colors Posted: Thu Aug 23, 2007 11:50 pm

Shop Purchases:
Battlefield 2142 X-Theme (Ultimate) · Multi Gaming (Warrior) Theme

Ok thanks mate Dont Know
 

 
View user's profileSend private message Reply with quote

nosnikta
Reputation: 461.7 Add RepSubtract Rep
Local time: 12:39 PM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Jul 17, 2007
Last Visit: 10 May 2008
Posts: 16
Points: 100 

Post Shoutbox 8.5 font colors Posted: Sat Sep 01, 2007 10:06 pm

Shop Purchases:
Battlefield 2142 X-Theme (Ultimate) · Multi Gaming (Warrior) Theme

Have any luck with that shout box floppy?
 

 
View user's profileSend private message Reply with quote


floppy
Reputation: 2088.8 Add RepSubtract Rep
votes: 22
Local time: 12:39 PM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.17 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 03 May 2012
Posts: 2353
Points: 132516 

Post Shoutbox 8.5 font colors Posted: Mon Sep 03, 2007 6:48 pm

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

I have not forgotten about you, but I have been busy with my printing company. Its football season and all the local high schools want athletic programs.

I will try to nail it down tonight after work :(
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Ped
Reputation: 93.3 Add RepSubtract Rep
votes: 37
Local time: 6:39 PM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

1.82 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 24 May 2012
Posts: 3669
Points: 191761 

Post Re: Shoutbox 8.5 font colors Posted: Mon Sep 03, 2007 7:17 pm

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

You could try
Code:

?>
<script type="text/javascript">
var SBheight = '<?php echo "$ShoutMarqueeheight"; ?>';
var SBcontent = new String('<?php echo "<font color=\"#FF0000\">$mid_content</font>"; ?>');
</script>
<script type="text/javascript" src="shoutbox.js"></script>
<?php

$content = "$top_content\n";
$content .= "<div align=\"center\"><script type=\"text/javascript\">document.write(SBtxt);</script></div>\n";
$content .= "$bottom_content\n";

?>
 

 
View user's profileSend private messageSend e-mail Reply with quote

nosnikta
Reputation: 461.7 Add RepSubtract Rep
Local time: 12:39 PM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Jul 17, 2007
Last Visit: 10 May 2008
Posts: 16
Points: 100 

Post Shoutbox 8.5 font colors Posted: Wed Sep 05, 2007 11:15 pm

Shop Purchases:
Battlefield 2142 X-Theme (Ultimate) · Multi Gaming (Warrior) Theme

Nope that doesnt work either,
I had tried that 2 but i tested it again just now
and still nothing Sad

It really makes no sense and I'm about to give up.
 

 
View user's profileSend private message Reply with quote

Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » General PhpNuke


 
17 Replies / 4890 Views
Page 1 of 2
All times are GMT
Goto page 1, 2  Next
Display posts from previous:   
 
Jump to:  
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 cannot attach files in this forum
You can download files in this forum