Announcement

Collapse
No announcement yet.

Graphic instead of number of blogs in postbit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Freddie Bingham
    replied
    Put the default code back and make your changes to the blog_postbit_entries_link template.

    Leave a comment:


  • Wattie
    replied
    Can anyone help?

    Leave a comment:


  • Wattie
    replied
    Originally posted by Zachery View Post
    Where are you putting your code?
    Im putting it in the product Postbit: Add link to blog

    Leave a comment:


  • Zachery
    replied
    Originally posted by Wattie View Post
    I changed it to this:
    Code:
    if ($post['entries'] > 0)
    {
     $template_hook['postbit_userinfo_right_after_posts'] .= <a href=\"blog.php?$session[sessionurl]u=$post[userid]\"><img src="http://www.readmyblog.gif"></a>;
     // just putting the HTML in the plugin for now
     $template_hook['postbit_user_popup'] .= "<tr><td class=\"vbmenu_option\"><a href=\"blog.php?$session[sessionurl]u=$post[userid]\">$vbphrase[view_blog]</a></td></tr>";
    }
    But it doesnt work. Any ideas?
    Where are you putting your code?

    Leave a comment:


  • Wattie
    replied
    Anybody?

    Leave a comment:


  • Wattie
    replied
    Can anyone tell me what I am doing wrong?

    Leave a comment:


  • Wattie
    replied
    Thanks. I changed it to
    Code:
    $template_hook['postbit_userinfo_right_after_posts'] .= "<a href=\"blog.php?$session[sessionurl]u=$post[userid]\"><img src="http://www.readmyblog.gif"></a>   ";
    But it still doesnt work.

    Leave a comment:


  • Wayne Luke
    replied
    You need to have quotes (") around your code.

    Leave a comment:


  • Wattie
    replied
    I changed it to this:
    Code:
    if ($post['entries'] > 0)
    {
     $template_hook['postbit_userinfo_right_after_posts'] .= <a href=\"blog.php?$session[sessionurl]u=$post[userid]\"><img src="http://www.readmyblog.gif"></a>;
     // just putting the HTML in the plugin for now
     $template_hook['postbit_user_popup'] .= "<tr><td class=\"vbmenu_option\"><a href=\"blog.php?$session[sessionurl]u=$post[userid]\">$vbphrase[view_blog]</a></td></tr>";
    }
    But it doesnt work. Any ideas?

    Leave a comment:


  • Freddie Bingham
    replied
    You just need to edit the Postbit: Add link to blog plugin, change the entry text to your image.

    Leave a comment:


  • Wattie
    started a topic Graphic instead of number of blogs in postbit

    Graphic instead of number of blogs in postbit

    Is it possible to have an image which will take users to a poster's blog from the postbit instead of the 'Blogs: 1'?
    Also, how can I disable the 'Blogs:1' in my postbit legacy as it does not fit in my website theme?
    Thanks.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X