Home aeyStudio
Welcome Guest · Registration
Resources
Download Seportal
Demo Site
SePortal Sites

Users
Username:

Password:

Log me on automatically next visit?


» Forgot password
» Registration

Topics
Home
Seportal (5)
News (3)

Who is Online
Currently active users: 6
There are currently 0 registered user(s) (0 among them invisible) and 6 guest(s) online.

Random Image
Database Yedekleme/Backups

Database Yedekleme/Backups
Comments: 0
zebaniz

Powered By
Powered by SePortal

Rate SePortal at
Listed at Hot Scripts in PHP

Scripts.com


ScriptSearch.com



Add Reply New Topic

> Can't find some things - looking for the right line in templates
 
 
haraldrose
Posted: 13.03.2008 - 13:14
Quote


Member
*

Group: Üyeler
Total posts: 15
User No: 73
Join Date: 04.03.2008 14:38



 
Hi, today I have a few more questions... happy.gif

1. The minicalender (block) in the portalpage seems not to be ruled by the "mintitle" class. Wich class is it ruled by?
I need to change the font-color.

2. How/Where can I remove or add items to the main menu bar (right under the "login /-out" bar)?

3. In the "What is new" block many items are counted as new after 2 weeks. How can I set that period?
Or how can I shorten the entire list in the block? (the block is too large, and 2 weeks is WAY too long)

Thank you in advance,
Harald
happy.gif
Offline haraldrose
Top
 
zebaniz
Posted: 15.03.2008 - 09:12
Quote


Administrator
Group Icon

Group: Admin
Total posts: 306
User No: 1
Join Date: 01.01.2007 00:00



 
1- Open templates/default/calendar_mini.html
Find (line 5)
CODE
class='mintitle'

and change it.

2- Open templates/default/header.html
Find (line 59)
CODE

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="50%"></td>
<td width="50%" id="bottom" align="right" style="padding-right:15px">{welcome_txt}</td>
</tr>
</table>

and change them.

3- Open global.php
Find (line 137)
PHP

// Following times are in seconds
$config['newstoriesinterval']  = 86400;
$config['newcommentsinterval'] = 172800;
$config['newlinksinterval']    = 1209600;
$config['newimagesinterval']    = 1209600;
$config['newfilesinterval']    = 1209600;

and change them.
(1 day is 86400 seconds)
Offline zebaniz
Top
 
haraldrose
Posted: 15.03.2008 - 17:42
Quote


Member
*

Group: Üyeler
Total posts: 15
User No: 73
Join Date: 04.03.2008 14:38



 
Thank you for elaborating! big_smile.gif

1. is solved happy.gif

2. I can not apply your direction. confused.gif
What I want to do is, for one, REMOVE the "Contribute" button from the menu bar. And maybe later ADD a button up there.

3. is nearly solved. vicious.gif
I changed the durations in the script, now I also want to display the new durations in the box!
For example: I set the duration for [b]"gallery" to 24 hours[/b], but in the block it still reads [i]"last 2 weeks"[/i]. Of course I want it to say: [i]"in the last 24 hours"[/i].
I would also like to [b]move the "Gallery" item up[/b] to position 2 (under articles).
[b]I couldn't find any template or .php/.html file relating to the "What is new" box!!![/b]

Greetings,
Harald
Offline haraldrose
Top
 
zebaniz
Posted: 16.03.2008 - 16:43
Quote


Administrator
Group Icon

Group: Admin
Total posts: 306
User No: 1
Join Date: 01.01.2007 00:00



 
Open includes/page_header.php
Find (line 233)
PHP

$lang
['nav_contribute'] => $site_sess->url(ROOT_PATH."submit.php?action=article"),

and remove them.

Open includes/common.php
For example Gallery;
Find (line 331)
PHP

".$lang['last_2wk']."

replace
CODE

in the last 24 hours


Find lines 330 - 362
select them and cut (ctrl+x)
and
Find line 212
and
paste (ctrl+v) them.

You can find all boxes in includes/common.php
Offline zebaniz
Top
 
haraldrose
Posted: 17.03.2008 - 14:17
Quote


Member
*

Group: Üyeler
Total posts: 15
User No: 73
Join Date: 04.03.2008 14:38



 
happy.gif Thank you, Zebaniz big_smile.gif

(teşekkür ederim!, sağol!) <- says the translator wink.gif
Offline haraldrose
Top

Add Reply New Topic



Contribute | Forums | Gallery | Calendar | Links | Downloads | Members | Search | Guestbook | Article Directory

Powered by SePortal 2.5
Copyright © 2007-2012 SePortal.org