Results 1 to 15 of 15

meta description problem

This is a discussion on meta description problem within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hi folks, hope you can help. In all of my forums first posts (for guests) I have "Join the community! ...

  1. #1
    Senior Member Array woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    797
    Liked
    6 times

    meta description problem

    Hi folks, hope you can help.

    In all of my forums first posts (for guests) I have "Join the community! Register your FREE account to remove these ads!" under my adsense. This is hard coded into the template, but for some reason it appears in the meta description on all of my threads.

    Any ideas how to remove this?

    W.>
    Last edited by woostar; 12-08-2007 at 05:18 PM.

  2. #2
    Senior Member Array woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    797
    Liked
    6 times

  3. #3
    Senior Member Array
    Real Name
    dave
    Join Date
    Jun 2006
    Posts
    348
    Liked
    0 times
    Blog Entries
    1
    do you use a RR in your meta tag?

    and if you do, how many characters is it including?

  4. #4
    Senior Member Array woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    797
    Liked
    6 times
    I'm not using RR, I am using dynamic meta description with 200 chars of the first post (but did try using RR and is exactly the same).

    W.>

  5. #5
    Senior Member Array woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    797
    Liked
    6 times
    does the support team read this forum?

  6. #6
    Senior Member Array Brandon Sheley's Avatar
    Real Name
    Brandon Sheley
    Join Date
    Oct 2005
    Location
    Kansas
    Posts
    2,364
    Liked
    26 times
    Blog Entries
    2
    Quote Originally Posted by woostar View Post
    does the support team read this forum?
    Ofcourse they do, if you need quicker support, I suggest opening a support ticket.
    I'm on my phone, or I'd take a look at your source and see if anything sticks out.
    Vbseo will use the first part or the post or forum description to pull your meta tag.

  7. #7
    Senior Member Array woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    797
    Liked
    6 times
    LOL thought I edited my post above to say that I found the support button. Just wanted to catch things before search engines spider too much.

    W.>

  8. #8
    Senior Member Array woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    797
    Liked
    6 times
    Am I allowed to alter the code and add
    PHP Code:
    $desc_content str_replace('Join the community! Register your FREE account to remove these ads! '''$desc_content); 
    to functions_vbseo.php?

  9. #9
    Senior Member Array Brandon Sheley's Avatar
    Real Name
    Brandon Sheley
    Join Date
    Oct 2005
    Location
    Kansas
    Posts
    2,364
    Liked
    26 times
    Blog Entries
    2
    Your meta description is working just like it should on that page

    Code:
    <meta name="description" content="she went up to hosp earlier, and shes 4cm dialated! midwife has said she can stretch her more, shes just had a sweep and is being" />

  10. #10
    Senior Member Array woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    797
    Liked
    6 times
    it is now, because I made that little mod (but I know some licences don't like you altering the code - as it used to be encoded I guess they may have objected).

  11. #11
    vBSEO Staff Array Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,818
    Liked
    192 times
    Am I allowed to alter the code and add
    This is allowed.
    Oleg Ignatiuk / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  12. #12
    Senior Member Array woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    797
    Liked
    6 times
    sorted then, thanks

  13. #13
    Senior Member Array Brandon Sheley's Avatar
    Real Name
    Brandon Sheley
    Join Date
    Oct 2005
    Location
    Kansas
    Posts
    2,364
    Liked
    26 times
    Blog Entries
    2
    hmm, I still don't see why you would have to edit the code ?

    oh well, glad you got it working

  14. #14
    Senior Member Array
    Real Name
    A.D
    Join Date
    Oct 2007
    Location
    France
    Posts
    159
    Liked
    0 times
    or if you do not want to mod the vbseo codes you can use the Replacement Variables system builtin vbulletin , very excellent feature to replace any occurences that you know to something other you need, Im using this to change all gif images for different styles without any code/template modification for example.

  15. #15
    Senior Member Array woostar's Avatar
    Real Name
    woostar
    Join Date
    Apr 2007
    Posts
    797
    Liked
    6 times
    Reading though the code I figure that VBSEO collects data from an array using
    <!-- message -->
    <div id="post_message_....

    </div>
    <!-- / message -->

    to collect data.


    Because I've manually inserted adsense between those tags
    E.G:
    PHP Code:
    <!-- message -->
     
    <!-- 
    first post insert -->
    <if 
    condition="(($post[postcount] % $vboptions[maxposts] == 1)) and ($show['guest'])">
    <
    span class="smallfont" style="margin: 0 0 0 10px; float: right; width: 365px; height: 325px; text-align: center;">
     
     
    <
    script type="text/javascript"><!--
    google_ad_client "pub-xxxxxxxxxxxxxxxx";
    //Inside Post #1 - 336x280 (guest)
    google_ad_slot "xxxxxxxxxx";
    google_ad_width 336;
    google_ad_height 280;
    //--></script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <br /><br />
    <strong>Join the community! <a href="register.php">Register</a> your FREE account<br />to remove these ads!</strong>
    </span>
    </if>
    <!-- /first post insert -->
     
     
        <div id="post_message_$post[postid]">$post[message]</div>
     
     
    <!-- / message --> 
    the first thing it picks up is "Register your FREE account to remove these ads!" before the post data... hence putting in the meta description.

    Happened even when I used the RR replacement variables.

    W.>
    Last edited by woostar; 12-09-2007 at 03:47 PM.

Similar Threads

  1. Problem with VBSEO Generated meta description
    By lspichkin in forum General Discussion
    Replies: 5
    Last Post: 10-04-2007, 02:55 AM
  2. vbseo and Meta Tags and Meta Description
    By MarketTimes in forum General Discussion
    Replies: 0
    Last Post: 08-03-2007, 04:24 PM
  3. 'META DESCRIPTION' with $threadinfo[title]
    By cellow in forum General Discussion
    Replies: 2
    Last Post: 05-28-2007, 05:23 PM
  4. Dynamic Meta Description?
    By fade in forum vBSEO Features Archive
    Replies: 4
    Last Post: 04-16-2007, 01:27 PM

Posting Permissions

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