Pixelated a phpBB Template by SkaidonDesigns
 
Cheapest Web Software Support Area Forum Index www.cheapestwebsoftware.com
Play with the Best, be the Best!
Blogs Automater
FAQ
Search
Memberlist
Usergroups
Profile
Log in to check your private messages
Log in

The Mightiest Webmaster Solutions Ever
Special Offers
Special Offers
Rocket Pinger
Rocket Pinger
Cheapest Adult Scripts
Cheapest Adult Scripts
Cheapest Web Software
Cheapest Web Software

Haven't registered yet? Do it here now!
Search Replace function breaks when searching 4 php chars

 
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Blogs Automater
View previous topic :: View next topic  
Author Message
unc0nnected



Joined: 17 Dec 2010
Posts: 27

PostPosted: Sat Apr 02, 2011 7:13 pm    Post subject: Search Replace function breaks when searching 4 php chars Reply with quote
Some of the feeds I am pulling have custom php codes in them that I need to remove because they are breaking wordpress on my end so I tried to have BA do a search for <? and replace it with <!-- and then search for ?> and replace it with '-->' however this causes a big mess in the finished post as the entire thing ends up looking like this:

forreplace505151374d9758fforreplace505151374d9758orreplace213064024d9758hforreplace213064024d9758tmlreplace023934774d9758

Clearly I understand why this is happening, just not sure if it is like this because no one's encountered this before or because there is no way around it. Either way, thought I would let you know
Back to top
View user's profile Send private message

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Sat Apr 02, 2011 11:15 pm    Post subject: Reply with quote
hmm, a big mess indeed..

well, i haven't designed the script to deal with php inside posts and probably thats why it has such problems. Could be and with these chars you are entering.. I will see for next version if this could be made to work
_________________
Thanks,
Kaktusan

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Author Message
unc0nnected



Joined: 17 Dec 2010
Posts: 27

PostPosted: Wed Apr 06, 2011 9:48 pm    Post subject: Reply with quote
Cool! yea I didn't know if it was even possible to fix this or if you hadn't seen it before because php can be finicky sometimes. I ended up finding a fantastic Auto Search and replace filter : http://wordpress.org/extend/plugins/wordpress-filter/ that fixes it as it is being submitted. Just another plugin I need which is more overhead on my WP install so it's going to be nice when BA can do it.
Back to top
View user's profile Send private message

Display posts from previous:   
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Blogs Automater All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group