Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.219
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 - Shout box 8.5.2 - change css for date & time
Shout box 8.5.2 - change css for date & time

1 Replies / 198 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Modules

View previous topic :: View next topic


Tiniko
Reputation: 5.7 Add RepSubtract Rep
Local time: 7:17 AM
Location: Ireland
blank.gif

Noob
Noob

0.04 posts per day
Medals: 0

Joined: Sep 17, 2011
Last Visit: 01 Feb 2012
Posts: 9
Points: 3708 

Post Shout box 8.5.2 - change css for date & time Posted: Wed Feb 01, 2012 3:26 pm

Shop Purchases:
Crysis 2 Evo Theme

Hi there,

I am looking to change the "bottom line / date & time" of shouts CSS in the bos itself. (e.g. "Wed Feb 01, 2012 2:31 pm", second line after the shout itself)

FYI I'll be looking at making it a bit smaller and darker so the eye focus mostly on the shouts and somewhat ignore this information.

Is this feasible and does anyone know how to do it?

I've tried quite a few things and passed through all the codes for this module, seems am not skilled enough yet!

Thanks,
Nick

p.s: http://www.crackerjacksguild.com/modules.php?name=Forums if you want to see what I mean.

edit 2: This is the line of code actually displaying the shouts on the forum:

Code:
//Shoutbox start

global $prefix, $ShoutSubmit, $ShoutComment, $db, $user, $cookie, $shoutuid, $top_content, $mid_content, $bottom_content, $ShoutMarqueewidth, $ShoutMarqueeheight, $currentlang;
    if (is_user()) {
   if ($name == 'Forums'){
include_once(NUKE_MODULES_DIR.'Shout_Box/shout.php');

switch($ShoutSubmit) {
    default:
    ShoutBox($ShoutSubmit, $ShoutComment, $shoutuid);
    break;
}

if (!isset($_GET['Action']) && $_GET['Action'] != 'AJAX') {
    echo '<script type="text/javascript">var SBheight = \'200\';var SBcontent = new String(\''.$mid_content.'\');</script>
    <script type="text/javascript" src="includes/shoutbox.js"></script>';
OpenTable();
    echo $top_content."\n";
    echo  "<div align=\"center\" id=\"shoutbox\"><script type=\"text/javascript\">document.write(SBtxt);</script></div>\n";
    echo $bottom_content."\n";
CloseTable();
      }
   }
}
//Shoutbox end


It's actually localized at the end of header.php which is in the root.
 

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

Ped
Reputation: 94 Add RepSubtract Rep
votes: 37
Local time: 8:17 AM
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: 26 May 2012
Posts: 3675
Points: 191993 

Post Re: Shout box 8.5.2 - change css for date & time Posted: Wed Feb 01, 2012 4:22 pm

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

I believe the code your looking for is in the $mid_content function or there abouts which is hard coded in the shoutbox module itself

Take a look in modules/shoutbox/shout.php

search for $mid_content and that will get you to the rough location (there is lots of calls to $mid_content)

then I would look for references to time and dates and your then going to have to make some in-line CSS edits the the text or even the tabledata (TD) part you want changing
 

 
View user's profileSend private messageSend e-mail Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Modules


 
1 Replies / 198 Views
Page 1 of 1
All times are GMT
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