The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

pun-visit 'welcome, user' instead of 'logged in as'

View previous topic View next topic Go down

Solved pun-visit 'welcome, user' instead of 'logged in as'

Post by blindbat1457 on April 7th 2011, 11:05 pm



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 Guest is a valid thing but why won't it work here? Only thing I can think of is I use Guest 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

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: pun-visit 'welcome, user' instead of 'logged in as'

Post by blindbat1457 on April 8th 2011, 9:52 pm

/bump

wow forgot it was going to replace { USERLINK } with the name.

blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: pun-visit 'welcome, user' instead of 'logged in as'

Post by Gangstar15 on April 8th 2011, 9:58 pm

Because this "{ USERLINK }" wont works in the templates.

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Solved Re: pun-visit 'welcome, user' instead of 'logged in as'

Post by blindbat1457 on April 8th 2011, 10:46 pm

@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

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: pun-visit 'welcome, user' instead of 'logged in as'

Post by Saxaca on April 9th 2011, 10:11 am

I am good with javascript.
And, that's your solution!

Use innerHTML to replace the content.

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Solved Re: pun-visit 'welcome, user' instead of 'logged in as'

Post by blindbat1457 on April 10th 2011, 6:27 am

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.

blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: pun-visit 'welcome, user' instead of 'logged in as'

Post by Nera. on April 10th 2011, 11:27 am

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.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: pun-visit 'welcome, user' instead of 'logged in as'

Post by blindbat1457 on April 10th 2011, 8:22 pm

I figured it out, thanks.


blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: pun-visit 'welcome, user' instead of 'logged in as'

Post by Saxaca on April 10th 2011, 8:40 pm

So my script worked?

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Solved Re: pun-visit 'welcome, user' instead of 'logged in as'

Post by MrMario on April 10th 2011, 10:04 pm

Solved => Locked

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum