1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help With Caffinated content trick!

Discussion in 'Blogging' started by metaldragon, Jan 4, 2009.

  1. metaldragon

    metaldragon Regular Member

    Joined:
    Mar 2, 2007
    Messages:
    221
    Likes Received:
    72
    Code:
    http://www.asthmainc.net
    If you check this auto blog you can see he is using caffeinated to post the answer right after the question in the post.

    I dont know enough about php to move the [answer] fuction from the comment section to the post section.

    If anyone can offer some advice on how to do this i would appreciate it. Thx.
     
    Last edited by a moderator: Jan 16, 2009
  2. rawasch

    rawasch Junior Member

    Joined:
    Sep 15, 2008
    Messages:
    142
    Likes Received:
    663
    I didn't try this but I think you simply have to edit the templates in the /templates/ folder... basically you have to move the [answer] tag from the comment template (i.e. default c.txt) to the post template (i.e. default p..txt).
     
  3. blackhit

    blackhit Super Moderator Staff Member Jr. VIP Premium Member

    Joined:
    Jan 28, 2008
    Messages:
    2,402
    Likes Received:
    4,251
    Location:
    Dark Side Of The Moon
    He isn't using CC

    Code:
    http://www.asthmainc.net/wp-content/plugins/
    Maybe he copied and pasted the content since it's the Best Answer that shows up on his blog.

    And rawasch is right. CC works with a kind of hooks. Like post, video, answer.
    The templates are just text files, no php.
    Insert the answer hook in your post template.

    Don't forget to block comments or you'll end up with the answers showing up twice.
    or remove the answer hook from the comment template.
     
    Last edited: Jan 4, 2009
  4. metaldragon

    metaldragon Regular Member

    Joined:
    Mar 2, 2007
    Messages:
    221
    Likes Received:
    72
    Cant use the answer hook in the post template. Trust me that was the first thing i tried. I thought i kinda explained that in the first post.

    Sorry if i wasn't clear.
     
  5. blackhit

    blackhit Super Moderator Staff Member Jr. VIP Premium Member

    Joined:
    Jan 28, 2008
    Messages:
    2,402
    Likes Received:
    4,251
    Location:
    Dark Side Of The Moon
    No Prob.

    Thought you tried to edit something in PHP to get this working.

    From the look of his plugs I think he just copies the stuff by hand.
     
  6. metaldragon

    metaldragon Regular Member

    Joined:
    Mar 2, 2007
    Messages:
    221
    Likes Received:
    72
    No way. This guy has 200 other auto blogs that do the same thing. no way hes doing it by hand.
     
  7. bojomojo

    bojomojo Newbie

    Joined:
    Sep 13, 2008
    Messages:
    2
    Likes Received:
    0
    Actually, [answer] is not a php function, its a token

    Open the template file you are using and just after the question enter this, or modify it for your styling:

    Code:
    <br />
    The best answer is:<br />
    <div>[answer]</div>
     
  8. Atlas

    Atlas Regular Member

    Joined:
    Mar 31, 2008
    Messages:
    214
    Likes Received:
    74
    Location:
    AirShip1
    Anyone know what auto plugin he is using?
     
  9. husker999

    husker999 Junior Member

    Joined:
    Oct 6, 2008
    Messages:
    185
    Likes Received:
    662
    hmm... how do you know he has another 200 blogs that is doing the same thing??
     
  10. metaldragon

    metaldragon Regular Member

    Joined:
    Mar 2, 2007
    Messages:
    221
    Likes Received:
    72
    testing this out now


    update: This did not work. Got the same result as just adding [answer] to the code without div tags.
     
    Last edited: Jan 5, 2009
  11. metaldragon

    metaldragon Regular Member

    Joined:
    Mar 2, 2007
    Messages:
    221
    Likes Received:
    72
    anyone else?
     
  12. tyrvidar

    tyrvidar Registered Member

    Joined:
    May 28, 2007
    Messages:
    51
    Likes Received:
    59
    It doesn't look like he has any type of auto blog plugin set up.

    However, you could do this with cc I suppose by modifying your sites templates, particularly the comments template...comment out or remove the form and anything else except the comment itself.
     
  13. shylesson

    shylesson Power Member

    Joined:
    Jan 10, 2008
    Messages:
    665
    Likes Received:
    2,090
    Location:
    ‹^›‹(•¿•)›‹^›
    perhaps they are auto-blogs, but pre-posted content mate.

    eta: I do have an idea...gonna test it out in a few...but as far as I know, I would just guess he's just making future posts.
     
  14. shylesson

    shylesson Power Member

    Joined:
    Jan 10, 2008
    Messages:
    665
    Likes Received:
    2,090
    Location:
    ‹^›‹(•¿•)›‹^›
    tried what i was thinking...didn't work. gl with it though. may check that plugins folder and see if there are any plugins there that may help.