Icy Phoenix

     
 

How I Add Today Posts In Nav Bar

How I Add Today Posts In Nav Bar

Article
Reply with quote    Download Post  
Post How I Add Today Posts In Nav Bar 
 
I want to the top bar with new post and the bar with the recent topic to add a link to get the visitor the today posts.

What is the correct syntax about this?



 
dellmanx - View user's profile Send private message  
dellmanx [ Sat 14 Mar, 2009 10:25 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


How I Add Today Posts In Nav Bar

Comments
Reply with quote    Download Post  
Post Re: How I Add Today Posts In Nav Bar 
 
Sorry not show I understand



 
DWho - View user's profile Send private message  
DWho [ Sat 14 Mar, 2009 13:31 ]
Reply with quote    Download Post  
Post Re: How I Add Today Posts In Nav Bar 
 
DWho wrote: [View Post]
Sorry not show I understand
i want a button near to the recent topic to get daily posts



 
dellmanx - View user's profile Send private message  
dellmanx [ Sat 14 Mar, 2009 13:37 ]
Reply with quote    Download Post  
Post Re: How I Add Today Posts In Nav Bar 
 
what about "Recents" block on portal? ain't that enough?  



 
Guanaco - View user's profile Send private message  
Guanaco [ Sat 14 Mar, 2009 16:25 ]
Reply with quote    Download Post  
Post Re: How I Add Today Posts In Nav Bar 
 
Guanaco wrote: [View Post]
what about "Recents" block on portal? ain't that enough?  
NOp it is different that the recent topics look for new topic (getnew command) i want getdaily command



 
dellmanx - View user's profile Send private message  
dellmanx [ Sat 14 Mar, 2009 16:29 ]
Reply with quote    Download Post  
Post Re: How I Add Today Posts In Nav Bar 
 
you want a link to recent.php?mode=today ? right?



 
New Player - View user's profile Send private message  
New Player [ Sat 14 Mar, 2009 17:48 ]
Reply with quote    Download Post  
Post Re: How I Add Today Posts In Nav Bar 
 
New Player wrote: [View Post]
you want a link to recent.php?mode=today ? right?
yeap



 
dellmanx - View user's profile Send private message  
dellmanx [ Sat 14 Mar, 2009 18:39 ]
Reply with quote    Download Post  
Post Re: How I Add Today Posts In Nav Bar 
 
open

templates/your_template/overall_header.tpl

find

Code: [Download] [Hide] [Select]
        <a href="{FULL_SITE_PATH}{U_SEARCH}">{L_SEARCH}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;
        <a href="{FULL_SITE_PATH}{U_FAQ}">{L_FAQ}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;


before add

Code: [Download] [Hide] [Select]
<a href="{FULL_SITE_PATH}{U_RECENTDELLMANX}">{L_RECENTDELLMANX}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;


open

includes/page_header.php

find
Code: [Download] [Hide] [Select]
    'U_CPL_SENTBOX' => append_sid('privmsg.' . $phpEx . '?folder=sentbox'),
    'U_CPL_DRAFTS' => append_sid('drafts.' . $phpEx),
    'U_CPL_ZEBRA' => append_sid(PROFILE_MG . '?mode=zebra&amp;zmode=friends'),


after add

Code: [Download] [Hide] [Select]
    'U_RECENTDELLMANX' => append_sid('recent.' . $phpEx . '?mode=today'),
    'L_RECENTDELLMANX' => $lang['RECENTDELLMANX'],


open

language/your_language/lang_main.php

find

Code: [Download] [Hide] [Select]
//$lang[''] = '';


before add
Code: [Download] [Hide] [Select]
$lang['RECENTDELLMANX'] = 'Posts Today';


not tested but should be work



 
Edited by New Player, Sat 14 Mar, 2009 19:15: correct a little but a fatal mistake
New Player - View user's profile Send private message  
New Player [ Sat 14 Mar, 2009 19:13 ]
Reply with quote    Download Post  
Post Re: How I Add Today Posts In Nav Bar 
 
DWho's suggestion should do the trick.

Quick question, are you using Icy Phoenix .27c?  I'm not sure if you knew or not, but we're about to put out a release candidate package for the next Icy Phoenix version.  After a second release candidate, assuming there are two RC's, we'll be releasing the complete next version.  All the changes you make now will have to be reapplied to the next version.  After the final release, we'll only be supporting the new Icy Phoenix, not .27c.

I just don't want you to work super hard on something only to see you'll have to do it all over again on a new version.

It's something to consider.



 
Chaotic - View user's profile Send private message  
Chaotic [ Sun 15 Mar, 2009 00:28 ]
Reply with quote    Download Post  
Post Re: How I Add Today Posts In Nav Bar 
 
Chaotic wrote: [View Post]
DWho's suggestion should do the trick.

Quick question, are you using Icy Phoenix .27c?  I'm not sure if you knew or not, but we're about to put out a release candidate package for the next Icy Phoenix version.  After a second release candidate, assuming there are two RC's, we'll be releasing the complete next version.  All the changes you make now will have to be reapplied to the next version.  After the final release, we'll only be supporting the new Icy Phoenix, not .27c.

I just don't want you to work super hard on something only to see you'll have to do it all over again on a new version.

It's something to consider.
Yes the 27c is t
ok then i wait to see the final ver and then so the changes



 
dellmanx - View user's profile Send private message  
dellmanx [ Sun 15 Mar, 2009 12:51 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1