Jump to content

Help Please


BabyDev

Recommended Posts

Ok lets see if this is it or not *sigh* Somehow I figure its not gonna be this easy ;)

 

 

// MOD - TODAY AT - BEGIN
$lang['Today_at'] = "Today at %s"; // %s is the time
$lang['Yesterday_at'] = "Yesterday at %s"; // %s is the time
// MOD - TODAY AT - END

 

 

Thanks

BabyDev

Link to comment
https://forums.phpfreaks.com/topic/42072-help-please/#findComment-204065
Share on other sites

babydev your hole business is about coding and webdesigning and hosting and look's good may i say

the forum you got problams for have meny totorals and mods and help there but were help here but you

really need to read m8 to controll a business like that.

 

saying that i had a friend around last night no nothink about php programming and has a huge pocket of money

throw running a slighly diffrent website like your's i  wish you all the best the net rock's.

 

know where that page lol.

Link to comment
https://forums.phpfreaks.com/topic/42072-help-please/#findComment-204067
Share on other sites

lol... lets try this.... I initially thought the break at the end was the problem, lets see if I am right ;)

 

 

	// OLD
							// $last_post = $last_post_time . '<br />';
							//
                               // MOD - TODAY AT - BEGIN
							//
							if ( $board_config['time_today'] < $forum_data[$j]['post_time'])
							{ 
								$last_post = sprintf($lang['Today_at'], create_date($board_config['default_timeformat'], $forum_data[$j]['post_time'], $board_config['board_timezone'])) . '<br />' ; 
							}
							else if ( $board_config['time_yesterday'] < $forum_data[$j]['post_time'])
							{ 
								$last_post = sprintf($lang['Yesterday_at'], create_date($board_config['default_timeformat'], $forum_data[$j]['post_time'], $board_config['board_timezone'])) . '<br />' ; 
							}
							else
							{ 
								$last_post = $last_post_time . '<br />' ; 
							} 
                               // MOD - TODAY AT - END

 

 

BabyDev

Link to comment
https://forums.phpfreaks.com/topic/42072-help-please/#findComment-204068
Share on other sites

well i can dabble thats about it and thats only when i am being dangerous. I didnt write the script, all I know is I did what the file told me to do which is replace and add after and before php code. I did this in a bout 3 different php pages.

 

The code I just gave you.... I can put breaks in different spots and it does move it around but not where I want it to... It will make the time/date and last post topic all one line if I put a break in that last piece of code I showed you.

 

I dont know where else to look, I thought maybe someone here could possibly help.

Link to comment
https://forums.phpfreaks.com/topic/42072-help-please/#findComment-204075
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.