Contentteller

Contentteller Support Forums
Home Forums > Announcements > Announcements >

Acquire 1.0 Beta 2 available

Discussion in 'Announcements' started by Philipp Esselbach, Aug 27, 2008.

Page 2 of 2
< Prev 1 2
  1. Philipp Administrator

    Find in class_virtuanews.php:

    PHP:
                    $newsstories_dat['story_text'] = strip_tags($newsstoriesarray['mainnews']);                
                    
    $newsstories_dat['story_extendedtext'] = strip_tags($newsstoriesarray['extendednews']);
    and add something like:
    PHP:
                    $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.
    Philipp, Mar 2, 2009
    #21
  2. error Customer

    Tried that. Now imports only news titles. Not a whole story.
    error, Mar 2, 2009
    #22
  3. error Customer

    Now i cant login to cadmin. I got blank page.
    error, Mar 2, 2009
    #23
  4. Philipp Administrator

    Did you add the code? Sounds like you replaced it.
    Philipp, Mar 2, 2009
    #24
  5. error Customer

    Tried everything. Doesn't work.
    error, Mar 2, 2009
    #25
  6. Philipp Administrator

    Can you attach your modified class_virtuanews.php?
    Philipp, Mar 3, 2009
    #26
  7. error Customer

    Here it is.

    Attached Files:

    • class_acquire_virtuanews.zip
      class_acquire_virtuanews.zip
      File size:
      3.2 KB
      Views:
      29
    error, Mar 3, 2009
    #27
  8. Philipp Administrator

    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.
    Philipp, Mar 3, 2009
    #28
Page 2 of 2
< Prev 1 2
Tweet
Facebook:
Forgot your password?
Contentteller Support Forums
Home Forums > Announcements > Announcements >
  • Home
  • Forums

    Forums

    Quick Links
    • Search Forums
    • What's New?
  • Members

    Members

    Quick Links
    • Registered Members
    • Current Visitors
    • Recent Activity
  • Help

    Help

    Quick Links
    • Smilies
    • BB Codes
    • Trophies

Separate names with a comma.

Advanced search...
    Forum software by XenForo™ ©2011 XenForo Ltd.