Page 2 of 2 FirstFirst 1 2
Results 16 to 27 of 27

[HOW-TO] Add keyword relevant text in similiar threads

This is a discussion on [HOW-TO] Add keyword relevant text in similiar threads within the Member Articles forums, part of the Focus on Members category; Thanks great thinking...

  1. #16
    Member
    Real Name
    Darren
    Join Date
    Oct 2009
    Posts
    70
    Liked
    3 times
    Thanks great thinking

  2. #17
    Junior Member
    Real Name
    waleed
    Join Date
    Feb 2008
    Location
    saudi arabia
    Posts
    18
    Liked
    0 times
    good work

    can i use it on 3.8.6 ?

  3. #18
    Member
    Real Name
    understated
    Join Date
    Mar 2010
    Posts
    77
    Liked
    0 times
    No offense to the great product that VBSEO is, but this is one of the greatest hacks I have ever come across! Unfortunately after upgrading to 4.1.1, it is no longer working. Has anyone that knows about such things taken a look at updating the code as needed? I would gladly do it, but I haven't a clue. Probably just needs a few changes after the "refactoring"...

    Thanks!

  4. #19
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    I don't see anything that shouldn't work on 4.1.1. Does anyone else see a similar problem?

  5. #20
    Member
    Real Name
    Marius Heier
    Join Date
    Jan 2007
    Posts
    79
    Liked
    1 times
    VB 4.1.1 uses a other CSS names.

    Modify showthread_similarthreads template.
    <h4 class="threadinfohead"> to <h4 class="threadinfohead blockhead">
    And
    <div id="similar_threads_list" class="thread_info_block"> to <div id="similar_threads_list" class="thread_info_block blockbody formcontrols">

  6. #21
    Member
    Real Name
    Marius Heier
    Join Date
    Jan 2007
    Posts
    79
    Liked
    1 times
    Instead of using the relevant replacement. How can i use {vb:raw thread.title} instead? Dont work as it is now.

  7. #22
    Member
    Real Name
    understated
    Join Date
    Mar 2010
    Posts
    77
    Liked
    0 times
    Thanks for the updates zkilzz. I just realized this only adds the preview text for guests only--very cool.

    Solved.

  8. #23
    Junior Member
    Real Name
    Luis
    Join Date
    Aug 2011
    Posts
    12
    Liked
    0 times
    Hello, I am trying this modification in my 3.8.7 vb, but when I save showthread_similarthreadbit I obtain the following error:
    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in [...]/includes/adminfunctions_template.php(3950) : eval()'d code on line 4

    Could you help me?

  9. #24
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    This thread has nothing that can cause the above error
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  10. #25
    Junior Member
    Real Name
    Luis
    Join Date
    Aug 2011
    Posts
    12
    Liked
    0 times
    this is the line 3950:
    eval('$devnull = "' . $template . '";');

  11. #26
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    Looks like you are trying to install this modification in vb3 forum, But this tutorial is ONLY for vb4 owners.

    Because it's uses the vb4 phrases, if conditions and vB4 raw format, Which is totally different than vb3 so basically vb3 will not understand what's these things.

    Here's an example to show the difference between vb3 format and vb4 ... Lets see the phrases display in vb3 :
    PHP Code:
    $vbphrase[something
    And in vb4 :
    PHP Code:
    {vb:rawphrase something
    And the same thing with if conditions, templates rendering ... etc. So It shouldn't work with vb3.

  12. #27
    Junior Member
    Real Name
    Luis
    Join Date
    Aug 2011
    Posts
    12
    Liked
    0 times
    oh, that's it. Thank you. I am running 3.8.7.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. How To remove vBseo Alt text in threads on my site?
    By NICEGUY77 in forum General Discussion
    Replies: 2
    Last Post: 12-30-2009, 03:54 PM
  2. Remove title text from similar threads
    By woostar in forum vBSEO Features Archive
    Replies: 3
    Last Post: 06-18-2009, 10:53 AM
  3. Replies: 3
    Last Post: 04-15-2007, 03:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •