Announcement

Collapse
No announcement yet.

Blogs link in the UserCP

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

  • Blogs link in the UserCP

    Hello,

    I'm currently trying to remove the links to the Blogs section of the forums, as we are not launching the Blogs straight away. I've had no problems taking the link out of the other sections but the left Nav inside the UserCP is causing a few problems.

    I've found the code inside the template but the Blog link doesn't appear to be visible:

    Code:
    <td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td>
    </tr>
    </if>
    $template_hook[usercp_navbar_bottom]
    </table>
    <!-- / usercp nav -->
    The attachments is the link above the Blog link so I'd expect to see the Blog link just below it but as you can see the Blog link is not visible in the code.

    Which part is the link being referenced from?

    Thanks
    Simon
    Attached Files

  • #2
    That's be cause it's using template hooks. You have the right hook, but you have to edit the template that's actually being called.

    Edit it in blog_usercp_nav_link.
    Congratulations on the death of vBulletin, Internet Brands.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X