Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amid the "Welcome back/view" header, editing it and getting something to work...
Author Message
ShadowDeeps
Junior Member


Posts: 13
Joined: Aug 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 116
Post: #1
Amid the "Welcome back/view" header, editing it and getting something to work...

Now editing the "Welcome Back/View New Posts/Etc" header, I'm trying to work in a "View My Profile" URL. And the URL takes me to my profile, but with an incorrect number of referrals, displaying every member on the listing (this doesn't happen when I add &uid=[myprofilenumber] to the URL). Does anyone know a way to avert this so the referrals aren't so usurped? Any feedback and assistance is greatly appreciated.

This is the code in question I allude to:

Quote:<span style="float:right;">{$lang->welcome_current_time}</span>
{$lang->welcome_back} (<a href="{$mybb->settings['bburl']}/usercp.php"><strong>{$lang->welcome_usercp}</strong></a>{$modcplink}{$admincplink} &mdash; <a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a>)<br />
<span class="links">
<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);">{$lang->welcome_open_buddy_list}</a>{$mood_link}
</span>
<a href="{$mybb->settings['bburl']}/member.php?action=profile">View My Profile</a> | <a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a> | <a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a> | <a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}<!-- ProfileComments --> | <a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}" title="{$lang->profile_comments}">{$lang->profile_comments_new_inmenu}</a> {$lang->profile_comments_new_inmenu_count}<!-- /ProfileComments -->

Quote:<a href="{$mybb->settings['bburl']}/member.php?action=profile">View My Profile</a>
<---- Right there, how could I URL to a user's profile in the "welcome back/view [object]" header without leading to a member's profile bearing an incorrect amount of referrals upon any one member?

(This post was last modified: 08-11-2009 07:26 AM by ShadowDeeps.)
08-11-2009 07:03 AM


Andii S.
LiteSoft Development Assistant


Posts: 105
Joined: Aug 2008
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 46
Post: #2
RE: Amid the "Welcome back/view" header, editing it and getting something to work...

use this code

Code:
<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">View My Profile</a>




[Image: snAke.png]
08-11-2009 08:35 AM
ShadowDeeps
Junior Member


Posts: 13
Joined: Aug 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 116
Post: #3
RE: Amid the "Welcome back/view" header, editing it and getting something to work...

Thanks a million! That worked brilliantly! ^_^

08-11-2009 08:42 AM
 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Only let +post view link in forum JakJak 1 31 09-08-2009 09:55 AM
Last Post: Killswitch
  Minimum Post to View Download Link rockyy 8 162 08-23-2009 12:41 PM
Last Post: Hero
  Problem with text are (editing/creating posts) gavpedz 5 72 07-28-2009 01:50 AM
Last Post: Polarbear541
  A Table in Header blood 2 45 07-05-2009 12:23 AM
Last Post: blood
  Editing "navigation" ByteHunter 2 55 05-30-2009 06:57 PM
Last Post: ByteHunter
  Modify Header? tomdickandharry 11 191 05-14-2009 09:58 AM
Last Post: tomdickandharry
  Invitaion Only not work with 1.4.6 Stream 1 65 05-06-2009 05:46 AM
Last Post: Nickman
  Struggling to get the Custom Pages plugin to work.. enlightenme 12 190 03-06-2009 08:45 PM
Last Post: Unregistered



New to MyBBSource?Need Assistance?
  • Mark Forums Read
  • View Forum Staff
  • Looking for a MyBB Host?




Theme created by AK-47. Find more great themes and skins at K! Dezign Web Design
Wordpress Web Design
Youtube Video Free Bet Football Betting R1s