Contentteller Community Forums  

Go Back   Contentteller Community Forums > Announcements > Announcements

Reply
 
LinkBack Thread Tools Display Modes
  #21  
Old 03-02-2009, 10:57 AM
Administrator
 
Join Date: Jul 2008
Posts: 730
Default

Find in class_virtuanews.php:

PHP Code:
                $newsstories_dat['story_text'] = strip_tags($newsstoriesarray['mainnews']);                
                
$newsstories_dat['story_extendedtext'] = strip_tags($newsstoriesarray['extendednews']); 
and add something like:
PHP Code:
                $newsstories_dat['story_text'] = str_replace("[IMG]images/news/icons/source.gif[/IMG]"""$newsstories_dat['story_text']);                
                
$newsstories_dat['story_extendedtext'] = str_replace("[IMG]images/news/icons/source.gif[/IMG]"""$newsstories_dat['story_extendedtext']); 
You need to replace [ IMG ]images/news/icons/source.gif[ /IMG ] with the code/path of the icon you used in your news stories.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #22  
Old 03-02-2009, 12:15 PM
Customer
 
Join Date: Aug 2008
Posts: 195
Default

Tried that. Now imports only news titles. Not a whole story.

Last edited by error; 03-02-2009 at 12:19 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #23  
Old 03-02-2009, 12:26 PM
Customer
 
Join Date: Aug 2008
Posts: 195
Default

Now i cant login to cadmin. I got blank page.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #24  
Old 03-02-2009, 03:38 PM
Administrator
 
Join Date: Jul 2008
Posts: 730
Default

Did you add the code? Sounds like you replaced it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #25  
Old 03-02-2009, 09:37 PM
Customer
 
Join Date: Aug 2008
Posts: 195
Default

Tried everything. Doesn't work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #26  
Old 03-03-2009, 12:21 PM
Administrator
 
Join Date: Jul 2008
Posts: 730
Default

Can you attach your modified class_virtuanews.php?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #27  
Old 03-03-2009, 12:53 PM
Customer
 
Join Date: Aug 2008
Posts: 195
Default

Here it is.
Attached Files
File Type: zip class_acquire_virtuanews.zip (3.2 KB, 1 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #28  
Old 03-03-2009, 02:58 PM
Administrator
 
Join Date: Jul 2008
Posts: 730
Default

What is exactly the problem? Do you get a blank page or will it no longer import the story/extended story fields?

Also, you didn't replaced [ IMG ]images/news/icons/source.gif[ /IMG ]. I am not sure whether this path is entirely right after I have no longer a VirtuaNews dump available. You find the proper path in your news stories.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:43 AM.


Copyright ©2002 - 2009 Esselbach Internet Solutions
Powered by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0 ©2009, Crawlability, Inc.