Personal Log improvement

Locked
Rich™
Forum Regular
Posts: 631
Joined: Sat Apr 07, 2007 3:58 am
Alliance: Alpha Allegiance
Race: System Lord
ID: 1908612
Location: Portsmouth, UK

Personal Log improvement

Possibly already been suggested, but i couldn't find it from a few searchs of this sub-forum

Personal Log Improvements

Firstly, when you use the return character (new line) and submit, it converts it into HTML new line (<br />), when you then edit this, the <br /> stays and doesn't go back to a new line feed, which makes editing personal log 'cleaner' since you dont need to see these, since they will be re added after you save / update it

Code: Select all

str_replace("\n", "<br />", $_POST["log"]); //on submitting
str_replace("<br />", "\n", $row["datbase_fieldname"]); // when editing (for the form)


should suffice.

............

Auto linking, if you enter a link in personal log, it can auto link, much like on these forums or in m/s word etc..

e.g atm if i entered 'http://www.stargatewars.com/stats.php?id=1908612' and saved, it would just show the link, but not be wrapped in an anchor tag (<a>)

Can supply code if needed for this too.

These dont affect gameplay, just make personal log a bit better and easier IMO
Rich™ [ α Allegiance ] - 1908612
Living God of the INDU

My Trade Feedback
ComputerGamerGeek
Fledgling Forumer
Posts: 104
Joined: Sat Aug 26, 2006 8:55 pm
Alliance: The Magnificents
Race: Lego Maniac
ID: 83588
Location: Rochester, NY USA, (East Coast)
Contact:

I agree with your suggestions.
The coding issues do make using the personal log more difficult.
Please click on my new trade feedback:
http://herebegames.com/StarGateWarsNew/ ... 8&t=107421

My SGW Contact Info:
Email: RLuap1998@aol.com
(checked infrequently.)

Yahoo: westwingfan01
AIM: IrishPaul2008
MSN: DublinontheRhine27mNY
(usually checked at least once a day.)
Locked

Return to “Suggestions Archive”