You are not enjoying the benefits offered by registering. To register click here...
  
Forums | Prefs | Your Messages | Members | Recent | Search
Quick Search


Advanced Search
| Calendar | Doc | Dev' Blog! |
Chat (Alpha Version)

Guest, do not forget to login ( Register )
 Top > Forums > This Software > I want to help!
 Who is Where?

Skin Selection:
 (1 pages) 1  
Commifreak

Story Teller
Group: Developers
Posts: 313
Reputation: 4


Posted on Nov 3, 2007, 5:18 pm by Commifreak
Who is Where?
Hey chris. how i can set up in the files the textes for the who was where function?
Greetings,
CF
----
http://www.commifreak-online.de
 
Top

chris

The Culprit
Group: Admins
Posts: 1,541
Reputation: 38


Posted on Nov 5, 2007, 2:43 am by chris
Sorry?

 
Top

Commifreak

Story Teller
Group: Developers
Posts: 313
Reputation: 4


Posted on Nov 5, 2007, 11:19 am by Commifreak
I has become no mail over replies about this topic, and an yellow buttoen, (new replies) not too...


..

I mean in the "Who was where" function or "Whos online" in this page shows up "Red topic***" or "nackend" how i can add myself new places with descriptions?

Like:

"Is in the ACP"?
Greetings,
CF
----
http://www.commifreak-online.de
 
Top

Commifreak

Story Teller
Group: Developers
Posts: 313
Reputation: 4


Posted on Nov 7, 2007, 3:05 pm by Commifreak
*of answer wait...*
Greetings,
CF
----
http://www.commifreak-online.de
 
Top

chris

The Culprit
Group: Admins
Posts: 1,541
Reputation: 38


Posted on Nov 7, 2007, 10:54 pm by chris
Properly written modules have a method, called getLocation(), which uses the content of their respective language files. Have a look at getLocation() in topics.php for instance.

 
Top

Commifreak

Story Teller
Group: Developers
Posts: 313
Reputation: 4


Posted on Nov 8, 2007, 10:13 am by Commifreak
Hey chris

I has found for ex in topic.php these lines:

The code to add the location to the list:
php Code:
  1. $USER->setLocation($this->getLocation(), 'main', $topic['areaid']);


and the function

php Code:
  1. function getLocation()
  2. {
  3. global $LANG;
  4.  
  5. return sprintf($LANG->get("reading_topic"),$this->title);
  6. }


must i add for a new location, these lines in the file?

or must i edit the files, that the lines are work?

for example -> handlemsg.php theres no location code. and in the list it shows "backend" how i can add a location for this file?
Greetings,
CF
----
http://www.commifreak-online.de
 
Top

Commifreak

Story Teller
Group: Developers
Posts: 313
Reputation: 4


Posted on Nov 13, 2007, 1:20 pm by Commifreak
*of answer wait again...*
Greetings,
CF
----
http://www.commifreak-online.de
 
Top

chris

The Culprit
Group: Admins
Posts: 1,541
Reputation: 38


Posted on Nov 13, 2007, 8:42 pm by chris
I already replied to you regarding this one: check the corresponding language file; for instance, for topics.php look in lang/topics.php

 
Top

 (1 pages) 1 - Flat Mode | Threaded Mode  
Quick Jump:

         
Page generated in 0.03 seconds (Queries: 0.00) - Cpu: 0.36
Total DB [adodb:mysql] queries: 15
Total Strings Translated: 12
Powered by NextBBS SE v0.4.5 - Copyright © 2007 CFR & The NextBBS Team
Chatbox powered by smiletag