Hi,
I want to know how to change the page title when you view someones profile.
At the moment it says:
Members username
I want to change it to:
mysite.com- members username
Does anyone know how to do this?
Thank
Hi, I want to know how to change the page title when you view someones profile. At the moment it says: Members username I want to change it to: mysite.com- members username Does anyone know how to do this? Thank |
nice post i want to ask this 2 but u got it first i wat member to create they own link example this is the origal from u domain and the board : http://mydomain.com/profile.php?ID=1 i want the member to have the same name they use to sign in example : http://latincrib.net/UFO360 thank's for posting this now we have to wait for some one to help Post Reply - if you going to help - No for - bla bla bla bla |
Changing page titles... Hmmm... Let's see here... How do we want to do this?
Well we could get our crayons out and write on the screens.. But that won't work for everyone to see... Waxy build up...
Nah... Not a kewl idea in the end.. Well, it would work for my 3 year old, she loves her crayons...
Okay, how about this way...
Locate the corresponding php file, in this instance we'll use index.php and locate the following section:
$_page['name_index'] = 1;
Just change the title & header so it's like this:
$_ni = $_page['name_index'];
Now just create a language key for it to say whatever you want it to say.
Moving on... if your on a pagename.php file in root that doesn't have the above code, then do this:
Find:
require_once( 'inc/header.inc.php' );
Just below it place:
$_page['header'] = _t( "_Page Header" );
Create Language keys for the corresponding _Page Header & _Page title (whatever you name them there)
Enjoy
|
Mydaterys suggestion will work on pages with a static title.
https://www.deanbassett.com |
To UFO360. https://www.deanbassett.com |
Hello guys sorry but is nat working for me and sorry for my bad english u know i am spanish and learning how to writhe english and get my spell better ok this is code from the profile.php line 87 to 90 $_page['header'] = "{$site['title']} - " . process_line_output( $p_arr['NickName'] ) . ": ". htmlspecialchars_adv( $p_arr['Headline'] ); nat working i try to enable the link and is nat working 2 and for mydetary i try to find my pagename.php file but i dont have it on my root Post Reply - if you going to help - No for - bla bla bla bla |
Should I? Should I really entertain this?
Okay, I want you to do this. Take your site and login, then go to a profile, does not matter what profile it is, just pick one:
Okay, are you there?
Good, I'm glad to see your keeping up.
Now, I want you to do something really cool:
Go to your_site.com/UFO360
Did you? Great, you see the URL then is whatever your site's url is with a /screenname if you have friendly permalinks enabled.
Now, go to another page on your site, doesn't matter what the page is, do you see the url that appears in the window?
Good.
If it's the home page then it says: yoursite.com/index.php
If it's your FAQ page then it says: yoursite.com/faq.php
If it's your My Mail that you clicked then it says: yoursite.com/mail.php
Can you possibly figure out what yoursite.com/pagename.php stands for now? It was a way of saying, whatever page you would like to alter the title on, please look in your Dolphin's root directory and find the file that has the same name as that page.
for instance, yoursite.com/index.php would be controlled by the index.php file.
yoursite.com/faq.php is controlled by the faq.php file
yoursite.com/mail.php is controlled by the mail.php file
yoursite.com/search.php is controlled by the search.php file
The profiles that your looking at are controlled by the profile_view.php file. |
Hey = Ok when i put the permalinks enabled and i goo to any member profile is taking me here : http://www.fastbrowsersearch.com/results/results.aspx?q=http://latincrib.net/latincrib&c=web&s=FDNS&v=4&tid={520A604E-F5CE-9B7D-5098-64C87DE8161B} and them i see my profile link on the : http://www.fastbrowsersearch.com search box : http://latincrib.net/latincrib when the permanlinks is disable is taking me here : http://latincrib.net/profile.php?ID=1 Post Reply - if you going to help - No for - bla bla bla bla |
Ok. So you have a problem. Most likely your permalinks are not working. But instead of a normal 404 page not found error your being redirected to fastbrowsersearch. Malwarebytes' Anti-Malware is good for getting rid of Malware/Spyware.
https://www.deanbassett.com |
Waooo i try everthing but is nat working i think maybe this is the problem i go to my Builders/Navigation Menu Builders than i click the menu say View Profile and i have this settings System Name : View Profile Language Key : _View Profile Default Name : view profile URL : {profileLink}|{profileNick}|profile.php?ID={profileID} Target Windo : same Visible for : Member wat u think guys sorry for talking all your time but this is getting me crazy lol Post Reply - if you going to help - No for - bla bla bla bla |