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.

new mamber name

View previous topic View next topic Go down

Solved new mamber name

Post by MasterSly on January 19th 2013, 3:14 pm

Hello
i put this on my forum

with the following codes
CSS Stylesheet
Code:
.boxed{
border: 1px solid #cccacc;
padding: 3px 7px;
background: #ededed;
color: #000000;
box-shadow: inset 0 0 5px #cccacc;
border-radius: 2px;
}

.nlgcode{
padding:12px 0px;
text-align:center;}

.newspan{
padding:0 10px;
}
javascript
Code:
$(document).ready(function(){
var a = $('.new1 strong').text();
var b = $('.new2 strong').text();
var c = $('.new3 strong').text();
var d = $('.new4 strong').text();
$('.new1').html('<span class="boxed">'+a + '</span>  Συνολικά μηνύματα');
$('.new2').html('<span class="boxed">'+ b +'</span> Συνολικά μέλη');
$('.new3').html('<span class="boxed">'+ c + '</span> Νεότερο μέλος');
$('.new4').html('<span class="boxed">'+ d + '</span> Ρεκόρ ταυτόχρονων συνδέσεων ');
});
index_box (in the end)
Code:
<div style="margin:auto;text-align:center;width:100%"><tr>
          <td class="gensmall nlgcode">
          <span class="new1 newspan">{TOTAL_POSTS}</span>
          <span class="new2 newspan">{TOTAL_USERS}</span>
          <span class="new3 newspan">{NEWEST_USER}</span>
          <span class="new4 newspan">{TOTAL_USERS_ONLINE}</span>
          </td>
          </tr></div>
but i have i problem Sad
the name take it 2 times

How can I fix it?
i use Punbb


Last edited by MasterSly on February 5th 2013, 9:57 pm; edited 1 time in total

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by MasterSly on January 20th 2013, 8:09 pm

Bump

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by MasterSly on January 21st 2013, 8:38 pm

Bump

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by MasterSly on January 22nd 2013, 9:44 pm

Bump

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by Mike on January 22nd 2013, 11:32 pm

can you please post a link to your forum and I will check it out for you

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Solved Re: new mamber name

Post by MasterSly on January 23rd 2013, 2:10 pm

Yes
here
Code:
http://greekfmsupport.forumgreek.com/

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by MasterSly on January 24th 2013, 5:18 pm

Bump

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by MasterSly on January 26th 2013, 11:13 am

Bump

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by MasterSly on January 27th 2013, 4:30 pm

Bump

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by MasterSly on January 29th 2013, 1:50 pm

Bump Bump

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by Joshier on January 29th 2013, 3:38 pm

*bump* hope this helps you Smile

Joshier
New Member

Posts : 3
Reputation : 1
Language : English

Back to top Go down

Solved Re: new mamber name

Post by MasterSly on February 1st 2013, 10:40 pm

no Sad

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by MasterSly on February 2nd 2013, 11:07 pm

Bump

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by Base on February 2nd 2013, 11:35 pm

@Joshier wrote:*bump* hope this helps you Smile

Please refrain from bumping on behalf of the author. This does not contribute to the question at hand and is considered as spam. Thank you.

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: new mamber name

Post by MasterSly on February 4th 2013, 6:38 pm

Bump

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by SLGray on February 4th 2013, 7:00 pm

Have you tried to see if a widget or a JavaScript could be causes the issue?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35622
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: new mamber name

Post by MasterSly on February 4th 2013, 7:04 pm

yes I have seen it and not blame

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by MasterSly on February 5th 2013, 9:55 pm

Solved Smile
i change this
Code:
var c = $('.new3 strong').text();
to
Code:
var c=$('.new3 strong').html();

MasterSly
Forumember

Male Posts : 114
Reputation : 5

http://greekfmsupport.forumgreek.com/

Back to top Go down

Solved Re: new mamber name

Post by SLGray on February 5th 2013, 10:00 pm

Thanks for sharing the solution.
Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35622
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.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