vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Adding a link (https://vborg.vbsupport.ru/showthread.php?t=227074)

Aric Hoek 10-30-2009 03:42 AM

Adding a link
 
I have installed aMember onto my site, and I need to create a link going to the members aMember profile page.

I would like to create a link called "Subscription Details". I would like the link to point to http://www.prophotobusinessforum.com/amember/member.php

I would like to place the link here.

Can someone provide me with a line of code and where to put it? I have gone through the Style Manager trying to find where to insert the link, but I have had no luck.

Thanks in advance for the help.

Attitude5ire 10-30-2009 06:21 AM

You have to edit the USERCP_SHELL template inside usercp templates

Aric Hoek 10-30-2009 01:49 PM

Thank you so much Attitude5ire.

I found the template, but I was unable to find where to insert the link. Truthfully, I was hoping to find a line of text that I could copy and paste, and then just change the title and the link, but I wasn't finding that there.

I think I am going to need some more help, and I am going to have to do some more research. Any additional help is greatly appreciated.

Attitude5ire 10-30-2009 02:24 PM

Jus find this
Code:

        <if condition="$show['profilepiclink']">
    <tr><td class="$navclass[profilepic]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td></tr>
    </if>

add below that this
Code:

    <tr><td class="alt1" nowrap="nowrap"><a class="smallfont" href="http://www.prophotobusinessforum.com/amember/member.php">Subscription Details</a></td></tr>
that shd do


All times are GMT. The time now is 10:25 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00983 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete