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.

topics to threads

View previous topic View next topic Go down

Solved topics to threads

Post by filbert1993 on January 27th 2014, 9:54 pm

hi, I am starting to design my forum and would like to change the 'topics' text ( on the homepage) to read as threads instead of topics. 

that is the topic text next to last post . its the topics to read as threads instead of topics on the homepage. I have phpbb3. thank you.

filbert1993
New Member

Posts : 16
Reputation : 3
Language : english

Back to top Go down

Solved Re: topics to threads

Post by Mike on January 27th 2014, 10:10 pm

What's your forum URL / Version?

You can try doing it with JS, just input the sentence topic is used in and change it to threads. Here's an example:

Code:
$string = "View All Topics.";

$find ="Topics";

$replace = "Threads";

$changed = str_ireplace($find,$replace,$string,$cnt);
avatar
Mike
Hyperactive

Male Posts : 4243
Reputation : 467
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

Solved Re: topics to threads

Post by filbert1993 on January 28th 2014, 12:38 am

I've mention my forum version already its phpbb3. 
the code don't work is there a css code to work?

filbert1993
New Member

Posts : 16
Reputation : 3
Language : english

Back to top Go down

Solved Re: topics to threads

Post by Mike on January 28th 2014, 12:54 am

Not possible to do it by CSS on PHPBB3, other than javascript the only way to change that text would be in templates, which would have to be done on PHPBB2 or PunBB.
avatar
Mike
Hyperactive

Male Posts : 4243
Reputation : 467
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

Solved Re: topics to threads

Post by Ange Tuteur on January 28th 2014, 10:58 am

Hello filbert1993,

Add this to your stylesheet :
Administration Panel > Display > Pictures and colors > Colors > CSS stylesheet
Code:
.forabg .header .topics { font-size:0; }
.forabg .header .topics:after {
font-size:10px;
content:"Threads";
line-height:10px;
}
avatar
Ange Tuteur
Forumaster

Male Posts : 13174
Reputation : 2873
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: topics to threads

Post by filbert1993 on January 28th 2014, 12:14 pm

hey ange the code worked but the 'topics' is still displayed with 'threads' next to it. so just need to get rid of the word topics. The threads text inserted fine but topics still remains.

filbert1993
New Member

Posts : 16
Reputation : 3
Language : english

Back to top Go down

Solved Re: topics to threads

Post by Ange Tuteur on January 29th 2014, 11:53 am

Add important to this code :
Code:
.forabg .header .topics { font-size:0 !important; }
avatar
Ange Tuteur
Forumaster

Male Posts : 13174
Reputation : 2873
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: topics to threads

Post by filbert1993 on January 29th 2014, 10:11 pm

thanks ange it wrks.

filbert1993
New Member

Posts : 16
Reputation : 3
Language : english

Back to top Go down

Solved Re: topics to threads

Post by SLGray on January 30th 2014, 2:37 am

Topic Solved & Locked


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

avatar
SLGray
Administrator
Administrator

Male Posts : 39746
Reputation : 2681
Language : English
Location : United States

https://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