Results 1 to 5 of 5

vbSEO and 'showpost'

This is a discussion on vbSEO and 'showpost' within the General Discussion forums, part of the vBSEO SEO Plugin category; I am trying to integrate a sidebar into my vbSEO 'd site, and am trying to only integrate on the ...

  1. #1
    Junior Member
    Real Name
    Brian
    Join Date
    Jul 2007
    Location
    Tempe, AZ
    Posts
    5
    Liked
    0 times

    vbSEO and 'showpost'

    I am trying to integrate a sidebar into my vbSEO'd site, and am trying to only integrate on the 'showpost' bit.

    I found the following code in the vbseo.php:

    Code:
    if (VBSEO_REWRITE_SHOWPOST && (VBSEO_BASEURL == 'showpost.' . VBSEO_VB_EXT))
    {
    define('THIS_SCRIPT', 'showpost');
    vbseo_get_options();
    vbseo_prepare_seo_replace();
    $r_post_id = $_GET[VBSEO_POSTID_URI];
    vbseo_get_forum_info();
    if (VBSEO_POSTBIT_PINGBACK == 2)
    $find_prepostthread_ids = array($r_post_id);
    vbseo_get_post_thread_info($r_post_id, true);
    vbseo_get_thread_info($find_postthreads);
    if (VBSEO_POSTBIT_PINGBACK == 2)
    $vbseo_url_ = vbseo_thread_url_postid($r_post_id);
    else
    $vbseo_url_ = vbseo_post_url($r_post_id, $_GET['postcount']);
    vbseo_safe_redirect($vbseo_url_, array(VBSEO_POSTID_URI, 'postcount'));
    }
    This makes me assume that the ('THIS_SCRIPT', 'showpost') is going to still be present in the re-written .html vbSEO files, however my integration with the "showpost" this_script method isn't working. Any ideas what I may be doing wrong?

    What would be the best way to integrate a sidebar on the showpost area of my forums while using vbSEO?

    Thanks for any help!

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    Basically, if you get it working without vBSEO, it will work with vBSEO too. In many cases you can simply modify "SHOWPOST" template in vB admincp to customize showpost pages.

  3. #3
    Junior Member
    Real Name
    Brian
    Join Date
    Jul 2007
    Location
    Tempe, AZ
    Posts
    5
    Liked
    0 times
    Thank you for your quick and courteous response!

    This is exactly what I assumed, as I know the vbSEO addon is very well done and the "This_Script" is an important part of VB. The only reason I am having a hrd time with this, is because I have two forums, one with vbSEO and one without. They are identical forums in terms of hacks and modifications, and when adding the sidebar I took the exact same steps on both sites. (And then I did these exact same steps 3 more times just to make sure I wasn't missing something).

    The site without vbSEO worked great, and the site with vbSEO showed no change... Are there any settings in vbSEO that I could check for troubleshooting? Is there any reason why the "This_Script" wouldn't be associating with the "showpost" method?

    Thanks again for any help. If anyone else has such a mod (sideblock on showpost), please let me know how you accomplished it. Thanks!

  4. #4
    Junior Member
    Real Name
    Brian
    Join Date
    Jul 2007
    Location
    Tempe, AZ
    Posts
    5
    Liked
    0 times
    My apologies! On one forum I was using the entire showpost.php file, and on the other I was using the showpost "This_Script" method. I guess it was my mistake to assume they were the same thing.

    For anyone who has this issue in the future, the showpost.php file, does the same functions as you would find in the showthread "This_Script" method.

    You are welcome to close this thread, and thanks again!

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    I'm glad you got it sorted!

Similar Threads

  1. To showpost or not to showpost?
    By tavenger5 in forum General Discussion
    Replies: 1
    Last Post: 02-12-2007, 02:20 PM
  2. vBSEO overwriting "any" format of showpost.php
    By Adult SEO in forum General Discussion
    Replies: 4
    Last Post: 12-23-2006, 07:48 PM
  3. Showpost or not showpost! That is the question..
    By gcc llc in forum General Discussion
    Replies: 4
    Last Post: 05-03-2006, 02:22 AM
  4. showpost.php
    By chabbs in forum General Discussion
    Replies: 4
    Last Post: 01-16-2006, 06:07 PM
  5. showpost.php
    By Zenith in forum General Discussion
    Replies: 8
    Last Post: 01-05-2006, 03:11 PM

Tags for this Thread

Posting Permissions

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