pun-visit 'welcome, user' instead of 'logged in as'
5 posters
Page 1 of 1
pun-visit 'welcome, user' instead of 'logged in as'
I went into the template and tried to change the text from:
- Code:
<div id="pun-visit" class="clearfix">
<ul>
<li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
<li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
<li><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></li>
</ul>
<p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
To this:
- Code:
<div id="pun-visit" class="clearfix">
<ul>
<li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
<li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
<li><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></li>
</ul>
<p>Welcome back, {USERLINK} . {LAST_VISIT_DATE}</p>
</div>
Now when I publish it nothing shows up as far as name wise.
I know is a valid thing but why won't it work here? Only thing I can think of is I use on phpbb2 and this forum I am fixing up is punbb.
Last edited by blindbat1457 on April 10th 2011, 8:23 pm; edited 1 time in total
blindbat1457- Forumember
- Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA
Re: pun-visit 'welcome, user' instead of 'logged in as'
/bump
wow forgot it was going to replace { USERLINK } with the name.
wow forgot it was going to replace { USERLINK } with the name.
blindbat1457- Forumember
- Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA
Re: pun-visit 'welcome, user' instead of 'logged in as'
Because this "{ USERLINK }" wont works in the templates.
Re: pun-visit 'welcome, user' instead of 'logged in as'
Gangstar15 wrote:Because this "{ USERLINK }" wont works in the templates.
Say what! Lame sauce. Would there be a way to do what I want then or no?
Also gangstar you good with javascript?
blindbat1457- Forumember
- Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA
Re: pun-visit 'welcome, user' instead of 'logged in as'
I am good with javascript.
And, that's your solution!
Use innerHTML to replace the content.
And, that's your solution!
Use innerHTML to replace the content.
Saxaca- Forumember
- Posts : 539
Reputation : 26
Language : Markup.
Re: pun-visit 'welcome, user' instead of 'logged in as'
Hey saxaca I sent you a PM.
Also could you help me with a code to replace 'Logged in as (user)" to "Welcome back (user)"
If not it isn't that big of a deal.
Also could you help me with a code to replace 'Logged in as (user)" to "Welcome back (user)"
If not it isn't that big of a deal.
blindbat1457- Forumember
- Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA
Re: pun-visit 'welcome, user' instead of 'logged in as'
Would welcome back with the users avatars display by it be OK? So you could put the JS there and it would display users avatars.
Or you can delete that part and use usercodes in homebox.
Or you can delete that part and use usercodes in homebox.
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: pun-visit 'welcome, user' instead of 'logged in as'
I figured it out, thanks.
blindbat1457- Forumember
- Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA
Re: pun-visit 'welcome, user' instead of 'logged in as'
So my script worked?
Saxaca- Forumember
- Posts : 539
Reputation : 26
Language : Markup.
Re: pun-visit 'welcome, user' instead of 'logged in as'
Solved => Locked
MrMario- Helper
- Posts : 22186
Reputation : 1839
Language : test
Similar topics
» A way to tell if the user is logged in?
» BEGIN switch user logged out in html pages??
» Determine whether a user is logged in
» User gets logged out when trying to post
» How do I create things which can only be viewed by either logged in or logged out users?
» BEGIN switch user logged out in html pages??
» Determine whether a user is logged in
» User gets logged out when trying to post
» How do I create things which can only be viewed by either logged in or logged out users?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum