Line Breaks not Parsing

Theme, template, layout, or image issues

Line Breaks not Parsing

Postby Diversion » Thu Jul 06, 2006 5:01 am

Sorry for posting this under the wrong forum originally, copying the post here:

When I go under Guild Info to see what's in the Guild Information box, all the line breaks show up as "\n". Just letting you guys know.
Diversion
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Tue Jul 04, 2006 11:50 pm

Line Breaks not Parsing

Postby zanix » Thu Jul 06, 2006 9:38 am

Yeah, calvin changed how CP gets this info

in lib/wowdb.php
Find
Code: Select all
$this->add_value'guild_info_text'$guild['Info'] ); 

Replace with this
Code: Select all
$this->add_value'guild_info_text'str_replace('\n',"\n",$guild['Info']) ); 


Then do a guild update
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Appearance

Who is online

Users browsing this forum: No registered users and 0 guests