vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Adding a link to member info (https://vborg.vbsupport.ru/showthread.php?t=150995)

ssandgirls 06-30-2007 01:17 AM

Adding a link to member info
 
Hello everyone,

I was wondering how I can add a link to the member info in the member profile

Can someone tell me how I would do that,

Many thanks

Terrie

PS> I want to add the users photopost classifeds feedback to a link in the Vbulletin member profile

LEAD_WEIGHT 07-01-2007 03:59 AM

I would like to see this too if possible. It would be simular to I-traders look.

Michael Biddle 07-01-2007 04:01 AM

add it into the MEMBERINFO template

ssandgirls 07-01-2007 05:45 AM

Thankyou Whitemike for your answer, Can you show me how to add it to the memberinfo template? What I would like to add is a link to each members feedback profile from photopost classifeds. The member links look like this :

http://www.domain.net/pp-classifieds/member.php?uid=1 its the uid= that changes each time for each member, the rest is the same. Id like that added into the memberinfo somehow,

Can you show me where? Many thanks

Dismounted 07-01-2007 06:53 AM

Code:

<a href="http://www.domain.net/pp-classifieds/member.php?uid=$userinfo[userid]">PhotoPost Classifieds Profile</a>
Put that wherever you want in the MEMBERINFO template.

ssandgirls 07-01-2007 06:32 PM

Ill give it a try , thankyou .... so no particular place, I can put that anywhere...... ok....

EDIT:

YAY that worked perfectly, I put it under the Referrals part.

Only thing is , I can see this in all members profiles now but not my own..

Other members cant see their own either, they will want to see their own as well.

How can I change it so members can see it in their own profile as well.

Many thanks :)

Michael Biddle 07-01-2007 07:55 PM

you probably have it inside of an if somewhere preventing that. paste the code, and where you put it in the template

ssandgirls 07-02-2007 07:10 AM

Hi Whitemike, Here is where I pasted the code ( into the same DIV the user notes are in, I have it directly under the user notes)

['usernoteview']">
<br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)<br />
<a href="http://www.mlptp.net/pp-classifieds/member.php?uid=$userinfo[userid]">Member Feedback Profile</a>
</if>
</div>
</div>
</if>

The code I have added is the code in red....

Many thanks once again for helping

Terrie:)

Dismounted 07-02-2007 12:42 PM

From the snippet, replace it with:
Code:

['usernoteview']">
<br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
</if>
<br /><a href="http://www.domain.net/pp-classifieds/member.php?uid=$userinfo[userid]">PhotoPost Classifieds Profile</a>
</div>
</div>
</if>


ssandgirls 07-02-2007 05:51 PM

Hi again, That still doesnt let me see my own.. Its the same as it was before, I can see everyone elses. Members can see other but not their own either.


All times are GMT. The time now is 07:36 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.01177 seconds
  • Memory Usage 1,729KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete