<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WebCards Support Forums &#187; Tag: guest_member_bar - Recent Posts</title>
<link>http://www.mywebcards.net/forum/</link>
<description>WebCards Support Forums &raquo; Tag: guest_member_bar - Recent Posts</description>
<language>en</language>
<pubDate>Sat, 11 Feb 2012 15:13:03 +0000</pubDate>

<item>
<title>corbyboy on "guest_member_bar amendment"</title>
<link>http://www.mywebcards.net/forum/topic/guest_member_bar-amendment#post-87</link>
<pubDate>Wed, 21 Oct 2009 18:30:37 +0000</pubDate>
<dc:creator>corbyboy</dc:creator>
<guid isPermaLink="false">87@http://www.mywebcards.net/forum/</guid>
<description>&#60;p&#62;No problem.&#60;/p&#62;
&#60;p&#62;Post again if you need any more help.
&#60;/p&#62;</description>
</item>
<item>
<title>dw1973 on "guest_member_bar amendment"</title>
<link>http://www.mywebcards.net/forum/topic/guest_member_bar-amendment#post-85</link>
<pubDate>Wed, 21 Oct 2009 08:52:51 +0000</pubDate>
<dc:creator>dw1973</dc:creator>
<guid isPermaLink="false">85@http://www.mywebcards.net/forum/</guid>
<description>&#60;p&#62;Thanks that worked :)
&#60;/p&#62;</description>
</item>
<item>
<title>corbyboy on "guest_member_bar amendment"</title>
<link>http://www.mywebcards.net/forum/topic/guest_member_bar-amendment#post-78</link>
<pubDate>Sun, 18 Oct 2009 15:49:22 +0000</pubDate>
<dc:creator>corbyboy</dc:creator>
<guid isPermaLink="false">78@http://www.mywebcards.net/forum/</guid>
<description>&#60;p&#62;Take this whole section at line 1781 of index.php&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(valid_session())
	{
		$ac_link = $conf[&#38;#39;friendly_urls&#38;#39;] ? $conf[&#38;#39;url&#38;#39;] . &#38;quot;account/&#38;quot; : &#38;quot;index.php?act=account&#38;quot;;
		$logout_link = $conf[&#38;#39;friendly_urls&#38;#39;] ? $conf[&#38;#39;url&#38;#39;] . &#38;quot;logout/&#38;quot; : &#38;quot;index.php?act=logout&#38;quot;;

		$member_bar = $lang[&#38;#39;welcome&#38;#39;] . &#38;quot;, &#38;quot; . $member_row[&#38;#39;email&#38;#39;] . &#38;quot;. &#38;lt;a href=&#38;quot;&#38;quot;&#38;gt;&#38;quot; . $lang[&#38;#39;view_ac&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;
		if($conf[&#38;#39;enable_contacts&#38;#39;])
		{
			$member_bar .= &#38;quot; &#124; &#38;lt;a href=&#38;quot;contacts();&#38;quot;&#38;gt;&#38;quot; . $lang[&#38;#39;contacts&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;
		}
		$member_bar .= &#38;quot; &#124; &#38;lt;a href=&#38;quot;&#38;quot;&#38;gt;&#38;quot; . $lang[&#38;#39;logout&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;
	}
	else
	{
		$login_link = $conf[&#38;#39;friendly_urls&#38;#39;] ? $conf[&#38;#39;url&#38;#39;] . &#38;quot;login/&#38;quot; : &#38;quot;index.php?act=login&#38;quot;;
		$reg_link = $conf[&#38;#39;friendly_urls&#38;#39;] ? $conf[&#38;#39;url&#38;#39;] . &#38;quot;register/&#38;quot; : &#38;quot;index.php?act=register&#38;quot;;

		$member_bar = $lang[&#38;#39;welcome&#38;#39;] . &#38;quot;. &#38;lt;a href=&#38;quot;&#38;quot;&#38;gt;&#38;quot; . $lang[&#38;#39;login&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt; &#38;quot; . $lang[&#38;#39;or&#38;#39;] . &#38;quot; &#38;lt;a href=&#38;quot;&#38;quot;&#38;gt;&#38;quot; . $lang[&#38;#39;reg&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And replace it with this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(valid_session())
	{
		$ac_link = $conf[&#38;#39;friendly_urls&#38;#39;] ? $conf[&#38;#39;url&#38;#39;] . &#38;quot;account/&#38;quot; : &#38;quot;index.php?act=account&#38;quot;;
		$logout_link = $conf[&#38;#39;friendly_urls&#38;#39;] ? $conf[&#38;#39;url&#38;#39;] . &#38;quot;logout/&#38;quot; : &#38;quot;index.php?act=logout&#38;quot;;

		$member_bar = $member_row[&#38;#39;email&#38;#39;] . &#38;quot;. &#38;lt;a class=\&#38;quot;head_link\&#38;quot; href=\&#38;quot;&#38;quot; . $ac_link . &#38;quot;\&#38;quot;&#38;gt;&#38;quot; . $lang[&#38;#39;view_ac&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;
		if($conf[&#38;#39;enable_contacts&#38;#39;])
		{
			$member_bar .= &#38;quot; &#124; &#38;lt;a class=\&#38;quot;head_link\&#38;quot; href=\&#38;quot;javascript:contacts();\&#38;quot;&#38;gt;&#38;quot; . $lang[&#38;#39;contacts&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;
		}
		$member_bar .= &#38;quot; &#124; &#38;lt;a class=\&#38;quot;head_link\&#38;quot; href=\&#38;quot;&#38;quot; . $logout_link . &#38;quot;\&#38;quot;&#38;gt;&#38;quot; . $lang[&#38;#39;logout&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;
	}
	else
	{
		$login_link = $conf[&#38;#39;friendly_urls&#38;#39;] ? $conf[&#38;#39;url&#38;#39;] . &#38;quot;login/&#38;quot; : &#38;quot;index.php?act=login&#38;quot;;
		$reg_link = $conf[&#38;#39;friendly_urls&#38;#39;] ? $conf[&#38;#39;url&#38;#39;] . &#38;quot;register/&#38;quot; : &#38;quot;index.php?act=register&#38;quot;;

		$member_bar = &#38;quot;&#38;lt;a class=\&#38;quot;head_link\&#38;quot; href=\&#38;quot;&#38;quot; . $login_link . &#38;quot;\&#38;quot;&#38;gt;&#38;quot; . $lang[&#38;#39;login&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt; &#38;quot; . $lang[&#38;#39;or&#38;#39;] . &#38;quot; &#38;lt;a class=\&#38;quot;head_link\&#38;quot; href=\&#38;quot;&#38;quot; . $reg_link . &#38;quot;\&#38;quot;&#38;gt;&#38;quot; . $lang[&#38;#39;reg&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Let me know if you have any problems with this.
&#60;/p&#62;</description>
</item>
<item>
<title>dw1973 on "guest_member_bar amendment"</title>
<link>http://www.mywebcards.net/forum/topic/guest_member_bar-amendment#post-73</link>
<pubDate>Sat, 17 Oct 2009 20:00:56 +0000</pubDate>
<dc:creator>dw1973</dc:creator>
<guid isPermaLink="false">73@http://www.mywebcards.net/forum/</guid>
<description>&#60;p&#62;Yes a little more specific please, the . and &#34; are throwing me a little!&#60;/p&#62;
&#60;p&#62;I'd like to remove the or as well...&#60;/p&#62;
&#60;p&#62;Current code says...&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$member_bar = $lang[&#38;#39;guest_bar&#38;#39;] = $lang[&#38;#39;welcome&#38;#39;] . &#38;quot;. &#38;lt;a class=\&#38;quot;head_link\&#38;quot; href=\&#38;quot;&#38;quot; . $login_link . &#38;quot;\&#38;quot;&#38;gt;&#38;quot; . $lang[&#38;#39;login&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt; &#38;quot; . $lang[&#38;#39;or&#38;#39;] . &#38;quot; &#38;lt;a class=\&#38;quot;head_link\&#38;quot; href=\&#38;quot;&#38;quot; . $reg_link . &#38;quot;\&#38;quot;&#38;gt;&#38;quot; . $lang[&#38;#39;reg&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>corbyboy on "guest_member_bar amendment"</title>
<link>http://www.mywebcards.net/forum/topic/guest_member_bar-amendment#post-71</link>
<pubDate>Sat, 17 Oct 2009 19:47:56 +0000</pubDate>
<dc:creator>corbyboy</dc:creator>
<guid isPermaLink="false">71@http://www.mywebcards.net/forum/</guid>
<description>&#60;p&#62;If you open up index.php and go to line 1777 and you will see the section for the member/guest welcome bar.&#60;/p&#62;
&#60;p&#62;It has to be defined inside the code rather than the template because it changes depending on whether the user is logged in.&#60;/p&#62;
&#60;p&#62;If you literally just want to just remove &#34;Welcome&#34;, just delete the language variable $lang['welcome'].&#60;/p&#62;
&#60;p&#62;If you need some more specific instructions just let me know.
&#60;/p&#62;</description>
</item>
<item>
<title>dw1973 on "guest_member_bar amendment"</title>
<link>http://www.mywebcards.net/forum/topic/guest_member_bar-amendment#post-68</link>
<pubDate>Sat, 17 Oct 2009 16:53:41 +0000</pubDate>
<dc:creator>dw1973</dc:creator>
<guid isPermaLink="false">68@http://www.mywebcards.net/forum/</guid>
<description>&#60;p&#62;The bar at the top of the page which (as far as I can see from template.html) is populated by {{guest_member_bar}} states &#34;Welcome, login or register&#34;&#60;/p&#62;
&#60;p&#62;I can't for the life of me find out how to edit this to remove the 'Welcome'&#60;/p&#62;
&#60;p&#62;Help!!
&#60;/p&#62;</description>
</item>

</channel>
</rss>

