|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
Anyone know what file controls the words 'by Anonymous' under the last post column on postlist.php?
I thought it was under /languages/english/generic.php under $ubbt_lang['ANON_TEXT'], but I altered that and it had no effect.
I wish to change the words - and it has me stumped!
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
how about the postlist.php file in the language directory?
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
Thanks.
Nope - doesn't appear in that file - hence my thinking it was the generic option - weird.
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: May 2003
Posts: 1,068
Junior Member
|
Junior Member
Joined: May 2003
Posts: 1,068 |
In 6.4 it is in generic.php $ubbt_lang['ANON_TEXT'] = "Anonymous";
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
That is what I thought - but changing this has no effect - weird  Will dig deeper to find out why. Thanks for confirming it.
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Ian, if you're trying to change it for existing posts, it's probably stored in the database with the post. Try this query for a post which still says anonymous. SELECT B_AnonName FROM w3t_Posts WHERE B_Number = xxxxxxx If it says Anonymous, then it's the name stored with the post. It'll display the name they enter when they made the post (the quick reply doesn't let them enter a name). You can either reset these via SQL command, or turn off the option in the config file to allow users to choose a name, then it'll use the "anonymous" language string instead. 
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
 realise that, but I am trying to change the words for new posts - I have now even made the string "" and still the word anonymous appears on new posts - therefore it must be pulling it from elsewhere. Really am not sure why it doesn't shut show the name that the guest puts in the name box - that would make more sense.. Thanks anyway.
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: May 2003
Posts: 1,068
Junior Member
|
Junior Member
Joined: May 2003
Posts: 1,068 |
This is really a tough one, I searched all text within all files and the only one I could find it in was lang/generic.php 
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
see these lines <br /> if ($Reged == "n") {<br /> // ------------------------------------------------------------------<br /> // If we aren't allowing anon users to choose their own username then<br /> // we display the basic anon user in the user's selected lang<br /> if (!$config['anonnames']){<br /> $Username = $ubbt_lang['ANON_TEXT'];<br /> }<br /> else {<br /> $Username = $anonname;<br /> }<br /><br /> what is reged set for and what is $config['anonnames'] set to?
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
Thanks Scroungr - am going to dive into this a bit more.
It would be nice to show the username/handle that the guest has chosen in the making the post, rather than just anonymous - looks unprofessional at the moment.
Will dive a little deeper.....
(Only snag is - I can't remember what I was going to put instead of anonymous LOL (assuming I can't figure out how to copy over the name entered by the user)
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|